Require GCC 4.9 or later for building glibc.
[glibc.git] / ChangeLog
blobb3d39a23fdc3b1271e80edcf50dc1a419eddb558
1 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
3         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
4         * configure: Regenerated.
5         * manual/install.texi (Tools for Compilation): Document
6         requirement for GCC 4.9 or later.
7         * INSTALL: Regenerated.
9 2017-06-19  Florian Weimer  <fweimer@redhat.com>
11         [BZ #21624]
12         CVE-2017-1000366
13         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
14         __libc_enable_secure.
16 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18         [BZ #21539]
19         * NEWS: Mention s390 ptrace request changes.
20         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
21         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
22         PTRACE_SETFPREGS): Remove enum constant.
23         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
24         Remove defines.
25         (PTRACE_SINGLEBLOCK): New enum constant.
26         (PT_STEPBLOCK): New define.
27         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
28         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
29         PTRACE_TE_ABORT_RAND): New enum constant and define.
30         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
31         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
32         New file.
33         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
35 2017-06-16  Florian Weimer  <fweimer@redhat.com>
37         * resolv/res_init.c (res_vinit_1): Use getline to read from the
38         configuration file.
39         (__res_vinit): Adjust.
41 2017-06-19  Florian Weimer  <fweimer@redhat.com>
43         * resolv/res_init.c (res_vinit_1): New function.
44         (__res_vinit): Call it.  Handle file open and memory allocation
45         failures.
46         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
47         erno from __res_maybe_init failure.
48         (_nss_dns_gethostbyname4_r): Likewise.
49         (_nss_dns_gethostbyaddr2_r): Likewise.
50         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
51         (_nss_dns_getnetbyaddr_r): Likewise.
53 2017-06-19  Florian Weimer  <fweimer@redhat.com>
55         * resolv/res_init.c: Reformat to GNU style.
57 2017-06-19  Florian Weimer  <fweimer@redhat.com>
59         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
60         (is_sort_mask): New function.
61         (__res_vinit): Use it.
63 2017-06-19  Florian Weimer  <fweimer@redhat.com>
65         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
66         conditionals.
68 2017-06-19  Florian Weimer  <fweimer@redhat.com>
70         * resolv/res-close.c: New file.
71         * resolv/res_init.c (__res_iclose, res_nclose)
72         (res_thread_freeres): Remove definitions.
73         * resolv/Makefile (routines): Add res-close.
75 2017-06-19  Florian Weimer  <fweimer@redhat.com>
77         * resolv/res_randomid.c: New file.
78         * resolv/res_init.c (res_randomid): Remove definition.
79         * resolv/Makefile (routines): Add res_randomid.
81 2017-06-19  Florian Weimer  <fweimer@redhat.com>
83         * include/resolv.h (__res_vinit): Declare as hidden.
84         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
85         * resolv/res_libc.c (res_init): Likewise.
87 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
89         [BZ #21457]
90         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
91         _libc_xmmreg): Use __ctx in defining field.
93         [BZ #21597]
94         * signal/signal.h (siginterrupt): Make declaration conditional on
95         [__USE_XOPEN_EXTENDED || __USE_MISC].
97         [BZ #21584]
98         * signal/signal.h: Make includes of <bits/sigstack.h> and
99         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
100         __USE_MISC].
101         (sigaltstack): Make declaration conditional on
102         [__USE_XOPEN_EXTENDED || __USE_MISC].
104         [BZ #21575]
105         * resource/bits/types/struct_rusage.h: New file.
106         * include/bits/types/struct_rusage.h: Likewise.
107         * bits/resource.h (struct rusage): Include
108         <bits/types/struct_rusage.h> instead of defining here.
109         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
110         Likewise.
111         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
112         Likewise.
113         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
114         Likewise.
115         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
116         Likewise.
117         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
118         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
119         Include <bits/types/struct_rusage.h>
121 2017-06-19  Florian Weimer  <fweimer@redhat.com>
123         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
125 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
127         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
129 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
131         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
133 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
135         [BZ #21537]
136         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
137         Check SHARED instead of PIC.
138         (SYSCALL_PIC_SETUP): Add missing semicolons.
139         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
140         Check SHARED instead of PIC.
141         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
142         (__makecontext_ret): Adjust code to jump to exit.
144 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
146         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
147         Simplify code by always using SVC 0 instead of EX.
148         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
150 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
152         * elf/Versions (ld): Remove _dl_out_of_memory.
154 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
156         * timezone/private.h: Update from tzcode 2017b.
157         * timezone/tzfile.h: Likewise.
158         * timezone/tzselect.ksh: Likewise.
159         * timezone/zdump.c: Likewise.
160         * timezone/zic.c: Likewise.
161         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
162         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
163         * time/tzset.c (SECSPERDAY): New macro.
165 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
167         * manual/string.texi (strdup): Complete header and standards
168         annotation.
169         (strncpy): Likewise.
171 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
173         * manual/arith.texi (FP_NAN): Add or complete header and standard
174         annotations.
175         (FP_INFINITE): Likewise.
176         (FP_ZERO): Likewise.
177         (FP_SUBNORMAL): Likewise.
178         (FP_NORMAL): Likewise.
179         (SNAN): Likewise.
180         (SNANL): Likewise.
181         (totalorderf): Likewise.
182         (totalorderl): Likewise.
183         (totalordermagf): Likewise.
184         (totalordermagl): Likewise.
185         (_Complex_I): Likewise.
186         (I): Likewise.
188 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
190         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
191         standard annotation.
192         (ARGP_HELP_SHORT_USAGE): Likewise.
193         (ARGP_HELP_SEE): Likewise.
194         (ARGP_HELP_LONG): Likewise.
195         (ARGP_HELP_PRE_DOC): Likewise.
196         (ARGP_HELP_POST_DOC): Likewise.
197         (ARGP_HELP_DOC): Likewise.
198         (ARGP_HELP_BUG_ADDR): Likewise.
199         (ARGP_HELP_LONG_ONLY): Likewise.
200         (ARGP_HELP_EXIT_ERR): Likewise.
201         (ARGP_HELP_EXIT_OK): Likewise.
202         (ARGP_HELP_STD_ERR): Likewise.
203         (ARGP_HELP_STD_USAGE): Likewise.
204         (ARGP_HELP_STD_HELP): Likewise.
206 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
208         * manual/Makefile: Generate summary.texi with summary.pl.  Force
209         use of the C locale.  Update Perl dependency comment.
210         * manual/header.texi: Update reference to summary.awk.
211         * manual/macros.texi: Refer authors to `summary.pl --help'.
212         * manual/summary.awk: Remove file.
213         * manual/summary.pl: New file.  Generate summary.texi, and check
214         for @standards-related syntax errors.
215         * manual/argp.texi: Convert header and standards @comments to
216         @standards.
217         * manual/arith.texi: Likewise.
218         * manual/charset.texi: Likewise.
219         * manual/conf.texi: Likewise.
220         * manual/creature.texi: Likewise.
221         * manual/crypt.texi: Likewise.
222         * manual/ctype.texi: Likewise.
223         * manual/debug.texi: Likewise.
224         * manual/errno.texi: Likewise.
225         * manual/filesys.texi: Likewise.
226         * manual/getopt.texi: Likewise.
227         * manual/job.texi: Likewise.
228         * manual/lang.texi: Likewise.
229         * manual/llio.texi: Likewise.
230         * manual/locale.texi: Likewise.
231         * manual/math.texi: Likewise.
232         * manual/memory.texi: Likewise.
233         * manual/message.texi: Likewise.
234         * manual/pattern.texi: Likewise.
235         * manual/pipe.texi: Likewise.
236         * manual/process.texi: Likewise.
237         * manual/resource.texi: Likewise.
238         * manual/search.texi: Likewise.
239         * manual/setjmp.texi: Likewise.
240         * manual/signal.texi: Likewise.
241         * manual/socket.texi: Likewise.
242         * manual/startup.texi: Likewise.
243         * manual/stdio.texi: Likewise.
244         * manual/string.texi: Likewise.
245         * manual/sysinfo.texi: Likewise.
246         * manual/syslog.texi: Likewise.
247         * manual/terminal.texi: Likewise.
248         * manual/threads.texi: Likewise.
249         * manual/time.texi: Likewise.
250         * manual/users.texi: Likewise.
252 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
254         * manual/macros.texi (@standards): New macro.  Provide placeholder
255         for header and standards annotations.
256         (@standardsx): New macro.  Likewise, for lists of @*x elements.
258 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
260         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
261         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
262         rule.
263         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
264         sync_file_range.
266          * support/support_test_main.c (support_test_main):  Use optstring
267          member for option string in getopt_long.
268          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
269          (CMDLINE_OPTSTRING): New define.
270          * support/test-driver.h (test_config): Add optstring member.
272 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
275         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
276         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
277         Check USE_AS_STRPBRK instead of STRPBRK_P.
278         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
279         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
280         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
281         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
282         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
283         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
284         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
285         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
286         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
287         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
288         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
289         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
290         and "#endif".
292 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
294         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
295         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
297 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
300         strcat-sse2.
301         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
302         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
303         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
304         * sysdeps/x86_64/multiarch/strcat.S: Removed.
305         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
307 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
308             Erich Elsen  <eriche@google.com>
310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
311         memcmp-sse2.
312         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
313         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
314         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
315         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
316         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
317         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
319 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
320             Erich Elsen  <eriche@google.com>
322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
323         memset-sse2-unaligned-erms, and memset_chk-nonshared.
324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
325         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
326         Update comments.
327         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
328         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
329         * sysdeps/x86_64/multiarch/memset.c: Likewise.
330         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
331         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
332         * sysdeps/x86_64/multiarch/memset.S: Removed.
333         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
334         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
335         (__memset_chk_erms): New function.
337 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
339         * configure.ac(--enable-tunables): Enable by default.
340         * configure: Regenerate.
341         * NEWS: Mention change.
342         * manual/install.texi (enable-tunables): Adjust documentation.
343         * INSTALL: Regenerate.
345 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
347         [BZ #18988]
348         * benchtests/thread_create-inputs: New file.
349         * benchtests/thread_create-source.c: Likewise.
350         * support/xpthread_attr_setguardsize.c: Likewise.
351         * support/Makefile (libsupport-routines): Add
352         xpthread_attr_setguardsize object.
353         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
354         * benchtests/Makefile (bench-pthread): Add thread_create.
355         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
356         then mprotect the required area.
357         (guard_position): New function.
358         (setup_stack_prot): Likewise.
360 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
361             Erich Elsen  <eriche@google.com>
362             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
365         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
366         mempcpy_chk-nonshared and memmove_chk-nonshared.
367         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
368         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
369         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
370         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
371         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
372         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
373         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
374         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
375         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
376         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
377         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
378         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
379         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
380         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
381         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
382         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
383         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
384         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
385         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
386         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
387         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
388         (__mempcpy_chk_erms): New function.
389         (__memmove_chk_erms): Likewise.
390         (__memcpy_chk_erms): New alias.
392 2017-06-14  Florian Weimer  <fweimer@redhat.com>
394         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
395         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
397 2017-06-14  Zack Weinberg  <zackw@panix.com>
399         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
400         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
401         defined, don't declare anything other than the E-constants.
403         * include/errno.h: Change conditional for exposing internal
404         declarations to (not _ISOMAC and not __ASSEMBLER__).
405         * bits/errno.h: Remove logic for __need_Emath.  Document
406         requirements for a port-specific bits/errno.h.
408         * sysdeps/unix/sysv/linux/bits/errno.h
409         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
410         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
411         * sysdeps/unix/sysv/linux/mips/bits/errno.h
412         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
413         Add multiple-include guard and check against improper inclusion.
414         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
415         constants are defined as simple integer literals.  Consistent
416         formatting.
417         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
418         enum __error_t_codes if __ASSEMBLER__ is not defined.
419         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
421         * argp/argp.h, string/argz.h: Don't define __need_error_t before
422         including errno.h.
423         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
424         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
425         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
426         * sysdeps/x86_64/fpu/s_cosf.S
427         * sysdeps/x86_64/fpu/s_sincosf.S
428         * sysdeps/x86_64/fpu/s_sinf.S:
429         Just include errno.h; don't define __need_Emath or include
430         bits/errno.h directly.
432 2017-06-14  Zack Weinberg  <zackw@panix.com>
434         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
435         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
436         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
438         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
439         for IOV_MAX.
440         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
441         Don't install bits/uio.h.
442         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
443         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
444         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
446         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
447         and __need_IOV_MAX.  Don't define IOV_MAX at all.
448         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
450         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
451         Include bits/types/struct_iovec.h, not bits/uio.h.
452         Use __ssize_t, not ssize_t, in function prototypes.
453         Don't use hard TAB for double space after period in comments.
455 2017-06-14  Alan Modra  <amodra@gmail.com>
457         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
458         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
459         refsym and sym parameters.  Adjust callers.
460         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
461         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
462         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
463         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
464         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
465         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
466         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
467         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
468         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
469         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
470         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
471         Likewise.
472         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
473         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
474         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
475         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
476         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
477         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
478         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
479         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
480         (_dl_reloc_overflow): Increase buffser size.  Formatting.
481         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
482         Delete reloc param, add refsym and sym.  Check optimized plt
483         call stubs for localentry:0 functions.  Adjust callers.
484         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
485         and sym parameters.  Adjust callers.
486         (_dl_reloc_overflow): Move attribute.
487         (_dl_error_localentry): Declare.
488         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
489         refsym and sym to elf_machine_fixup_plt.
490         * elf/testobj6.c (preload): Call printf.
492 2017-06-14  Alan Modra  <amodra@gmail.com>
494         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
495         (NOPS, ENTRY_3): New macros.
496         (ENTRY): Rewrite.
497         (ENTRY_TOCLESS): Define.
498         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
499         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
500         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
501         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
502         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
503         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
504         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
505         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
506         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
507         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
508         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
509         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
510         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
511         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
512         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
513         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
514         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
515         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
516         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
517         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
518         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
519         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
520         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
521         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
522         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
523         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
524         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
525         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
526         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
527         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
528         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
529         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
530         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
531         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
532         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
533         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
534         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
535         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
536         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
537         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
538         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
539         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
540         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
541         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
542         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
543         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
544         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
545         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
546         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
547         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
548         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
549         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
550         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
551         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
552         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
553         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
554         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
555         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
556         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
557         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
558         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
559         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
560         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
561         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
562         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
563         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
564         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
565         Likewise.
566         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
567         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
568         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
569         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
570         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
571         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
572         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
573         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
574         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
575         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
576         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
577         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
578         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
579         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
580         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
581         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
582         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
583         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
584         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
585         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
586         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
587         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
588         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
589         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
590         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
591         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
592         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
593         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
594         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
595         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
596         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
597         add nop when SHARED.
598         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
599         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
600         define.
601         (ENTRY_TOCLESS): Define.
602         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
603         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
604         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
606 2017-06-14  Alan Modra  <amodra@gmail.com>
608         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
609         MEMSET_is_local.
610         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
611         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
612         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
613         Define MEMSET.
614         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
615         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
616         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
617         nop after local calls.
618         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
619         Don't add nop after local call.
620         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
621         CALL_MCOUNT.
623 2017-06-14  Alan Modra  <amodra@gmail.com>
625         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
626         (FUNC_LABEL): Rename from DOT_LABEL.
627         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
628         Use .p2align rather than .align.
629         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
630         (ABORT_TRANSACTION): Likewise.
631         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
632         particularly at end.  Add semicolon at invocation as necessary.
633         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
634         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
635         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
636         END): Adjust to suit.
638 2017-06-14  Alan Modra  <amodra@gmail.com>
640         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
641         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
642         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
643         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
644         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
646         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
648 2017-06-14  Alan Modra  <amodra@gmail.com>
650         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
651         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
653 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
655         [BZ #21548]
656         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
657         8 and use it when copying general purpose registers.
658         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
659         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
660         mips o32.
661         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
662         new test for mips o32.
663         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
664         8 and use it when copying general purpose registers.
665         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
667 2017-06-13  Florian Weimer  <fweimer@redhat.com>
669         * configure.ac (find_cxx_header): Suppress compiler error message.
671 2017-06-13  Florian Weimer  <fweimer@redhat.com>
673         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
674         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
675         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
676         begin/end.
677         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
678         dynarray_int_end.
679         (test_str): Test dynarray_str_begin, dynarray_str_end.
681 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
683         [BZ #21573]
684         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
685         $(common-objpfx)bits/std_abs.h.
686         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
687         New target.
688         * config.make.in (c++-bits-std_abs-h): New.
689         * configure.ac (find_cxx_header): Use "\,$1," with sed.
690         (CXX_BITS_STD_ABS_H): New.
691         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
692         * configure: Regenerated.
694 2017-06-13  Zack Weinberg  <zackw@panix.com>
696         * posix/bits/cpu-set.h: Correct indentation of preprocessor
697         directives.
699 2017-06-12  Zack Weinberg  <zackw@panix.com>
701         * bits/sched.h: Remove __need_schedparam logic and replace with a
702         normal multiple-include guard.  Change field name in struct
703         sched_param from __sched_priority to sched_priority.  Delete
704         everything under #ifndef __cpu_set_t_defined.
705         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
706         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
708         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
709         For compatibility, #define sched_priority to itself, and #define
710         __sched_priority as sched_priority.
711         * posix/bits/cpu-set.h: New file containing, verbatim, the code
712         that was under #ifndef __cpu_set_t_defined in
713         sysdeps/unix/sysv/linux/bits/sched.h.
714         * include/bits/cpu-set.h: New wrapper.
715         * posix/Makefile: Install bits/cpu-set.h.
717 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
718             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
719             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
721         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
722         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
723         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
724         * math/libm-test-isfinite.inc (finite_test): Likewise.
725         * math/libm-test-lgamma.inc (gamma_test): Likewise.
726         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
727         (nexttoward_test_data}: Likewise.
728         * math/libm-test-remainder.inc (drem_test): Likewise.
729         * math/libm-test-scalb.inc (scalb_test): Likewise.
730         (scalb_test_data): Likewise.
731         * math/libm-test-significand.inc (significand_test): Likewise.
732         (significand_test_data): Likewise.
733         * math/libm-test-support.c (check_complex): Replace __complex__
734         FLOAT with CFLOAT to get the support for old compiler.
735         * math/libm-test-support.h (check_complex): Likewise.
736         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
737         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
738         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
739         * math/test-float128.h: New file.
740         * math/test-math-floatn.h: New file.
742 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
744         * include/float.h: Allow the definition of macros prefixed with
745         FLT128 even if _ISOMAC is defined, but provided that
746         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
748 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
750         * manual/math.texi (Mathematics): Add description for _FloatN and
751         _FloatNx types and mentions that they are not support in glibc for
752         any architecture, so far.
753         * manual/arith.texi (wcstof, wcstold): Replace the mention to
754         stdlib.h with wchar.h.
755         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
756         (Printing of Floats): Add description for strfromfN.
758 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
759             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
760             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
762         * include/gmp.h (__mpn_construct_float128): New declaration.
763         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
764         (__strtof128_l): New declaration.
765         (__strtof128_nan): Likewise.
766         (__wcstof128_nan): Likewise.
767         (__strtof128_internal): Likewise.
768         (____strtof128_l_internal): Likewise.
769         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
770         (__wcstof128_l): New declaration.
771         (__wcstof128_internal): Likewise.
773         * stdlib/Makefile (bug-strtod2): Link libm too.
775         * stdlib/stdlib.h (strtof128): New declaration.
776         (strtof128_l): Likewise.
778         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
779         tst-strtod.h macros to ensure float128 gets tested too.
781         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
783         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
784         tests.
785         (IF_FLOAT128): New macro.
786         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
787         the tests.
788         (STRTOD_TEST_FOREACH): Likewise.
790         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
791         wcstof128 functions into libc.
793         * sysdeps/ieee754/float128/Versions: Add exports for the above
794         new functions.
796         * sysdeps/ieee754/float128/mpn2float128.c: New file.
797         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
798         * sysdeps/ieee754/float128/strtof128.c: New file.
799         * sysdeps/ieee754/float128/strtof128_l.c: New file.
800         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
801         * sysdeps/ieee754/float128/wcstof128.c: New file.
802         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
803         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
804         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
805         (CFLAGS-wcstof128_l): Likewise.
807         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
808         (wcstof128): New declaration.
809         (wcstof128_l): Likewise.
811 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
813         [BZ #21552]
814         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
815         not [__USE_XOPEN].
816         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
818         [BZ #21550]
819         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
821 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
823         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
824         strcpy-sse2 and stpcpy-sse2.
825         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
826         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
827         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
828         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
829         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
830         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
831         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
832         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
833         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
834         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
835         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
836         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
837         (libc_hidden_def): Always defined as empty.
838         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
839         Always Defined as empty.
841 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
843         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
845 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
847         [BZ #15105]
848         [BZ #19463]
849         * include/string.h: Add internal redirect for __stpcpy.
850         * string/Makefile: Remove bits/string2.h.
851         * string/string.h: Update comment.
852         * string/string-inlines.c: Remove bits/string2.h include and comment.
853         * string/bits/string2.h: Remove file.
855 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
857         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
858         * sunrpc/clnt_gen.c (clnt_create): Likewise.
859         * sunrpc/des_impl.c (_des_crypt): Likewise.
860         * sunrpc/key_call.c (key_gendes): Likewise.
861         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
862         * sunrpc/svc_simple.c (universal): Likewise.
863         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
864         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
865         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
867 2017-06-10  Zack Weinberg  <zackw@panix.com>
869         * stdlib/errno.h: Correct an outdated comment.
871 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
873         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
874         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
875         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
876         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
877         New file.  Invoke newly supported sysconf values for powerpc,
878         and report results.  If none are supported, report so.
879         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
880         tst-sysconf.
882 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
884         * include/sys/auxv.h (__getauxval): Add a prototype and its
885         libc_hidden_proto.
886         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
888 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
890         [BZ #21561]
891         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
892         [__USE_XOPEN_EXTENDED].
893         (id_t): Likewise.
894         (include of <bits/types/siginfo_t.h): Likewise.
895         (waitid): Likewise.
896         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
897         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
898         (WEXITED): Likewise.
899         (WCONTINUED): Likewise.
900         (WNOWAIT): Likewise.
901         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
902         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
903         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
905         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
906         libc.so PLT entry optional.
907         (__gtsf2): Likewise.
908         (__unorddf2): Likewise.
909         (__unordsf2): Likewise.
910         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
911         New optional libc.so PLT entry.
913         [BZ #21554]
914         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
915         not [__USE_XOPEN].
917         [BZ #21560]
918         * posix/sys/wait.h: Condition include of <signal.h> on
919         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
920         unconditionally.
921         [!__pid_t_defined] (pid_t): Define typedef.
923 2017-06-09  Zack Weinberg  <zackw@panix.com>
925         * include/errno.h (__errno_location): Use __attribute_const__
926         instead of bare __attribute__.
928 2017-06-09  Zack Weinberg  <zackw@panix.com>
930         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
931         (common-generated): Add libc-modules.h and libc-modules.stmp in a
932         more appropriate location. Also add dl-tunable-list.h and
933         dl-tunable-list.stmp.
935 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
939 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
942         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
943         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
944         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
945         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
946         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
947         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
948         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
949         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
950         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
951         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
953 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
956         memrchr-sse2 and memrchr-avx2.
957         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
958         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
959         __memrchr_sse2.
960         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
961         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
962         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
964 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
967         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
968         wcschr-sse2 and wcschr-avx2.
969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
970         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
971         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
972         __wcschr_sse2.
973         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
974         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
975         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
976         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
977         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
978         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
979         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
980         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
981         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
982         * sysdeps/x86_64/multiarch/strchr.S: Removed.
984 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
987         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
988         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
989         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
990         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
991         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
992         __wcslen_sse2 and __wcsnlen_avx2.
993         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
994         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
995         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
996         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
997         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
998         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
999         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
1000         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
1001         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
1002         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
1003         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
1004         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
1005         vzeroupper is preferred and AVX unaligned load is fast.
1007 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1009         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
1010         USE_AS_WMEMCHR is defined.
1011         (PCMPEQ): Likewise.
1012         (memchr): Renamed to ...
1013         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
1014         Replace pcmpeqb with PCMPEQ.
1015         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1016         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
1017         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
1018         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
1019         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1020         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
1021         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
1022         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
1023         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
1024         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
1025         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
1026         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
1027         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
1028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1029         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
1030         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
1031         __wmemchr_sse2.
1033 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1035         * malloc/Makefile (test-srcs): Remove tst-dynarray,
1036         tst-dynarray-fail.
1038 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1040         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
1041         * support/support_test_verify_impl.c
1042         (support_test_verify_exit_impl): Split from
1043         support_test_verify_impl.
1044         * support/check.h (TEST_VERIFY): Drop status argument from
1045         support_test_verify_impl call.
1046         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
1047         (support_test_verify_impl): Remove status argument.
1048         (support_test_verify_exit_impl): Declare.
1050 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1052         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
1053         mention of magic numbers in comments.
1054         (_dl_procinfo): Fix undefined behavior
1056 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
1058         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
1059         [XPG4].
1060         (WEXITED): Likewise.
1061         (WSTOPPED): Likewise.
1062         (WCONTINUED): Likewise.
1063         (WNOHANG): Likewise.
1064         (WNOWAIT): Likewise.
1065         (idtype_t): Likewise.
1066         (P_ALL): Likewise.
1067         (P_PID): Likewise.
1068         (P_PGID): Likewise.
1069         (id_t): Likewise.
1070         (siginfo_t): Likewise.
1071         (wait3): Likewise.
1072         (waitid): Likewise.
1073         (signal.h): Do not allow header for [XPG4].
1074         (sys/resource.h): Likewise.
1075         (si_*): Do not allow for [XPG4].
1076         (W*): Likewise.
1077         (P_*): Likewise.
1078         (BUS_): Likewise.
1079         (CLD_): Likewise.
1080         (FPE_): Likewise.
1081         (ILL_): Likewise.
1082         (POLL_): Likewise.
1083         (SEGV_): Likewise.
1084         (SI_): Likewise.
1085         (TRAP_): Likewise.
1086         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
1087         variable.
1089 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1091         [BZ #21528]
1092         * elf/dl-minimal.c (__strtoul_internal): Removed.
1093         (strtoul): Likewise.
1094         * elf/dl-misc.c (_dl_strtoul): New function.
1095         * elf/dl-tunables.c (tunables_strtoul): Removed.
1096         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
1097         * elf/rtld.c (process_envvars): Likewise.
1098         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
1099         Likewise.
1100         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
1102 2017-06-08  Zack Weinberg  <zackw@panix.com>
1104         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
1105         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
1106         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
1107         * wctype/bits/wctype-wchar.h: New file holding declarations shared
1108         between wctype.h and wchar.h.
1110         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
1111         Install them.
1113         * include/bits/types/FILE.h, include/bits/types/__FILE.h
1114         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
1115         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
1116         New wrappers.
1117         * include/stdio.h, include/wchar.h, include/wctype.h:
1118         No need to handle __need macros.
1120         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
1121         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
1122         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
1123         * wcsmbs/wchar.h, wctype/wctype.h
1124         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
1125         Use the new files instead of __need macros.
1127 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1129         * string/test-memrchr.c (test_main): Add tests for len == 0
1130         and tests for positions close to the beginning, which are
1131         equivalent to positions close to the end for memchr.
1133 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
1136         comments.
1137         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
1138         instead of wmemset.h.
1139         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1140         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
1141         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
1143 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1145         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1146         spec->info.is_binary128 to zero.
1147         * stdio-common/printf.h (printf_info): Add new member is_binary128
1148         to indicate that the number being converted to string is compatible
1149         with the IEC 60559 binary128 format.
1150         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
1151         _Float128 numbers.
1152         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
1153         ldbl-128/printf_fphex_macros.h
1154         (__printf_fphex): Add code to deal with _Float128 numbers.
1155         * stdio-common/printf_size.c (__printf_size): Likewise.
1156         * stdio-common/vfprintf.c (process_arg): Initialize member
1157         info.is_binary128 to zero.
1158         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
1159         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
1160         (strfromf128): New declaration.
1161         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
1162         to one.
1163         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
1164         * sysdeps/ieee754/float128/Versions: Likewise.
1165         * sysdeps/ieee754/float128/strfromf128.c: New file.
1167 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1169         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
1170         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
1171         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
1172         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
1173         (PRINT_FPHEX): New function-like macro that can be used for long
1174         double, as well as for _Float128
1176 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1178         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
1179         (__printf_fp_l): Use the new macro to avoid duplicating code.
1180         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
1181         (__printf_fphex): Use the new macro to avoid duplicating code.
1182         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
1183         (__printf_size): Use the new macro to avoid duplicating code.
1185 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1187         * include/gmp.h: Include bits/floatn.h
1188         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
1189         * stdlib/gmp-impl.h: Also check if alloca is not defined before
1190         including stack-alloc.h.  It could have been defined by other header
1191         which not necessarily defines HAVE_ALLOCA.
1192         * sysdeps/ieee754/float128/Makefile: New file.
1193         * sysdeps/ieee754/float128/float1282mpn.c: New file.
1194         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
1195         redefining __mpn_extract_long_double to __mpn_extract_float128, then
1196         redefine __mpn_extract_long_double to __mpn_extract_float128.
1197         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
1198         _Float128 to allow float128_private.h overrides.
1200 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1202         * stdlib/fpioconst.h: Include bits/floatn.h.
1203         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
1204         power of ten table should be.
1205         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
1206         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
1207         to include larger tables when _Float128 support is enabled.
1208         (_fpioconst_pow10): Likewise.
1210 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
1212         * include/bits/types/clock_t.h: Use #include <path> instead of
1213         #include "../../path".
1214         * include/bits/types/clockid_t.h: Likewise.
1215         * include/bits/types/struct_iovec.h: Likewise.
1216         * include/bits/types/struct_itimerspec.h: Likewise.
1217         * include/bits/types/struct_osockaddr.h: Likewise.
1218         * include/bits/types/struct_sigstack.h: Likewise.
1219         * include/bits/types/struct_timespec.h: Likewise.
1220         * include/bits/types/struct_timeval.h: Likewise.
1221         * include/bits/types/struct_tm.h: Likewise.
1222         * include/bits/types/time_t.h: Likewise.
1223         * include/bits/types/timer_t.h: Likewise.
1225         [BZ #14096]
1226         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
1227         America/New_York.
1229 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1231         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
1232         into ...
1233         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
1234         ifunc-sse4_1.h.
1236 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1238         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
1239         Remove check for NULL 'buf'.
1240         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
1242 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1244         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
1245         include test-skeleton.c.
1246         Include support/check.h and support/test-driver.c.
1248 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1250         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
1251         (_dl_aarch64_cap_flags): New array.
1252         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
1253         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
1254         functions.
1256         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
1257         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
1258         Likewise.
1259         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
1260         up hwcap and hwcap_mask.
1262         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
1263         (init_cpu_features): Use glibc.tune.hwcap_mask.
1264         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
1266         * elf/dl-hwcaps.h: New file.
1267         * elf/dl-hwcaps.c: Include it.
1268         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
1269         glibc.tune.hwcap_mask.
1270         * elf/dl-cache.c: Include dl-hwcaps.h.
1271         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
1272         glibc.tune.hwcap_mask.
1273         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1274         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
1275         _dl_hwcap_mask.
1276         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
1277         _dl_hwcap_mask.
1278         (process_envvars)[HAVE_TUNABLES]: Likewise.
1279         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
1280         Likewise.
1281         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
1282         initialize dl_hwcap_mask when tunables are enabled.
1284         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
1285         guard.
1286         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1288         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
1289         * scripts/gen-tunables.awk: Include dl-procinfo.h.
1290         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
1292         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
1293         * elf/dl-tunables.c: Likewise.
1294         (do_tunable_update_val): New function.
1295         (__tunable_set_val): New function.
1296         (__tunable_get_val): Call CB only if the tunable was externally
1297         initialized.
1298         (tunables_strtoul): Replace strval with initialized.
1299         * elf/dl-tunables.h (strval): Replace with a bool initialized.
1300         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
1301         prevent collision.
1302         (__tunable_set_val): New function.
1303         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
1304         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
1305         (TUNABLE_SET_VAL): Remove.
1306         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
1307         * README.tunables: Document the new macros.
1308         * malloc/arena.c (ptmalloc_init): Adjust.
1310 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1313         wcsnlen-sse4_1 and wcsnlen-c.
1314         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1315         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
1316         __wcsnlen_sse2.
1317         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
1318         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
1319         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
1320         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
1321         * sysdeps/x86_64/wcsnlen.S: Removed.
1323 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1325         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
1326         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1327         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1328         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1330 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1332         * NEWS: Mention new spinlock implementation.
1333         * include/atomic.h:
1334         (__atomic_val_bysize): Cast type to omit volatile qualifier.
1335         (atomic_exchange_acq): Likewise.
1336         (atomic_load_relaxed): Likewise.
1337         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
1338         * nptl/pthread_spin_init.c (pthread_spin_init):
1339         Use atomic_store_relaxed.
1340         * nptl/pthread_spin_lock.c (pthread_spin_lock):
1341         Use C11-like atomic macros.
1342         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1343         Likewise.
1344         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1345         Use atomic_store_release.
1346         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
1347         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
1348         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
1349         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
1350         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
1351         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
1352         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
1353         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
1354         * sysdeps/alpha/atomic-machine.h: Likewise.
1355         * sysdeps/arm/atomic-machine.h: Likewise.
1356         * sysdeps/i386/atomic-machine.h: Likewise.
1357         * sysdeps/ia64/atomic-machine.h: Likewise.
1358         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
1359         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
1360         * sysdeps/microblaze/atomic-machine.h: Likewise.
1361         * sysdeps/mips/atomic-machine.h: Likewise.
1362         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
1363         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
1364         * sysdeps/s390/atomic-machine.h: Likewise.
1365         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
1366         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
1367         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
1368         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
1369         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1370         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
1371         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
1372         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
1373         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
1374         * sysdeps/x86_64/atomic-machine.h: Likewise.
1376 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1378         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
1379         and use it instead of dl_x86_cpu_features.
1380         (handle_intel): Replace maxidx with cpu_features.  Pass
1381         cpu_features to intel_check_word.
1382         (__cache_sysconf): Pass cpu_features to handle_intel.
1383         (init_cacheinfo): Likewise.  Use cpu_features instead of
1384         dl_x86_cpu_features.
1386 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1388         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
1389         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1390         memcmp-avx2 and wmemcmp-avx2.
1391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1392         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
1393         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
1394         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
1395         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
1396         2 machines if AVX unaligned load is fast and vzeroupper is
1397         preferred.
1398         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
1399         2 machines if AVX unaligned load is fast and vzeroupper is
1400         preferred.
1402 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1404         * include/wchar.h (__wmemset_chk): New.
1405         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
1406         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
1407         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1408         (WMEMSET_CHK_SYMBOL): Likewise.
1409         (WMEMSET_SYMBOL): Likewise.
1410         (__wmemset): Add hidden definition.
1411         (wmemset): Add weak hidden definition.
1412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1413         wmemset_chk-nonshared.
1414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1415         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
1416         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
1417         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
1418         and __wmemset_chk_avx512_unaligned.
1419         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
1420         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1421         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1422         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1423         (WMEMSET_SYMBOL): Likewise.
1424         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
1425         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1426         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1427         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1428         (WMEMSET_SYMBOL): Likewise.
1429         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
1430         (WMEMSET_CHK_SYMBOL): New.
1431         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
1432         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
1433         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
1434         (libc_hidden_builtin_def): Also define __GI_wmemset and
1435         __GI___wmemset.
1436         (weak_alias): New.
1437         * sysdeps/x86_64/multiarch/wmemset.c: New file.
1438         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
1439         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
1440         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1441         * sysdeps/x86_64/wmemset.c: Likewise.
1442         * sysdeps/x86_64/wmemset_chk.c: Likewise.
1444 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1445             H.J. Lu  <hongjiu.lu@intel.com>
1447         * sysdeps/x86/init-arch.h (PASTER1): New.
1448         (EVALUATOR1): Likewise.
1449         (PASTER2): Likewise.
1450         (EVALUATOR2): Likewise.
1451         (REDIRECT_NAME): Likewise.
1452         (OPTIMIZE): Likewise.
1453         (IFUNC_SELECTOR): Likewise.
1455 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1457         * sysdeps/x86_64/strlen.S (PMINU): New.
1458         (PCMPEQ): Likewise.
1459         (SHIFT_RETURN): Likewise.
1460         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
1461         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
1462         pminub with PCMPEQ and PMINU.
1463         * sysdeps/x86_64/wcsnlen.S: New file.
1465 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1467         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
1468         the lower 32 bits.  Remove redundant instructions.
1470 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1472         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
1473         0 as the high part of offset.
1474         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
1476 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
1478         [BZ #21538]
1479         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
1480         [__USE_UNIX98].
1481         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
1482         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
1483         Likewise.
1484         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
1485         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
1486         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
1487         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
1488         Likewise.
1490         [BZ #21517]
1491         * bits/types/stack_t.h (stack_t): Remove struct tag.
1492         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
1493         Likewise.
1494         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
1495         Likewise.
1496         * debug/segfault.c (install_handler): Use stack_t instead of
1497         struct sigaltstack.
1498         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
1499         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
1500         * include/signal.h (__sigaltstack): Likwise.
1501         * signal/sigaltstack.c (__sigaltstack): Likewise.
1502         * signal/signal.h (sigaltstack): Likewise.
1503         * sysdeps/mach/hurd/i386/signal-defines.sym
1504         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
1505         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
1506         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
1507         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1508         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
1509         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
1510         elf_prstatus): Likewise.
1511         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
1512         Likewise.
1513         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
1514         Likewise.
1515         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
1516         Likewise.
1517         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
1518         elf_prstatus): Likewise.
1519         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
1520         Likewise.
1521         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
1522         Likewise.
1524 2017-06-04  Zack Weinberg  <zackw@panix.com>
1526         * sysdeps/gnu/errlist.c: Regenerate.
1528 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
1530         * benchtests/bench-memchr.c (do_test): Print out both length
1531         and position.
1532         (test_main): Also test the position close to the beginning for
1533         memrchr.
1535 2017-06-04  Zack Weinberg  <zackw@panix.com>
1537         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
1538         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
1539         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
1540         * nis/nis_destroygroup.c, nis/nis_domain_of.c
1541         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
1542         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
1543         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
1544         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
1545         * nis/nis_print_group_entry.c, nis/nis_remove.c
1546         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
1547         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
1548         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
1549         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
1550         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
1551         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
1552         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
1553         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
1554         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
1555         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
1556         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
1557         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
1558         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
1559         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
1560         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
1561         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
1562         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
1563         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
1564         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
1565         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
1567         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
1568         abi-versions.h as well as shlib-compat.h.
1569         * sunrpc/get_myaddr.c: Remove obsolete comment.
1570         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
1571         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
1572         * resolv/res_libc.c: Include shlib-compat.h only once.
1574 2017-06-03  Florian Weimer  <fweimer@redhat.com>
1576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
1577         of strdup.
1579 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
1581         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
1582         Set to the 3/4 of the total shared cache size.
1584 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
1586         * manual/errno.texi: Remove redundant error strings.
1587         * manual/macros.texi (@errno): Render the error string in every
1588         description.
1590 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
1592         [BZ #21543]
1593         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
1594         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
1595         [__USE_XOPEN_EXTENDED].
1597 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1599         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
1600         strdupa.
1601         (getcanonname): Use __strdup instead of strdup.
1603 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1605         * misc/Makefile (CFLAGS-preadv2.c): New rule.
1606         (CFLAGS-preadv64v2.c): Likewise.
1607         (CFLAGS-pwritev2.c): Likewise.
1608         (CFLAGS-pwritev64v2.c): Likewise.
1610 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1612         Test res_init with several configuration files.
1613         * resolv/Makefile [build-shared] (tests-internal): Add
1614         tst-resolv-res_init, tst-resolv-res_init-thread.
1615         (tst-resolv-res_init): Link against libdl, libresolv.
1616         (tst-resolv-res_init-thread): Link against libdl, libresolv,
1617         libpthread.
1618         * resolv/tst-resolv-res_init.c: New file.
1619         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
1620         * resolv/tst-resolv-res_init-thread.c: Likewise.
1621         * support/Makefile (libsupport-routines): Add support-xstat,
1622         support_can_chroot, support_capture_subprocess_check,
1623         support_isolate_in_subprocess, support_shared_allocate,
1624         support_write_file_string, xchroot, xmkdir, xopen.
1625         * support/capture_subprocess.h (enum support_capture_allow): Define.
1626         (support_capture_subprocess_check): Declare.
1627         * support/namespace.h (support_can_chroot)
1628         (support_isolate_in_subprocess): Declare.
1629         * support/support-xstat.c: New file.
1630         * support/support.h (support_shared_allocate, support_shared_free)
1631         (support_write_file_string): Declare.
1632         * support/support_can_chroot.c: New file.
1633         * support/support_capture_subprocess_check.c: Likewise.
1634         * support/support_isolate_in_subprocess.c: Likewise.
1635         * support/support_shared_allocate.c: Likewise.
1636         * support/support_write_file_string.c: Likewise.
1637         * support/xchroot.c: Likwise.
1638         * support/xmkdir.c: Likwise.
1639         * support/xopen.c: Likwise.
1640         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
1642 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1644         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
1645         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
1647 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1649         * malloc/Makefile (routines): Add dynarray_at_failure,
1650         dynarray_emplace_enlarge, dynarray_finalize.
1651         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
1652         tst-dynarray-at-fail.
1653         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
1654         (tests-special): Add tst-dynarray-mem.out,
1655         tst-dynarray-mem-fail.out.
1656         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
1657         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
1658         mtrace.
1659         * malloc/Versions (__libc_dynarray_at_failure)
1660         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
1661         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
1662         GLIBC_PRIVATE.
1663         * malloc/dynarray.h: New file.
1664         * malloc/dynarray-skeleton.c: Likewise.
1665         * malloc/dynarray_at_failure.c: Likewise.
1666         * malloc/dynarray_emplace_enlarge.c: Likewise.
1667         * malloc/dynarray_finalize.c: Likewise.
1668         * malloc/dynarray_resize.c: Likewise.
1669         * malloc/dynarray_resize_clear.c: Likewise.
1670         * malloc/tst-dynarray.c: Likewise.
1671         * malloc/tst-dynarray-fail.c: Likewise.
1672         * malloc/tst-dynarray-at-fail.c: Likewise.
1673         * malloc/tst-dynarray-shared.h: Likewise.
1674         * support/Makefile (libsupport-routines): Add
1675         support_capture_subprocess, xdup2, xpipe.
1676         (tests): Add tst-support_capture_subprocess.
1677         * support/capture_subprocess.h: New file.
1678         * support/support_capture_subprocess.c: Likewise.
1679         * support/tst-support_capture_subprocess.c: Likewise.
1680         * support/xdup2.c: Likewise.
1681         * support/xpipe.c: Likewise.
1682         * support/xunistd.h (xdup2, xpipe): Declare.
1684 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1686         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
1687         macros MAX and MIN.
1689 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
1691         * conform/data/signal.h-data (sa_sigaction): Do not expect for
1692         [XPG4].
1693         (SA_SIGINFO): Likewise.
1694         (SA_ONSTACK): Likewise.
1695         (SA_RESETHAND): Likewise.
1696         (SA_RESTART): Likewise.
1697         (SA_NOCLDWAIT): Likewise.
1698         (SA_NODEFER): Likewise.
1699         (SS_ONSTACK): Likewise.
1700         (SS_DISABLE): Likewise.
1701         (MINSIGSTKSZ): Likewise.
1702         (SIGSTKSZ): Likewise.
1703         (ucontext_t): Likewise.
1704         (stack_t): Likewise.
1705         (struct sigstack): Likewise.
1706         (SI_USER): Do not expect for [XPG4 || XPG42].
1707         (SI_QUEUE): Likewise.
1708         (SI_TIMER): Likewise.
1709         (SI_ASYNCIO): Likewise.
1710         (SI_MESGQ): Likewise.
1711         (bsd_signal): Do not expect for [XPG4].
1712         (killpg): Likewise.
1713         (sigaltstack): Likewise.
1714         (sighold): Likewise.
1715         (sigignore): Likewise.
1716         (siginterrupt): Likewise.
1717         (sigpause): Likewise.
1718         (sigrelse): Likewise.
1719         (sigset): Likewise.
1720         (sigwait): Do not expect for [XPG4 || XPG42].
1722 2017-06-01  Zack Weinberg  <zackw@panix.com>
1724         [BZ #21514]
1725         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
1726         pointing to the generated file in <builddir>/misc/bits/syscall.h.
1728 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
1730         [BZ #21457]
1731         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
1732         NGREG to __NGREG if [__USE_MISC].
1733         (gregset_t): Define using __NGREG.
1734         (__ctx): New macro.
1735         (mcontext_t): Use __ctx in defining fields.
1736         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
1737         define NGREG to __NGREG if [__USE_MISC].
1738         (gregset_t): Define using __NGREG.
1739         (__ctx): New macro.
1740         (__ctxt): Likewise.
1741         (fpregset_t): Use __ctx and __ctxt in defining fields.
1742         (mcontext_t): Likewise.
1743         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
1744         define NGREG to __NGREG if [__USE_MISC].
1745         (gregset_t): Define using __NGREG.
1746         (__ctx): New macro.
1747         (mcontext_t): Use __ctx in defining fields.
1748         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
1749         define NGREG to __NGREG if [__USE_MISC].
1750         (gregset_t): Define using __NGREG.
1751         (__ctx): New macro.
1752         (fpregset_t): Use __ctx in defining fields.
1753         (mcontext_t): Likewise.
1754         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
1755         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1756         (gregset_t): Define using __NGREG.
1757         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1758         [__USE_MISC].
1759         (fpregset_t): Define using __NFPREG.
1760         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
1761         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1762         (gregset_t): Define using __NGREG.
1763         (__ctx): New macro.
1764         (fpregset_t): Use __ctx in defining fields.
1765         (mcontext_t): Likewise.
1766         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
1767         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1768         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1769         [__USE_MISC].
1770         (gregset_t): Define using __NGREG.
1771         (__ctx): New macro.
1772         (fpregset_t): Use __ctx in defining fields.
1773         (mcontext_t): Likewise.
1774         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
1775         (mcontext_t): Use __ctx in defining fields.
1776         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
1777         macro.
1778         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
1779         __NGREG if [__USE_MISC].
1780         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
1781         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
1782         (mcontext_t): Likewise.
1783         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
1784         __NGREG if [__USE_MISC].
1785         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
1786         to __NFPREG if [__USE_MISC].
1787         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
1788         to __NVRREG if [__USE_MISC].
1789         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
1790         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
1791         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
1792         [__WORDSIZE != 32] (vrregset_t): Likewise.
1793         [__WORDSIZE != 32] (mcontext_t): Likewise.
1794         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
1795         (__psw_t): Use __ctx in defining fields.
1796         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
1797         [__USE_MISC].
1798         (gregset_t): Define using __NGREG.
1799         (fpreg_t): Use __ctx in defining fields.
1800         (fpregset_t): Likewise.
1801         (mcontext_t): Likewise.
1802         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
1803         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1804         (gregset_t): Define using __NGREG.
1805         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1806         [__USE_MISC].
1807         (fpregset_t): Define using __NFPREG.
1808         (__ctx): New macro.
1809         (mcontext_t): Use __ctx in defining fields.
1810         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
1811         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
1812         __NGREG if [__USE_MISC].
1813         [__x86_64__] (gregset_t): Define using __NGREG.
1814         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
1815         [__x86_64__] (struct _libc_fpstate): Likewise.
1816         [__x86_64__] (mcontext_t): Likewise.
1817         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
1818         __NGREG if [__USE_MISC].
1819         [!__x86_64__] (gregset_t): Define using __NGREG.
1820         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
1821         [!__x86_64__] (struct _libc_fpstate): Likewise.
1822         [!__x86_64__] (mcontext_t): Likewise.
1824 2017-06-01  Zack Weinberg  <zackw@panix.com>
1826         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
1827         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
1828         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
1829         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
1830         libpthread.so no longer references __errno_location.
1832 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1834         * NEWS: Add note about pwritev2 and preadv2 inclusion.
1835         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
1836         pwritev64v2.
1837         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
1838         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
1839         pwritev64v2.
1840         * misc/preadv2.c: New file.
1841         * misc/preadv64v2.c: Likewise.
1842         * misc/pwritev2.c: Likewise.
1843         * misc/pwritev64v2.c: Likewise.
1844         * misc/tst-preadvwritev2.c: Likewise.
1845         * misc/tst-preadvwritev64v2.c: Likewise.
1846         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
1847         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
1848         prototype.
1849         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
1850         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
1851         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
1852         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
1853         (PWRITEV): Likewise.
1854         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
1855         ENOSYS.
1856         * nptl/tst-cancel4.c (tf_pwritev2): New test.
1857         (tf_preadv2): Likewise.
1858         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
1859         * sysdeps/posix/preadv2.c: Likewise.
1860         * sysdeps/posix/preadv64v2.c: Likewise.
1861         * sysdeps/posix/pwritev2.c: Likewise.
1862         * sysdeps/posix/pwritev64v2.c: Likewise.
1863         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
1864         support in kernel.
1865         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
1866         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
1867         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
1868         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
1869         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
1870         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1871         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1872         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1873         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
1874         support flags on Linux.
1875         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
1876         preadv2, preadv64v2, pwritev2, pwritev64v2.
1877         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
1878         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
1879         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
1880         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
1881         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
1882         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
1883         Likewise.
1884         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
1885         Likewise.
1886         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
1887         Likewise.
1888         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
1889         Likewise.
1890         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
1891         Likewise.
1892         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
1893         Likewise.
1894         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
1895         Likewise.
1896         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
1897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1898         (GLIBC_2.26): Likewise.
1899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1900         (GLIBC_2.26): Likewise.
1901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
1902         Likewise.
1903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1904         (GLIBC_2.26): Likewise.
1905         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
1906         Likewise.
1907         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
1908         Likewise.
1909         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
1910         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
1911         Likewise.
1912         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
1913         Likewise.
1914         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
1915         Likewise.
1916         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
1917         Likewise.
1918         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
1919         Likewise.
1920         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
1921         Likewise.
1922         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
1923         Likewise.
1925 2017-05-31  Andreas Schwab  <schwab@suse.de>
1927         * nptl/tst-fork3.c: Include <support/test-driver.c>.
1928         (main): Rename to do_test and make static.
1930 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1932         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
1933         ARCH_INIT_CPU_FEATURES.
1934         (LIBC_START_MAIN): Call it.
1935         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
1936         (__libc_start_main): Remove.
1937         (ARCH_INIT_CPU_FEATURES): New macro.
1938         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
1939         (ARCH_INIT_CPU_FEATURES): New macro.
1941 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
1942             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1944         * include/stdlib.h (__libc_reallocarray): New declaration.
1945         * malloc/Makefile (routines): Add reallocarray.
1946         (tests): Add tst-reallocarray.c.
1947         * malloc/Versions: Add reallocarray and __libc_reallocarray.
1948         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
1949         function.
1950         * malloc/malloc.h (reallocarray): New declaration.
1951         * stdlib/stdlib.h (reallocarray): Likewise.
1952         * malloc/reallocarray.c: New file.
1953         * malloc/tst-reallocarray.c: New test file.
1954         * manual/memory.texi: Document reallocarray.
1955         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
1956         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1957         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1958         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1959         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1960         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1961         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1962         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1963         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1964         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1965         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1966         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1967         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1968         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1970         Likewise.
1971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1972         Likewise.
1973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1975         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1976         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1977         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1978         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1979         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1982         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
1983         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1984         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1986 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1988         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
1989         the lower 32 bits.
1991 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
1993         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
1994         $(build-pie-default) = yes]: Define.
1996 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1998         * string/test-memchr.c (test_main): Add tests for n == 0.
2000 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2002         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
2003         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
2004         (tests-internal): ... here.
2006 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
2007              H.J. Lu  <hongjiu.lu@intel.com>
2009         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
2010         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
2011         (__tunable_set_val): Likewise.
2013 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2015         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
2016         dl-tunables.list in subdirectories.
2018 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2019             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2020             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2022         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2023         (SNANF128): New macro.
2024         * math/e_sqrtf128.c: New file.
2025         * math/s_fmaxmag_template.c: Include math_private.h in order to
2026         make inline expansion of fabs128().
2027         * math/s_fminmag_template.c: Likewise.
2029         * sysdeps/ieee754/float128/e_acosf128.c: New file.
2030         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
2031         * sysdeps/ieee754/float128/e_asinf128.c: New file.
2032         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
2033         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
2034         * sysdeps/ieee754/float128/e_coshf128.c: New file.
2035         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
2036         * sysdeps/ieee754/float128/e_expf128.c: New file.
2037         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
2038         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
2039         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
2040         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
2041         * sysdeps/ieee754/float128/e_j0f128.c: New file.
2042         * sysdeps/ieee754/float128/e_j1f128.c: New file.
2043         * sysdeps/ieee754/float128/e_jnf128.c: New file.
2044         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
2045         * sysdeps/ieee754/float128/e_log10f128.c: New file.
2046         * sysdeps/ieee754/float128/e_log2f128.c: New file.
2047         * sysdeps/ieee754/float128/e_logf128.c: New file.
2048         * sysdeps/ieee754/float128/e_powf128.c: New file.
2049         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
2050         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
2051         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
2052         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
2053         * sysdeps/ieee754/float128/float128_private.h: New file.
2054         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
2055         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
2056         * sysdeps/ieee754/float128/k_cosf128.c: New file.
2057         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
2058         * sysdeps/ieee754/float128/k_sinf128.c: New file.
2059         * sysdeps/ieee754/float128/k_tanf128.c: New file.
2060         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
2061         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
2062         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
2063         * sysdeps/ieee754/float128/s_atanf128.c: New file.
2064         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
2065         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
2066         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
2067         * sysdeps/ieee754/float128/s_cosf128.c: New file.
2068         * sysdeps/ieee754/float128/s_erff128.c: New file.
2069         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
2070         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
2071         * sysdeps/ieee754/float128/s_finitef128.c: New file.
2072         * sysdeps/ieee754/float128/s_floorf128.c: New file.
2073         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
2074         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
2075         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
2076         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
2077         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
2078         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
2079         * sysdeps/ieee754/float128/s_isinff128.c: New file.
2080         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
2081         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
2082         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
2083         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
2084         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
2085         * sysdeps/ieee754/float128/s_logbf128.c: New file.
2086         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
2087         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
2088         * sysdeps/ieee754/float128/s_modff128.c: New file.
2089         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
2090         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
2091         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
2092         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
2093         * sysdeps/ieee754/float128/s_remquof128.c: New file.
2094         * sysdeps/ieee754/float128/s_rintf128.c: New file.
2095         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
2096         * sysdeps/ieee754/float128/s_roundf128.c: New file.
2097         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
2098         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
2099         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
2100         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
2101         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
2102         * sysdeps/ieee754/float128/s_significandf128.c: New file.
2103         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
2104         * sysdeps/ieee754/float128/s_sinf128.c: New file.
2105         * sysdeps/ieee754/float128/s_tanf128.c: New file.
2106         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
2107         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
2108         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
2109         * sysdeps/ieee754/float128/s_truncf128.c: New file.
2110         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
2111         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
2112         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
2113         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
2115         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
2116         (__iscanonicalf128): Define as a macro.
2118 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2120         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
2121         (memmove): Use MEMMOVE for name.
2122         (memcpy): Use MEMCPY for name.  Change internal labels
2123         to external labels.
2124         * sysdeps/aarch64/multiarch/Makefile: New file.
2125         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
2126         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
2127         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2128         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
2129         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
2130         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
2132 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2134         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2135         (_dl_arm_cap_flags): Fix array subscript.
2136         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2137         Fix count.
2139 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2141         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
2143 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2145         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
2146         (is_amd): Likewise.
2147         (max_cpuid): Likewise.
2148         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
2149         (init_cacheinfo): Likewise.
2151 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
2153         [BZ #21511]
2154         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
2155         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
2156         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
2157         !__USE_XOPEN2K) || __USE_MISC].
2158         * conform/data/signal.h-data (struct sigstack): Expect type only
2159         if [!XOPEN2K8 && !POSIX2008].
2160         (sigstack): Expect function only if [XPG42 || UNIX98].
2162         [BZ #21457]
2163         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
2164         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2165         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2166         <bits/types/__sigset_t.h>.
2167         (ucontext_t): Use sigset_t instead of __sigset_t.
2168         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
2169         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2170         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2171         <bits/types/__sigset_t.h>.
2172         (ucontext_t): Use sigset_t instead of __sigset_t.
2173         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
2174         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2175         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2176         <bits/types/__sigset_t.h>.
2177         (ucontext_t): Use sigset_t instead of __sigset_t.
2178         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
2179         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2180         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2181         <bits/types/__sigset_t.h>.
2182         (ucontext_t): Use sigset_t instead of __sigset_t.
2183         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
2184         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2185         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2186         <bits/types/__sigset_t.h>.
2187         (ucontext_t): Use sigset_t instead of __sigset_t.
2188         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2189         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2190         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2191         <bits/types/__sigset_t.h>.
2192         (ucontext_t): Use sigset_t instead of __sigset_t.
2193         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2194         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2195         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2196         <bits/types/__sigset_t.h>.
2197         (ucontext_t): Use sigset_t instead of __sigset_t.
2198         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
2199         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2200         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2201         <bits/types/__sigset_t.h>.
2202         (ucontext_t): Use sigset_t instead of __sigset_t.
2203         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
2204         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2205         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2206         <bits/types/__sigset_t.h>.
2207         (ucontext_t): Use sigset_t instead of __sigset_t.
2208         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2209         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2210         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
2211         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2212         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2213         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2214         <bits/types/__sigset_t.h>.
2215         (ucontext_t): Use sigset_t instead of __sigset_t.
2216         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2217         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2218         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2219         <bits/types/__sigset_t.h>.
2220         (ucontext_t): Use sigset_t instead of __sigset_t.
2221         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2222         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2223         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2224         <bits/types/__sigset_t.h>.
2225         (ucontext_t): Use sigset_t instead of __sigset_t.
2226         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2227         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2228         <bits/ss_flags.h>.
2229         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2230         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2231         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2232         <bits/types/__sigset_t.h>.
2233         (ucontext_t): Use sigset_t instead of __sigset_t.
2234         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2235         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2236         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2237         <bits/types/__sigset_t.h>.
2238         (ucontext_t): Use sigset_t instead of __sigset_t.
2239         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2240         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2241         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2242         <bits/types/__sigset_t.h>.
2243         (ucontext_t): Use sigset_t instead of __sigset_t.
2244         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2245         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2246         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2247         <bits/types/__sigset_t.h>.
2248         (ucontext_t): Use sigset_t instead of __sigset_t.
2249         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
2250         <bits/types.h>.
2251         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2252         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2253         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2254         <bits/types/__sigset_t.h>.
2255         (ucontext_t): Use sigset_t instead of __sigset_t.
2257 2017-05-22  Zack Weinberg  <zackw@panix.com>
2259         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2260         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
2261         bits/siginfo-arch.h, only if not already defined.
2262         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2263         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
2264         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
2265         Likewise.
2267         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2268         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2269         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2270         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2271         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2272         Unconditionally define __SI_* macros.
2274 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2276         [BZ #21393]
2277         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
2278         and add a check for dup3 failure.
2279         * libio/freopen64.c (freopen64): Likewise.
2280         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
2281         libsupport.
2282         (do_test_bz21398): New test.
2283         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
2285 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2287         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2288         Remove invalid comment.
2290 2017-05-21  Zack Weinberg  <zackw@panix.com>
2292         * signal/Makefile (headers): Add bits/types/sigval_t.h.
2294 2017-05-20  Zack Weinberg  <zackw@panix.com>
2296         * bits/sigevent-consts.h
2297         * bits/siginfo-consts.h
2298         * bits/types/__sigset_t.h
2299         * bits/types/sigevent_t.h
2300         * bits/types/siginfo_t.h
2301         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
2302         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2303         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
2304         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
2305         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
2306         New system-dependent bits headers.
2308         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
2309         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
2310         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2311         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
2312         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2313         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2314         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2315         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
2316         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2317         New Linux-only system-dependent bits headers.
2319         * signal/bits/types/sig_atomic_t.h
2320         * signal/bits/types/sigset_t.h
2321         * signal/bits/types/sigval_t.h:
2322         New non-system-dependent bits headers.
2324         * sysdeps/generic/sigsetops.h
2325         * sysdeps/unix/sysv/linux/sigsetops.h:
2326         New internal headers.
2328         * include/bits/types/sig_atomic_t.h
2329         * include/bits/types/sigset_t.h
2330         * include/bits/types/sigval_t.h:
2331         New wrappers.
2333         * signal/sigsetops.h
2334         * bits/siginfo.h
2335         * bits/sigset.h
2336         * sysdeps/unix/sysv/linux/bits/siginfo.h
2337         * sysdeps/unix/sysv/linux/bits/sigset.h
2338         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
2339         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
2340         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
2341         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
2342         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
2343         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
2344         Deleted.
2346         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
2347         Update lists of installed headers.
2349         * posix/bits/types.h: Define __sig_atomic_t here.
2350         * signal/signal.h: Use the new bits headers; no need to handle
2351         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
2352         to define sigmask.
2353         * include/signal.h: No need to handle __need_sig_atomic_t
2354         nor __need_sigset_t.  Don't define __sigemptyset.
2356         * io/sys/poll.h, setjmp/setjmp.h
2357         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
2358         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
2359         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2360         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
2361         * sysdeps/pthread/bits/sigthread.h
2362         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2363         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2364         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2365         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2366         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2367         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2368         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2369         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2370         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2371         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2372         Use bits/types/__sigset_t.h.
2374         * misc/sys/select.h, posix/spawn.h
2375         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2376         * sysdeps/unix/sysv/linux/sys/epoll.h
2377         * sysdeps/unix/sysv/linux/sys/signalfd.h:
2378         Use bits/types/sigset_t.h.
2380         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
2381         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
2382         * socket/sys/socket.h: Don't include bits/sigset.h.
2384         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
2385         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
2386         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
2387         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
2388         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
2389         * sysdeps/unix/sysv/linux/nptl-signals.h:
2390         Include sigsetops.h.
2392         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
2393         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
2394         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
2395         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
2396         now return no value.
2398         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
2399         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
2400         "sigsetops.h".
2402         * signal/sigsetops.c: Explicitly define __sigismember,
2403         __sigaddset, and __sigdelset as compatibility symbols.
2405         * signal/Versions: Correct commentary on __sigpause,
2406         __sigaddset, __sigdelset, __sigismember.
2408         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
2409         __sigblock/__sigsetmask to use __sigprocmask and friends.
2411         * resolv/resolv.h: Remove __need_res_state logic.
2412         Move definition of res_state and related constants to ...
2413         * resolv/bits/types/res_state.h: ...this new file.
2414         * resolv/Makefile: Install bits/types/res_state.h.
2415         * include/bits/types/res_state.h: New wrapper.
2416         * include/list.h: Remove __need_list_t logic.
2417         Move definition of list_t to ...
2418         * include/list_t.h: ...this new file.
2420         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2421         instead of list.h and resolv.h.
2423         * resolv/resolv.h: Remove __need_res_state logic.
2424         Move definition of res_state and related constants to ...
2425         * resolv/bits/types/res_state.h: ...this new file.
2426         * resolv/Makefile: Install bits/types/res_state.h.
2427         * include/bits/types/res_state.h: New wrapper.
2428         * include/list.h: Remove __need_list_t logic.
2429         Move definition of list_t to ...
2430         * include/list_t.h: ...this new file.
2432         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2433         instead of list.h and resolv.h.
2435 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2437         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
2439 2017-05-20  Zack Weinberg  <zackw@panix.com>
2441         * sysdeps/arm/sysdep.h
2442         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
2444         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
2445         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
2446         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
2447         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
2448         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
2449         * sysdeps/arm/armv6t2/strlen.S
2450         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
2451         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
2452         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
2453         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
2454         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
2455         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
2457 2017-05-20  Zack Weinberg  <zackw@panix.com>
2459         Remove the NaCl port.
2460         * sysdeps/arm/nacl: Remove directory and contents.
2461         * sysdeps/nacl: Remove directory and contents.
2462         * abi-tags: Remove .*-.*-nacl.* entry.
2464 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
2466         * manual/errno.texi: Convert @comment-based errno documentation to
2467         @errno.
2468         * manual/macros.texi (@errno): New macro.  Consolidate errors,
2469         their values, and messages, adding the error string to the Concept
2470         Index.  Provide a warning in the comment about external (to the
2471         manual) dependencies.
2472         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
2473         * sysdeps/mach/hurd/errnos.awk: Likewise.
2475 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
2477         * bits/ss_flags.h: New file.
2478         * bits/types/stack_t.h: Likewise.
2479         * include/bits/types/struct_sigstack.h: Likewise.
2480         * signal/bits/types/struct_sigstack.h: Likewise.
2481         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
2482         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
2483         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
2484         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
2485         bits/types/stack_t.h and bits/ss_flags.h.
2486         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
2487         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2488         <bits/ss_flags.h>.
2489         * bits/sigstack.h (struct sigstack): Remove.
2490         (stack_t): Likewise.
2491         (SS_ONSTACK): Likewise.
2492         (SS_DISABLE): Likewise.
2493         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2494         (struct sigstack): Likewise.
2495         (stack_t): Likewise.
2496         (SS_ONSTACK): Likewise.
2497         (SS_DISABLE): Likewise.
2498         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
2499         Likewise.
2500         (stack_t): Likewise.
2501         (SS_ONSTACK): Likewise.
2502         (SS_DISABLE): Likewise.
2503         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
2504         Likewise.
2505         (stack_t): Likewise.
2506         (SS_ONSTACK): Likewise.
2507         (SS_DISABLE): Likewise.
2508         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
2509         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
2510         Likewise.
2511         (stack_t): Likewise.
2512         (SS_ONSTACK): Likewise.
2513         (SS_DISABLE): Likewise.
2514         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2515         (struct sigstack): Likewise.
2516         (stack_t): Likewise.
2517         (SS_ONSTACK): Likewise.
2518         (SS_DISABLE): Likewise.
2519         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
2520         Likewise.
2521         (stack_t): Likewise.
2522         (SS_ONSTACK): Likewise.
2523         (SS_DISABLE): Likewise.
2524         * sysdeps/arm/sys/ucontext.h: Include
2525         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2526         <bits/ss_flags.h>.
2527         * sysdeps/generic/sys/ucontext.h: Likewise.
2528         * sysdeps/i386/sys/ucontext.h: Likewise.
2529         * sysdeps/m68k/sys/ucontext.h: Likewise.
2530         * sysdeps/mips/sys/ucontext.h: Likewise.
2531         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
2532         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
2533         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
2534         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
2535         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
2536         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
2537         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
2538         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
2539         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
2540         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2541         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
2542         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
2543         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
2544         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
2545         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
2547 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2549         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
2550         "edx + ecx - 16" to avoid possible addition overflow.
2551         * sysdeps/x86_64/memchr.S (memchr): Likewise.
2553 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2555         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
2556         (CFLAGS-splice.c): Likewise.
2557         (CFLAGS-open_by_handle_at.c): Likewise.
2558         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
2559         (CFLAGS-splice.c): Likewise.
2560         (CFLAGS-open_by_handle_at.c): Likewise.
2562 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
2564         * scripts/versions.awk: Generate ldbl-compat-choose.h.
2565         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
2566         <ldbl-compat-choose.h>.
2567         (maybe_long_double_symbol): New macro.
2568         [!declare_mgen_alias] (declare_mgen_alias): Use
2569         maybe_long_double_symbol.
2570         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
2571         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2572         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2573         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
2574         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2575         * Makerules [$(build-shared) = yes && !avoid-generated]
2576         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
2577         [$(build-shared) = yes && !avoid-generated]
2578         ($(common-objpfx)ldbl-compat-choose.h): New target.
2580         * scripts/versions.awk: Generate first-versions.h.
2581         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
2582         <first-versions.h>.
2583         (LDOUBLE_cabsl_libm_version): Remove macro.
2584         (LDOUBLE_cargl_libm_version): Likewise.
2585         (LDOUBLE_cimagl_libm_version): Likewise.
2586         (LDOUBLE_conjl_libm_version): Likewise.
2587         (LDOUBLE_creall_libm_version): Likewise.
2588         (LDOUBLE_cacosl_libm_version): Likewise.
2589         (LDOUBLE_cacoshl_libm_version): Likewise.
2590         (LDOUBLE_ccosl_libm_version): Likewise.
2591         (LDOUBLE_ccoshl_libm_version): Likewise.
2592         (LDOUBLE_casinl_libm_version): Likewise.
2593         (LDOUBLE_csinl_libm_version): Likewise.
2594         (LDOUBLE_casinhl_libm_version): Likewise.
2595         (LDOUBLE_csinhl_libm_version): Likewise.
2596         (LDOUBLE_catanl_libm_version): Likewise.
2597         (LDOUBLE_catanhl_libm_version): Likewise.
2598         (LDOUBLE_ctanl_libm_version): Likewise.
2599         (LDOUBLE_ctanhl_libm_version): Likewise.
2600         (LDOUBLE_cexpl_libm_version): Likewise.
2601         (LDOUBLE_clogl_libm_version): Likewise.
2602         (LDOUBLE_cprojl_libm_version): Likewise.
2603         (LDOUBLE_csqrtl_libm_version): Likewise.
2604         (LDOUBLE_cpowl_libm_version): Likewise.
2605         (LDOUBLE_clog10l_libm_version): Likewise.
2606         (LDOUBLE___clog10l_libm_version): Likewise.
2607         (LDOUBLE_fdiml_libm_version): Likewise.
2608         (LDOUBLE_fmaxl_libm_version): Likewise.
2609         (LDOUBLE_fminl_libm_version): Likewise.
2610         (LDOUBLE_ilogbl_libm_version): Likewise.
2611         (LDOUBLE_nanl_libm_version): Likewise.
2612         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
2613         FIRST_VERSION_libm_* macros.
2614         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
2615         * Makerules [$(build-shared) = yes && !avoid-generated]
2616         (before-compile): Add $(common-objpfx)first-versions.h.
2617         [$(build-shared) = yes && !avoid-generated]
2618         ($(common-objpfx)first-versions.h): New target.
2619         ($(common-objpfx)sysd-versions): Depend on and change to rule for
2620         building $(common-objpfx)versions.stmp.
2622 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2624         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
2625         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
2626         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
2627         auto-generation list.
2629         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
2630         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
2631         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
2632         from auto-generation list.
2634         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2635         open_by_handle_at.
2636         (CFLAGS-open_by_handle_at.c): New flag.
2637         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
2638         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
2639         file.
2640         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
2642         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
2643         (CFLAGS-splice.c): New flag.
2644         * sysdeps/unix/sysv/linux/splice.c: New file.
2645         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
2646         auto-generation syscall list.
2647         * misc/Makefile (CFLAGS-splice.c): New rule.
2649         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
2650         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
2651         auto-generation syscall list.
2652         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
2653         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
2655         * misc/Makefile (CFLAGS-fsync.c): New flag.
2656         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
2657         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
2658         syscall list.
2659         * sysdeps/unix/sysv/linux/fsync.c: New file.
2660         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
2661         (__errno_location): Remove.
2663         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
2664         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
2665         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
2666         list.
2667         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
2669         * misc/Makefile (CFLAGS-msync.c): New rule.
2670         * nptl/Makefile (CFLAGS-msync.c): Likewise.
2671         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
2672         * sysdeps/unix/sysv/linux/msync.c: New file.
2674         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
2675         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
2676         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
2677         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2678         (CFLAGS-sigsuspend.c): Remove rule.
2680         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
2681         (CFLAGS-tee.c): New rule.
2682         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
2683         auto-generated list.
2684         * sysdeps/unix/sysv/linux/tee.c: New file.
2686         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
2687         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
2688         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
2689         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
2690         auto-generated list.
2692         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
2693         auto-generated list.
2694         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2695         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2696         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
2697         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2698         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2700         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
2701         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
2702         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
2703         (__NR_pause): Undefine.
2704         * sysdeps/unix/sysv/linux/pause.c: New file.
2705         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
2706         auto-generation list.
2707         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
2708         Remove rule.
2709         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
2711 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2713         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
2714         comments.
2716 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2718         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
2719         LD_HWCAP_MASK.
2721 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
2723         * manual/conf.texi: Convert @tables of annotated @items to
2724         @vtables.
2725         * manual/lang.texi: Likewise.
2726         * manual/pattern.texi: Likewise.
2727         * manual/resource.texi: Likewise.
2728         * manual/socket.texi: Likewise.
2730 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
2732         * manual/crypt.texi: Move a comment out of an @*x list.
2733         * manual/filesys.texi: Refactor some comments, one of which looks
2734         like a standard.  Fix incorrectly separated standards.
2735         * manual/locale.texi: Invert an annotation.
2736         * manual/resource.texi: Fix incorrectly separated standards.
2737         * manual/time.texi: Refactor a @vtable that obscures an
2738         annotation.
2739         * manual/users.texi: Refactor multiple headers to occupy a single
2740         @comment.
2742 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2744         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2745         (sysdep_routines): Add memcmp-power8.
2746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2747         (memcmp): Add __memcmp_power8 to list of memcmp functions.
2748         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
2749         (memcmp): Add __memcmp_power8 to ifunc list.
2750         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
2751         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
2753 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2754             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2756         * math/math.h (__MATH_TG): Extend the conditions to add
2757         _Float128 support.
2758         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
2760 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
2762         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2763         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
2764         s_cosf-ppc64.
2765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
2766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
2767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
2768         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2770 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2772         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
2773         (gen-libm-calls): Add e_exp2F to use the template.
2774         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
2775         * math/e_exp2_template.c: New file, renamed from
2776         math/e_exp2l.c, and made into a template.
2777         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
2779 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2781         * elf/dl-tunable-types.h (tunable_type_code_t): New type
2782         TUNABLE_TYPE_UINT_64.
2783         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
2784         Simplify computation of overflow.
2785         (tunable_set_val_if_valid_range_signed,
2786         tunable_set_val_if_valid_range_unsigned): Remove and replace
2787         with this...
2788         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
2789         (tunable_initialize): Adjust.  Add uint64_t support.
2790         (__tunable_set_val): Add uint64_t support.
2791         * README.tunables: Document it.
2793         * scripts/gen-tunables.awk: Recognize 'default' keyword in
2794         dl-tunables.list.
2795         * README.tunables: Document it.
2797 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2799         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
2800         * sysdeps/posix/preadv64.c: Likewise.
2801         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2802         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
2803         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
2804         * sysdeps/posix/pwritev64.c: Likewise.
2805         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2806         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
2807         * sysdeps/posix/preadv_common.c: New file.
2808         * sysdeps/posix/pwritev_common.c: Likewise.
2810 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2812         * sysdeps/generic/math-type-macros-float128.h
2813         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
2814         wrapper templates.
2816 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2817             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2819         * include/complex.h (__kernel_casinhf128): New declaration.
2820         * include/float.h: New file.
2821         * include/math.h (__finitef128): Add a hidden def.
2822         (__isinff128): Likewise.
2823         (__isnanf128): Likewise.
2824         (__fpclassify): Likewise.
2825         (__issignalling): Likewise.
2826         (__expf128): Likewise.
2827         (__expm1f128): Likewise.
2829         * sysdeps/generic/fix-fp-int-convert-overflow.h:
2830         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
2831         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
2833         * sysdeps/generic/math-type-macros-float128.h: New file.
2835         * sysdeps/generic/math_private.h: Include bits/floatn.h and
2836         math_private_calls.h for _Float128.
2837         (__isinff128): New inline implementation used when GCC < 7.0,
2838         since in this case __builtin_isinf_sign is broken.
2839         (fabsf128): New inline implementation that calls the builtin.
2840         (__EXPR_FLT128): New macro.
2841         (min_of_type): Optionally include _Float128 types too.
2843         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
2844         Declare for _Float128.
2845         (__kernel_rem_pio2): Likewise.
2847         * sysdeps/ieee754/ldbl-opt/s_sin.c:
2848         (__DECL_SIMD_sincos_disablef128): New macro.
2850 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2852         * math/math.h: Include bits/math-finite.h for float128.
2853         (__MATH_DECLARING_FLOATN): Define to control declaration of
2854         float128 functions.
2855         * math/bits/math-finite.h (pow10): Do not declare for float128.
2856         (gamma): Likewise.
2857         (scalb): Likewise.
2859 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2860             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2862         * bits/floatn.h: New file.
2863         * bits/huge_val_flt128.h: Likewise.
2865         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
2866         (__DECL_SIMD_sinf128): Likewise.
2867         (__DECL_SIMD_sincosf128): Likewise.
2868         (__DECL_SIMD_logf128): Likewise.
2869         (__DECL_SIMD_expf128): Likewise.
2870         (__DECL_SIMD_powf128): Likewise.
2872         * math/Makefile (headers): Install bits/floatn.h and
2873         bits/huge_val_flt128.h.
2875         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
2876         defined.
2878         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
2879         (isnan, gamma, nexttoward, scalb): Only define if not
2880         __MATH_DECLARING_FLOATN.
2881         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
2882         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
2883         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
2884         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
2886         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
2887         Include bits/cmathcalls.h to get the declarations of _Float128
2888         versions of complex functions.
2889         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
2890         Define macro.
2892         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
2893         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
2894         get the declarations of _Float128 versions of math functions.
2895         (__MATH_DECLARING_FLOATN): New macro to control declaration of
2896         _FloatN types.
2897         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
2898         is type-generic, so use it without __MATH_TG.
2899         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
2900         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
2901         _Float128 type and GCC < 7.0, otherwise use the builtin.
2902         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
2903         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
2904         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
2905         New _GNU_SOURCE enabled macros.
2907 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2909         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
2910         (signbitf): Likewise.
2911         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
2912         Likewise.
2913         (signbitl): Likewise.
2914         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
2915         Likewise.
2916         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
2917         (signbitl): Likewise.
2918         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
2920 2017-05-12  Florian Weimer  <fweimer@redhat.com>
2922         [BZ #21386]
2923         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
2924         parent PID.  The assertion in the child is incorrect with PID
2925         namespaces.
2927 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2929         * sysdeps/unix/sysv/linux/kernel-features.h
2930         (__ASSUME_STATFS_F_FLAGS): Remove macro.
2931         * sysdeps/unix/sysv/linux/internal_statvfs.c
2932         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
2934 2017-05-11  Zack Weinberg  <zackw@panix.com>
2936         * Makerules: New subdir configuration variables 'tests-internal'
2937         and 'test-internal-extras'.  Test files in these categories will
2938         still be compiled with MODULE_NAME=nonlib.  Test files in the
2939         existing categories (tests, xtests, test-srcs, test-extras) are
2940         now compiled with MODULE_NAME=testsuite.
2941         New subdir configuration variable 'modules-names-tests'.  Files
2942         which are in both 'modules-names' and 'modules-names-tests' will
2943         be compiled with MODULE_NAME=testsuite instead of
2944         MODULE_NAME=extramodules.
2945         (gen-as-const-headers): Move to tests-internal.
2946         (do-tests-clean, common-mostlyclean): Support tests-internal.
2947         * Makeconfig (built-modules): Add testsuite.
2948         * Makefile: Change libof-check-installed-headers-c and
2949         libof-check-installed-headers-cxx to 'testsuite'.
2950         * Rules: Likewise.  Support tests-internal.
2951         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
2952         Remove extra-modules.mk.
2954         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
2955         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
2956         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
2957         very top of the file and rationalize their order.
2958         If MODULE_NAME is not defined at all, define IS_IN to always be
2959         false, and don't define _ISOMAC.
2960         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
2961         true, define _ISOMAC and suppress everything else in this file,
2962         starting with the inclusion of config.h.
2963         Do check for inappropriate definitions of __OPTIMIZE__ and
2964         __FAST_MATH__ here, but only if _ISOMAC is not defined.
2965         Correct some out-of-date commentary.
2967         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
2968         and _Mlong_double_ before including math.h.
2969         * include/string.h: If _ISOMAC is defined, don't expose
2970         _STRING_ARCH_unaligned. Move a comment to a more appropriate
2971         location.
2973         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
2974         * include/time.h, include/unistd.h, include/wchar.h: No need to
2975         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
2977         * misc/sys/cdefs.h (__NTHNL): New macro.
2978         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
2979         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
2981         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
2982         defined, for HAVE_TUNABLES.
2983         * inet/tst-checks-posix.c: No need to define _ISOMAC.
2984         * intl/tst-gettext2.c: Provide own definition of N_.
2985         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
2986         * math/test-signgam-main.c: No need to define _ISOMAC.
2987         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
2988         * stdlib/tst-strtod1i.c: ...this new file.
2989         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
2990         Split tests of __strtod_internal to...
2991         * stdlib/tst-strtod5i.c: ...this new file.
2992         * string/test-string.h: Include stdint.h. Duplicate definition of
2993         inhibit_loop_to_libcall here (from libc-symbols.h).
2994         * string/test-strstr.c: Provide dummy definition of
2995         libc_hidden_builtin_def when including strstr.c.
2996         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
2997         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
2998         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2999         Don't include init-arch.h.
3000         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3001         Don't include init-arch.h.
3003         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
3004         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
3005         unload, unload2, circleload1, neededtest, neededtest2,
3006         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
3007         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
3008         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
3009         ifunc tests to tests-internal.
3010         Don't add $(modules-names) to test-extras.
3011         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
3012         Add tst-deadline to tests-static-internal.
3013         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
3014         tests-internal.
3015         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
3016         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
3017         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
3018         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
3019         tst-sem12-static, and tst-stackguard1-static to tests-internal.
3020         Link tests-internal with libpthread also.
3021         Don't add $(modules-names) to test-extras.
3022         * nss/Makefile: Move tst-field to tests-internal.
3023         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
3024         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
3025         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
3026         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
3027         tests-internal.
3028         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
3029         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
3030         test-get_hwcap-static to tests-internal.
3031         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
3032         tests-internal.
3033         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
3034         modules-names-tests.
3036 2017-05-11  Zack Weinberg  <zackw@panix.com>
3038         * libio/libio.h: Condition dummy definition of _IO_lock_t on
3039         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
3040         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
3041         _IO_funlockfile, and _IO_ftrylockfile.  Only define
3042         _IO_cleanup_region_start and _IO_cleanup_region_end if not
3043         already defined.
3044         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
3045         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
3046         appropriately.
3047         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
3048         Define _IO_lock_t_defined after defining _IO_lock_t.
3050 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3052         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
3053         void* for argument type and use VDSO_SYMBOL macro.
3054         (is_sigtramp_address_rt): Likewise.
3055         (__backtrace): Setup expected frame pointer address for signal
3056         handling.
3057         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
3058         void* for argumetn type and use VSDO_SYMBOL macro.
3059         (__backtrace): Setup expected frame pointer address for signal
3060         handling.
3062         * sysdeps/unix/sysv/linux/writev.c: New file.
3064         * sysdeps/unix/sysv/linux/readv.c: New file.
3066         * include/unistd.h (write): Add hidden proto.
3067         * io/Makefile (CFLAGS-write.c): New define.
3068         * nptl/Makefile (CFLAGS-write.c): Likewise.
3069         * sysdeps/unix/sysv/linux/write.c: New file.
3071         [BZ #21428]
3072         * include/unistd.h (read): Add hidden proto.
3073         * io/Makefile (CFLAGS-read.c): New define.
3074         * nptl/Makefile (CFLAGS-read.c): Likewise.
3075         * sysdeps/unix/sysv/linux/read.c: New file.
3077         * io/Makefile (CFLAGS-creat.c): New rule.
3078         (CFLAGS-creat64.c): Likewise.
3079         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
3080         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
3081         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
3082         * sysdeps/unix/sysv/linux/creat.c: New file.
3083         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
3084         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
3085         auto-generated list.
3086         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3088         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
3089         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
3090         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
3091         * sysdeps/unix/sysv/linux/open.c: New file.
3092         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
3093         iff __WORDSIZE != 64 and use __NR_openat when available.
3094         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
3095         from auto-generated list.
3097         * nptl/Makefile (CFLAGS-close.c): New flag.
3098         * sysdeps/unix/sysv/linux/close.c: New file.
3100 2017-05-11  DJ Delorie  <dj@redhat.com>
3102         * MAINTAINERS: New.  Points to wiki.
3104 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3106         * scripts/gen-tunables.awk: Add attribute_relro to
3107         tunable_list.
3109 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
3111         [BZ #21457]
3112         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
3113         (R1): Likewise.
3114         (R2): Likewise.
3115         (R3): Likewise.
3116         (R4): Likewise.
3117         (R5): Likewise.
3118         (R6): Likewise.
3119         (R7): Likewise.
3120         (R8): Likewise.
3121         (R9): Likewise.
3122         (R10): Likewise.
3123         (R11): Likewise.
3124         (R12): Likewise.
3125         (R13): Likewise.
3126         (R14): Likewise.
3127         (R15): Likewise.
3128         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
3129         (REG_FS): Likewise.
3130         (REG_ES): Likewise.
3131         (REG_DS): Likewise.
3132         (REG_EDI): Likewise.
3133         (REG_ESI): Likewise.
3134         (REG_EBP): Likewise.
3135         (REG_ESP): Likewise.
3136         (REG_EBX): Likewise.
3137         (REG_EDX): Likewise.
3138         (REG_ECX): Likewise.
3139         (REG_EAX): Likewise.
3140         (REG_TRAPNO): Likewise.
3141         (REG_ERR): Likewise.
3142         (REG_EIP): Likewise.
3143         (REG_CS): Likewise.
3144         (REG_EFL): Likewise.
3145         (REG_UESP): Likewise.
3146         (REG_SS): Likewise.
3147         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
3148         (R_D1): Likewise.
3149         (R_D2): Likewise.
3150         (R_D3): Likewise.
3151         (R_D4): Likewise.
3152         (R_D5): Likewise.
3153         (R_D6): Likewise.
3154         (R_D7): Likewise.
3155         (R_A0): Likewise.
3156         (R_A1): Likewise.
3157         (R_A2): Likewise.
3158         (R_A3): Likewise.
3159         (R_A4): Likewise.
3160         (R_A5): Likewise.
3161         (R_A6): Likewise.
3162         (R_A7): Likewise.
3163         (R_SP): Likewise.
3164         (R_PC): Likewise.
3165         (R_PS): Likewise.
3166         (fpregset_t): Likewise.
3167         (MCONTEXT_VERSION): Likewise.
3168         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
3169         (CTX_AT): Likewise.
3170         (CTX_V0): Likewise.
3171         (CTX_V1): Likewise.
3172         (CTX_A0): Likewise.
3173         (CTX_A1): Likewise.
3174         (CTX_A2): Likewise.
3175         (CTX_A3): Likewise.
3176         (CTX_T0): Likewise.
3177         (CTX_T1): Likewise.
3178         (CTX_T2): Likewise.
3179         (CTX_T3): Likewise.
3180         (CTX_T4): Likewise.
3181         (CTX_T5): Likewise.
3182         (CTX_T6): Likewise.
3183         (CTX_T7): Likewise.
3184         (CTX_S0): Likewise.
3185         (CTX_S1): Likewise.
3186         (CTX_S2): Likewise.
3187         (CTX_S3): Likewise.
3188         (CTX_S4): Likewise.
3189         (CTX_S5): Likewise.
3190         (CTX_S6): Likewise.
3191         (CTX_S7): Likewise.
3192         (CTX_T8): Likewise.
3193         (CTX_T9): Likewise.
3194         (CTX_K0): Likewise.
3195         (CTX_K1): Likewise.
3196         (CTX_GP): Likewise.
3197         (CTX_SP): Likewise.
3198         (CTX_S8): Likewise.
3199         (CTX_RA): Likewise.
3200         (CTX_MDLO): Likewise.
3201         (CTX_MDHI): Likewise.
3202         (CTX_CAUSE): Likewise.
3203         (CTX_EPC): Likewise.
3204         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
3205         inclusion of <sys/procfs.h> on [__USE_MISC].
3206         (greg_t): Condition on [__USE_MISC].
3207         (gregset_t): Likewise.
3208         (fpregset_t): Likewise.
3209         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
3210         (NGREG): Likewise.
3211         (gregset_t): Likewise.
3212         (REG_R0): Likewise.
3213         (REG_R1): Likewise.
3214         (REG_R2): Likewise.
3215         (REG_R3): Likewise.
3216         (REG_R4): Likewise.
3217         (REG_R5): Likewise.
3218         (REG_R6): Likewise.
3219         (REG_R7): Likewise.
3220         (REG_R8): Likewise.
3221         (REG_R9): Likewise.
3222         (REG_R10): Likewise.
3223         (REG_R11): Likewise.
3224         (REG_R12): Likewise.
3225         (REG_R13): Likewise.
3226         (REG_R14): Likewise.
3227         (REG_R15): Likewise.
3228         (struct _libc_fpstate): Likewise.
3229         (fpregset_t): Likewise.
3230         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
3231         (NFPREG): Likewise.
3232         (gregset_t): Likewise.
3233         (fpregset_t): Likewise.
3234         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
3235         (R_D1): Likewise.
3236         (R_D2): Likewise.
3237         (R_D3): Likewise.
3238         (R_D4): Likewise.
3239         (R_D5): Likewise.
3240         (R_D6): Likewise.
3241         (R_D7): Likewise.
3242         (R_A0): Likewise.
3243         (R_A1): Likewise.
3244         (R_A2): Likewise.
3245         (R_A3): Likewise.
3246         (R_A4): Likewise.
3247         (R_A5): Likewise.
3248         (R_A6): Likewise.
3249         (R_A7): Likewise.
3250         (R_SP): Likewise.
3251         (R_PC): Likewise.
3252         (R_PS): Likewise.
3253         (fpregset_t): Likewise.
3254         (MCONTEXT_VERSION): Likewise.
3255         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
3256         Likewise.
3257         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
3258         (REG_R1): Likewise.
3259         (REG_R2): Likewise.
3260         (REG_R3): Likewise.
3261         (REG_R4): Likewise.
3262         (REG_R5): Likewise.
3263         (REG_R6): Likewise.
3264         (REG_R7): Likewise.
3265         (REG_R8): Likewise.
3266         (REG_R9): Likewise.
3267         (REG_R10): Likewise.
3268         (REG_R11): Likewise.
3269         (REG_R12): Likewise.
3270         (REG_R13): Likewise.
3271         (REG_R14): Likewise.
3272         (REG_R15): Likewise.
3273         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
3274         of <arch/abi.h> on [__USE_MISC].
3275         (greg_t): Condition on [__USE_MISC].
3276         (NGREG): Likewise.
3277         (gregset_t): Likewise.
3279 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3281         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
3282         (__pthread_rwlock_arch_t): Remove __data definition.
3283         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
3284         (__pthread_rwlock_arch_t): Likewise.
3286 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3288         * resolv/inet_pton.c: Reformat in GNU style.  Remove
3289         internal_function on static functions.
3291 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3293         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
3294         from format_ai_flags.
3295         (format_ai_flags): New function.  Incorporate flag formatting code
3296         from format_ai_one.
3297         (format_ai_canonname): New function.
3298         (format_ai_one): Remove flags parameter.
3299         (format_ai_family): Likewise.
3300         (support_format_addrinfo): Call format_ai_flags,
3301         format_ai_canonname.
3302         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
3303         check_ai.
3304         (check_ai): Call check_ai_hints.
3305         (do_test): Add AI_CANONNAME tests.
3307 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3309         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
3310         (gaih_inet): Likewise.
3312 2017-05-10  Andreas Schwab  <schwab@suse.de>
3314         * nptl/tst-fork1.c: Include <support/test-driver.c>.
3315         (main): Rename to do_test and make static.
3317 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
3319         * string/rawmemchr.c: Include <libc-diag.h>.
3320         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
3321         with size (size_t)-1.
3323 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3325         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
3326         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3327         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3329         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
3330         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
3331         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
3332         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
3333         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
3334         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
3335         * sysdeps/unix/sysv/linux/kernel-features.h
3336         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
3337         socket syscalls.
3338         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3339         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3340         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3341         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3342         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3343         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3344         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3345         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3346         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3347         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3348         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3349         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3350         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3351         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3352         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3354 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3356         * posix/Makefile (headers): Add pthreadtypes-arch.h and
3357         thread-shared-types.h.
3358         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
3359         specific thread definition.
3360         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
3361         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
3362         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
3363         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
3364         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
3365         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
3366         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
3367         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
3368         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
3369         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
3370         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
3371         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
3372         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
3373         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
3374         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
3375         thread definition between POSIX and C11.
3376         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
3377         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
3378         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
3379         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
3380         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
3381         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
3382         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
3383         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
3384         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
3385         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
3386         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
3387         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
3388         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
3389         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
3390         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
3391         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
3392         definitions shared across all architectures.
3394 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3396         * sysdeps/unix/sysv/linux/kernel-features.h
3397         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
3398         (__ASSUME_SENDMMSG): Likewise.
3399         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
3400         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
3401         sendmmsg syscall if that can be assumed to be present, socketcall
3402         otherwise, with no fallback for runtime failure.
3404         * sysdeps/unix/sysv/linux/kernel-features.h
3405         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
3406         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
3407         (__ASSUME_RECVMMSG): Likewise.
3408         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
3409         recvmmsg syscall if it can be assumed to be present, socketcall
3410         otherwise, with no fallback for runtime failure.
3412 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3413             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3415         * bits/libc-header-start.h:
3416         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
3417         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
3418         * manual/creature.texi: Likewise.
3420 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3421             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3423         * math/Makefile:
3424         (type-float128-suffix): New variable
3425         (type-float128-routines): Likewise
3426         (type-float128-yes): Likewise
3427         (types): Append float128 if supported
3428         (types-basic): New variable to control the use of templates for
3429         float, double, and long double, but not for float128 or newer types.
3430         (type-basic-foreach): Likewise.
3432         * sysdeps/ieee754/float128/Makeconfig: New file.
3433         * sysdeps/ieee754/float128/Versions: New file.
3435 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3437         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
3438         Remove macro.
3439         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
3440         prlimit64 is always available and does not give an ENOSYS error.
3441         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
3442         unconditional.
3443         [!__NR_prlimit64]: Remove conditional code.
3444         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
3445         prlimit64 is always available and does not give an ENOSYS error.
3446         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
3448 2017-05-09  Zack Weinberg  <zackw@panix.com>
3450         * sunrpc/tst-xdrmem2.c: Include stdint.h.
3452 2017-05-09  Florian Weimer  <fweimer@redhat.com>
3454         [BZ #21474]
3455         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
3456         (__res_maybe_init): Likewise.
3458 2017-05-09  Zack Weinberg  <zackw@panix.com>
3460         * extra-modules.mk: Delete file.
3461         * cppflags-iterator.mk: Rename to ...
3462         * libof-iterator.mk: ...this.  Adjust comments.
3464         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
3465         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
3466         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
3467         Use libof-iterator.mk instead of cppflags-iterator.mk or
3468         extra-modules.mk.
3470         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
3471         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
3473 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3475         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3477 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
3479         * stdio-common/vfprintf.c (EXTSIZ): Define.
3480         (vfprintf): Use EXTSIZ.
3481         (printf_positional): Likewise.
3483 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
3485         * sysdeps/unix/sysv/linux/kernel-features.h
3486         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
3487         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
3488         <kernel-features.h>.
3489         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
3491         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3492         (__ASSUME_GETCPU_SYSCALL): Remove macro.
3494 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3496         Prevent multiple deletion of temporary files.
3497         * support/temp_file.c (struct temp_name_list): Add owner member.
3498         (add_temp_file): Record owner.
3499         (support_delete_temp_files): Delete file only if owner matches.
3500         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
3501         (do_prepare): Use create_temp_file instead of add_temp_file.
3502         Initialize temp_fd1, temp_fd2.
3503         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
3504         framework remove the temporary files.
3505         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
3506         (do_prepare): Use create_temp_file instead of add_temp_file.
3507         Initialize temp_fd1, temp_fd2, temp_fd3.
3508         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
3509         the test framework remove the temporary files.
3510         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
3511         deletion.
3512         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
3513         temporary directory.  It is removed by the test framework.
3514         * dirent/tst-scandir.c (do_test): Likewise.
3516 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3518         Delete temporary files in LIFO order.
3519         * support/temp_file.c (struct temp_name_list): Replace q member
3520         with next.
3521         (add_temp_file): Add new file to front of linked list.
3522         (support_delete_temp_files): Use next member.
3523         (support_print_temp_files): Likewise.
3525 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3527         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3528         sys/ultrasound.h.
3529         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
3531 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
3533         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3534         Remove.
3535         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3536         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3537         (arch_minimum_kernel): Remove.
3538         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3539         * README: Update statement about Linux kernel requirements.
3541 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3543         * manual/llio.texi: Add preadv and pwritev documentation.
3545 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
3547         [BZ #21455]
3548         * bits/stdint-intn.h: New file.
3549         * bits/stdint-uintn.h: Likewise.
3550         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
3551         bits/stdint-uintn.h.
3552         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
3553         <stdint.h>.
3554         * posix/sys/types.h: Include <bits/stdint-intn.h>.
3555         (__int8_t_defined): Do not define here.
3556         (int8_t): Likewise.
3557         (int16_t): Likewise.
3558         (int32_t): Likewise.
3559         (int64_t): Likewise.
3560         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
3561         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
3562         <stdint.h>.
3563         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
3564         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
3565         <bits/stdint-uintn.h>.
3566         (int8_t): Do not define here.
3567         (int16_t): Likewise.
3568         (int32_t): Likewise.
3569         (int64_t): Likewise.
3570         (uint8_t): Likewise.
3571         (uint16_t): Likewise.
3572         (uint32_t): Likewise.
3573         (uint64_t): Likewise.
3574         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
3575         variable.
3576         (test-xfail-XPG42/netdb.h/conform): Likewise.
3577         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
3578         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3579         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3580         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3582 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3584         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
3585         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
3586         the above.
3587         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3588         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3590 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
3592         [BZ #21445]
3593         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
3595         [BZ #21457]
3596         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3597         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
3598         __glibc_reserved1.
3599         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3600         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
3601         (struct _fpxreg): Likewise.
3602         [!__x86_64__] (struct _fpstate): Rename field reserved to
3603         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
3604         [__x86_64__] (struct _fpstate): Rename field padding to
3605         __glibc_reserved1.
3606         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
3607         Rename field reserved2 to __glibc_reserved2.
3608         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
3609         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
3610         __glibc_reserved1.
3611         [__x86_64__] (struct _libc_fpstate): Rename field padding to
3612         __glibc_reserved1.
3614 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3616         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
3617         variable name.
3619 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
3621         [BZ #21391]
3622         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
3623         Only call init_cpu_features.
3624         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
3625         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3626         * sysdeps/i386/dl-procinfo.h: Removed.
3627         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
3628         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
3629         <sysdeps/x86/dl-procinfo.h>.
3630         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
3631         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
3632         Include <sysdeps/x86/dl-procinfo.h> instead of
3633          <sysdeps/generic/dl-procinfo.h>.
3634         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
3635         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
3636         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
3637         (bit_cpu_MOVBE): Likewise.
3638         (bit_cpu_BMI1): Likewise.
3639         (bit_cpu_BMI2): Likewise.
3640         (index_cpu_BMI1): Likewise.
3641         (index_cpu_BMI2): Likewise.
3642         (index_cpu_LZCNT): Likewise.
3643         (index_cpu_MOVBE): Likewise.
3644         (index_cpu_POPCNT): Likewise.
3645         (reg_BMI1): Likewise.
3646         (reg_BMI2): Likewise.
3647         (reg_LZCNT): Likewise.
3648         (reg_MOVBE): Likewise.
3649         (reg_POPCNT): Likewise.
3650         * sysdeps/x86/dl-hwcap.h: New file.
3651         * sysdeps/x86/dl-procinfo.h: Likewise.
3652         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
3653         (_dl_x86_platforms): Likewise.
3655 2017-05-03  DJ Delorie  <dj@redhat.com>
3657         [BZ #21411]
3658         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
3660 2017-05-03  Phil Blundell  <pb@pbcl.net>
3662         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
3663         comments.
3665 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
3667         [BZ #20116]
3668         * nptl/pthread_create.c: Expand comments to describe
3669         semaphore-like and mutex-like uses of PD->lock.
3671 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3673         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
3674         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
3675         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
3676         auto-generation list.
3677         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3678         epoll_wait.
3679         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
3680         Remove epoll_wait.
3682         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
3683         osf_select.
3684         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
3685         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
3686         osf_select from auto-generation list.
3687         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3688         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3689         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
3690         * sysdeps/unix/sysv/linux/select.c: New file.
3692         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
3693         * sysdeps/unix/sysv/linux/poll.c: New file.
3694         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
3695         auto-generation list.
3697 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
3699         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
3700         New macro.
3702 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
3704         [BZ #21179]
3705         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
3706         R_SPARC_REGISTER relocations.
3708 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3710         * include/unistd.h (__pread): Add libc_hidden_proto.
3711         (__pread64): Likewise.
3712         (__pwrite): Likewise.
3713         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
3714         (__pread64): Remove.
3715         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
3716         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
3717         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
3719 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3723 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3725         * nptl/tst-cancel4-common.c: Use libsupport.
3726         * nptl/tst-cancel4-common.h: Likewise.
3727         * nptl/tst-cancel4.c (tf_read): Likewise.
3728         (tf_readv): Likewise.
3729         (tf_write): Likewise.
3730         (tf_writev): Likewise.
3731         (tf_sleep): Likewise.
3732         (tf_usleep): Likewise.
3733         (tf_nanosleep): Likewise.
3734         (tf_select): Likewise.
3735         (tf_pselect): Likewise.
3736         (tf_poll): Likewise.
3737         (tf_ppoll): Likewise.
3738         (tf_wait): Likewise.
3739         (tf_waitpid): Likewise.
3740         (tf_waitid): Likewise.
3741         (tf_sigpause): Likewise.
3742         (tf_sigsuspend): Likewise.
3743         (tf_sigwait): Likewise.
3744         (tf_sigwaitinfo): Likewise.
3745         (tf_sigtimedwait): Likewise.
3746         (tf_pause): Likewise.
3747         (tf_accept): Likewise.
3748         (tf_send): Likewise.
3749         (tf_recv): Likewise.
3750         (tf_recvfrom): Likewise.
3751         (tf_recvmsg): Likewise.
3752         (tf_open): Likewise.
3753         (tf_close): Likewise.
3754         (tf_pread): Likewise.
3755         (tf_pwrite): Likewise.
3756         (tf_preadv): Likewise.
3757         (tf_pwritev): Likewise.
3758         (tf_fsync): Likewise.
3759         (tf_fdatasync): Likewise.
3760         (tf_msync): Likewise.
3761         (tf_sendto): Likewise.
3762         (tf_sendmsg): Likewise.
3763         (tf_creat): Likewise.
3764         (tf_connect): Likewise.
3765         (tf_tcdrain): Likewise.
3766         (tf_msgrcv): Likewise.
3767         (tf_msgsnd): Likewise.
3768         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
3769         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
3771         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
3772         expected arguments.
3773         (do_test): Adapt to use libsupport.
3775 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
3777         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
3779         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
3780         (PF_MAX): Set to 44.
3781         (AF_SMC): New macro.
3783         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3784         kernel version to 4.11.
3786 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3788         [BZ #21280]
3789         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
3790         signal of subnormals and adjust the exponent of power of 2 down
3791         when low part has opposite sign.
3793 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3795         * sysdeps/powerpc/powerpc64le/Implies: New file.
3796         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
3797         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
3798         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
3799         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
3800         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
3801         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
3802         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
3803         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
3804         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
3805         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
3806         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
3807         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
3808         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
3809         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
3810         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
3811         * sysdeps/powerpc/preconfigure: New file.
3812         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
3813         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
3815 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
3817         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
3818         inclusion.
3819         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
3820         Remove.
3822 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
3824         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
3825         (XPG3): Rename standard to XPG4.
3826         * conform/Makefile: Likewise.
3827         * conform/list-header-symbols.pl: Likewise.
3828         * conform/data/aio.h-data: Likewise.
3829         * conform/data/arpa/inet.h-data: Likewise.
3830         * conform/data/complex.h-data: Likewise.
3831         * conform/data/ctype.h-data: Likewise.
3832         * conform/data/dlfcn.h-data: Likewise.
3833         * conform/data/fcntl.h-data: Likewise.
3834         * conform/data/fenv.h-data: Likewise.
3835         * conform/data/float.h-data: Likewise.
3836         * conform/data/fmtmsg.h-data: Likewise.
3837         * conform/data/ftw.h-data: Likewise.
3838         * conform/data/grp.h-data: Likewise.
3839         * conform/data/inttypes.h-data: Likewise.
3840         * conform/data/iso646.h-data: Likewise.
3841         * conform/data/langinfo.h-data: Likewise.
3842         * conform/data/libgen.h-data: Likewise.
3843         * conform/data/limits.h-data: Likewise.
3844         * conform/data/locale.h-data: Likewise.
3845         * conform/data/math.h-data: Likewise.
3846         * conform/data/mqueue.h-data: Likewise.
3847         * conform/data/ndbm.h-data: Likewise.
3848         * conform/data/net/if.h-data: Likewise.
3849         * conform/data/netdb.h-data: Likewise.
3850         * conform/data/netinet/in.h-data: Likewise.
3851         * conform/data/poll.h-data: Likewise.
3852         * conform/data/pthread.h-data: Likewise.
3853         * conform/data/pwd.h-data: Likewise.
3854         * conform/data/sched.h-data: Likewise.
3855         * conform/data/search.h-data: Likewise.
3856         * conform/data/semaphore.h-data: Likewise.
3857         * conform/data/signal.h-data: Likewise.
3858         * conform/data/spawn.h-data: Likewise.
3859         * conform/data/stdbool.h-data: Likewise.
3860         * conform/data/stdint.h-data: Likewise.
3861         * conform/data/stdio.h-data: Likewise.
3862         * conform/data/stdlib.h-data: Likewise.
3863         * conform/data/string.h-data: Likewise.
3864         * conform/data/strings.h-data: Likewise.
3865         * conform/data/stropts.h-data: Likewise.
3866         * conform/data/sys/mman.h-data: Likewise.
3867         * conform/data/sys/resource.h-data: Likewise.
3868         * conform/data/sys/select.h-data: Likewise.
3869         * conform/data/sys/socket.h-data: Likewise.
3870         * conform/data/sys/stat.h-data: Likewise.
3871         * conform/data/sys/statvfs.h-data: Likewise.
3872         * conform/data/sys/time.h-data: Likewise.
3873         * conform/data/sys/timeb.h-data: Likewise.
3874         * conform/data/sys/types.h-data: Likewise.
3875         * conform/data/sys/uio.h-data: Likewise.
3876         * conform/data/sys/un.h-data: Likewise.
3877         * conform/data/sys/wait.h-data: Likewise.
3878         * conform/data/syslog.h-data: Likewise.
3879         * conform/data/termios.h-data: Likewise.
3880         * conform/data/tgmath.h-data: Likewise.
3881         * conform/data/time.h-data: Likewise.
3882         * conform/data/ucontext.h-data: Likewise.
3883         * conform/data/unistd.h-data: Likewise.
3884         * conform/data/utmpx.h-data: Likewise.
3885         * conform/data/varargs.h-data: Likewise.
3886         * conform/data/wchar.h-data: Likewise.
3887         * conform/data/wctype.h-data: Likewise.
3889 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
3891         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
3892         version to 7 branch.
3894 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
3896         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
3897         earlyclobber to output operand of sqrt insn.
3898         (__ieee754_sqrtf): Ditto.
3900 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
3902         [BZ #21426]
3903         * misc/bits/types/struct_iovec.h: New file.
3904         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
3905         * include/bits/types/struct_iovec.h: New file.
3906         * bits/uio.h (struct iovec): Replace by inclusion of
3907         <bits/types/struct_iovec.h>.
3908         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
3909         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
3910         of <sys/uio.h>.
3911         * nptl/tst-cancel4.c: Include <sys/uio.h>
3912         * posix/test-errno.c: Likewise.
3913         * support/resolv_test.c: Likewise.
3914         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
3915         Remove.
3916         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3917         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3918         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3920         * conform/data/sys/socket.h-data (*_t): Allow.
3922 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3924         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
3925         assignment.
3927 2017-04-24  Daurnimator  <quae@daurnimator.com>
3928             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3930         [BZ #21340]
3931         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
3932         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
3933         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
3934         valid flags.
3935         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
3936         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
3937         POSIX_SPAWN_SETSID.
3938         * sysdeps/posix/spawni.c (__spawni): Likewise.
3939         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3940         * NEWS: Add note about POSIX_SPAWN_SETSID support.
3942 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3944         * sysdeps/generic/math_private.h: Move the declaration of many
3945         functions to sysdeps/generic/math_private_calls.h.
3946         * sysdeps/generic/math_private_calls.h: New file with the
3947         declarations of the functions removed from math_private.h
3948         macroized by floating-point type.
3950 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3952         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
3953         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
3954         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3955         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3956         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3957         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3959 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3961         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
3962         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
3963         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
3964         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
3965         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
3966         New Define.
3968 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3970         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
3971         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
3972         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3973         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3974         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3975         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3977 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3979         * sysdeps/s390/multiarch/ifunc-resolve.h
3980         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
3981         * sysdeps/s390/multiarch/8bit-generic.c
3982         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
3983         define ifunc resolvers.
3985 2017-04-21  Florian Weimer  <fweimer@redhat.com>
3987         [BZ #20424]
3988         * manual/memory.texi (Replacing malloc): New section.
3989         (Allocating Storage For Program Data): Reference it.
3990         (The GNU Allocator): Likewise.
3992 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
3994         * stdlib/Versions (__strtod_internal): List explicitly, not as
3995         wildcard.
3996         (__strtof_internal): Likewise.
3997         (__strtold_internal): Likewise.
3998         (__strtol_internal): Likewise.
3999         (__strtoll_internal): Likewise.
4000         (__strtoul_internal): Likewise.
4001         (__strtoull_internal): Likewise.
4002         (__strtoq_internal): Likewise.
4003         (__strtouq_internal): Likewise.
4004         * wcsmbs/Versions (__wcstod_internal): Likewise.
4005         (__wcstof_internal): Likewise.
4006         (__wcstold_internal): Likewise.
4007         (__wcstol_internal): Likewise.
4008         (__wcstoll_internal): Likewise.
4009         (__wcstoul_internal): Likewise.
4010         (__wcstoull_internal): Likewise.
4012 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4014         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
4015         struct timespec definition.
4017 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4019         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
4021 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4023         * inet/rcmd.c (rresvport_af): Fix typo in comment.
4024         * inet/rexec.c (rexec_af): Likewise.
4026 2017-04-19  Zack Weinberg  <zackw@panix.com>
4028         * posix/tst-mmap-offset.c: Include stdint.h.
4029         * resolv/tst-ns_name_compress.c: Include string.h.
4030         * resolv/tst-resolv-edns.c: Include resolv.h.
4032 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4034         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
4035         with __glibc_likely.
4036         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
4037         Replace __builtin_expect with __glibc_unlikely.
4038         * resolv/res_init.c (__res_vinit): Likewise.
4039         * resolv/res_query.c (__libc_res_nquery): Likewise.
4040         * resolv/res_send.c (__libc_res_nsend): Likewise.
4042 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4044         [BZ #15722]
4045         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
4046         with SOCK_CLOEXEC.
4047         * resolv/res_send.c (send_vc, reopen): Likewise.
4048         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
4049         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
4050         Likewise.
4051         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
4052         * inet/rexec.c (rexec_af): Add comment.
4053         * inet/rcmd.c (rresvport_af): Likewise.
4055 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4057         * nscd/connections.c (have_accept4): Removed definition.
4058         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
4059         accept4 works.
4060         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
4061         ia64 because that was the first version with accept4 support.
4062         * support/Makefile (libsupport-routines): Add xaccept4.
4063         * support/xsocket.h (xaccept4): Declare.
4064         * support/xaccept4.c: New file.
4065         * socket/tst-accept4.c: New file.
4066         * socket/Makefile (tests): Add tst-accept4.
4067         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
4068         definition.
4069         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
4070         comment.
4071         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
4072         implementation is available.
4073         (accept4): Use the system call if available, otherwise use the
4074         socket call.
4075         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
4076         Set to 3.2.18.
4077         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4078         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
4079         accept4 is unconditionally available in later 3.2 stable kernels.
4080         (__ASSUME_ACCEPT4_SYSCALL): Define.
4081         * sysdeps/unix/sysv/linux/kernel-features.h
4082         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
4083         definitions.
4084         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4085         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
4087 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
4089         * conform/Makefile (tests-special): Do not make addition of
4090         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
4091         (generated): Do not make addition of $(conformtest-header-base)
4092         conditional on [$(cross-compiling) = no].
4094         [BZ #21267]
4095         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
4096         if defined by <asm/socket.h> and not previously defined.
4097         (IOCSIZE_SHIFT): Likewise.
4098         (IOC_IN): Likewise.
4099         (IOC_INOUT): Likewise.
4100         (IOC_OUT): Likewise.
4102 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4104         [BZ #21396]
4105         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4106         Prefer_No_AVX512 if AVX512ER isn't available.
4107         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
4108         (index_arch_Prefer_No_AVX512): Likewise.
4109         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
4110         AVX512 version if Prefer_No_AVX512 is set.
4111         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
4112         Likewise.
4113         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
4114         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
4115         Likewise.
4116         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4117         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
4118         Likewise.
4119         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
4120         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
4121         Likewise.
4123 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4125         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4126         Prefer_No_VZEROUPPER if AVX512ER is available.
4127         * sysdeps/x86/cpu-features.h
4128         (bit_cpu_AVX512PF): New.
4129         (bit_cpu_AVX512ER): Likewise.
4130         (bit_cpu_AVX512CD): Likewise.
4131         (bit_cpu_AVX512BW): Likewise.
4132         (bit_cpu_AVX512VL): Likewise.
4133         (index_cpu_AVX512PF): Likewise.
4134         (index_cpu_AVX512ER): Likewise.
4135         (index_cpu_AVX512CD): Likewise.
4136         (index_cpu_AVX512BW): Likewise.
4137         (index_cpu_AVX512VL): Likewise.
4138         (reg_AVX512PF): Likewise.
4139         (reg_AVX512ER): Likewise.
4140         (reg_AVX512CD): Likewise.
4141         (reg_AVX512BW): Likewise.
4142         (reg_AVX512VL): Likewise.
4144 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4146         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
4147         O_CLOEXEC is defined.
4148         * include/fcntl.h (__have_o_cloexec): Remove declaration.
4149         * io/Makefile (aux): Remove.
4150         * io/have_o_cloexec.c: Remove file.
4151         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
4152         defined and works.
4153         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
4154         defined.
4155         * login/utmp_file.c (O_flags): Remove definition.
4156         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
4157         O_CLOEXEC works.
4158         (pututline_file): Likewise.
4159         * malloc/mtrace.c: Assume that O_CLOEXEC works.
4160         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
4161         definition.
4162         (internal_setgrent): Assume that O_CLOEXEC works.
4163         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
4164         Remove definition.
4165         (internal_setgrent): Assume that O_CLOEXEC works.
4166         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
4167         definition.
4168         (internal_setpwent): Assume that O_CLOEXEC works.
4169         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
4170         definition.
4171         (internal_setspent): Assume that O_CLOEXEC works.
4172         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
4173         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
4174         O_CLOEXEC is defined and works.
4175         * nss/Makefile (libnss_files-routines): Remove
4176         files-have_o_cloexec.
4177         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
4178         defined.
4179         * nss/nss_files/files-XXX.c (internal_setent): Assume that
4180         O_CLOEXEC is defined and works.
4181         * nss/nss_files/files-alias.c (internal_setent): Likewise.
4182         * nss/nss_files/files-have_o_cloexec.c: Remove.
4183         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
4184         defined.
4185         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
4186         and works.
4187         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
4188         definition.
4189         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
4190         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
4191         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
4192         (__opendirat, __opendir): Adjust opendir_oflags call.
4193         (check_have_o_cloexec): Remove.
4194         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
4195         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
4196         defined.
4197         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
4198         Remove definition.
4200 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4202         * include/unistd.h (__have_dup3): Remove declaration.
4203         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
4204         dup3 is available.
4205         * libio/freopen64.c (freopen64): Likewise.
4206         * socket/Makefile (aux): Remove have_sock_cloexec.
4207         * socket/have_sock_cloexec.c: Remove file.
4208         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
4209         definition.
4210         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
4211         Likewise.
4212         * sysdeps/nacl/kernel-features.h: Update comment.
4214 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4216         * include/unistd.h (__have_pipe2): Remove declaration.
4217         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
4218         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
4219         available.
4220         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
4221         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
4222         Remove definition.
4224 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4226         * malloc/malloc.c (cfree): Turn into compat symbol.
4227         (__cfree): Remove alias.
4228         * stdlib/stdlib.h (cfree): Remove declaration.
4229         * malloc/malloc.h (cfree): Likewise.
4230         * manual/memory.texi (Freeing after Malloc): Remove cfree.
4231         * malloc/Versions (GLIBC_2.26): Add.
4233 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4235         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4236         (sysdep_routines): Add strrchr-power8.
4237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4238         (strrchr): Add __strrchr_power8 to list of strrchr functions.
4239         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
4240         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
4241         (strrchr): Add __strrchr_power8 to ifunc list.
4242         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
4244 2017-04-17  Rabin Vincent  <rabinv@axis.com>
4246         [BZ #21357]
4247         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
4248         Call free() outside of mutex.
4250 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4252         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
4253         is defined.
4254         * elf/rtld.c (process_envvars): Likewise.
4255         * sysdeps/posix/shm_open.c (shm_open): Likewise.
4256         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
4257         O_NOFOLLOW directly.
4258         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
4260 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4262         [BZ #21369]
4263         Remove EDNS fallback.
4264         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
4265         handling.
4266         * resolv/res_send.c (send_dg): Likewise.
4267         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
4268         "tcp." prefixes.
4269         (do_test): Send a "formerr."-prefixed query in an attempt to
4270         trigger EDNS fallback.
4272 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4274         [BZ #21361]
4275         Limit EDNS buffer size to 1200 bytes.
4276         * include/resolv.h (__res_nopt): Remove declaration.
4277         * resolv/Makefile (tests): tst-resolv-edns.
4278         (tst-resolv-edns): Link with -lresolv, -lpthread.
4279         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
4280         interval [512, 1200].
4281         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
4282         we can resize the buffer.
4283         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
4284         (__res_nopt): Declare.
4285         * resolv/tst-resolv-edns.c: New file.
4286         * resolv/resolv_test.h (struct resolv_edns_info): Define.
4287         (struct resolv_response_context): Add edns member.
4288         * resolv/resolv_test.c (struct query_info): Add edns member.
4289         (parse_query): Extract EDNS information from the query.
4290         (server_thread_udp_process_one): Propagate EDNS data.
4291         (server_thread_tcp_client): Likewise.
4293 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4295         [BZ #21359]
4296         * resolv/ns_name.c (ns_name_pack): Do not require an additional
4297         byte in the destination buffer.  Avoid out-of-bounds pointer
4298         arithmetic.
4299         * resolv/Makefile (tests): Add tst-ns_name_compress.
4300         (tst-ns_name_compress): Link with -lresolv.
4301         * resolv/tst-ns_name_compress.c: New file.
4302         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
4303         (response): Recognize LONG_NAME.
4304         (do_test): Add LONG_NAME tests.
4305         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
4306         for ns_name_unpack.  Add tests for ns_name_pton and
4307         ns_name_compress.
4309 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4311         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
4312         (res_nisourserver): Remove definition.
4313         (p_section, res_npquery, res_nisourserver): Remove declaration.
4314         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
4315         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
4316         ... here.
4317         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
4318         <resolv.h>.
4319         * resolv/res_query.c: Likewise.
4320         * resolv/res_debug.c (p_section): Define as static.
4322 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4324         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
4325         strncat-power8.
4326         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
4327         __strncat_power8 to ifunc list.
4328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4329         (strncat): Add __strncat_power8 to list of strncat functions.
4330         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
4332 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4334         [BZ #21270]
4335         * posix/tst-mmap-offset.c (do_prepare): New function.
4336         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
4337         (do_test_bz21270): New function.
4338         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
4339         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
4340         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
4341         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
4342         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
4343         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4344         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
4345         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
4346         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
4347         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
4348         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
4349         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4350         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4351         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4352         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
4353         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
4354         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4355         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
4356         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
4357         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
4358         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
4359         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
4360         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
4361         from auto-generation list.
4362         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
4363         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4364         * sysdeps/unix/sysv/linux/mmap.c: New file.
4365         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
4366         offsets and support for mmap2 syscall.
4368         * posix/globtest.sh: Add cleanup routine on trap 0.
4370 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4372         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
4373         implementation-specific function name and remove unneeded
4374         macros definition.
4375         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
4376         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
4377         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
4378         name if not defined and pass as parameter to macros accordingly.
4379         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4380         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
4382         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
4383         implementation-specific function name and remove unneeded
4384         macros definition.
4385         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
4386         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
4387         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
4388         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
4389         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4390         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
4391         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
4392         name if not defined and pass as parameter to macros accordingly.
4393         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4394         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4395         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4396         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4397         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4398         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
4400         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
4401         implementation-specific function name and remove unneeded macros
4402         definition.
4403         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
4404         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
4405         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
4406         function name if not defined and pass as parameter to macros
4407         accordingly.
4408         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4409         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
4411         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
4412         implementation-specific function name and remove unneeded macros
4413         definition.
4414         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4415         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4416         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
4417         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4418         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
4419         not defined and pass as parameter to macros accordingly.
4420         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4421         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4422         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4423         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
4425         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
4426         strcasestr implementation name and remove unneeded macros definition.
4427         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
4428         strstr implementation name and remove unneeded macros definition.
4429         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
4430         name if not defined and pass as parameter to macros accordingly.
4431         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
4433         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
4434         implementation-specific function name and remove unneeded macros
4435         definition.
4436         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
4437         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
4438         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
4439         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
4440         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
4441         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
4442         function name if not defined and pass as parameter to macros
4443         accordingly.
4444         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
4445         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
4446         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
4447         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
4449         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
4450         the strlen implementation name and remove unneeded macros definition.
4451         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
4452         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4453         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
4454         the strnlen implementation name and remove unneeded macros definition.
4455         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
4456         name if not defined and pass as parameter to macros accordingly.
4457         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
4458         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
4459         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4461         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
4462         the implementation-specific function name and remove unneeded
4463         macros definition.
4464         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
4465         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
4466         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
4467         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4468         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
4469         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
4470         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
4471         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
4472         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4473         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
4474         name if not defined and pass as parameter to macros accordingly.
4475         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
4476         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4477         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
4478         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
4479         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
4480         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
4481         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
4482         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4484         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
4485         implementation-specific function name and remove unneeded macros
4486         definition.
4487         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
4488         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
4489         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
4490         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
4491         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
4492         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
4493         function name if not defined.
4494         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
4495         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
4497 2017-04-11  Paul Clarke  <pc@us.ibm.com>
4499         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
4500         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
4501         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
4502         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
4504 2017-04-11  Florian Weimer  <fweimer@redhat.com>
4505             Zack Weinberg  <zackw@panix.com>
4507         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
4508         readdir64 as thread-safe.  Update warning about readdir_r.
4510 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4512         * sysdeps/unix/sysv/linux/x86/Implies: New file.
4513         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
4514         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
4515         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
4516         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
4517         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
4518         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4520 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
4522         * sysdeps/i386/dl-procinfo.c: Include
4523         <sysdeps/x86/dl-procinfo.c>.
4524         * sysdeps/x86_64/dl-procinfo.c: Likewise.
4525         * sysdeps/x86/dl-procinfo.c: New file.
4527 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4529         * sysdeps/generic/math_private.h: Remove declarations of
4530         many functions that are already declared in math.h.
4531         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
4532         declaration for __frexpl.
4533         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
4534         the declarations for __scalbnl and fabsl.
4536 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
4538         [BZ #20831]
4539         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
4540         of __mprotect to change protection on the excess portion
4541         to disallow all access.
4543 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
4545         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
4546         HAS_CPU_FEATURE to check for SSE.
4547         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4548         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
4549         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
4550         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
4551         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
4552         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
4553         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
4554         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
4555         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4556         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
4557         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4558         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
4559         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
4560         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
4561         (index_cpu_SSE): Likewise.
4562         (reg_SSE): Likewise.
4564 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
4566         * posix/getopt1.c: Include <config.h>, not "config.h".
4568 2017-04-07  Zack Weinberg  <zackw@panix.com>
4570         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
4571         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
4572         Mention in top-of-file boilerplate that these files are shared
4573         with gnulib.
4574         * posix/getopt.h, posix/bits/getopt_posix.h:
4575         Mention in top-of-file boilerplate that these files are NOT shared
4576         with gnulib, unlike the rest of the getopt implementation.
4578         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
4579         New files, intended to be shared with gnulib.
4580         * posix/bits/getopt_posix.h:
4581         New file, not intended to be shared with gnulib.
4582         * posix/getopt.h: Now just includes features.h,
4583         bits/getopt_core.h, and bits/getopt_ext.h.  Will
4584         no longer be shared with gnulib.
4585         * include/bits/getopt_core.h, include/bits/getopt_ext.h
4586         * include/bits/getopt_posix.h: New wrappers.
4587         * posix/Makefile: Install new headers.
4588         * posix/unistd.h, libio/stdio.h:
4589         Include bits/getopt_posix.h instead of getopt.h.
4591         * include/libc-symbols.h: For gnulib compatibility, define
4592         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
4593         _GL_ATTRIBUTE_CONST.
4594         * posix/getopt.c (_getopt_initialize): Mark argc and argv
4595         parameters with _GL_UNUSED.
4597         * posix/getopt.c: When used standalone, define __libc_use_alloca
4598         as always false and alloca to abort if called.
4599         (process_long_option): Rewrite handling of ambiguous long options
4600         to use a single boolean vector, not a linked list; use
4601         __libc_use_alloca to decide whether to allocate this using alloca.
4602         * posix/tst-getopt_long1.c: Adjust text of expected error message.
4604         * posix/getopt.c (process_long_option): New function split out
4605         from _getopt_internal_r.
4606         (_getopt_internal_r): Replace both copies of the long-option
4607         processing code with calls to process_long_option.
4608         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
4609         (do_test): Differentiate argv[0] in the two subtests.
4611         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
4612         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
4613         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
4615         * posix/getopt.h: Add backup definition of __nonnull for
4616         consistency with gnulib.  Define __getopt_argv_const to const
4617         if not already defined.
4618         (getopt): Update doc comment from gnulib.  Prototype
4619         unconditionally.  Add __nonnull annotation.
4620         (__posix_getopt): Add __nonnull annotation.
4621         (getopt_long, getopt_long_only): Use __getopt_argv_const in
4622         prototypes for consistency with gnulib.  Add __nonnull
4623         annotations.
4624         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
4625         (getopt_internal): Change 'argv' argument to type 'char **'.
4626         Remove now-unnecessary casts.
4627         (getopt, __posix_getopt): Eliminate repetition with a macro.
4628         Cast 'argv' to 'char **' when calling _getopt_internal.
4629         * posix/getopt1.c (getopt_long, getopt_long_only):
4630         Use __getopt_argv_const for consistency with gnulib.
4631         Cast 'argv' to 'char **' when calling _getopt_internal.
4632         (_getopt_long_r, _getopt_long_only_r):
4633         Change 'argv' argument to type 'char **'.
4634         (main): Constify 'long_options'.
4635         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
4636         (_getopt_long_r, _getopt_long_only_r):
4637         Change 'argv' argument to type 'char **'.
4639         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
4640         (locked_vfxprintf): New helper function. Handle arbitrary
4641         multibyte strings, not just ASCII.
4642         * include/stdio.h: Declare __fxprintf_nocancel.
4643         * posix/getopt.c: When _LIBC is defined, define fprintf to
4644         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
4645         to _IO_funlockfile.  When neither _LIBC nor
4646         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
4647         funlockfile as no-ops.
4648         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
4649         the standalone error-printing code can now be used for libc as
4650         well.  Add an flockfile/funlockfile pair around one case where
4651         the error message is printed in several chunks.  Don't use fputc.
4652         * posix/tst-getopt-cancel.c: New test.
4653         * posix/Makefile: Run it.
4655         * posix/getopt.c (_getopt_internal_r): Don't increment
4656         d->optind a second time when reporting ambiguous -W options.
4658         * posix/getopt_int.h: Include getopt.h.
4659         Use impl-namespace names for all arguments to _getopt_internal and
4660         _getopt_internal_r.
4661         Declare __ordering enum outside the struct.
4662         Harmonize comments with gnulib.
4663         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
4664         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
4665         #ifdef TEST block and make unconditional.  Do not define NULL.
4666         * posix/getopt.c: Partial merge from gnulib, covering the
4667         initial includes and global declarations, commentary, and
4668         a couple of semantically-neutral code changes.
4670         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
4671         Use '...' instead of `...' for quotation marks inside
4672         comments and strings.
4674         * config.h.in (USE_NONOPTION_FLAGS): Remove.
4675         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
4676         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4677         * posix/getopt_int.h: Likewise.
4678         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
4679         __libc_argc and __libc_argv externs, which were only used by
4680         #ifdef USE_NONOPTION_FLAGS blocks.
4681         * posix/getopt_init.c: Remove file.
4682         * posix/Makefile (routines): Remove getopt_init.
4683         * include/getopt.h: Don't declare __getopt_initialize_environment.
4684         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
4685         a comment.
4687 2017-04-07  Florian Weimer  <fweimer@redhat.com>
4689         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
4691 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4693         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
4694         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
4695         to __wrap_.udiv.
4696         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
4697         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
4699         * sysdeps/i386/symbol-hacks.h: New file.
4700         * sysdeps/m68k/symbol-hacks.h: New file.
4701         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
4702         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
4703         * sysdeps/unix/sysv/linux/i386/Makefile
4704         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4705         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4706         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4707         * sysdeps/unix/sysv/linux/m68k/Makefile
4708         [$(subdir) = csu] (sysdep_routines): Likewise.
4709         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4710         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4712         [$(subdir) = csu] (sysdep_routines): Likewise.
4713         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4714         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4715         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
4716         [$(subdir) = csu] (sysdep_routines): Likewise.
4717         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4718         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4719         * sysdeps/wordsize-32/Makefile: Remove file.
4720         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
4721         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
4723 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
4725         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
4726         (TEST_FUNCTION_ARGV): New.
4728 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4730         * elf/next.c: Import support/test-driver.c instead of
4731         test-skeleton.c and delete TEST_FUNCTION macro definition.
4732         * elf/nodelete.c: Likewise.
4733         * elf/order2.c: Likewise.
4734         * elf/tst-_dl_addr_inside_object.c: Likewise.
4735         * elf/tst-addr1.c: Likewise.
4736         * elf/tst-align.c: Likewise.
4737         * elf/tst-align2.c: Likewise.
4738         * elf/tst-audit11.c: Likewise.
4739         * elf/tst-audit12.c: Likewise.
4740         * elf/tst-audit2.c: Likewise.
4741         * elf/tst-audit9.c: Likewise.
4742         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
4743         * elf/tst-deep1.c: Likewise.
4744         * elf/tst-dl-iter-static.c: Likewise.
4745         * elf/tst-dlmodcount.c: Likewise.
4746         * elf/tst-dlmopen1.c: Likewise.
4747         * elf/tst-dlmopen2.c: Likewise.
4748         * elf/tst-dlmopen3.c: Likewise.
4749         * elf/tst-dlopen-aout.c: Likewise.
4750         * elf/tst-dlopenrpath.c: Likewise.
4751         * elf/tst-dlsym-error.c: Likewise.
4752         * elf/tst-execstack-needed.c: Likewise.
4753         * elf/tst-execstack-prog.c: Likewise.
4754         * elf/tst-execstack.c: Likewise.
4755         * elf/tst-global1.c: Likewise.
4756         * elf/tst-gnu2-tls1.c: Likewise.
4757         * elf/tst-latepthread.c: Likewise.
4758         * elf/tst-leaks1.c: Likewise.
4759         * elf/tst-linkall-static.c: Likewise.
4760         (do_test): New function.
4761         * elf/tst-nodelete-opened.c: Likewise.
4762         * elf/tst-nodelete.cc: Likewise.
4763         * elf/tst-nodelete2.c: Likewise.
4764         * elf/tst-noload.c: Likewise.
4765         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
4766         * elf/tst-order-main.c: Likewise.
4767         * elf/tst-pathopt.c: Likewise.
4768         * elf/tst-pie2.c: Likewise.
4769         * elf/tst-piemod1.c: Likewise.
4770         * elf/tst-prelink.c: Likewise.
4771         * elf/tst-protected1a.c: Likewise.
4772         * elf/tst-protected1b.c: Likewise.
4773         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
4774         and define _GNU_SOURCE macro.
4775         (cmdline_process_function): New function.
4776         * elf/tst-relsort1.c: Likewise.
4777         * elf/tst-stackguard1.c: Likewise, import getopt.h,
4778         and define _GNU_SOURCE macro.
4779         (cmdline_process_function): New function.
4780         * elf/tst-thrlock.c: Likewise.
4781         * elf/tst-tls-dlinfo.c: Likewise.
4782         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
4783         * elf/tst-tls1.c: Likewise.
4784         * elf/tst-tls10.c: Likewise.
4785         * elf/tst-tls11.c: Likewise.
4786         * elf/tst-tls12.c: Likewise.
4787         * elf/tst-tls13.c: Likewise.
4788         * elf/tst-tls14.c: Likewise.
4789         * elf/tst-tls15.c: Likewise.
4790         * elf/tst-tls16.c: Likewise.
4791         * elf/tst-tls17.c: Likewise.
4792         * elf/tst-tls18.c: Likewise.
4793         * elf/tst-tls19.c: Likewise.
4794         * elf/tst-tls2.c: Likewise.
4795         * elf/tst-tls3.c: Likewise.
4796         * elf/tst-tls4.c: Likewise.
4797         * elf/tst-tls5.c: Likewise.
4798         * elf/tst-tls6.c: Likewise.
4799         * elf/tst-tls7.c: Likewise.
4800         * elf/tst-tls8.c: Likewise.
4801         * elf/tst-tls9.c: Likewise.
4802         * elf/tst-tlsalign-extern.c: Likewise.
4803         * elf/tst-tlsalign.c: Likewise.
4804         * elf/tst-unique1.c: Likewise.
4805         * elf/tst-unique2.c: Likewise.
4806         * elf/vismain.c: Likewise.
4808 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4810         * string/test-strnlen.c (do_page_tests): New function
4811         to check length of strings ending at the page boundary.
4812         (test_main): Added call to the do_page_tests function.
4814 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4815             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4817         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4818         (sysdep_routines): Add strnlen-power8.
4819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4820         (strnlen): Add __strnlen_power8 to list of strnlen functions.
4821         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
4822         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
4823         (__strnlen): Add __strnlen_power8 to ifunc list.
4824         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
4826 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4828         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
4829         the TEST_FUNCTION macro definition.
4830         * wcsmbs/tst-mbrtowc2.c: Likewise.
4831         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4832         * wcsmbs/tst-wchar-h.c: Likewise.
4833         * wcsmbs/tst-wcpncpy.c: Likewise.
4834         * wcsmbs/tst-wcrtomb.c: Likewise.
4835         * wcsmbs/tst-wcsnlen.c: Likewise.
4836         * wcsmbs/tst-wcstof.c: Likewise.
4838 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4840         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
4841         CALL_THREAD_FCT macro usage.
4842         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
4843         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
4844         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
4846         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
4847         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4848         (__ASSUME_REQUEUE_PI): Likewise.
4849         * sysdeps/unix/sysv/linux/kernel-features.h
4850         (__ASSUME_REQUEUE_PI): Likewise.
4851         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4852         (__ASSUME_REQUEUE_PI): Likewise.
4853         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4854         (__ASSUME_REQUEUE_PI): Likewise.
4855         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4856         (__ASSUME_REQUEUE_PI): Likewise.
4858 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4860         * resolv/tst-resolv-canonname.c: New file.
4861         * resolv/Makefile (tests): Add tst-resolv-canonname.
4862         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
4864 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4866         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
4867         Declare.
4868         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
4869         (NS_MAXCDNAME): Remove definition.
4870         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4871         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
4872         (NS_MAXCDNAME): Remove definition.
4873         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4875 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4877         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
4878         call whose result is not used.
4880 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4882         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
4883         * resolv/Makefile (tests): Add tst-ns_name.
4884         (tst-ns_name): Link with -lresolv.
4885         (tst-ns_name.out): Depend on the input data file.
4887 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
4889         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
4890         Clobber also r14.
4892 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
4894         [BZ #21253]
4895         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
4896         slack space by 32KiB.
4898 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
4900         [BZ #21338]
4901         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
4902         instead of incorrect do_set_arena_test
4904 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4906         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
4907         * math/bits/math-finite.h: Likewise.
4909 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
4911         [BZ #21289]
4912         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
4914 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4916         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
4917         non expected inotify_add_watch and quotactl return.
4919 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4921         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
4922         to int32_t.
4923         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
4924         as returning int32_t.
4926 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4928         * math/math.h: Include bits/math-finite.h once per
4929         floating-point type.
4930         * math/bits/math-finite.h: Macroize all declarations by
4931         floating-point type.
4933 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4935         [BZ #21182]
4936         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
4937         near end of a page.
4938         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
4939         overflow calculation.
4941 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
4943         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
4944         (IMPL) Call with 1 instead of 0 as argument.
4946 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4948         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4949         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4950         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4951         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4952         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4953         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4954         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4955         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4956         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4957         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4958         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4959         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4960         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4961         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4962         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4963         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4964         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4965         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4966         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4967         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4968         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4969         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4970         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4971         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4972         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4973         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4974         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4975         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4976         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4977         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4978         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4979         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4980         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4981         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4982         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4983         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4984         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4985         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4986         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4987         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4988         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4989         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4990         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4991         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4992         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4993         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4994         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4995         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4996         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4997         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4998         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4999         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5000         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5001         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5002         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5003         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5004         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5005         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5006         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5007         defined.
5008         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5009         __NR_setgroups32 if defined.
5010         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5011         if defined.
5012         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5013         __NR_setresgid32 is defined.
5014         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5015         __NR_setresuid32 if defined.
5016         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5017         __NR_setreuid32 if defined.
5018         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5019         defined.
5020         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5021         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5022         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5023         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5024         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5025         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5026         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5027         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5028         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5029         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5030         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5031         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5032         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5033         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5034         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5035         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5036         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5037         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5038         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5039         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5040         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5041         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5042         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5043         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5044         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5045         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5046         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5047         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5048         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5049         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5050         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5051         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5052         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5053         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5054         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5055         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5056         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5057         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5058         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5059         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5060         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5061         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5062         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5063         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5064         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5065         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5066         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5067         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5068         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5069         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5070         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5071         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5072         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5073         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5074         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5075         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5076         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5077         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5078         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5079         defined.
5080         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5081         __NR_setgroups32 if defined.
5082         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5083         if defined.
5084         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5085         __NR_setresgid32 is defined.
5086         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5087         __NR_setresuid32 if defined.
5088         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5089         __NR_setreuid32 if defined.
5090         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5091         defined.
5093 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
5095         [BZ #21277]
5096         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
5097         unconditionally.
5098         (IMAXBEL): Likewise.
5099         (IUTF8): Likewise.
5101 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5103         * sysdeps/aarch64/libm-test-ulps: Update.
5105 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
5107         * README.tunables: Updated descriptions.
5108         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
5109         * scripts/gen-tunables.awk: Updated the code related to the
5110         commit.
5112 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
5114         * benchtests/Makefile (string-benchset): Add memcpy-random.
5115         * benchtests/bench-memcpy-random.c: New file.
5117 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5119         * stdio-common/printf.h (register_printf_modifier): Change the
5120         order of __wur and __THROW.
5121         (register_printf_type): Likewise.
5123 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5125         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
5126         test_main ().
5127         (CMDLINE_PROCESS): Use function instead of defined macro.
5128         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
5129         <suppport/support.h> to use set_fortify_handler().
5130         * string/bug-envz1.c: Import support/test-driver.c instead of
5131         test-skeleton.c.
5132         * string/bug-strcoll2.c: Likewise.
5133         * string/bug-strtok1.c: Likewise.
5134         * string/stratcliff.c: Likewise.
5135         * string/test-ffs.c: Likewise.
5136         * string/test-memccpy.c: Likewise.
5137         * string/test-memchr.c: Likewise.
5138         * string/test-memcmp.c: Likewise.
5139         * string/test-memcpy.c: Likewise.
5140         * string/test-memmem.c: Likewise.
5141         * string/test-memmove.c: Likewise.
5142         * string/test-memrchr.c: Likewise.
5143         * string/test-memset.c: Likewise.
5144         * string/test-rawmemchr.c: Likewise.
5145         * string/test-strcasecmp.c: Likewise.
5146         * string/test-strcasestr.c: Likewise.
5147         * string/test-strcat.c: Likewise.
5148         * string/test-strchr.c: Likewise.
5149         * string/test-strcmp.c: Likewise.
5150         * string/test-strcpy.c: Likewise.
5151         * string/test-string.h: Likewise.
5152         * string/test-strlen.c: Likewise.
5153         * string/test-strncasecmp.c: Likewise.
5154         * string/test-strncat.c: Likewise.
5155         * string/test-strncmp.c: Likewise.
5156         * string/test-strncpy.c: Likewise.
5157         * string/test-strnlen.c: Likewise.
5158         * string/test-strpbrk.c: Likewise.
5159         * string/test-strrchr.c: Likewise.
5160         * string/test-strspn.c: Likewise.
5161         * string/test-strstr.c: Likewise.
5162         * string/tst-bswap.c: Likewise.
5163         * string/tst-cmp.c: Likewise.
5164         * string/tst-endian.c: Likewise.
5165         * string/tst-inlcall.c: Likewise.
5166         * string/tst-strcoll-overflow.c: Likewise.
5167         * string/tst-strfry.c: Likewise.
5168         * string/tst-strlen.c: Likewise.
5169         * string/tst-strtok.c: Likewise.
5170         * string/tst-strtok_r.c: Likewise.
5171         * string/tst-strxfrm.c: Likewise.
5172         * string/tst-strxfrm2.c: Likewise.
5173         * string/tst-svc.c: Likewise.
5174         * string/tst-svc2.c: Likewise.
5176 2017-03-22  Zack Weinberg  <zackw@panix.com>
5178         * stdio-common/bug25.c: Include stdlib.h.
5179         * support/tst-support_format_dns_packet.c: Include stdio.h,
5180         stdlib.h, and string.h.
5181         * support/tst-support_record_failure.c: Include string.h.
5182         * support/tst-support_record_failure-2.sh: Adjust line number
5183         expectations and correct a typo in an error message.
5185 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5187         [BZ #21258]
5188         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
5189         Define only if _dl_runtime_resolve is defined to
5190         _dl_runtime_resolve_sse_vex.
5191         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
5192         Fallthrough to _dl_runtime_resolve_sse_vex.
5194 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
5196         * INSTALL: Regenerated.
5198 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
5200         * config.h.in: Add LINK_OBSOLETE_NSL.
5201         * config.make.in: Add build-obsolete-nsl.
5202         * configure.ac: Add obsolete-nsl option.
5203         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
5204         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
5205         * include/rpcsvc/nislib.h: Likewise.
5206         * include/rpcsvc/ypclnt.h: Likewise.
5207         * manual/install.texi: Document --enable-obsolete-nsl.
5208         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
5209         * nis/nis_add.c: Replace libnsl_hidden_def with
5210         libnsl_hidden_nolink_def.
5211         * nis/nis_addmember.c: Likewise.
5212         * nis/nis_call.c: Likewise.
5213         * nis/nis_clone_obj.c: Likewise.
5214         * nis/nis_defaults.c: Likeise.
5215         * nis/nis_domain_of_r.c: Likewise.
5216         * nis/nis_error.c: Likewise.
5217         * nis/nis_file.c: Likewise.
5218         * nis/nis_free.c: Likewise.
5219         * nis_local_names.c: Likewise.
5220         * nis/nis_lookup.c: Likewise.
5221         * nis/nis_modify.c: Likewise.
5222         * nis/nis_print.c: Likewise.
5223         * nis/nis_remove.c: Likewise.
5224         * nis/nis_table.c: Likewise.
5225         * nis/nis_util.c: Likewise.
5226         * nis/nis_xdr.c: Likewise.
5227         * nis/yp_xdr.c: Likewise.
5228         * nis/ypclnt.c: Likewise.
5229         * nis/ypupdate_xdr.c: Likewise.
5230         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
5231         * nis/nis_clone_dir.c: Likewise.
5232         * nis/nis_clone_res.c: Likewise.
5233         * nis/nis_creategroup.c: Likewise.
5234         * nis/nis_destroygroup.c: Likewise.
5235         * nis/nis_domain_of.c: Likewise.
5236         * nis/nis_getservlist.c: Likewise.
5237         * nis/nis_ismember.c: Likewise.
5238         * nis/nis_mkdir.c: Likewise.
5239         * nis/nis_ping.c: Likewise.
5240         * nis/nis_print_group_entry.c: Likewise.
5241         * nis/nis_removemember.c: Likewise.
5242         * nis/nis_rmdir.c: Likewise.
5243         * nis/nis_server.c: Likewise.
5244         * nis/nis_subr.c: Likewise.
5245         * nis/nis_verifygroup.c: Likewise.
5247 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5249         * malloc/tst-interpose-aux.c (check_for_allocations):
5250         Move compiler barrier before free.
5252 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
5254         [BZ #21279]
5255         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5256         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5257         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
5258         x86_64-x32-linux.
5259         (mq_attr.mq_maxmsg): Likewise.
5260         (mq_attr.mq_msgsize): Likewise.
5261         (mq_attr.mq_curmsgs): Likewise.
5263         [BZ #21278]
5264         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
5265         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5266         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
5267         mips-o32-linux.
5269         [BZ #21268]
5270         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
5271         if [__USE_MISC]
5272         (NL3): Likewise.
5274 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
5276         [BZ #21275]
5277         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
5278         __stack to __stackbase.
5279         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
5280         checks so we can include defined(__ia64__) first.
5282 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
5284         * sysdeps/unix/sysv/linux/ttyname.h: New file.
5285         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
5286         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
5287         Call is_pty when the link does not exist or does not match, fail
5288         with ENODEV when it returns true.
5289         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
5290         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
5291         Call is_pty when the link does not exist or does not match, fail
5292         with ENODEV when it returns true.
5294 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
5296         [BZ #16437]
5297         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5298         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5299         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
5300         x86_64-x32-linux.
5301         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
5302         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
5303         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
5305         [BZ #21261]
5306         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
5307         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
5308         names for all fields.
5309         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
5310         for jmp_buf field renaming.
5311         (_JMPBUF_UNWINDS_ADJ): Likewise.
5313         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
5314         with allow-header.
5316 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
5318         * malloc/malloc.c (unlink): Add consistency check between size and
5319         next->prev->size, to further harden against 1-byte overflows.
5321 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
5323         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
5324         CPU_FEATURES_CPU_P.
5326 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
5328         [BZ #21259]
5329         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
5330         unconditionally, not just for [__USE_MISC].
5332         [BZ #17786]
5333         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
5334         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
5335         mips-o32-linux.
5337         [BZ #21260]
5338         * sysdeps/unix/sysv/linux/alpha/Makefile
5339         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5340         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
5342         * conform/conformtest.pl ($cross): New variable.
5343         (--cross): New command-line option.
5344         (runtest): Skip test execution when cross-compiling.
5345         * conform/Makefile (conformtest-cross): New variable.
5346         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
5347         conformtest.pl.
5349         * conform/conformtest.pl ($xfail_str): New variable.
5350         (--xfail=): New command-line option.
5351         (top level): Handle expectations starting xfail[cond]-.
5352         * conform/Makefile (conformtest-xfail): New variable.
5353         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
5354         conformtest.pl.
5356 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5358         * conform/conformtest.pl: Use compilation instead of execution
5359         tests for testing values of constants and usability in #if.
5361 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5363         * math/auto-libm-test-in: Mark some catan and catanh as
5364         xfail-rounding:ibm128-libgcc.
5365         * math/auto-libm-test-out-catan: Regenerate.
5366         * math/auto-libm-test-out-catanh: Likewise.
5368 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5370         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
5371         (__END_NAMESPACE_STD): Likewise.
5372         (__USING_NAMESPACE_STD): Likewise.
5373         (__BEGIN_NAMESPACE_C99): Likewise.
5374         (__END_NAMESPACE_C99): Likewise.
5375         (__USING_NAMESPACE_C99): Likewise.
5376         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
5377         undefine macro.
5378         (_Mdouble_END_NAMESPACE): Likewise.
5379         * ctype/ctype.h: Do not handle C++ namespaces.
5380         * libio/bits/stdio-ldbl.h: Likewise.
5381         * libio/stdio.h: Likewise.
5382         * locale/locale.h: Likewise.
5383         * math/bits/mathcalls.h: Likewise.
5384         * setjmp/setjmp.h: Likewise.
5385         * signal/signal.h: Likewise.
5386         * stdlib/bits/stdlib-float.h: Likewise.
5387         * stdlib/bits/stdlib-ldbl.h: Likewise.
5388         * stdlib/stdlib.h: Likewise.
5389         * string/string.h: Likewise.
5390         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
5391         * time/bits/types/clock_t.h: Likewise.
5392         * time/bits/types/struct_tm.h: Likewise.
5393         * time/bits/types/time_t.h: Likewise.
5394         * time/time.h: Likewise.
5395         * wcsmbs/bits/wchar-ldbl.h: Likewise.
5396         * wcsmbs/uchar.h: Likewise.
5397         * wcsmbs/wchar.h: Likewise.
5398         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
5399         * wctype/wctype.h: Do not handle C++ namespaces.
5400         * scripts/begin-end-check.pl: Remove.
5401         * Makefile (installed-headers): Likewise.
5402         (tests-special): Do not add $(objpfx)begin-end-check.out.
5403         ($(objpfx)begin-end-check.out): Remove.
5405 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
5406             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5408         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
5409         (DL_PLATFORM_INIT): New define.
5410         (dl_platform_init): New function.
5411         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
5412         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
5413         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
5414         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
5415         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
5417 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
5419         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
5420         instead of PIC.
5422 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
5424         [BZ #21094]
5425         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5426         24+24+24-bit pi for wider range of values around pi/2.
5427         * math/auto-libm-test-in: Add more tests of cos and tan.
5428         * math/auto-libm-test-out-cos: Regenerated.
5429         * math/auto-libm-test-out-tan: Likewise.
5431 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
5433         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
5434         (RTLD_START): Don't record stack end address in _dl_start_user.
5436 2017-03-15  Alexey Neyman  <stilor@att.net>
5438         [BZ #21088]
5439         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
5440         around definitions match those around use.
5442 2017-03-15  Alexey Neyman  <stilor@att.net>
5444         * configure.ac: Avoid empty subexpression in grep.
5445         * configure: Regenerate.
5447 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5449         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
5450         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
5451         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
5452         (test_wrp_rv): Fix format.
5453         (test_wrp_rv2): New macro.
5454         (do_test): Handle mlock return on 64 bits kernels with 32 bits
5455         binaries.
5457 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
5459         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
5460         Use a union when storing pointers.
5461         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
5462         cast result when passing to INIT_VEC_PTRS_LOOP.
5463         (VECTOR_WRAPPER_fFF_3): Likewise.
5464         (VECTOR_WRAPPER_fFF_4): Likewise.
5466 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5468         * include/bits/mathcalls-helper-functions.h: New file.
5469         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
5470         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
5471         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
5472         math/bits/mathcalls-helper-functions.h.
5473         * math/bits/mathcalls-helper-functions.h: New file.
5474         * math/math.h: Include bits/mathcalls-helper-functions.h for
5475         float, double, and long double.
5477 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5479         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
5480         instead of feraiseexcept.
5482 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5484         [BZ #21243]
5485         * support/temp_file.c (support_delete_temp_files): Add comment
5486         about ignored errors.
5488 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5490         [BZ #21244]
5491         * support/xclose.c: New file.
5492         * support/Makefile (libsupport-routines): Add xclose.
5493         * support/xunistd.h (xclose): Declare.
5494         * support/resolv_test.c (server_thread_tcp_client)
5495         (server_thread_tcp, make_server_sockets, resolv_test_start)
5496         (resolv_test_end): Call xclose instead of close.
5497         * support/support_enter_network_namespace.c
5498         (support_enter_network_namespace): Likewise.
5499         * support/support_run_diff.c (write_to_temp_file): Likewise.
5501 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5503         * support/support_format_dns_packet.c (support_format_dns_packet):
5504         Handle CNAME records in the response.  Extract RDATA names from
5505         rdata, not the whole packet.  Check AAAA record length.
5506         * support/tst-support_format_dns_packet.c: New file.
5507         * support/Makefile (tests): Add tst-support_format_dns_packet.
5508         (tst-support_format_dns_packet): Link against libresolv.
5510 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5512         [BZ #21232]
5513         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
5514         posix_fadvise64 weak_alias for static build.
5516 2017-03-14  Andreas Schwab  <schwab@suse.de>
5518         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
5519         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
5520         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
5521         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
5522         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
5523         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
5524         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
5525         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
5527 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5529         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
5530         posix error code.
5531         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5533 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5535         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
5536         no_isolate usage for SH.
5538 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
5540         [BZ #15105]
5541         [BZ #19463]
5542         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
5543         * inet/rcmd.c (rcmd_af): Likewise.
5544         * inet/rexec.c   (rexec_af): Likewise.
5545         * intl/dcigettext.c (_LIBC): Likewise.
5546         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
5547         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
5548         * locale/setlocale.c (setlocale): Likewise.
5549         * posix/spawn_faction_addopen.c
5550         (posix_spawn_file_actions_addopen): Likewise.
5551         * stdlib/putenv.c (putenv): Use __strndup.
5552         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
5553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
5554         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
5555         (__Need_M_And_C) Remove define/undef.
5556         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
5557         (__malloc_and_calloc_defined): Remove define.
5558         * string/bits/string2.h (__strdup): Remove define.
5559         (strdup): Likewise.
5560         (__strndup): Likewise.
5561         (strndup): Likewise.
5563 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
5565         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
5566         macro.
5567         (IPV6_ADDR_PREFERENCES): Likewise.
5568         (IPV6_MINHOPCOUNT): Likewise.
5569         (IPV6_ORIGDSTADDR): Likewise.
5570         (IPV6_RECVORIGDSTADDR): Likewise.
5571         (IPV6_TRANSPARENT): Likewise.
5572         (IPV6_UNICAST_IF): Likewise.
5573         (IPV6_RECVFRAGSIZE): Likewise.
5575 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
5577         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
5579 2017-03-12  Alexey Neyman <stilor@att.net>
5581         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
5582         in R_SH_DIR32 case is always false when inlined from
5583         dl-conflict.c. Ifdef out to prevent GCC from insertin an
5585 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
5587         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5588         (__ASSUME_RECV_SYSCALL): Replace duplicate by
5589         __ASSUME_SEND_SYSCALL.
5591 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
5593         * sunrpc/Makefile: don't build and install rpcsvc header
5594         files, rpcgen and librpcsvc.a by default.
5596 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
5598         * math/auto-libm-test-out-catan: Regenerated.
5599         * math/auto-libm-test-out-catanh: Likewise.
5600         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5602 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
5604         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
5605         for long double with corrected test expectations.
5607 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5609         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
5610         Define.
5611         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5612         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
5613         * sysdeps/unix/sysv/linux/nios2/sysdep.h
5614         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5615         * sysdeps/unix/sysv/linux/tile/sysdep.h
5616         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5617         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5618         (__ASSUME_RECV_SYSCALL): Define.
5619         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5620         (__ASSUME_RECV_SYSCALL): Likewise.
5621         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5622         (__ASSUME_RECV_SYSCALL): Likewise.
5623         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5624         (__ASSUME_RECV_SYSCALL): Likewise.
5625         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5626         (__ASSUME_RECV_SYSCALL): Likewise.
5627         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5628         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
5629         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5630         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5631         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5632         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5633         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
5634         auto-generation list.
5635         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5636         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5637         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
5638         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5639         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5640         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
5641         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
5642         __ASSUME_SENDTO_SYSCALL.
5643         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
5644         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
5645         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
5647         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
5648         auto-generation list.
5649         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5650         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5651         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5652         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5653         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5654         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5655         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5656         * sysdeps/unix/sysv/linux/kernel-features.h
5657         (__ASSUME_SENDTO_SYSCALL): Define by default.
5658         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5659         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
5660         __NR_sendto.
5661         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5662         (__ASSUME_SENDTO_SYSCALL): Likewise.
5663         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5664         (__ASSUME_SENDTO_SYSCALL): Likewise.
5665         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5666         (__ASSUME_SENDTO_SYSCALL): Remove definition.
5667         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5668         (__ASSUME_SENDTO_SYSCALL): Likewise.
5669         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
5670         (__ASSUME_SENDTO_SYSCALL): Likewise.
5671         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
5673         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
5674         auto-generation list.
5675         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5676         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5677         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5678         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5679         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5680         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5681         (__ASSUME_RECV_SYSCALL): New define.
5682         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5683         (__ASSUME_RECV_SYSCALL): Likewise.
5684         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5685         (__ASSUME_RECV_SYSCALL): Likewise.
5686         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5687         (__ASSUME_RECV_SYSCALL): Likewise.
5688         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5689         (__ASSUME_RECV_SYSCALL): Likewise.
5690         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5691         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5692         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5693         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5694         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5695         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5696         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
5697         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
5698         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
5699         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
5700         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
5701         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
5703         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
5704         auto-generation list.
5705         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5706         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5707         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5708         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5709         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5710         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5711         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5712         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5713         (__ASSUME_RECVFROM_SYSCALL): Define by default.
5714         * sysdeps/unix/sysv/linux/kernel-features.h
5715         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
5716         __NR_recvfrom.
5717         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5718         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5719         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5720         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5721         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5722         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
5723         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5724         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5725         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5726         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5727         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5728         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5729         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
5731         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
5732         auto-generation list.
5733         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5734         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5735         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5736         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5737         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5738         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5739         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5740         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
5741         * sysdeps/unix/sysv/linux/kernel-features.h
5742         (__ASSUME_CONNECT_SYSCALL): Define.
5743         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5744         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
5745         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5746         (__ASSUME_CONNECT_SYSCALL): Likewise.
5747         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5748         (__ASSUME_CONNECT_SYSCALL): Likewise.
5749         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5750         (__ASSUME_CONNECT_SYSCALL): Likewise.
5752         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
5753         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
5754         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
5755         auto-generation list.
5756         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5757         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5758         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5759         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5760         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5761         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5762         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5763         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5764         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5765         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5766         * sysdeps/unix/sysv/linux/kernel-features.h
5767         (__ASSUME_ACCEPT_SYSCALL): New define.
5768         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5769         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5770         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
5771         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5772         (__ASSUME_ACCEPT_SYSCALL): Define.
5773         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5774         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5775         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5776         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5777         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5778         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5779         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5780         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5781         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
5783 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
5784             Zack Weinberg  <zackw@panix.com>
5786         * posix/test-errno.c: New file.
5787         * posix/Makefile (tests): Add test-errno.
5788         * sysdeps/unix/sysv/linux/test-errno.c: New file.
5789         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
5791 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
5793         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5795 2017-03-07  Florian Weimer  <fweimer@redhat.com>
5797         * time/tzset.c (compute_offset): Open-code min macro.
5798         (min, max, sign): Remove.
5800 2017-03-07  Florian Weimer  <fweimer@redhat.com>
5802         [BZ #15576]
5803         Remove TZNAME_MAX limit from sysconf.
5804         * include/time.h (__tzname_cur_max, __tzname_max): Remove
5805         declaration.
5806         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
5807         compute_tzname_max.
5808         (compute_tzname_max): Remove.
5809         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
5810         (update_vars): Do not update __tzname_cur_max.
5811         (tzset_internal): Remove argument.
5812         (__tzset): Adjust call to tzset_internal.
5813         (__tz_convert): Likewise.
5815         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
5816         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5817         * manual/conf.texi (Sysconf Definition): Update comment.
5819 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5821         [BZ #21209]
5822         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
5823         AT_SECURE processes.
5824         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
5825         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
5826         (test_child): Likewise.
5827         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
5829 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5831         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
5833 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5835         * sysdeps/s390/atomic-machine.h
5836         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
5837         (__arch_compare_and_exchange_val_8_acq,
5838         __arch_compare_and_exchange_val_16_acq,
5839         __arch_compare_and_exchange_val_32_acq,
5840         __arch_compare_and_exchange_val_64_acq):
5841         Delete macro.
5842         (atomic_compare_and_exchange_val_acq,
5843         atomic_compare_and_exchange_val_rel,
5844         atomic_compare_and_exchange_bool_acq,
5845         catomic_compare_and_exchange_bool_acq,
5846         atomic_exchange_acq, atomic_exchange_rel,
5847         atomic_exchange_and_add_acq,
5848         atomic_exchange_and_add_rel,
5849         catomic_exchange_and_add, atomic_or_val,
5850         atomic_or, catomic_or, atomic_bit_test_set,
5851         atomic_and_val, atomic_and, catomic_and):
5852         Define macros with help of C11 atomic builtins.
5854 2017-03-03  Justus Winter <justus@gnupg.org>
5856         * sysdeps/mach/hurd/ftruncate64.c: New file.
5857         * sysdeps/mach/hurd/truncate64.c: Likewise.
5859 2017-03-03  Florian Weimer  <fweimer@redhat.com>
5861         * time/tzfile.c (NOID): Do not define.
5862         * time/tzset.c (NOID): Likewise.
5864 2017-03-03  Florian Weimer  <fweimer@redhat.com>
5866         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
5868 2017-03-02  Florian Weimer  <fweimer@redhat.com>
5870         * elf/get-dynamic-info.h: Remove header file inclusion guard.
5872 2017-03-02  Florian Weimer  <fweimer@redhat.com>
5874         [BZ #21015]
5875         * manual/install.texi (Configuring and compiling): Document
5876         --enable-bind-now.
5877         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
5878         (build-shlib-helper): Use $(LDFLAGS-lib.so).
5879         (format.lds): Likewise.
5880         [bind-now] (LDFLAGS-c.so): Remove.
5881         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
5882         be R_X86_64_GLOB_DAT.
5883         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
5884         relocation can be R_386_GLOB_DAT.
5885         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
5886         relocaiton can be R_ALPHA_GLOB_DAT.
5887         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
5889 2017-03-01  Zack Weinberg  <zackw@panix.com>
5891         * include/libc-pointer-arith.h: New file.  Define
5892         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
5893         PTR_ALIGN_DOWN here.
5894         * include/libc-internal.h: Definitions of above macros
5895         moved from here.  Don't include libc-diag.h anymore either.
5896         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
5897         Don't include libc-internal.h.
5899         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
5900         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
5901         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
5902         * string/strcoll_l.c, sysdeps/nacl/brk.c
5903         * sysdeps/unix/clock_settime.c
5904         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
5905         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
5906         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5907         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
5908         Don't include libc-internal.h.
5910         * elf/get-dynamic-info.h, iconv/loop.c
5911         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
5912         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
5913         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
5914         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
5915         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5916         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
5917         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5918         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
5919         * sysdeps/ieee754/ldbl-128/k_tanl.c
5920         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5921         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5922         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
5923         Include libc-diag.h instead of libc-internal.h.
5925         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
5926         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
5927         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
5928         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
5929         * sysdeps/unix/sysv/linux/spawni.c
5930         * sysdeps/x86_64/nptl/tls.h:
5931         Include libc-pointer-arith.h instead of libc-internal.h.
5933         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
5934         * sysdeps/x86_64/atomic-machine.h:
5935         Add multiple include guard.
5937         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
5938         * string/strcasestr.c: No need to include config.h.
5939         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
5940         sys/auxv.h. Don't include sysdep.h.
5941         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
5943         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
5944         DL_LOOKUP_ADDRESS.
5945         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
5946         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
5947         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
5948         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
5949         of ARTIFICIAL_LIMIT.
5950         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
5951         declaration of __clone2.
5953 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5955         * scripts/backport-support.sh (latest_commit): New file.
5957 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5959         [BZ #20257]
5960         * inet/Makefile (routines): Add deadline.
5961         (tests-static): Add tst-deadline.
5962         * inet/net-internal.h (struct deadline_current_time)
5963         (__deadline_current_time, struct deadline, __deadline_is_infinite)
5964         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
5965         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
5966         * inet/deadline.c: New file.
5967         * inet/tst-deadline.c: Likewise.
5968         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
5969         tst-udp-timeout, tst-udp-garbage.
5970         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
5971         explicitly.
5972         (tst-udp-garbage): Likewise.  Also link against thread library.
5973         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
5974         struct layout is part of the ABI.
5975         (clntudp_call): Rework timeout handling.
5976         * sunrpc/tst-udp-garbage.c: New file.
5977         * sunrpc/tst-udp-nonblocking.c: Likewise.
5978         * sunrpc/tst-udp-timeout.c: Likewise.
5980 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5982         [BZ #5010]
5983         * sunrpc/svc.c (svc_is_mapped): Remove.
5984         (svc_unregister): Obtain mapped status while the service is still
5985         registered.
5986         * sunrpc/Makefile [have-thread-library] (tests): Add
5987         tst-svc_register.
5988         (tst-svc_register): Link against libc.so explicitly and the thread
5989         library.
5990         * sunrpc/tst-svc_register.c: New file.
5992 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5994         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
5995         * sysdeps/pthread/bits/sigthread.h: Likewise.
5997 2017-02-27  Florian Weimer  <fweimer@redhat.com>
5999         [BZ #21115]
6000         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
6001         * sunrpc/Makefile (tests): Add tst-udp-error.
6002         (tst-udp-error): Link against libc.so explicitly.
6003         * sunrpc/tst-udp-error: New file.
6005 2017-02-25  Zack Weinberg  <zackw@panix.com>
6007         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
6008         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
6010         * sysdeps/generic/math_ldbl.h
6011         * sysdeps/ia64/fpu/math_ldbl.h
6012         * sysdeps/ieee754/ldbl-128/math_ldbl.h
6013         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6014         * sysdeps/ieee754/ldbl-96/math_ldbl.h
6015         * sysdeps/powerpc/fpu/math_ldbl.h
6016         * sysdeps/x86_64/fpu/math_ldbl.h:
6017         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
6018         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
6019         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
6020         Add copyright notices.
6022         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6023         Don't use EXTRACT_WORDS64.
6025         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
6026         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
6027         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
6028         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
6029         Include math_ldbl.h, not math_private.h.
6031 2017-02-25  Zack Weinberg  <zackw@panix.com>
6033         * include/libc-diag.h: New file.  Define ignore_value,
6034         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
6035         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
6037         * include/libc-internal.h: Definitions of above macros moved from
6038         here.  Include libc-diag.h.  Add copyright notice.
6040         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
6041         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
6042         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
6043         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
6044         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
6045         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
6046         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
6047         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
6048         Include libc-diag.h instead of libc-internal.h.
6050         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
6051         call to unsetenv (NULL).
6052         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
6053         call to pthread_mutexattr_destroy (NULL).
6055 2017-02-25  Zack Weinberg  <zackw@panix.com>
6057         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
6058         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
6059         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
6060         gets was removed from C++ in C++14.
6061         * include/stdio.h: Remove redundant declaration of gets.
6062         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
6063         be declared, since we are testing it.
6064         * stdio-common/Makefile (tst-gets.c): Compile with
6065         -Wno-deprecated-declarations.
6066         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
6067         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
6068         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
6069         Compile with -Wno-deprecated-declarations.
6071 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6073         * math/libm-test-support.c (check_ulp): Use LIT() around literal
6074         numbers.
6076 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6078         * resolv/tst-resolv-qtypes.c (domain):
6079         Change type to const pointer to const char.
6081 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
6083         * math/Makefile (libm-tests-generated): Remove variable.
6084         (libm-tests-base-normal): New variable.
6085         (libm-tests-base-finite): Likewise.
6086         (libm-tests-base-inline): Likewise.
6087         (libm-tests-base): Likewise.
6088         (libm-tests-normal): Likewise.
6089         (libm-tests-finite): Likewise.
6090         (libm-tests-inline): Likewise.
6091         (libm-tests-vector): Likewise.
6092         (libm-tests): Define in terms of these new variables.
6093         (libm-tests-for-type): New variable.
6094         (libm-tests.o): Move definition.
6095         (tests): Move addition of $(libm-tests).
6096         (generated): Update for new and removed libm test files.
6097         ($(objpfx)libm-test.c): Remove target.
6098         ($(objpfx)libm-have-vector-test.h): Likewise.
6099         (CFLAGS-test-double-vlen2.c): Remove variable.
6100         (CFLAGS-test-double-vlen4.c): Likewise.
6101         (CFLAGS-test-double-vlen8.c): Likewise.
6102         (CFLAGS-test-float-vlen4.c): Likewise.
6103         (CFLAGS-test-float-vlen8.c): Likewise.
6104         (CFLAGS-test-float-vlen16.c): Likewise.
6105         (CFLAGS-test-float.c): Likewise.
6106         (CFLAGS-test-float-finite.c): Likewise.
6107         (CFLAGS-libm-test-support-float.c): Likewise.
6108         (CFLAGS-test-double.c): Likewise.
6109         (CFLAGS-test-double-finite.c): Likewise.
6110         (CFLAGS-libm-test-support-double.c): Likewise.
6111         (CFLAGS-test-ldouble.c): Likewise.
6112         (CFLAGS-test-ldouble-finite.c): Likewise.
6113         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6114         (libm-test-inline-cflags): New variable.
6115         (CFLAGS-test-ifloat.c): Remove variable.
6116         (CFLAGS-test-idouble.c): Likewise.
6117         (CFLAGS-test-ildouble.c): Likewise.
6118         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
6119         dependencies.
6120         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
6121         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
6122         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
6123         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
6124         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
6125         Likewise.
6126         (dependencies on libm-test-support-*.o): Remove.
6127         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
6128         rules using iterators.
6129         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
6130         Likewise.
6131         ($(objpfx)libm-test-support-$(o).o): Likewise.
6132         ($(addprefix $(objpfx),$(filter-out $(tests-static)
6133         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
6134         instead.
6135         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
6136         define rule instead.
6137         * math/README.libm-test: Update.
6138         * math/libm-test-acos.inc: Include libm-test-driver.c.
6139         (do_test): New function.
6140         * math/libm-test-acosh.inc: Include libm-test-driver.c.
6141         (do_test): New function.
6142         * math/libm-test-asin.inc: Include libm-test-driver.c.
6143         (do_test): New function.
6144         * math/libm-test-asinh.inc: Include libm-test-driver.c.
6145         (do_test): New function.
6146         * math/libm-test-atan.inc: Include libm-test-driver.c.
6147         (do_test): New function.
6148         * math/libm-test-atan2.inc: Include libm-test-driver.c.
6149         (do_test): New function.
6150         * math/libm-test-atanh.inc: Include libm-test-driver.c.
6151         (do_test): New function.
6152         * math/libm-test-cabs.inc: Include libm-test-driver.c.
6153         (do_test): New function.
6154         * math/libm-test-cacos.inc: Include libm-test-driver.c.
6155         (do_test): New function.
6156         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
6157         (do_test): New function.
6158         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
6159         (do_test): New function.
6160         * math/libm-test-carg.inc: Include libm-test-driver.c.
6161         (do_test): New function.
6162         * math/libm-test-casin.inc: Include libm-test-driver.c.
6163         (do_test): New function.
6164         * math/libm-test-casinh.inc: Include libm-test-driver.c.
6165         (do_test): New function.
6166         * math/libm-test-catan.inc: Include libm-test-driver.c.
6167         (do_test): New function.
6168         * math/libm-test-catanh.inc: Include libm-test-driver.c.
6169         (do_test): New function.
6170         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
6171         (do_test): New function.
6172         * math/libm-test-ccos.inc: Include libm-test-driver.c.
6173         (do_test): New function.
6174         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
6175         (do_test): New function.
6176         * math/libm-test-ceil.inc: Include libm-test-driver.c.
6177         (do_test): New function.
6178         * math/libm-test-cexp.inc: Include libm-test-driver.c.
6179         (do_test): New function.
6180         * math/libm-test-cimag.inc: Include libm-test-driver.c.
6181         (do_test): New function.
6182         * math/libm-test-clog.inc: Include libm-test-driver.c.
6183         (do_test): New function.
6184         * math/libm-test-clog10.inc: Include libm-test-driver.c.
6185         (do_test): New function.
6186         * math/libm-test-conj.inc: Include libm-test-driver.c.
6187         (do_test): New function.
6188         * math/libm-test-copysign.inc: Include libm-test-driver.c.
6189         (do_test): New function.
6190         * math/libm-test-cos.inc: Include libm-test-driver.c.
6191         (do_test): New function.
6192         * math/libm-test-cosh.inc: Include libm-test-driver.c.
6193         (do_test): New function.
6194         * math/libm-test-cpow.inc: Include libm-test-driver.c.
6195         (do_test): New function.
6196         * math/libm-test-cproj.inc: Include libm-test-driver.c.
6197         (do_test): New function.
6198         * math/libm-test-creal.inc: Include libm-test-driver.c.
6199         (do_test): New function.
6200         * math/libm-test-csin.inc: Include libm-test-driver.c.
6201         (do_test): New function.
6202         * math/libm-test-csinh.inc: Include libm-test-driver.c.
6203         (do_test): New function.
6204         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
6205         (do_test): New function.
6206         * math/libm-test-ctan.inc: Include libm-test-driver.c.
6207         (do_test): New function.
6208         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
6209         (do_test): New function.
6210         * math/libm-test-erf.inc: Include libm-test-driver.c.
6211         (do_test): New function.
6212         * math/libm-test-erfc.inc: Include libm-test-driver.c.
6213         (do_test): New function.
6214         * math/libm-test-exp.inc: Include libm-test-driver.c.
6215         (do_test): New function.
6216         * math/libm-test-exp10.inc: Include libm-test-driver.c.
6217         (do_test): New function.
6218         * math/libm-test-exp2.inc: Include libm-test-driver.c.
6219         (do_test): New function.
6220         * math/libm-test-expm1.inc: Include libm-test-driver.c.
6221         (do_test): New function.
6222         * math/libm-test-fabs.inc: Include libm-test-driver.c.
6223         (do_test): New function.
6224         * math/libm-test-fdim.inc: Include libm-test-driver.c.
6225         (do_test): New function.
6226         * math/libm-test-floor.inc: Include libm-test-driver.c.
6227         (do_test): New function.
6228         * math/libm-test-fma.inc: Include libm-test-driver.c.
6229         (do_test): New function.
6230         * math/libm-test-fmax.inc: Include libm-test-driver.c.
6231         (do_test): New function.
6232         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
6233         (do_test): New function.
6234         * math/libm-test-fmin.inc: Include libm-test-driver.c.
6235         (do_test): New function.
6236         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
6237         (do_test): New function.
6238         * math/libm-test-fmod.inc: Include libm-test-driver.c.
6239         (do_test): New function.
6240         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
6241         (do_test): New function.
6242         * math/libm-test-frexp.inc: Include libm-test-driver.c.
6243         (do_test): New function.
6244         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
6245         (do_test): New function.
6246         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
6247         (do_test): New function.
6248         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
6249         (do_test): New function.
6250         * math/libm-test-hypot.inc: Include libm-test-driver.c.
6251         (do_test): New function.
6252         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
6253         (do_test): New function.
6254         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
6255         (do_test): New function.
6256         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
6257         (do_test): New function.
6258         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
6259         (do_test): New function.
6260         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
6261         (do_test): New function.
6262         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
6263         (do_test): New function.
6264         * math/libm-test-isinf.inc: Include libm-test-driver.c.
6265         (do_test): New function.
6266         * math/libm-test-isless.inc: Include libm-test-driver.c.
6267         (do_test): New function.
6268         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
6269         (do_test): New function.
6270         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
6271         (do_test): New function.
6272         * math/libm-test-isnan.inc: Include libm-test-driver.c.
6273         (do_test): New function.
6274         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
6275         (do_test): New function.
6276         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
6277         (do_test): New function.
6278         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
6279         (do_test): New function.
6280         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
6281         (do_test): New function.
6282         * math/libm-test-iszero.inc: Include libm-test-driver.c.
6283         (do_test): New function.
6284         * math/libm-test-j0.inc: Include libm-test-driver.c.
6285         (do_test): New function.
6286         * math/libm-test-j1.inc: Include libm-test-driver.c.
6287         (do_test): New function.
6288         * math/libm-test-jn.inc: Include libm-test-driver.c.
6289         (do_test): New function.
6290         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
6291         (do_test): New function.
6292         * math/libm-test-llogb.inc: Include libm-test-driver.c.
6293         (do_test): New function.
6294         * math/libm-test-llrint.inc: Include libm-test-driver.c.
6295         (do_test): New function.
6296         * math/libm-test-llround.inc: Include libm-test-driver.c.
6297         (do_test): New function.
6298         * math/libm-test-log.inc: Include libm-test-driver.c.
6299         (do_test): New function.
6300         * math/libm-test-log10.inc: Include libm-test-driver.c.
6301         (do_test): New function.
6302         * math/libm-test-log1p.inc: Include libm-test-driver.c.
6303         (do_test): New function.
6304         * math/libm-test-log2.inc: Include libm-test-driver.c.
6305         (do_test): New function.
6306         * math/libm-test-logb.inc: Include libm-test-driver.c.
6307         (do_test): New function.
6308         * math/libm-test-lrint.inc: Include libm-test-driver.c.
6309         (do_test): New function.
6310         * math/libm-test-lround.inc: Include libm-test-driver.c.
6311         (do_test): New function.
6312         * math/libm-test-modf.inc: Include libm-test-driver.c.
6313         (do_test): New function.
6314         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
6315         (do_test): New function.
6316         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
6317         (do_test): New function.
6318         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
6319         (do_test): New function.
6320         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
6321         (do_test): New function.
6322         * math/libm-test-nextup.inc: Include libm-test-driver.c.
6323         (do_test): New function.
6324         * math/libm-test-pow.inc: Include libm-test-driver.c.
6325         (do_test): New function.
6326         * math/libm-test-remainder.inc: Include libm-test-driver.c.
6327         (do_test): New function.
6328         * math/libm-test-remquo.inc: Include libm-test-driver.c.
6329         (do_test): New function.
6330         * math/libm-test-rint.inc: Include libm-test-driver.c.
6331         (do_test): New function.
6332         * math/libm-test-round.inc: Include libm-test-driver.c.
6333         (do_test): New function.
6334         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
6335         (do_test): New function.
6336         * math/libm-test-scalb.inc: Include libm-test-driver.c.
6337         (do_test): New function.
6338         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
6339         (do_test): New function.
6340         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
6341         (do_test): New function.
6342         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
6343         (do_test): New function.
6344         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
6345         (do_test): New function.
6346         * math/libm-test-signbit.inc: Include libm-test-driver.c.
6347         (do_test): New function.
6348         * math/libm-test-significand.inc: Include libm-test-driver.c.
6349         (do_test): New function.
6350         * math/libm-test-sin.inc: Include libm-test-driver.c.
6351         (do_test): New function.
6352         * math/libm-test-sincos.inc: Include libm-test-driver.c.
6353         (do_test): New function.
6354         * math/libm-test-sinh.inc: Include libm-test-driver.c.
6355         (do_test): New function.
6356         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
6357         (do_test): New function.
6358         * math/libm-test-tan.inc: Include libm-test-driver.c.
6359         (do_test): New function.
6360         * math/libm-test-tanh.inc: Include libm-test-driver.c.
6361         (do_test): New function.
6362         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
6363         (do_test): New function.
6364         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
6365         (do_test): New function.
6366         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
6367         (do_test): New function.
6368         * math/libm-test-trunc.inc: Include libm-test-driver.c.
6369         (do_test): New function.
6370         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
6371         (do_test): New function.
6372         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
6373         (do_test): New function.
6374         * math/libm-test-y0.inc: Include libm-test-driver.c.
6375         (do_test): New function.
6376         * math/libm-test-y1.inc: Include libm-test-driver.c.
6377         (do_test): New function.
6378         * math/libm-test-yn.inc: Include libm-test-driver.c.
6379         (do_test): New function.
6380         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
6381         (HAVE_VECTOR): Remove macro.
6382         (START): Do not call HAVE_VECTOR.
6383         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
6384         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
6385         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
6386         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
6387         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
6388         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
6389         * math/test-math-vector.h (FUNC_TEST): New macro.
6390         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
6391         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
6392         (double-vlen4-funcs): Likewise.
6393         (double-vlen4-avx2-funcs): Likewise.
6394         (double-vlen8-funcs): Likewise.
6395         (float-vlen4-funcs): Likewise.
6396         (float-vlen8-funcs): Likewise.
6397         (float-vlen8-avx2-funcs): Likewise.
6398         (float-vlen16-funcs): Likewise.
6399         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
6400         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
6401         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
6402         macro.
6403         (TEST_VECTOR_sin): Likewise.
6404         (TEST_VECTOR_sincos): Likewise.
6405         (TEST_VECTOR_log): Likewise.
6406         (TEST_VECTOR_exp): Likewise.
6407         (TEST_VECTOR_pow): Likewise.
6408         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
6409         Likewise.
6410         (TEST_VECTOR_sin): Likewise.
6411         (TEST_VECTOR_sincos): Likewise.
6412         (TEST_VECTOR_log): Likewise.
6413         (TEST_VECTOR_exp): Likewise.
6414         (TEST_VECTOR_pow): Likewise.
6415         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
6416         Likewise.
6417         (TEST_VECTOR_sinf): Likewise.
6418         (TEST_VECTOR_sincosf): Likewise.
6419         (TEST_VECTOR_logf): Likewise.
6420         (TEST_VECTOR_expf): Likewise.
6421         (TEST_VECTOR_powf): Likewise.
6422         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
6423         Likewise.
6424         (TEST_VECTOR_sinf): Likewise.
6425         (TEST_VECTOR_sincosf): Likewise.
6426         (TEST_VECTOR_logf): Likewise.
6427         (TEST_VECTOR_expf): Likewise.
6428         (TEST_VECTOR_powf): Likewise.
6429         * math/gen-libm-have-vector-test.sh: Remove file.
6430         * math/libm-test.inc: Likewise.
6431         * math/libm-test-support-double.c: Likewise.
6432         * math/libm-test-support-float.c: Likewise.
6433         * math/libm-test-support-ldouble.c: Likewise.
6434         * math/test-double-finite.c: Likewise.: Likewise.
6435         * math/test-double.c: Likewise.
6436         * math/test-float-finite.c: Likewise.
6437         * math/test-float.c: Likewise.
6438         * math/test-idouble.c: Likewise.
6439         * math/test-ifloat.c: Likewise.
6440         * math/test-ildouble.c: Likewise.
6441         * math/test-ldouble-finite.c: Likewise.
6442         * math/test-ldouble.c: Likewise.
6443         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6444         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
6445         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6446         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6447         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6448         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6449         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6450         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
6451         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6452         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6454 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6455            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6457         * math/Makefile: Add wrappers to gen-libm-calls.
6458         * math/w_acos_template.c: New file.
6459         * math/w_acosh_template.c: Likewise.
6460         * math/w_asin_template.c: Likewise.
6461         * math/w_atan2_template.c: Likewise.
6462         * math/w_atanh_template.c: Likewise.
6463         * math/w_cosh_template.c: Likewise.
6464         * math/w_exp10_template.c: Likewise.
6465         * math/w_exp2_template.c: Likewise.
6466         * math/w_exp_template.c: Likewise.
6467         * math/w_fmod_template.c: Likewise.
6468         * math/w_hypot_template.c: Likewise.
6469         * math/w_j0_template.c: Likewise.
6470         * math/w_j1_template.c: Likewise.
6471         * math/w_jn_template.c: Likewise.
6472         * math/w_lgamma_r_template.c: Likewise.
6473         * math/w_lgamma_template.c: Likewise.
6474         * math/w_log10_template.c: Likewise.
6475         * math/w_log2_template.c: Likewise.
6476         * math/w_log_template.c: Likewise.
6477         * math/w_pow_template.c: Likewise.
6478         * math/w_remainder_template.c: Likewise.
6479         * math/w_sinh_template.c: Likewise.
6480         * math/w_sqrt_template.c: Likewise.
6481         * math/w_tgamma_template.c: Likewise.: Likewise.
6482         * sysdeps/generic/math-type-macros-double.h
6483         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
6484         the new wrappers.
6485         * sysdeps/generic/math-type-macros-float.h: Likewise.
6486         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6488 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
6490         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
6491         New enum constant and macro.
6493         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6494         kernel version to 4.10.
6496 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
6498         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
6500 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6504 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6506         * sysdeps/powerpc/tst-set_ppr.c: New file.
6507         Implement test cases for __ppc_set_ppr_* functions.
6508         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
6509         in the list of tests.
6511 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6513         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
6514         instead of test-skeleton.c.
6515         (do_test): Replaced pthread_create and pthread_join with
6516         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
6517         Removed unneeded status variable.
6518         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
6519         instead of test-skeleton.c.
6520         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
6522 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
6524         [BZ #20313]
6525         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6526         201605L, for Unicode 9.
6528 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
6530         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
6531         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6532         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6533         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6534         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6535         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6537 2017-02-19  Zack Weinberg  <zackw@panix.com>
6539         * rt/tst-mqueue4.c: Include stdint.h.
6541 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
6543         * sysdeps/arm/libm-test-ulps: Update.
6544         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6545         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6546         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6548 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6550         [BZ #21029]
6551         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
6552         * sysdeps/unix/sysv/linux/i386/Makefile
6553         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
6554         (uses-6-syscall-arguments): Remove.
6555         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
6556         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
6557         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
6558         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
6559         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
6560         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
6561         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
6562         [$(subdir) = misc] (cflags-pselect.o): Likewise.
6563         [$(subdir) = misc] (cflags-pselect.os): Likewise.
6564         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
6565         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
6566         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
6567         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
6568         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
6569         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
6570         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
6571         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
6572         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
6573         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
6574         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
6575         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
6576         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
6577         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
6578         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
6579         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
6580         Likewise.
6581         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
6582         Likewise.
6583         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
6584         Likewise.
6585         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
6586         Likewise.
6587         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
6588         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
6589         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
6590         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
6591         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
6592         ebp on inline assembly.
6593         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
6594         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6595         Set if CAN_USE_REGISTER_ASM_EBP is set.
6597 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
6599         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
6600         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
6602 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
6604         * math/auto-libm-test-in: Add tests of catan and catanh.
6605         * math/auto-libm-test-out-catan: New generated file.
6606         * math/auto-libm-test-out-catanh: Likewise.
6607         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
6608         Move tests with finite inputs, except divide-by-zero cases, to
6609         auto-libm-test-in.
6610         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
6611         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
6612         (libm-test-funcs-noauto): Remove catan and catanh.
6613         * sysdeps/i386/fpu/libm-test-ulps: Update.
6614         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6617         * math/auto-libm-test-in: Add tests of casin and casinh.
6618         * math/auto-libm-test-out-casin: New generated file.
6619         * math/auto-libm-test-out-casinh: Likewise.
6620         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
6621         Move tests with finite inputs to auto-libm-test-in.
6622         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
6623         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
6624         (libm-test-funcs-noauto): Remove casin and casinh.
6625         * sysdeps/i386/fpu/libm-test-ulps: Update.
6626         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6629         * math/auto-libm-test-in: Add tests of cacos and cacosh.
6630         * math/auto-libm-test-out-cacos: New generated file.
6631         * math/auto-libm-test-out-cacosh: Likewise.
6632         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
6633         Move tests with finite inputs to auto-libm-test-in.
6634         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
6635         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
6636         (libm-test-funcs-noauto): Remove cacos and cacosh.
6637         * sysdeps/i386/fpu/libm-test-ulps: Update.
6638         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6641         Revert:
6642         2017-02-16  Zack Weinberg  <zackw@panix.com>
6644         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
6645         Don't include init-arch.h.
6646         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
6647         Don't include init-arch.h.
6649 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6651         [BZ #21171]
6652         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
6653         +Inf and raise divide-by-zero when x is negative.
6654         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
6655         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
6656         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
6657         -Inf and raise divide-by-zero when x = +-0.
6658         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6659         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
6660         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
6661         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
6662         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6663         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6664         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6666 2017-02-16  Zack Weinberg  <zackw@panix.com>
6668         * scripts/build-many-glibcs.py (bot_build_mail): If the
6669         bot_config does not contain all of the necessary email-
6670         related settings, just print a warning and continue.
6672 2017-02-16  Zack Weinberg  <zackw@panix.com>
6674         * crypt/md5.h: Test _LIBC with #if defined, not #if.
6675         * dirent/opendir-tst1.c: Include sys/stat.h.
6676         * dirent/tst-fdopendir.c: Include sys/stat.h.
6677         * dirent/tst-fdopendir2.c: Include stdlib.h.
6678         * dirent/tst-scandir.c: Include stdbool.h.
6679         * elf/tst-auditmod1.c: Include link.h and stddef.h.
6680         * elf/tst-tls15.c: Include stdlib.h.
6681         * elf/tst-tls16.c: Include stdlib.h.
6682         * elf/tst-tls17.c: Include stdlib.h.
6683         * elf/tst-tls18.c: Include stdlib.h.
6684         * iconv/tst-iconv6.c: Include endian.h.
6685         * iconvdata/bug-iconv11.c: Include limits.h.
6686         * io/test-utime.c: Include stdint.h.
6687         * io/tst-faccessat.c: Include sys/stat.h.
6688         * io/tst-fchmodat.c: Include sys/stat.h.
6689         * io/tst-fchownat.c: Include sys/stat.h.
6690         * io/tst-fstatat.c: Include sys/stat.h.
6691         * io/tst-futimesat.c: Include sys/stat.h.
6692         * io/tst-linkat.c: Include sys/stat.h.
6693         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
6694         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
6695         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
6696         * io/tst-openat.c: Include stdbool.h.
6697         * io/tst-readlinkat.c: Include sys/stat.h.
6698         * io/tst-renameat.c: Include sys/stat.h.
6699         * io/tst-symlinkat.c: Include sys/stat.h.
6700         * io/tst-unlinkat.c: Include stdbool.h.
6701         * libio/bug-memstream1.c: Include stdlib.h.
6702         * libio/bug-wmemstream1.c: Include stdlib.h.
6703         * libio/tst-fwrite-error.c: Include stdlib.h.
6704         * libio/tst-memstream1.c: Include stdlib.h.
6705         * libio/tst-memstream2.c: Include stdlib.h.
6706         * libio/tst-memstream3.c: Include stdlib.h.
6707         * malloc/tst-interpose-aux.c: Include stdint.h.
6708         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
6709         * nptl/tst-basic7.c: Include limits.h.
6710         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
6711         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
6712         * nptl/tst-cancel4_1.c: Include stddef.h.
6713         * nptl/tst-cancel4_2.c: Include stddef.h.
6714         * nptl/tst-cond16.c: Include limits.h.
6715         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
6716         * nptl/tst-cond18.c: Include limits.h.
6717         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
6718         * nptl/tst-cond4.c: Include stdint.h.
6719         * nptl/tst-cond6.c: Include stdint.h.
6720         * nptl/tst-stack2.c: Include limits.h.
6721         * nptl/tst-stackguard1.c: Include stddef.h.
6722         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
6723         * nptl/tst-tls4moda.c: Include stddef.h.
6724         Don't include stdio.h, unistd.h, or tls.h.
6725         * nptl/tst-tls4modb.c: Include stddef.h.
6726         Don't include stdio.h, unistd.h, or tls.h.
6727         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
6728         * posix/tst-getaddrinfo2.c: Include stdio.h.
6729         * posix/tst-getaddrinfo5.c: Include stdio.h.
6730         * posix/tst-pathconf.c: Include sys/stat.h.
6731         * posix/tst-posix_fadvise-common.c: Include stdint.h.
6732         * posix/tst-preadwrite-common.c: Include sys/stat.h.
6733         * posix/tst-regex.c: Include stdint.h.
6734         Don't include spawn.h or spawn_int.h.
6735         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
6736         * posix/tst-vfork3.c: Include sys/stat.h.
6737         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
6738         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
6739         * resolv/tst-resolv-search.c: Include stdlib.h.
6740         * stdio-common/tst-fmemopen2.c: Include stdint.h.
6741         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
6742         * stdlib/test-canon.c: Include sys/stat.h.
6743         * stdlib/tst-tls-atexit.c: Include stdbool.h.
6744         * string/test-memchr.c: Include stdint.h.
6745         * string/tst-cmp.c: Include stdint.h.
6746         * sysdeps/pthread/tst-timer.c: Include stdint.h.
6747         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
6748         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
6749         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
6750         Don't include init-arch.h.
6751         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
6752         Don't include init-arch.h.
6753         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
6754         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
6755         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
6756         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
6757         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
6758         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
6759         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
6760         * time/clocktest.c: Include stdint.h.
6761         * time/tst-posixtz.c: Include stdint.h.
6762         * timezone/tst-timezone.c: Include stdint.h.
6764 2017-02-16  Zack Weinberg  <zackw@panix.com>
6766         * string/string.h [__USE_MISC]: Include strings.h.
6767         (__bzero, bcmp, bcopy, bzero, index, rindex)
6768         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
6769         (ffs, ffsl, ffsll): Don't declare.
6770         * string/strings.h: Do not suppress the file if string.h has
6771         already been included.
6772         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
6773         annotations.
6774         (index, rindex): Define inline forwarders even if
6775         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
6776         (ffs): Use __attribute_const__.
6777         (ffsl, ffsll): Declare here.
6778         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
6779         have now been standardized.
6780         * include/string.h (__bzero): Declare here.
6782         * bits/types.h: Move to posix/bits.
6783         * include/bits/types.h: New wrapper.
6785 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
6787         * string/bits/string2.h (strcmp): Remove define.
6788         (__strcmp_cg): Likewise.
6789         (strncmp): Likewise.
6791 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
6793         * include/string.h: Add __cplusplus check.
6795 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6797         [BZ #21134]
6798         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
6799         "divide by zero" exception when the input is zero.
6800         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
6801         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
6802         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
6803         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
6804         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6806 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
6808         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
6809         and include ...
6810         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
6811         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
6812         to, and include ...
6813         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
6814         file.
6815         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
6816         and include ...
6817         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
6818         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
6819         and include ...
6820         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
6821         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
6822         and include ...
6823         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
6824         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
6825         and include ...
6826         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
6827         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
6828         to, and include ...
6829         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
6830         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
6831         and include ...
6832         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
6834 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
6836         * math/libm-test-support.h: Do not include <math-tests-arch.h>
6837         here.
6838         * math/libm-test-support.c (libm_test_init): Do not call
6839         INIT_ARCH_EXT here.
6840         * math/libm-test-driver.c: Include <math-tests-arch.h>.
6841         (main): Call INIT_ARCH_EXT.
6843 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6845         [BZ #21130]
6846         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
6847         with the "invalid" exception raised when x is -Inf.
6848         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6850 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
6852         * string/bits/string2.h (strchr): Remove define.
6854 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
6856         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
6857         tst-avx512.
6858         (test-extras): Add tst-avx-aux and tst-avx512-aux.
6859         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
6860         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
6861         ($(objpfx)tst-sse): New rule.
6862         ($(objpfx)tst-avx): Likewise.
6863         ($(objpfx)tst-avx512): Likewise.
6864         (CFLAGS-tst-avx-aux.c): New.
6865         (CFLAGS-tst-avxmod.c): Likewise.
6866         (CFLAGS-tst-avx512-aux.c): Likewise.
6867         (CFLAGS-tst-avx512mod.c): Likewise.
6868         * sysdeps/x86_64/tst-avx-aux.c: New file.
6869         * sysdeps/x86_64/tst-avx.c: Likewise.
6870         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
6871         * sysdeps/x86_64/tst-avx512.c: Likewise.
6872         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
6873         * sysdeps/x86_64/tst-avxmod.c: Likewise.
6874         * sysdeps/x86_64/tst-sse.c: Likewise.
6875         * sysdeps/x86_64/tst-ssemod.c: Likewise.
6877 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
6879         * math/auto-libm-test-in: Add more tests of csin and csinh.
6880         * math/auto-libm-test-out-csin: Regenerated.
6881         * math/auto-libm-test-out-csinh: Likewise.
6882         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
6883         auto-libm-test-in.
6884         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
6886 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6888         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
6889         libm-compat-calls-auto.
6890         (libm-compat-calls): Likewise.
6891         (libm-compat-calls-auto): Rename to libm-compat-calls and add
6892         w_lgamma_compatF and k_standardF (merged from the items above).
6893         (libm-routines): Use libm-compat-calls, instead of
6894         libm-compat-calls-auto, with type-foreach.
6896 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
6898         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
6899         macro.
6900         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
6901         (CFLAGS-test-ifloat.c): ... this.  Remove
6902         -U__LIBC_INTERNAL_MATH_INLINES.
6903         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
6904         (CFLAGS-test-idouble.c): ... this.  Remove
6905         -U__LIBC_INTERNAL_MATH_INLINES.
6906         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
6907         (CFLAGS-test-ildouble.c): ... this.  Remove
6908         -U__LIBC_INTERNAL_MATH_INLINES.
6910 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
6912         * math/libm-test-support.c: New file.  Content from
6913         math/libm-test-driver.c.
6914         * math/libm-test-support.h: Likewise.
6915         * math/libm-test-support-double.c: New file.
6916         * math/libm-test-support-float.c: Likewise.
6917         * math/libm-test-support-ldouble.c: Likewise.
6918         * math/libm-test-driver.c: Remove main comment and header
6919         includes.  Include libm-test-support.h.
6920         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
6921         (flag_test_errno): Remove static.
6922         (flag_test_exceptions): Likewise.
6923         (flag_test_finite): Likewise.
6924         (flag_test_inline): Likewise.
6925         (flag_test_mathvec): Likewise.
6926         (test_msg): Likewise.
6927         (NO_EXCEPTION): Remove.
6928         (INVALID_EXCEPTION): Likewise.
6929         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6930         (OVERFLOW_EXCEPTION): Likewise.
6931         (UNDERFLOW_EXCEPTION): Likewise.
6932         (INEXACT_EXCEPTION): Likewise.
6933         (INVALID_EXCEPTION_OK): Likewise.
6934         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6935         (OVERFLOW_EXCEPTION_OK): Likewise.
6936         (UNDERFLOW_EXCEPTION_OK): Likewise.
6937         (NO_INEXACT_EXCEPTION): Likewise.
6938         (EXCEPTIONS_OK): Likewise.
6939         (IGNORE_ZERO_INF_SIGN): Likewise.
6940         (TEST_NAN_SIGN): Likewise.
6941         (TEST_NAN_PAYLOAD): Likewise.
6942         (NO_TEST_INLINE): Likewise.
6943         (XFAIL_TEST): Likewise.
6944         (ERRNO_UNCHANGED): Likewise.
6945         (ERRNO_EDOM): Likewise.
6946         (ERRNO_ERANGE): Likewise.
6947         (IGNORE_RESULT): Likewise.
6948         (NON_FINITE): Likewise.
6949         (TEST_SNAN): Likewise.
6950         (NO_TEST_MATHVEC): Likewise.
6951         (__CONCATX): Likewise.
6952         (TYPE_MIN): Likewise.
6953         (TYPE_TRUE_MIN): Likewise.
6954         (TYPE_MAX): Likewise.
6955         (MIN_EXP): Likewise.
6956         (MAX_EXP): Likewise.
6957         (MANT_DIG): Likewise.
6958         (FSTR_MAX): Likewise.
6959         (ulp_idx): Likewise.
6960         (qtype_str): Remove static.
6961         (TEST_COND_binary32): Remove.
6962         (TEST_COND_binary64): Likewise.
6963         (TEST_COND_binary128): Likewise.
6964         (TEST_COND_ibm128): Likewise.
6965         (TEST_COND_intel96): Likewise.
6966         (TEST_COND_m68k96): Likewise.
6967         (TEST_COND_ibm128_libgcc): Likewise.
6968         (XFAIL_IBM128_LIBGCC): Likewise.
6969         (PAYLOAD_DIG): Likewise.
6970         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6971         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6972         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6973         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6974         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6975         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6976         (TEST_COND_long32): Likewise.
6977         (TEST_COND_long64): Likewise.
6978         (TEST_COND_before_rounding): Likewise.
6979         (TEST_COND_after_rounding): Likewise.
6980         (ulps_file_name): Likewise.
6981         (ulps_file): Likewise.
6982         (output_ulps): Likewise.
6983         (output_dir): Likewise.
6984         (noErrors): Likewise.
6985         (noTests): Likewise.
6986         (noExcTests): Likewise.
6987         (noErrnoTests): Likewise.
6988         (verbose): Likewise.
6989         (output_max_error): Likewise.
6990         (output_points): Likewise.
6991         (ignore_max_ulp): Likewise.
6992         (max_error): Likewise.
6993         (real_max_error): Likewise.
6994         (imag_max_error): Likewise.
6995         (prev_max_error): Likewise.
6996         (prev_real_max_error): Likewise.
6997         (prev_imag_max_error): Likewise.
6998         (max_valid_error): Likewise.
6999         (TYPE_DECIMAL_DIG): Likewise.
7000         (TYPE_HEX_DIG): Likewise.
7001         (fmt_ftostr): Likewise.
7002         (compare_ulp_data): Likewise.
7003         (find_ulps): Likewise.
7004         (init_max_error): Likewise.
7005         (set_max_error): Likewise.
7006         (print_float): Likewise.
7007         (print_screen): Likewise.
7008         (print_screen_max_error): Likewise.
7009         (update_stats): Likewise.
7010         (print_function_ulps): Likewise.
7011         (print_complex_function_ulps): Likewise.
7012         (fpstack_test): Likewise.
7013         (print_max_error): Likewise.
7014         (print_complex_max_error): Likewise.
7015         (test_single_exception): Likewise.
7016         (test_exceptions): Likewise.
7017         (test_single_errno): Likewise.
7018         (test_errno): Likewise.
7019         (ULPDIFF): Likewise.
7020         (ulp): Likewise.
7021         (check_float_internal): Likewise.
7022         (check_float): Likewise.
7023         (check_complex): Likewise.
7024         (check_int): Likewise.
7025         (check_long): Likewise.
7026         (check_bool): Likewise.
7027         (check_longlong): Likewise.
7028         (check_intmax_t): Likewise.
7029         (check_uintmax_t): Likewise.
7030         (enable_test): Likewise.
7031         (matherr): Likewise.
7032         (initialize): Likewise.
7033         (options): Likewise.
7034         (doc): Remove static.
7035         (argp): Likewise.
7036         (parse_opt): Remove.
7037         (check_ulp): Likewise.
7038         (libm_test_init): Likewise.
7039         (libm_test_finish): Likewise.
7040         * math/Makefile (libm-test-support): New variable.
7041         (test-extras): Add libm-test-support files.
7042         (extra-test-objs): Likewise.
7043         (CFLAGS-libm-test-support-float.c): New variable.
7044         (CFLAGS-libm-test-support-double.c): Likewise.
7045         (CFLAGS-libm-test-support-ldouble.c): Likewise.
7046         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
7047         libm-test-support objects.
7049 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7051         * math/Makefile (libm-calls): Move w_exp...
7052         (libm-compat-calls-auto): Here.
7054         * math/w_expl.c: Add suffix "_compat" to filename.
7055         * sysdeps/ia64/fpu/w_expl.c: Likewise.
7056         * sysdeps/ia64/fpu/w_expf.c: Likewise.
7057         * sysdeps/ia64/fpu/w_exp.c: Likewise.
7058         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7059         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7060         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7061         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7062         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7064         * math/w_expl_compat.c: New file, copied from above.
7065         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
7066         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
7067         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
7068         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
7069         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7070         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7071         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7072         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7074         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
7075         to filename.
7076         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
7078         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
7079         copied from above and adjusted for the new filenames.
7080         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
7082 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7084         * math/Makefile (libm-calls): Move w_lgammaF...
7085         (libm-compat-calls-auto): Here.
7087         * math/w_lgamma.c: Add suffix "_compat2" to filename.
7088         * math/w_lgammaf.c: Likewise.
7089         * math/w_lgammal.c: Likewise.
7091         * math/w_lgamma_compat2.c: New file, copied from above.
7092         * math/w_lgammaf_compat2.c: Likewise.
7093         * math/w_lgammal_compat2.c: Likewise.
7095 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7097         * math/Makefile (libm-calls): Move w_lgammaF_r...
7098         (libm-compat-calls-auto): Here.
7100         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
7101         * math/w_lgammaf_r.c: Likewise.
7102         * math/w_lgammal_r.c: Likewise.
7103         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7104         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7105         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7107         * math/w_lgamma_r_compat.c: New file, copied from above.
7108         * math/w_lgammaf_r_compat.c: Likewise.
7109         * math/w_lgammal_r_compat.c: Likewise.
7110         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
7111         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
7112         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
7114         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
7115         to filename.
7116         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
7118         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
7119         copied from above and adjusted for the new filenames.
7120         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7122 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
7124         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
7125         calculation in SYSCALL_ERROR_HANDLER().
7127 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
7129         * manual/contrib.texi: Fix typo.
7131 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7133         [BZ #21109]
7134         * elf/dl-tunable-types.h (tunable_callback_t): Accept
7135         tunable_val_t as argument.
7136         * elf/dl-tunables.c (__tunable_set_val): Add comment.
7137         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
7138         argument.
7139         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
7141 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
7143         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
7144         Add PTRACE_EVENT_STOP.
7145         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7146         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7147         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7148         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7149         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
7150         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
7152 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
7154         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
7155         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
7156         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
7157         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
7158         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
7159         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
7160         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
7161         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
7162         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
7163         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
7165         [BZ #21112]
7166         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
7167         12 bits zero.
7168         (cp_l): Update for new value of cp_h.
7169         * math/auto-libm-test-in: Add another test of pow.
7170         * math/auto-libm-test-out-pow: Regenerated.
7172 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7174         * manual/contrib.texi: Fix typo.
7176 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7178         [BZ #15998]
7179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7180         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
7181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7183 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7185         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
7186         STRCHR as __strchr_power8.
7187         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
7188         strlen as __strlen_power8.
7190 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7192         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
7193         unaligned load for shorter strings.
7194         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
7196 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7198         * math/libm-test-driver.c (flag_test_errno): New variable.
7199         (flag_test_exceptions): Likewise.
7200         (flag_test_finite): Likewise.
7201         (flag_test_inline): Likewise.
7202         (flag_test_mathvec): Likewise.
7203         (test_msg): Likewise.
7204         (ulp_idx): Likewise.
7205         (qtype_str): Likewise.
7206         (ULP_IDX): Remove macro.
7207         (QTYPE_STR): Likewise.
7208         (find_ulps): Use ulp_idx not ULP_IDX.
7209         (print_function_ulps): Use qtype_str, printed with %s, not
7210         QTYPE_STR, printed with concatentation to format string.
7211         (print_complex_function_ulps): Likewise.
7212         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
7213         (test_errno): Use flag_test_errno not TEST_ERRNO.
7214         (enable_test): Use flag_test_inline, flag_test_finite and
7215         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
7216         TEST_MATHVEC.
7217         (libm_test_init): New function.  Factored out of main.
7218         (libm_test_finish): Likewise.
7219         (main): Call libm_test_init and libm_test_finish and move most
7220         code to those functions.
7222         * math/libm-test-driver.c (STRX): New macro.
7223         (STR): Likewise.
7224         (STR_FLOAT): Likewise.
7225         (STR_VEC_LEN): Likewise.
7226         (TEST_MSG): Likewise.  Define here instead of expecting to be
7227         defined by including file.
7228         * math/test-double-finite.c (TEST_MSG): Remove macro.
7229         * math/test-double-vlen2.h (TEST_MSG): Likewise.
7230         * math/test-double-vlen4.h (TEST_MSG): Likewise.
7231         * math/test-double-vlen8.h (TEST_MSG): Likewise.
7232         * math/test-double.c (TEST_MSG): Likewise.
7233         * math/test-float-finite.c (TEST_MSG): Likewise.
7234         * math/test-float-vlen16.h (TEST_MSG): Likewise.
7235         * math/test-float-vlen4.h (TEST_MSG): Likewise.
7236         * math/test-float-vlen8.h (TEST_MSG): Likewise.
7237         * math/test-float.c (TEST_MSG): Likewise.
7238         * math/test-idouble.c (TEST_MSG): Likewise.
7239         * math/test-ifloat.c (TEST_MSG): Likewise.
7240         * math/test-ildouble.c (TEST_MSG): Likewise.
7241         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
7242         * math/test-ldouble.c (TEST_MSG): Likewise.
7244         * math/libm-test.inc: Move all tests of individual functions to
7245         libm-test-*.inc and #include libm-test-*.c files.
7246         (acos_test_data): Remove.
7247         (acos_test): Likewise.
7248         (acosh_test_data): Likewise.
7249         (acosh_test): Likewise.
7250         (asin_test_data): Likewise.
7251         (asin_test): Likewise.
7252         (asinh_test_data): Likewise.
7253         (asinh_test): Likewise.
7254         (atan_test_data): Likewise.
7255         (atan_test): Likewise.
7256         (atanh_test_data): Likewise.
7257         (atanh_test): Likewise.
7258         (atan2_test_data): Likewise.
7259         (atan2_test): Likewise.
7260         (cabs_test_data): Likewise.
7261         (cabs_test): Likewise.
7262         (cacos_test_data): Likewise.
7263         (cacos_test): Likewise.
7264         (cacosh_test_data): Likewise.
7265         (cacosh_test): Likewise.
7266         (canonicalize_test_data): Likewise.
7267         (canonicalize_test): Likewise.
7268         (carg_test_data): Likewise.
7269         (carg_test): Likewise.
7270         (casin_test_data): Likewise.
7271         (casin_test): Likewise.
7272         (casinh_test_data): Likewise.
7273         (casinh_test): Likewise.
7274         (catan_test_data): Likewise.
7275         (catan_test): Likewise.
7276         (catanh_test_data): Likewise.
7277         (catanh_test): Likewise.
7278         (cbrt_test_data): Likewise.
7279         (cbrt_test): Likewise.
7280         (ccos_test_data): Likewise.
7281         (ccos_test): Likewise.
7282         (ccosh_test_data): Likewise.
7283         (ccosh_test): Likewise.
7284         (ceil_test_data): Likewise.
7285         (ceil_test): Likewise.
7286         (cexp_test_data): Likewise.
7287         (cexp_test): Likewise.
7288         (cimag_test_data): Likewise.
7289         (cimag_test): Likewise.
7290         (clog_test_data): Likewise.
7291         (clog_test): Likewise.
7292         (clog10_test_data): Likewise.
7293         (clog10_test): Likewise.
7294         (conj_test_data): Likewise.
7295         (conj_test): Likewise.
7296         (copysign_test_data): Likewise.
7297         (copysign_test): Likewise.
7298         (cos_test_data): Likewise.
7299         (cos_test): Likewise.
7300         (cosh_test_data): Likewise.
7301         (cosh_test): Likewise.
7302         (cpow_test_data): Likewise.
7303         (cpow_test): Likewise.
7304         (cproj_test_data): Likewise.
7305         (cproj_test): Likewise.
7306         (creal_test_data): Likewise.
7307         (creal_test): Likewise.
7308         (csin_test_data): Likewise.
7309         (csin_test): Likewise.
7310         (csinh_test_data): Likewise.
7311         (csinh_test): Likewise.
7312         (csqrt_test_data): Likewise.
7313         (csqrt_test): Likewise.
7314         (ctan_test_data): Likewise.
7315         (ctan_test): Likewise.
7316         (ctanh_test_data): Likewise.
7317         (ctanh_test): Likewise.
7318         (erf_test_data): Likewise.
7319         (erf_test): Likewise.
7320         (erfc_test_data): Likewise.
7321         (erfc_test): Likewise.
7322         (exp_test_data): Likewise.
7323         (exp_test): Likewise.
7324         (exp10_test_data): Likewise.
7325         (exp10_test): Likewise.
7326         (pow10_test): Likewise.
7327         (exp2_test_data): Likewise.
7328         (exp2_test): Likewise.
7329         (expm1_test_data): Likewise.
7330         (expm1_test): Likewise.
7331         (fabs_test_data): Likewise.
7332         (fabs_test): Likewise.
7333         (fdim_test_data): Likewise.
7334         (fdim_test): Likewise.
7335         (floor_test_data): Likewise.
7336         (floor_test): Likewise.
7337         (fma_test_data): Likewise.
7338         (fma_test): Likewise.
7339         (fmax_test_data): Likewise.
7340         (fmax_test): Likewise.
7341         (fmaxmag_test_data): Likewise.
7342         (fmaxmag_test): Likewise.
7343         (fmin_test_data): Likewise.
7344         (fmin_test): Likewise.
7345         (fminmag_test_data): Likewise.
7346         (fminmag_test): Likewise.
7347         (fmod_test_data): Likewise.
7348         (fmod_test): Likewise.
7349         (fpclassify_test_data): Likewise.
7350         (fpclassify_test): Likewise.
7351         (frexp_test_data): Likewise.
7352         (frexp_test): Likewise.
7353         (fromfp_test_data): Likewise.
7354         (fromfp_test): Likewise.
7355         (fromfpx_test_data): Likewise.
7356         (fromfpx_test): Likewise.
7357         (getpayload_test_data): Likewise.
7358         (getpayload_test): Likewise.
7359         (hypot_test_data): Likewise.
7360         (hypot_test): Likewise.
7361         (ilogb_test_data): Likewise.
7362         (ilogb_test): Likewise.
7363         (iscanonical_test_data): Likewise.
7364         (iscanonical_test): Likewise.
7365         (iseqsig_test_data): Likewise.
7366         (iseqsig_test): Likewise.
7367         (isfinite_test_data): Likewise.
7368         (isfinite_test): Likewise.
7369         (finite_test): Likewise.
7370         (isgreater_test_data): Likewise.
7371         (isgreater_test): Likewise.
7372         (isgreaterequal_test_data): Likewise.
7373         (isgreaterequal_test): Likewise.
7374         (isinf_test_data): Likewise.
7375         (isinf_test): Likewise.
7376         (isless_test_data): Likewise.
7377         (isless_test): Likewise.
7378         (islessequal_test_data): Likewise.
7379         (islessequal_test): Likewise.
7380         (islessgreater_test_data): Likewise.
7381         (islessgreater_test): Likewise.
7382         (isnan_test_data): Likewise.
7383         (isnan_test): Likewise.
7384         (isnormal_test_data): Likewise.
7385         (isnormal_test): Likewise.
7386         (issignaling_test_data): Likewise.
7387         (issignaling_test): Likewise.
7388         (issubnormal_test_data): Likewise.
7389         (issubnormal_test): Likewise.
7390         (isunordered_test_data): Likewise.
7391         (isunordered_test): Likewise.
7392         (iszero_test_data): Likewise.
7393         (iszero_test): Likewise.
7394         (j0_test_data): Likewise.
7395         (j0_test): Likewise.
7396         (j1_test_data): Likewise.
7397         (j1_test): Likewise.
7398         (jn_test_data): Likewise.
7399         (jn_test): Likewise.
7400         (lgamma_test_data): Likewise.
7401         (lgamma_test): Likewise.
7402         (gamma_test): Likewise.
7403         (llogb_test_data): Likewise.
7404         (llogb_test): Likewise.
7405         (lrint_test_data): Likewise.
7406         (lrint_test): Likewise.
7407         (llrint_test_data): Likewise.
7408         (llrint_test): Likewise.
7409         (log_test_data): Likewise.
7410         (log_test): Likewise.
7411         (log10_test_data): Likewise.
7412         (log10_test): Likewise.
7413         (log1p_test_data): Likewise.
7414         (log1p_test): Likewise.
7415         (log2_test_data): Likewise.
7416         (log2_test): Likewise.
7417         (logb_test_data): Likewise.
7418         (logb_test): Likewise.
7419         (lround_test_data): Likewise.
7420         (lround_test): Likewise.
7421         (llround_test_data): Likewise.
7422         (llround_test): Likewise.
7423         (modf_test_data): Likewise.
7424         (modf_test): Likewise.
7425         (nearbyint_test_data): Likewise.
7426         (nearbyint_test): Likewise.
7427         (nextafter_test_data): Likewise.
7428         (nextafter_test): Likewise.
7429         (nextup_test_data): Likewise.
7430         (nextup_test): Likewise.
7431         (nextdown_test_data): Likewise.
7432         (nextdown_test): Likewise.
7433         (nexttoward_test_data): Likewise.
7434         (nexttoward_test): Likewise.
7435         (pow_test_data): Likewise.
7436         (pow_test): Likewise.
7437         (remainder_test_data): Likewise.
7438         (remainder_test): Likewise.
7439         (drem_test): Likewise.
7440         (remquo_test_data): Likewise.
7441         (remquo_test): Likewise.
7442         (rint_test_data): Likewise.
7443         (rint_test): Likewise.
7444         (round_test_data): Likewise.
7445         (round_test): Likewise.
7446         (roundeven_test_data): Likewise.
7447         (roundeven_test): Likewise.
7448         (scalb_test_data): Likewise.
7449         (scalb_test): Likewise.
7450         (scalbn_test_data): Likewise.
7451         (scalbn_test): Likewise.
7452         (ldexp_test): Likewise.
7453         (scalbln_test_data): Likewise.
7454         (scalbln_test): Likewise.
7455         (setpayload_test_data): Likewise.
7456         (setpayload_test): Likewise.
7457         (setpayloadsig_test_data): Likewise.
7458         (setpayloadsig_test): Likewise.
7459         (signbit_test_data): Likewise.
7460         (signbit_test): Likewise.
7461         (sin_test_data): Likewise.
7462         (sin_test): Likewise.
7463         (sincos_test_data): Likewise.
7464         (sincos_test): Likewise.
7465         (sinh_test_data): Likewise.
7466         (sinh_test): Likewise.
7467         (sqrt_test_data): Likewise.
7468         (sqrt_test): Likewise.
7469         (tan_test_data): Likewise.
7470         (tan_test): Likewise.
7471         (tanh_test_data): Likewise.
7472         (tanh_test): Likewise.
7473         (tgamma_test_data): Likewise.
7474         (tgamma_test): Likewise.
7475         (totalorder_test_data): Likewise.
7476         (totalorder_test): Likewise.
7477         (totalordermag_test_data): Likewise.
7478         (totalordermag_test): Likewise.
7479         (trunc_test_data): Likewise.
7480         (trunc_test): Likewise.
7481         (ufromfp_test_data): Likewise.
7482         (ufromfp_test): Likewise.
7483         (ufromfpx_test_data): Likewise.
7484         (ufromfpx_test): Likewise.
7485         (y0_test_data): Likewise.
7486         (y0_test): Likewise.
7487         (y1_test_data): Likewise.
7488         (y1_test): Likewise.
7489         (yn_test_data): Likewise.
7490         (yn_test): Likewise.
7491         (significand_test_data): Likewise.
7492         (significand_test): Likewise.
7493         * math/Makefile (auto-libm-test-out-files): Remove variable.
7494         (libm-test-funcs-noauto): New variable.
7495         (libm-test-funcs-all): Likewise.
7496         (libm-test-c-auto): Likewise.
7497         (libm-test-c-noauto): Likewise.
7498         (libm-tests-generated): Add $(libm-test-c-auto) and
7499         $(libm-test-c-noauto).
7500         (generated): Do not add auto-libm-test-out.
7501         (libm-test-c-auto-obj): New variable.
7502         (libm-test-c-noauto-obj): Likewise.
7503         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
7504         ($(libm-test-c-noauto-obj)): New static pattern rule.
7505         ($(libm-test-c-auto-obj)): Likewise.
7506         (libm-test-incs): New variable.
7507         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
7508         and pass it to gen-libm-have-vector-test.sh.
7509         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
7510         be passed on command line.
7511         * math/libm-test-acos.inc: New file.  Content from
7512         math/libm-test.inc.
7513         * math/libm-test-acosh.inc: Likewise.
7514         * math/libm-test-asin.inc: Likewise.
7515         * math/libm-test-asinh.inc: Likewise.
7516         * math/libm-test-atan.inc: Likewise.
7517         * math/libm-test-atan2.inc: Likewise.
7518         * math/libm-test-atanh.inc: Likewise.
7519         * math/libm-test-cabs.inc: Likewise.
7520         * math/libm-test-cacos.inc: Likewise.
7521         * math/libm-test-cacosh.inc: Likewise.
7522         * math/libm-test-canonicalize.inc: Likewise.
7523         * math/libm-test-carg.inc: Likewise.
7524         * math/libm-test-casin.inc: Likewise.
7525         * math/libm-test-casinh.inc: Likewise.
7526         * math/libm-test-catan.inc: Likewise.
7527         * math/libm-test-catanh.inc: Likewise.
7528         * math/libm-test-cbrt.inc: Likewise.
7529         * math/libm-test-ccos.inc: Likewise.
7530         * math/libm-test-ccosh.inc: Likewise.
7531         * math/libm-test-ceil.inc: Likewise.
7532         * math/libm-test-cexp.inc: Likewise.
7533         * math/libm-test-cimag.inc: Likewise.
7534         * math/libm-test-clog.inc: Likewise.
7535         * math/libm-test-clog10.inc: Likewise.
7536         * math/libm-test-conj.inc: Likewise.
7537         * math/libm-test-copysign.inc: Likewise.
7538         * math/libm-test-cos.inc: Likewise.
7539         * math/libm-test-cosh.inc: Likewise.
7540         * math/libm-test-cpow.inc: Likewise.
7541         * math/libm-test-cproj.inc: Likewise.
7542         * math/libm-test-creal.inc: Likewise.
7543         * math/libm-test-csin.inc: Likewise.
7544         * math/libm-test-csinh.inc: Likewise.
7545         * math/libm-test-csqrt.inc: Likewise.
7546         * math/libm-test-ctan.inc: Likewise.
7547         * math/libm-test-ctanh.inc: Likewise.
7548         * math/libm-test-erf.inc: Likewise.
7549         * math/libm-test-erfc.inc: Likewise.
7550         * math/libm-test-exp.inc: Likewise.
7551         * math/libm-test-exp10.inc: Likewise.
7552         * math/libm-test-exp2.inc: Likewise.
7553         * math/libm-test-expm1.inc: Likewise.
7554         * math/libm-test-fabs.inc: Likewise.
7555         * math/libm-test-fdim.inc: Likewise.
7556         * math/libm-test-floor.inc: Likewise.
7557         * math/libm-test-fma.inc: Likewise.
7558         * math/libm-test-fmax.inc: Likewise.
7559         * math/libm-test-fmaxmag.inc: Likewise.
7560         * math/libm-test-fmin.inc: Likewise.
7561         * math/libm-test-fminmag.inc: Likewise.
7562         * math/libm-test-fmod.inc: Likewise.
7563         * math/libm-test-fpclassify.inc: Likewise.
7564         * math/libm-test-frexp.inc: Likewise.
7565         * math/libm-test-fromfp.inc: Likewise.
7566         * math/libm-test-fromfpx.inc: Likewise.
7567         * math/libm-test-getpayload.inc: Likewise.
7568         * math/libm-test-hypot.inc: Likewise.
7569         * math/libm-test-ilogb.inc: Likewise.
7570         * math/libm-test-iscanonical.inc: Likewise.
7571         * math/libm-test-iseqsig.inc: Likewise.
7572         * math/libm-test-isfinite.inc: Likewise.
7573         * math/libm-test-isgreater.inc: Likewise.
7574         * math/libm-test-isgreaterequal.inc: Likewise.
7575         * math/libm-test-isinf.inc: Likewise.
7576         * math/libm-test-isless.inc: Likewise.
7577         * math/libm-test-islessequal.inc: Likewise.
7578         * math/libm-test-islessgreater.inc: Likewise.
7579         * math/libm-test-isnan.inc: Likewise.
7580         * math/libm-test-isnormal.inc: Likewise.
7581         * math/libm-test-issignaling.inc: Likewise.
7582         * math/libm-test-issubnormal.inc: Likewise.
7583         * math/libm-test-isunordered.inc: Likewise.
7584         * math/libm-test-iszero.inc: Likewise.
7585         * math/libm-test-j0.inc: Likewise.
7586         * math/libm-test-j1.inc: Likewise.
7587         * math/libm-test-jn.inc: Likewise.
7588         * math/libm-test-lgamma.inc: Likewise.
7589         * math/libm-test-llogb.inc: Likewise.
7590         * math/libm-test-llrint.inc: Likewise.
7591         * math/libm-test-llround.inc: Likewise.
7592         * math/libm-test-log.inc: Likewise.
7593         * math/libm-test-log10.inc: Likewise.
7594         * math/libm-test-log1p.inc: Likewise.
7595         * math/libm-test-log2.inc: Likewise.
7596         * math/libm-test-logb.inc: Likewise.
7597         * math/libm-test-lrint.inc: Likewise.
7598         * math/libm-test-lround.inc: Likewise.
7599         * math/libm-test-modf.inc: Likewise.
7600         * math/libm-test-nearbyint.inc: Likewise.
7601         * math/libm-test-nextafter.inc: Likewise.
7602         * math/libm-test-nextdown.inc: Likewise.
7603         * math/libm-test-nexttoward.inc: Likewise.
7604         * math/libm-test-nextup.inc: Likewise.
7605         * math/libm-test-pow.inc: Likewise.
7606         * math/libm-test-remainder.inc: Likewise.
7607         * math/libm-test-remquo.inc: Likewise.
7608         * math/libm-test-rint.inc: Likewise.
7609         * math/libm-test-round.inc: Likewise.
7610         * math/libm-test-roundeven.inc: Likewise.
7611         * math/libm-test-scalb.inc: Likewise.
7612         * math/libm-test-scalbln.inc: Likewise.
7613         * math/libm-test-scalbn.inc: Likewise.
7614         * math/libm-test-setpayload.inc: Likewise.
7615         * math/libm-test-setpayloadsig.inc: Likewise.
7616         * math/libm-test-signbit.inc: Likewise.
7617         * math/libm-test-significand.inc: Likewise.
7618         * math/libm-test-sin.inc: Likewise.
7619         * math/libm-test-sincos.inc: Likewise.
7620         * math/libm-test-sinh.inc: Likewise.
7621         * math/libm-test-sqrt.inc: Likewise.
7622         * math/libm-test-tan.inc: Likewise.
7623         * math/libm-test-tanh.inc: Likewise.
7624         * math/libm-test-tgamma.inc: Likewise.
7625         * math/libm-test-totalorder.inc: Likewise.
7626         * math/libm-test-totalordermag.inc: Likewise.
7627         * math/libm-test-trunc.inc: Likewise.
7628         * math/libm-test-ufromfp.inc: Likewise.
7629         * math/libm-test-ufromfpx.inc: Likewise.
7630         * math/libm-test-y0.inc: Likewise.
7631         * math/libm-test-y1.inc: Likewise.
7632         * math/libm-test-yn.inc: Likewise.
7633         * math/README.libm-test: Update.
7635         * math/gen-auto-libm-tests.c: Update comment about use of program.
7636         (generate_output): Add argument FUNCTION.
7637         (main): Require extra argument.  Pass function name to
7638         generate_output.
7639         * math/Makefile (generated): Add auto-libm-test-out.
7640         (libm-test-funcs-auto): New variable.
7641         (auto-libm-test-out-files): New variable.
7642         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
7643         Concatenate those files to form $(objpfx)auto-libm-test-out and
7644         use it as input to gen-libm-test.pl.
7645         * math/README.libm-test: Update.
7646         * math/auto-libm-test-out: Remove.
7647         * math/auto-libm-test-out-acos: New generated file.
7648         * math/auto-libm-test-out-acosh: Likewise.
7649         * math/auto-libm-test-out-asin: Likewise.
7650         * math/auto-libm-test-out-asinh: Likewise.
7651         * math/auto-libm-test-out-atan: Likewise.
7652         * math/auto-libm-test-out-atan2: Likewise.
7653         * math/auto-libm-test-out-atanh: Likewise.
7654         * math/auto-libm-test-out-cabs: Likewise.
7655         * math/auto-libm-test-out-carg: Likewise.
7656         * math/auto-libm-test-out-cbrt: Likewise.
7657         * math/auto-libm-test-out-ccos: Likewise.
7658         * math/auto-libm-test-out-ccosh: Likewise.
7659         * math/auto-libm-test-out-cexp: Likewise.
7660         * math/auto-libm-test-out-clog: Likewise.
7661         * math/auto-libm-test-out-clog10: Likewise.
7662         * math/auto-libm-test-out-cos: Likewise.
7663         * math/auto-libm-test-out-cosh: Likewise.
7664         * math/auto-libm-test-out-cpow: Likewise.
7665         * math/auto-libm-test-out-csin: Likewise.
7666         * math/auto-libm-test-out-csinh: Likewise.
7667         * math/auto-libm-test-out-csqrt: Likewise.
7668         * math/auto-libm-test-out-ctan: Likewise.
7669         * math/auto-libm-test-out-ctanh: Likewise.
7670         * math/auto-libm-test-out-erf: Likewise.
7671         * math/auto-libm-test-out-erfc: Likewise.
7672         * math/auto-libm-test-out-exp: Likewise.
7673         * math/auto-libm-test-out-exp10: Likewise.
7674         * math/auto-libm-test-out-exp2: Likewise.
7675         * math/auto-libm-test-out-expm1: Likewise.
7676         * math/auto-libm-test-out-fma: Likewise.
7677         * math/auto-libm-test-out-hypot: Likewise.
7678         * math/auto-libm-test-out-j0: Likewise.
7679         * math/auto-libm-test-out-j1: Likewise.
7680         * math/auto-libm-test-out-jn: Likewise.
7681         * math/auto-libm-test-out-lgamma: Likewise.
7682         * math/auto-libm-test-out-log: Likewise.
7683         * math/auto-libm-test-out-log10: Likewise.
7684         * math/auto-libm-test-out-log1p: Likewise.
7685         * math/auto-libm-test-out-log2: Likewise.
7686         * math/auto-libm-test-out-pow: Likewise.
7687         * math/auto-libm-test-out-sin: Likewise.
7688         * math/auto-libm-test-out-sincos: Likewise.
7689         * math/auto-libm-test-out-sinh: Likewise.
7690         * math/auto-libm-test-out-sqrt: Likewise.
7691         * math/auto-libm-test-out-tan: Likewise.
7692         * math/auto-libm-test-out-tanh: Likewise.
7693         * math/auto-libm-test-out-tgamma: Likewise.
7694         * math/auto-libm-test-out-y0: Likewise.
7695         * math/auto-libm-test-out-y1: Likewise.
7696         * math/auto-libm-test-out-yn: Likewise.
7698         * math/Makefile (generated): Do not include libm-test.stmp.
7699         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
7700         on $(objpfx)libm-test.stmp.
7701         ($(objpfx)libm-test.stmp): Remove rule.
7702         ($(objpfx)libm-test-ulps.h): New rule.
7703         ($(objpfx)libm-test.c): Likewise.
7704         ($(objpfx)libm-have-vector-test.h): Likewise.
7705         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
7706         individual generated files, not libm-test.stmp.
7708         * math/gen-libm-test.pl ($output_dir): Remove variable.
7709         ($srcdir): Likewise.
7710         ($opt_a): New variable.
7711         ($opt_c): Likewise.
7712         ($opt_C): Likewise.
7713         ($opt_H): Likewise.
7714         (-n): Make option take argument and use it as NewUlps output.
7715         (-a): New option.  Use its argument for auto-libm-test-out input.
7716         (-c): New option.  Use its argument for libm-test.inc input.
7717         (-C): New option.  Use its argument for libm-test.c output.
7718         (-H): New option.  Use its argument for libm-test-ulps.h output.
7719         (top level): Only process inputs needed to generate outputs
7720         specified by command-line options.  Only generate outputs
7721         specified by command-line options.
7722         * math/README.libm-test: Update example gen-libm-test.pl command.
7723         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
7724         commands.
7725         (regen-ulps): Likewise.
7727 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
7729         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
7730         * include/string.h (index): Remove define.
7731         (rindex): Likewise.
7732         * misc/getttyent.c (__getttyent): Rename index to strchr.
7733         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
7734         * sunrpc/rpc_main.c (mkfile_output): Likewise.
7736 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7738         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
7739         * math/libm-test.inc: Move all contents, other than tests of
7740         individual functions, to libm-test-driver.c.
7741         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
7742         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
7743         [!FE_UPWARD] (FE_UPWARD): Likewise.
7744         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
7745         (NO_EXCEPTION): Likewise.
7746         (INVALID_EXCEPTION): Likewise.
7747         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7748         (OVERFLOW_EXCEPTION): Likewise.
7749         (UNDERFLOW_EXCEPTION): Likewise.
7750         (INEXACT_EXCEPTION): Likewise.
7751         (INVALID_EXCEPTION_OK): Likewise.
7752         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7753         (OVERFLOW_EXCEPTION_OK): Likewise.
7754         (UNDERFLOW_EXCEPTION_OK): Likewise.
7755         (NO_INEXACT_EXCEPTION): Likewise.
7756         (EXCEPTIONS_OK): Likewise.
7757         (IGNORE_ZERO_INF_SIGN): Likewise.
7758         (TEST_NAN_SIGN): Likewise.
7759         (TEST_NAN_PAYLOAD): Likewise.
7760         (NO_TEST_INLINE): Likewise.
7761         (XFAIL_TEST): Likewise.
7762         (ERRNO_UNCHANGED): Likewise.
7763         (ERRNO_EDOM): Likewise.
7764         (ERRNO_ERANGE): Likewise.
7765         (IGNORE_RESULT): Likewise.
7766         (NON_FINITE): Likewise.
7767         (TEST_SNAN): Likewise.
7768         (NO_TEST_MATHVEC): Likewise.
7769         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
7770         (__CONCATX): Likewise.
7771         (TYPE_MIN): Likewise.
7772         (TYPE_TRUE_MIN): Likewise.
7773         (TYPE_MAX): Likewise.
7774         (MIN_EXP): Likewise.
7775         (MAX_EXP): Likewise.
7776         (MANT_DIG): Likewise.
7777         (FSTR_MAX): Likewise.
7778         (ULP_IDX): Likewise.
7779         (QTYPE_STR): Likewise.
7780         (TEST_COND_binary32): Likewise.
7781         (TEST_COND_binary64): Likewise.
7782         (TEST_COND_binary128): Likewise.
7783         (TEST_COND_ibm128): Likewise.
7784         (TEST_COND_intel96): Likewise.
7785         (TEST_COND_m68k96): Likewise.
7786         (TEST_COND_ibm128_libgcc): Likewise.
7787         (XFAIL_IBM128_LIBGCC): Likewise.
7788         (PAYLOAD_DIG): Likewise.
7789         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7790         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7791         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7792         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7793         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7794         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7795         (TEST_COND_long32): Likewise.
7796         (TEST_COND_long64): Likewise.
7797         (TEST_COND_before_rounding): Likewise.
7798         (TEST_COND_after_rounding): Likewise.
7799         (lit_pi_3_m_4_d): Likewise.
7800         (lit_pi_3_m_4_ln10_m_d): Likewise.
7801         (lit_pi_2_ln10_m_d): Likewise.
7802         (lit_pi_4_ln10_m_d): Likewise.
7803         (lit_pi_ln10_d): Likewise.
7804         (lit_pi_2_d): Likewise.
7805         (lit_pi_4_d): Likewise.
7806         (lit_pi): Likewise.
7807         (lit_e): Likewise.
7808         (ulps_file_name): Likewise.
7809         (ulps_file): Likewise.
7810         (output_ulps): Likewise.
7811         (output_dir): Likewise.
7812         (noErrors): Likewise.
7813         (noTests): Likewise.
7814         (noExcTests): Likewise.
7815         (noErrnoTests): Likewise.
7816         (verbose): Likewise.
7817         (output_max_error): Likewise.
7818         (output_points): Likewise.
7819         (ignore_max_ulp): Likewise.
7820         (plus_zero): Likewise.
7821         (minus_zero): Likewise.
7822         (plus_infty): Likewise.
7823         (minus_infty): Likewise.
7824         (qnan_value_pl): Likewise.
7825         (qnan_value): Likewise.
7826         (snan_value_pl): Likewise.
7827         (snan_value): Likewise.
7828         (max_value): Likewise.
7829         (min_value): Likewise.
7830         (min_subnorm_value): Likewise.
7831         (snan_value_ld): Likewise.
7832         (max_error): Likewise.
7833         (real_max_error): Likewise.
7834         (imag_max_error): Likewise.
7835         (prev_max_error): Likewise.
7836         (prev_real_max_error): Likewise.
7837         (prev_imag_max_error): Likewise.
7838         (max_valid_error): Likewise.
7839         (TYPE_DECIMAL_DIG): Likewise.
7840         (TYPE_HEX_DIG): Likewise.
7841         (fmt_ftostr): Likewise.
7842         (compare_ulp_data): Likewise.
7843         (find_ulps): Likewise.
7844         (init_max_error): Likewise.
7845         (set_max_error): Likewise.
7846         (print_float): Likewise.
7847         (print_screen): Likewise.
7848         (print_screen_max_error): Likewise.
7849         (update_stats): Likewise.
7850         (print_function_ulps): Likewise.
7851         (print_complex_function_ulps): Likewise.
7852         (fpstack_test): Likewise.
7853         (print_max_error): Likewise.
7854         (print_complex_max_error): Likewise.
7855         (test_single_exception): Likewise.
7856         (test_exceptions): Likewise.
7857         (test_single_errno): Likewise.
7858         (test_errno): Likewise.
7859         (ULPDIFF): Likewise.
7860         (ulp): Likewise.
7861         (check_float_internal): Likewise.
7862         (check_float): Likewise.
7863         (check_complex): Likewise.
7864         (check_int): Likewise.
7865         (check_long): Likewise.
7866         (check_bool): Likewise.
7867         (check_longlong): Likewise.
7868         (check_intmax_t): Likewise.
7869         (check_uintmax_t): Likewise.
7870         (enable_test): Likewise.
7871         (struct test_f_f_data): Likewise.
7872         (struct test_ff_f_data): Likewise.
7873         (struct test_fj_f_data): Likewise.
7874         (struct test_fi_f_data): Likewise.
7875         (struct test_fl_f_data): Likewise.
7876         (struct test_if_f_data): Likewise.
7877         (struct test_fff_f_data): Likewise.
7878         (struct test_fiu_M_data): Likewise.
7879         (struct test_fiu_U_data): Likewise.
7880         (struct test_c_f_data): Likewise.
7881         (struct test_f_f1_data): Likewise.
7882         (struct test_fF_f1_data): Likewise.
7883         (struct test_ffI_f1_data): Likewise.
7884         (struct test_c_c_data): Likewise.
7885         (struct test_cc_c_data): Likewise.
7886         (struct test_f_i_data): Likewise.
7887         (struct test_ff_i_data): Likewise.
7888         (struct test_f_l_data): Likewise.
7889         (struct test_f_L_data): Likewise.
7890         (struct test_fFF_11_data): Likewise.
7891         (struct test_Ff_b1_data): Likewise.
7892         (IF_ROUND_INIT_): Likewise.
7893         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7894         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7895         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7896         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7897         (ROUND_RESTORE_): Likewise.
7898         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7899         (ROUND_RESTORE_FE_TONEAREST): Likewise.
7900         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7901         (ROUND_RESTORE_FE_UPWARD): Likewise.
7902         (RM_): Likewise.
7903         (RM_FE_DOWNWARD): Likewise.
7904         (RM_FE_TONEAREST): Likewise.
7905         (RM_FE_TOWARDZERO): Likewise.
7906         (RM_FE_UPWARD): Likewise.
7907         (COMMON_TEST_SETUP): Likewise.
7908         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7909         (COMMON_TEST_CLEANUP): Likewise.
7910         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7911         (RUN_TEST_f_f): Likewise.
7912         (RUN_TEST_LOOP_f_f): Likewise.
7913         (RUN_TEST_fp_f): Likewise.
7914         (RUN_TEST_LOOP_fp_f): Likewise.
7915         (RUN_TEST_2_f): Likewise.
7916         (RUN_TEST_LOOP_2_f): Likewise.
7917         (RUN_TEST_ff_f): Likewise.
7918         (RUN_TEST_LOOP_ff_f): Likewise.
7919         (RUN_TEST_LOOP_fj_f): Likewise.
7920         (RUN_TEST_fi_f): Likewise.
7921         (RUN_TEST_LOOP_fi_f): Likewise.
7922         (RUN_TEST_fl_f): Likewise.
7923         (RUN_TEST_LOOP_fl_f): Likewise.
7924         (RUN_TEST_if_f): Likewise.
7925         (RUN_TEST_LOOP_if_f): Likewise.
7926         (RUN_TEST_fff_f): Likewise.
7927         (RUN_TEST_LOOP_fff_f): Likewise.
7928         (RUN_TEST_fiu_M): Likewise.
7929         (RUN_TEST_LOOP_fiu_M): Likewise.
7930         (RUN_TEST_fiu_U): Likewise.
7931         (RUN_TEST_LOOP_fiu_U): Likewise.
7932         (RUN_TEST_c_f): Likewise.
7933         (RUN_TEST_LOOP_c_f): Likewise.
7934         (RUN_TEST_f_f1): Likewise.
7935         (RUN_TEST_LOOP_f_f1): Likewise.
7936         (RUN_TEST_fF_f1): Likewise.
7937         (RUN_TEST_LOOP_fF_f1): Likewise.
7938         (RUN_TEST_fI_f1): Likewise.
7939         (RUN_TEST_LOOP_fI_f1): Likewise.
7940         (RUN_TEST_ffI_f1_mod8): Likewise.
7941         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
7942         (RUN_TEST_Ff_b1): Likewise.
7943         (RUN_TEST_LOOP_Ff_b1): Likewise.
7944         (RUN_TEST_Ffp_b1): Likewise.
7945         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7946         (RUN_TEST_c_c): Likewise.
7947         (RUN_TEST_LOOP_c_c): Likewise.
7948         (RUN_TEST_cc_c): Likewise.
7949         (RUN_TEST_LOOP_cc_c): Likewise.
7950         (RUN_TEST_f_i): Likewise.
7951         (RUN_TEST_LOOP_f_i): Likewise.
7952         (RUN_TEST_f_i_tg): Likewise.
7953         (RUN_TEST_LOOP_f_i_tg): Likewise.
7954         (RUN_TEST_ff_b): Likewise.
7955         (RUN_TEST_LOOP_ff_b): Likewise.
7956         (RUN_TEST_ff_i_tg): Likewise.
7957         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7958         (RUN_TEST_f_b): Likewise.
7959         (RUN_TEST_LOOP_f_b): Likewise.
7960         (RUN_TEST_f_b_tg): Likewise.
7961         (RUN_TEST_LOOP_f_b_tg): Likewise.
7962         (RUN_TEST_f_l): Likewise.
7963         (RUN_TEST_LOOP_f_l): Likewise.
7964         (RUN_TEST_f_L): Likewise.
7965         (RUN_TEST_LOOP_f_L): Likewise.
7966         (RUN_TEST_fFF_11): Likewise.
7967         (RUN_TEST_LOOP_fFF_11): Likewise.
7968         (VEC_SUFF): Likewise.
7969         (STR_CONCAT): Likewise.
7970         (STR_CON3): Likewise.
7971         (HAVE_VECTOR): Likewise.
7972         (START): Likewise.
7973         (END): Likewise.
7974         (END_COMPLEX): Likewise.
7975         (ALL_RM_TEST): Likewise.
7976         (matherr): Likewise.
7977         (initialize): Likewise.
7978         (options): Likewise.
7979         (doc): Likewise.
7980         (parse_opt): Likewise.
7981         (argp): Likewise.
7982         (check_ulp): Likewise.
7983         (main): Likewise.
7984         (do_test): New function.  Call tests of individual functions
7985         previously called from main.
7987         * math/libm-test.inc: Remove comment listing functions tested and
7988         not tested.
7990 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7992         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
7993         (allocate_stack): Remove COLORING_INCREMENT usage.
7994         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
7995         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
7997 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7999         * manual/libm-err-tab.pl (@all_functions): Change to
8000         %all_functions.  Initialize as empty.
8001         (parse_ulps): Add to %all_functions based on functions found in
8002         ulps files.  Ignore results for non-default rounding modes and
8003         vector functions.
8004         (print_platforms): Use %all_platforms.
8005         * manual/math.texi (Errors in Math Functions): Document omissions
8006         from the table.
8008         * math/Makefile (before-compile): Remove.
8010 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
8012         [BZ #21075]
8013         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
8014         unused assignment.
8015         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8017 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8019         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
8020         Add __glibc_unlikely hint.
8022 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8024         [BZ #16640]
8025         * sysdeps/i386/i686/strtok.S: Remove file.
8026         * sysdeps/i386/i686/strtok_r.S: Likewise.
8027         * sysdeps/i386/strtok.S: Likewise.
8028         * sysdeps/i386/strtok_r.S: Likewise.
8029         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
8030         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
8031         * sysdeps/x86_64/strtok.S: Likewise.
8032         * sysdeps/x86_64/strtok_r.S: Likewise.
8034         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
8035         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8036         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8037         (__ASSUME_FADVISE64_AS_64_64): Define.
8038         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
8039         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
8040         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
8041         __ALIGNMENT_ARG usage.
8042         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
8043         __NR_fadvise64_64 if it is not defined.
8045 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8047         * version.h (RELEASE): Set to "development"
8048         (VERSION): Set to 2.25.90.
8049         * NEWS: Add 2.26 section.
8051         * version.h (RELEASE): Set to "stable"
8052         (VERSION): Set to 2.25.
8053         * include/features.h (__GLIBC_MINOR__): Set to 25.
8055         * manual/contrib.texi: Add more contributors from this release
8056         and past releases.
8058         * NEWS (2.25): Add list of bugs fixed.
8060         * NEWS: Add missing news items.
8062 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8064         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
8065         parent if child exited in that manner.  Print WEXITSTATUS
8066         instead of the raw status.
8067         (do_test_prep): Rename to do_test.
8068         (do_test): Return the result of run_executable_sgid.
8069         (TEST_FUNCTION_ARGV): Adjust.
8071 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
8072             Florian Weimer  <fweimer@redhat.com>
8073             Carlos O'Donell  <carlos@redhat.com>
8075         [BZ #20915]
8076         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
8077         Do not initialize DTV.
8078         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8080 2017-02-03  David S. Miller  <davem@davemloft.net>
8082         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
8083         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8084         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
8085         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8086         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
8087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
8089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8090         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8091         (libm-sysdep_routines): Update.
8092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
8093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
8094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
8096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8097         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
8098         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
8099         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
8100         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
8101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
8102         Likewise.
8103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
8105         Likewise.
8106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
8108         Likewise.
8109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
8111         Likewise.
8112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8114         (libm-sysdep_routines): Update.
8116 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8118         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
8119         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
8120         against unrelocated shared library.
8121         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8123 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8125         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
8126         * elf/tst-env-setuid-tunables.c
8127         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
8128         GLIBC_TUNABLES is removed in a setgid process.
8130         [BZ #21073]
8131         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
8132         * elf/dl-tunables.c (tunables_strdup): Remove.
8133         (get_next_env): Also return the previous envp.
8134         (parse_tunables): Erase tunables of category
8135         TUNABLES_SECLEVEL_SXID_ERASE.
8136         (maybe_enable_malloc_check): Make MALLOC_CHECK_
8137         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
8138         (__tunables_init)[TUNABLES_FRONTEND ==
8139         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
8140         after parsing.
8141         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
8142         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
8143         * elf/dl-tunables.h (struct _tunable): Change member is_secure
8144         to security_level.
8145         * elf/dl-tunables.list: Add security_level annotations for all
8146         tunables.
8147         * scripts/gen-tunables.awk: Recognize and generate enum values
8148         for security_level.
8149         * elf/tst-env-setuid.c: New test case.
8150         * elf/tst-env-setuid-tunables: new test case.
8151         * elf/Makefile (tests-static): Add them.
8153 2017-02-01  Richard Henderson  <rth@twiddle.net>
8155         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
8156         adjusting the byte count.
8158 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
8160         * conform/Makefile (linknamespace-libs): Define.
8162         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
8163         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
8164         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
8165         operands.
8167 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
8169         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
8171 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8173         [BZ #21081]
8174         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8175         (L(stosb)): Add VZEROUPPER before ret.
8177 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
8178             Alexey Makhalov <amakhalov@vmware.com>
8179             Florian Weimer <fweimer@redhat.com>
8181         [BZ #20116]
8182         * nptl/pthread_create.c: Document concurrency notes.
8183         Enhance thread creation notes.
8184         (create_thread): Use bool *stopped_start.
8185         (START_THREAD_DEFN): Comment ownership of PD.
8186         (__pthread_create_2_1): Add local bool stopped_start and use
8187         that instead of pd->stopped_start where appropriate.
8188         * nptl/createthread.c (create_thread): Use bool *stopped_start.
8189         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
8190         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8191         * nptl/tst-create-detached.c: New file.
8192         * nptl/Makefile (tests): Add tst-create-detached.
8193         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8194         Reference the enhanced thread creation notes.
8195         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
8196         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8197         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
8198         (__pthread_current_priority): Likewise.
8199         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
8200         xpthread_attr_init, xpthread_attr_setdetachstate, and
8201         xpthread_attr_setstacksize.
8202         * support/xpthread_attr_destroy.c: New file.
8203         * support/xpthread_attr_init.c: New file.
8204         * support/xpthread_attr_setdetachstate.c: New file.
8205         * support/xpthread_attr_setstacksize.c: New file.
8206         * support/xthread.h: Define prototypes for xpthread_attr_destroy
8207         xpthread_attr_init, xpthread_attr_setdetachstate, and
8208         xpthread_attr_setstacksize.
8210 2017-01-27  Florian Weimer  <fweimer@redhat.com>
8212         * nptl/Makefile (tests): Add tst-robust-fork.
8213         * nptl/tst-robust-fork.c: New file.
8214         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
8215         xpthread_mutex_consistent, xpthread_mutex_destroy,
8216         xpthread_mutex_init, xpthread_mutexattr_destroy,
8217         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
8218         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
8219         xpthread_mutexattr_settype.
8220         * support/xmmap.c: New file.
8221         * support/xmunmap.c: Likewise.
8222         * support/xpthread_mutex_consistent.c: Likewise.
8223         * support/xpthread_mutex_destroy.c: Likewise.
8224         * support/xpthread_mutex_init.c: Likewise.
8225         * support/xpthread_mutexattr_destroy.c: Likewise.
8226         * support/xpthread_mutexattr_init.c: Likewise.
8227         * support/xpthread_mutexattr_setprotocol.c: Likewise.
8228         * support/xpthread_mutexattr_setpshared.c: Likewise.
8229         * support/xpthread_mutexattr_setrobust.c: Likewise.
8230         * support/xpthread_mutexattr_settype.c: Likewise.
8231         * support/xthread.h (xpthread_mutexattr_destroy)
8232         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
8233         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
8234         (xpthread_mutexattr_settype, xpthread_mutex_init)
8235         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
8236         * support/xunistd.h (xmmap, xmunmap): Likewise.
8238 2017-01-25  Florian Weimer  <fweimer@redhat.com>
8240         * string/Makefile (xtests): Add comment.
8241         (LOCALES): Add en_GB.UTF-8.
8242         (tst-strcoll-overflow.out): Depend on generated locales.
8243         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
8244         (SIZE, TIMEOUT): Update comments.
8245         (do_test): Define as static.  Fail test if setlocale fails.
8246         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
8247         messages.
8248         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
8249         TIMEOUT at 300 seconds should be enough to run this test
8250         successfully.
8252 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
8254         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
8255         /* FALLTHRU */ comments.
8257 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
8259         [BZ #21053]
8260         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
8261         constants instead of the old R* ones.
8262         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
8263         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
8264         (NGREG): ... to this, to fit in with other architectures.
8265         (gpregset_t): Use new NGREG macro.
8266         [__USE_GNU]: Remove condition; all architectures other than tile
8267         are unconditional.
8268         (R*): Rename to REG_R*.
8270 2017-01-20  DJ Delorie  <dj@redhat.com>
8272         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
8273         (tunable_set_val_if_valid_range_signed) ... this, and ...
8274         (tunable_set_val_if_valid_range_unsigned) ... this.
8275         (tunable_initialize): Call the correct one of the above based on type.
8277 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
8279         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
8280         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8281         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8282         * sysdeps/microblaze/libm-test-ulps: Likewise.
8283         * sysdeps/sh/libm-test-ulps: Likewise.
8285         * math/README.libm-test: Update list of characters for input and
8286         output types.
8288 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8290         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8291         (__lll_unlock_elision): Fix adapt_count decrement.
8293 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
8295         * README.pretty-printers (Known issues): Warn about printers not
8296         always covering everything.
8297         * nptl/nptl-printers.py (MutexPrinter): Change output.
8298         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
8300 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8302         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
8303         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8304         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
8305         (__lll_lock_elision): Do not test futex before starting a
8306         transaction.  Use __glibc_likely instead of __builtin_expect.
8307         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
8308         (__lll_trylock_elision): Do not test futex before starting a
8309         transaction.  Use __glibc_likely instead of __builtin_expect.
8311 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8313         * po/Makefile (update-translations): New target.
8315 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8317         [BZ #21061]
8318         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
8320 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8322         * elf/dl-tunables (get_next_env): Always advance envp.
8323         * stdlib/tst-empty-env.c: New test case.
8324         * stdlib/Makefile (tests): Use it.
8326 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8328         [BZ #21047]
8329         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
8330         name for instruction.
8331         [!__SOFTFP__] (_FPU_SETCW): Likewise.
8333 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8335         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
8336         for make install.
8338 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8340         * po/bg.po: Merge from Translation Project.
8341         * po/fr.po: Likewise.
8342         * po/ko.po: Likewise.
8343         * po/nl.po: Likewise.
8344         * po/sv.po: Likewise.
8346 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8348         * manual/install.texi (Tools for Compilation): Update GCC version
8349         known to work to build glibc.
8350         * INSTALL: Regenerated.
8352 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8354         [BZ #21006]
8355         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
8357 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
8359         [BZ #21045]
8360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8361         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
8362         to __sigprocmask.
8364 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
8366         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
8367         wrap-around.
8368         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
8370         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
8372 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8374         * NEWS: Fix typo.
8376 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8378         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
8379         barriers and comments.
8380         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
8381         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8382         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8384 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8386         [BZ #19402]
8387         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
8388         mutexes.
8390 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8392         [BZ #20985]
8393         * nptl/Makefile: Adapt.
8394         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8395         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8396         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8397         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8398         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
8399         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
8400         lll_robust* functions and adapt.
8401         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8402         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
8403         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8404         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8405         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
8406         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8407         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
8408         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8409         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
8410         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8411         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8412         * nptl/lowlevelrobustlock.c: Remove file.
8413         * nptl/lowlevelrobustlock.sym: Likewise.
8414         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
8415         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
8417 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8419         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8421 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8423         * po/cs.po: Merge translations from the Translation Project.
8424         * po/de.po: Likewise.
8425         * po/pl.po: Likewise.
8426         * po/ru.po: Likewise.
8427         * po/tr.po: Likewise.
8428         * po/uk.po: Likewise.
8429         * po/vi.po: Likewise.
8430         * po/zh_CN.po: Likewise.
8432 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
8434         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
8436         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
8437         object.
8439 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
8441         [BZ #16458]
8442         * bits/uintn-identity.h: New file.
8443         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
8444         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
8445         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
8446         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
8447         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
8448         * string/endian.h: Include <bits/uintn-identity.h>.
8449         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
8450         __uint16_identity.
8451         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
8452         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
8453         __uint32_identity.
8454         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
8455         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
8456         __uint64_identity.
8457         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
8458         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
8459         __uint16_identity.
8460         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
8461         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
8462         __uint32_identity.
8463         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
8464         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
8465         __uint64_identity.
8466         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
8467         * string/Makefile (headers): Add bits/uintn-identity.h.
8468         (tests): Add test-endian-types.
8469         * string/test-endian-types.c: New file.
8470         * inet/Makefile (tests): Add test-hnto-types.
8471         * inet/test-hnto-types.c: New file.
8473 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8475         * po/be.po: Update from Translation Project.
8476         * po/bg.po: Likewise.
8477         * po/ca.po: Likewise.
8478         * po/cs.po: Likewise.
8479         * po/da.po: Likewise.
8480         * po/de.po: Likewise.
8481         * po/el.po: Likewise.
8482         * po/eo.po: Likewise.
8483         * po/es.po: Likewise.
8484         * po/fi.po: Likewise.
8485         * po/fr.po: Likewise.
8486         * po/gl.po: Likewise.
8487         * po/hr.po: Likewise.
8488         * po/hu.po: Likewise.
8489         * po/ia.po: Likewise.
8490         * po/id.po: Likewise.
8491         * po/it.po: Likewise.
8492         * po/ja.po: Likewise.
8493         * po/ko.po: Likewise.
8494         * po/lt.po: Likewise.
8495         * po/nb.po: Likewise.
8496         * po/nl.po: Likewise.
8497         * po/pl.po: Likewise.
8498         * po/pt_BR.po: Likewise.
8499         * po/ru.po: Likewise.
8500         * po/rw.po: Likewise.
8501         * po/sk.po: Likewise.
8502         * po/sl.po: Likewise.
8503         * po/sv.po: Likewise.
8504         * po/tr.po: Likewise.
8505         * po/uk.po: Likewise.
8506         * po/vi.po: Likewise.
8507         * po/zh_CN.po: Likewise.
8508         * po/zh_TW.po: Likewise.
8510 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
8512         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
8513         -Wformat-truncation instead of -Wformat-length.
8514         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
8515         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
8516         GCC 7.
8517         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
8518         (do_test): Ignore -Wformat-truncation for GCC 7.
8520         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
8521         buffer used to print long int value.
8523         * elf/sotruss-lib.c (init): Increase space allocated for pid by
8524         one byte.  Print it with %ld, cast to long int.
8526 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8528         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
8529         (re.fullmatch, subprocess.run): Likewise.
8531 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8533         * po/libc.pot: Regenerate.
8535 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8537         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
8538         (min_strlen): Likewise.
8539         (disable_tunable): Likewise.
8540         (maybe_disable_malloc_check): Rename to
8541         maybe_enable_malloc_check.
8542         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
8543         if /etc/suid-debug file exists.
8544         (__tunables_init): Update caller.
8545         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
8546         secure.
8548 2016-01-10  Torvald Riegel  <triegel@redhat.com>
8550         * nptl/DESIGN-rwlock.txt: Remove.
8551         * nptl/lowlevelrwlock.sym: Remove.
8552         * nptl/Makefile: Add new tests.
8553         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
8554         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
8555         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
8556         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
8557         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
8558         PTHREAD_RWLOCK_FUTEX_USED): New.
8559         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
8560         implementation.
8561         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
8562         (__pthread_rwlock_rdlock): Adapt.
8563         * nptl/pthread_rwlock_timedrdlock.c
8564         (pthread_rwlock_timedrdlock): Adapt.
8565         * nptl/pthread_rwlock_timedwrlock.c
8566         (pthread_rwlock_timedwrlock): Adapt.
8567         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
8568         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
8569         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
8570         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
8571         (__pthread_rwlock_wrlock): Adapt.
8572         * nptl/tst-rwlock10.c: Adapt.
8573         * nptl/tst-rwlock11.c: Adapt.
8574         * nptl/tst-rwlock17.c: New file.
8575         * nptl/tst-rwlock18.c: New file.
8576         * nptl/tst-rwlock19.c: New file.
8577         * nptl/tst-rwlock2b.c: New file.
8578         * nptl/tst-rwlock8.c: Adapt.
8579         * nptl/tst-rwlock9.c: Adapt.
8580         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8581         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8582         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8583         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8584         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8585         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8586         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8587         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8588         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8589         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8590         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8591         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8592         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8593         (pthread_rwlock_t): Adapt.
8594         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8595         (pthread_rwlock_t): Adapt.
8596         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8597         * nptl/nptl-printers.py (): Adapt.
8598         * nptl/nptl_lock_constants.pysym: Adapt.
8599         * nptl/test-rwlock-printers.py: Adapt.
8600         * nptl/test-rwlockattr-printers.c: Adapt.
8601         * nptl/test-rwlockattr-printers.py: Adapt.
8603 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
8605         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
8606         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
8607         (fma_test_data): Likewise.
8608         (hypot_test_data): Likewise.
8609         (log1p_test_data): Likewise.
8610         (modf_test_data): Likewise.
8611         (pow_test_data): Likewise.
8612         (remainder_test_data): Likewise.
8613         (remquo_test_data): Likewise.
8614         (scalb_test_data): Likewise.
8615         (scalbn_test_data): Likewise.
8616         (scalbln_test_data): Likewise.
8617         * math/gen-libm-test.pl (parse_args): Transform
8618         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
8619         on the rounding mode.
8621 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
8623         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
8624         xfail-rounding:ibm128-libgcc automatically to tests overflowing
8625         and those that can underflow to zero.
8626         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
8627         add others.
8628         * math/auto-libm-test-out: Regenerated.
8630         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
8631         supported.
8632         (feholdexcept_tests): Skip tests requiring exceptions or rounding
8633         modes support if not supported.
8635         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
8636         Add libc.so PLT entry.
8637         (__tls_get_addr): Make ld.so PLT entry optional.
8639 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8641         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
8642         * string/bits/string3.h: ... here.
8644 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
8646         [BZ #21028]
8647         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
8648         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
8649         if EXCEPTION_TESTS returns false.
8651 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8653         [BZ #20558]
8654         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
8655         strings_fortified.h.
8656         [__USE_MISC] (bzero): Likewise.
8657         [__USE_MISC] (explicit_bzero): Likewise.
8658         * string/strings.h: Include strings_fortified.h.
8659         * string/Makefile (headers): Add strings_fortified.h.
8660         * string/bits/strings_fortified.h: New file.
8661         * include/bits/strings_fortified.h: Likewise.
8663 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
8665         * elf/tst-tls13.c (TIMEOUT): Remove.
8666         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
8667         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
8668         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
8669         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
8670         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
8672         [BZ #21026]
8673         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
8674         (readahead): New syscall entry.
8676 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
8678         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
8679         around tests of strncat with large sizes.
8681         * malloc/tst-malloc.c: Include <libc-internal.h>.
8682         (do_test): Disable -Walloc-size-larger-than= around tests of
8683         malloc with negative sizes.
8684         * malloc/tst-mcheck.c: Include <libc-internal.h>.
8685         (do_test): Disable -Walloc-size-larger-than= around tests of
8686         malloc and realloc with negative sizes.
8687         * malloc/tst-realloc.c: Include <libc-internal.h>.
8688         (do_test): Disable -Walloc-size-larger-than= around tests of
8689         realloc with negative sizes.
8691         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
8692         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
8693         allowed to 16 ulps.
8694         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
8695         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
8696         * math/auto-libm-test-out: Regenerated.
8698 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8700         * math/Makefile (libm-calls): Move wrappers...
8701         (libm-compat-call-auto): Here.
8702         (libm-routines): Add items in libm-compat-calls-auto.
8703         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
8704         the filenames of the wrappers that have been renamed.
8705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
8706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8708         * math/w_acos.c: Add _compat suffix to filename.
8709         * math/w_acosf.c: Likewise.
8710         * math/w_acosh.c: Likewise.
8711         * math/w_acoshf.c: Likewise.
8712         * math/w_acoshl.c: Likewise.
8713         * math/w_acosl.c: Likewise.
8714         * math/w_asin.c: Likewise.
8715         * math/w_asinf.c: Likewise.
8716         * math/w_asinl.c: Likewise.
8717         * math/w_atan2.c: Likewise.
8718         * math/w_atan2f.c: Likewise.
8719         * math/w_atan2l.c: Likewise.
8720         * math/w_atanh.c: Likewise.
8721         * math/w_atanhf.c: Likewise.
8722         * math/w_atanhl.c: Likewise.
8723         * math/w_cosh.c: Likewise.
8724         * math/w_coshf.c: Likewise.
8725         * math/w_coshl.c: Likewise.
8726         * math/w_exp10.c: Likewise.
8727         * math/w_exp10f.c: Likewise.
8728         * math/w_exp10l.c: Likewise.
8729         * math/w_exp2.c: Likewise.
8730         * math/w_exp2f.c: Likewise.
8731         * math/w_exp2l.c: Likewise.
8732         * math/w_fmod.c: Likewise.
8733         * math/w_fmodf.c: Likewise.
8734         * math/w_fmodl.c: Likewise.
8735         * math/w_hypot.c: Likewise.
8736         * math/w_hypotf.c: Likewise.
8737         * math/w_hypotl.c: Likewise.
8738         * math/w_j0.c: Likewise.
8739         * math/w_j0f.c: Likewise.
8740         * math/w_j0l.c: Likewise.
8741         * math/w_j1.c: Likewise.
8742         * math/w_j1f.c: Likewise.
8743         * math/w_j1l.c: Likewise.
8744         * math/w_jn.c: Likewise.
8745         * math/w_jnf.c: Likewise.
8746         * math/w_jnl.c: Likewise.
8747         * math/w_log10.c: Likewise.
8748         * math/w_log10f.c: Likewise.
8749         * math/w_log10l.c: Likewise.
8750         * math/w_log2.c: Likewise.
8751         * math/w_log2f.c: Likewise.
8752         * math/w_log2l.c: Likewise.
8753         * math/w_log.c: Likewise.
8754         * math/w_logf.c: Likewise.
8755         * math/w_logl.c: Likewise.
8756         * math/w_pow.c: Likewise.
8757         * math/w_powf.c: Likewise.
8758         * math/w_powl.c: Likewise.
8759         * math/w_remainder.c: Likewise.
8760         * math/w_remainderf.c: Likewise.
8761         * math/w_remainderl.c: Likewise.
8762         * math/w_scalb.c: Likewise.
8763         * math/w_scalbf.c: Likewise.
8764         * math/w_scalbl.c: Likewise.
8765         * math/w_sinh.c: Likewise.
8766         * math/w_sinhf.c: Likewise.
8767         * math/w_sinhl.c: Likewise.
8768         * math/w_sqrt.c: Likewise.
8769         * math/w_sqrtf.c: Likewise.
8770         * math/w_sqrtl.c: Likewise.
8771         * math/w_tgamma.c: Likewise.
8772         * math/w_tgammaf.c: Likewise.
8773         * math/w_tgammal.c: Likewise.
8775         * math/w_acos_compat.c: New file copied from above and
8776         adjusted for new #includes path
8777         * math/w_acosf_compat.c: Likewise.
8778         * math/w_acosh_compat.c: Likewise.
8779         * math/w_acoshf_compat.c: Likewise.
8780         * math/w_acoshl_compat.c: Likewise.
8781         * math/w_acosl_compat.c: Likewise.
8782         * math/w_asin_compat.c: Likewise.
8783         * math/w_asinf_compat.c: Likewise.
8784         * math/w_asinl_compat.c: Likewise.
8785         * math/w_atan2_compat.c: Likewise.
8786         * math/w_atan2f_compat.c: Likewise.
8787         * math/w_atan2l_compat.c: Likewise.
8788         * math/w_atanh_compat.c: Likewise.
8789         * math/w_atanhf_compat.c: Likewise.
8790         * math/w_atanhl_compat.c: Likewise.
8791         * math/w_cosh_compat.c: Likewise.
8792         * math/w_coshf_compat.c: Likewise.
8793         * math/w_coshl_compat.c: Likewise.
8794         * math/w_exp10_compat.c: Likewise.
8795         * math/w_exp10f_compat.c: Likewise.
8796         * math/w_exp10l_compat.c: Likewise.
8797         * math/w_exp2_compat.c: Likewise.
8798         * math/w_exp2f_compat.c: Likewise.
8799         * math/w_exp2l_compat.c: Likewise.
8800         * math/w_fmod_compat.c: Likewise.
8801         * math/w_fmodf_compat.c: Likewise.
8802         * math/w_fmodl_compat.c: Likewise.
8803         * math/w_hypot_compat.c: Likewise.
8804         * math/w_hypotf_compat.c: Likewise.
8805         * math/w_hypotl_compat.c: Likewise.
8806         * math/w_j0_compat.c: Likewise.
8807         * math/w_j0f_compat.c: Likewise.
8808         * math/w_j0l_compat.c: Likewise.
8809         * math/w_j1_compat.c: Likewise.
8810         * math/w_j1f_compat.c: Likewise.
8811         * math/w_j1l_compat.c: Likewise.
8812         * math/w_jn_compat.c: Likewise.
8813         * math/w_jnf_compat.c: Likewise.
8814         * math/w_jnl_compat.c: Likewise.
8815         * math/w_log10_compat.c: Likewise.
8816         * math/w_log10f_compat.c: Likewise.
8817         * math/w_log10l_compat.c: Likewise.
8818         * math/w_log2_compat.c: Likewise.
8819         * math/w_log2f_compat.c: Likewise.
8820         * math/w_log2l_compat.c: Likewise.
8821         * math/w_log_compat.c: Likewise.
8822         * math/w_logf_compat.c: Likewise.
8823         * math/w_logl_compat.c: Likewise.
8824         * math/w_pow_compat.c: Likewise.
8825         * math/w_powf_compat.c: Likewise.
8826         * math/w_powl_compat.c: Likewise.
8827         * math/w_remainder_compat.c: Likewise.
8828         * math/w_remainderf_compat.c: Likewise.
8829         * math/w_remainderl_compat.c: Likewise.
8830         * math/w_scalb_compat.c: Likewise.
8831         * math/w_scalbf_compat.c: Likewise.
8832         * math/w_scalbl_compat.c: Likewise.
8833         * math/w_sinh_compat.c: Likewise.
8834         * math/w_sinhf_compat.c: Likewise.
8835         * math/w_sinhl_compat.c: Likewise.
8836         * math/w_sqrt_compat.c: Likewise.
8837         * math/w_sqrtf_compat.c: Likewise.
8838         * math/w_sqrtl_compat.c: Likewise.
8839         * math/w_tgamma_compat.c: Likewise.
8840         * math/w_tgammaf_compat.c: Likewise.
8841         * math/w_tgammal_compat.c: Likewise.
8843         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
8844         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
8845         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
8846         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
8847         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
8848         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
8849         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
8850         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
8851         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
8852         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
8853         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
8854         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
8855         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
8856         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
8857         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
8858         * sysdeps/ia64/fpu/w_powl.c: Likewise.
8859         * sysdeps/ia64/fpu/w_powf.c: Likewise.
8860         * sysdeps/ia64/fpu/w_pow.c: Likewise.
8861         * sysdeps/ia64/fpu/w_logl.c: Likewise.
8862         * sysdeps/ia64/fpu/w_logf.c: Likewise.
8863         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
8864         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
8865         * sysdeps/ia64/fpu/w_log2.c: Likewise.
8866         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
8867         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
8868         * sysdeps/ia64/fpu/w_log10.c: Likewise.
8869         * sysdeps/ia64/fpu/w_log.c: Likewise.
8870         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
8871         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
8872         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
8873         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
8874         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
8875         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
8876         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
8877         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
8878         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
8879         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
8880         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
8881         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
8882         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
8883         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
8884         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
8885         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
8886         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
8887         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
8888         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
8889         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
8890         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
8891         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
8892         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
8893         * sysdeps/ia64/fpu/w_asin.c: Likewise.
8894         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
8895         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
8896         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
8897         * sysdeps/ia64/fpu/w_acos.c: Likewise.
8898         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
8899         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
8900         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
8901         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
8902         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
8903         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
8904         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
8905         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
8906         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
8907         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
8908         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
8909         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
8910         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
8911         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
8912         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
8913         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
8914         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
8915         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
8916         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
8917         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
8918         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
8919         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
8920         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
8921         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
8922         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
8923         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
8924         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
8925         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
8926         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
8927         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
8928         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
8929         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
8930         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
8931         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
8932         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
8933         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
8934         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
8935         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
8936         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
8937         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
8938         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
8939         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
8940         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
8941         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
8942         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
8943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
8944         Likewise.
8945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
8946         Likewise.
8947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
8948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
8949         Likewise.
8950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
8951         Likewise.
8952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
8953         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8954         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8955         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8956         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8957         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8958         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
8960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
8962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8963         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8964         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8965         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8966         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8968         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
8969         and adjusted for new #includes path
8970         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
8971         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
8972         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
8973         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
8974         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
8975         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
8976         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
8977         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
8978         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
8979         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
8980         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
8981         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
8982         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
8983         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
8984         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
8985         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
8986         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
8987         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
8988         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
8989         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
8990         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
8991         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
8992         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
8993         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
8994         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
8995         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
8996         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
8997         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
8998         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
8999         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
9000         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
9001         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
9002         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
9003         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
9004         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
9005         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
9006         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
9007         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
9008         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
9009         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
9010         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
9011         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
9012         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
9013         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
9014         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
9015         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
9016         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
9017         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
9018         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
9019         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
9020         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
9021         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
9022         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
9023         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
9024         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
9025         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
9026         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
9027         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
9028         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9029         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9030         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9031         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9032         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9033         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9034         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9035         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9036         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9037         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9038         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9039         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
9040         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
9041         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9042         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9043         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9044         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9045         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9046         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9047         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9048         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9049         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9050         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9051         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9052         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9053         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9054         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9055         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9056         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9057         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9058         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9059         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
9060         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
9061         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
9062         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
9063         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9064         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9065         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9066         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9067         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9068         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
9070         Likewise.
9071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
9072         Likewise.
9073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
9074         Likewise.
9075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
9076         Likewise.
9077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
9078         Likewise.
9079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
9080         Likewise.
9081         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
9082         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
9083         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
9084         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
9085         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9086         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9088         Likewise.
9089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
9090         Likewise.
9091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9092         Likewise.
9093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
9094         Likewise.
9095         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9096         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9097         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9098         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9100 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9102         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
9103         __jmp_buf_internal_tag.
9105         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
9106         preserve NaN payload if [__mips_nan2008].
9107         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
9109         [BZ #21022]
9110         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
9112 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9114         * sysdeps/i386/fpu/libm-test-ulps: Update.
9116 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9118         * sysdeps/ia64/strcat.c: Remove file.
9119         * sysdeps/powerpc/strcat.c: Likewise.
9120         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
9121         C implementation.
9122         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
9123         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
9125 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9126             Steven Munroe  <sjmunroe@us.ibm.com>
9127             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9129         [BZ #20822]
9130         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9131         (__lll_lock_elision): Access adapt_count via C11 atomics.
9132         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9133         (__lll_trylock_elision): Likewise.
9134         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9135         (__lll_unlock_elision):  Update adapt_count variable inside the
9136         critical section using C11 atomics.
9138 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9140         * math/test-fenvinline.c (do_test): Disable tests of raised
9141         exceptions if !EXCEPTION_TESTS (FLOAT).
9143 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9145         [BZ #19390]
9146         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
9147         maximum string size.
9148         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
9149         in pointer addition.
9150         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
9151         Likewise.
9153 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9155         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
9156         passed to tst-ldconfig-X.sh.
9158 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
9160         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
9162 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9164         [BZ #21019]
9165         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
9166         New syscall entry.
9167         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
9168         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
9169         lseek.
9171         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9172         power4 glibc for powerpc-linux-gnu.
9174 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9176         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
9177         semctl.
9179 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9181         * math/test-nearbyint-except.c: Include <stdbool.h>.
9182         (any_supported): New variable.
9183         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
9184         set any_supported.
9185         (do_test): Return 77 if no floating-point type supported
9186         exceptions.
9188         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
9189         condition on [__mips_hard_float].
9191 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9193         [BZ #21014]
9194         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
9195         in pointer addition.
9196         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
9198 2017-01-02  Torvald Riegel  <triegel@redhat.com>
9200         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
9201         new condvar.
9203 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9205         * scripts/build-many-glibcs.py (Context.checkout): Default
9206         binutils version to 2.28 branch.
9208 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9210         * support/support_format_netent.c (support_format_netent): Work
9211         around alpha struct netent definition difference.
9213 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9215         * support/xwrite.c (xwrite): Use %td for pointer difference.
9217 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9219         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
9220         have-tunables only.
9221         (tests-static): Add tst-malloc-usable-static-tunables for
9222         have-tunables only.
9224 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
9226         * scripts/config.guess: Update to version 2017-01-01.
9227         * scripts/config.sub: Update to version 2017-01-01.
9229         * NEWS: Update copyright dates.
9230         * catgets/gencat.c (print_version): Likewise.
9231         * csu/version.c (banner): Likewise.
9232         * debug/catchsegv.sh: Likewise.
9233         * debug/pcprofiledump.c (print_version): Likewise.
9234         * debug/xtrace.sh (do_version): Likewise.
9235         * elf/ldconfig.c (print_version): Likewise.
9236         * elf/ldd.bash.in: Likewise.
9237         * elf/pldd.c (print_version): Likewise.
9238         * elf/sotruss.sh: Likewise.
9239         * elf/sprof.c (print_version): Likewise.
9240         * iconv/iconv_prog.c (print_version): Likewise.
9241         * iconv/iconvconfig.c (print_version): Likewise.
9242         * locale/programs/locale.c (print_version): Likewise.
9243         * locale/programs/localedef.c (print_version): Likewise.
9244         * login/programs/pt_chown.c (print_version): Likewise.
9245         * malloc/memusage.sh (do_version): Likewise.
9246         * malloc/memusagestat.c (print_version): Likewise.
9247         * malloc/mtrace.pl: Likewise.
9248         * manual/libc.texinfo: Likewise.
9249         * nptl/version.c (banner): Likewise.
9250         * nscd/nscd.c (print_version): Likewise.
9251         * nss/getent.c (print_version): Likewise.
9252         * nss/makedb.c (print_version): Likewise.
9253         * posix/getconf.c (main): Likewise.
9254         * scripts/test-installation.pl: Likewise.
9255         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9257         * All files with FSF copyright notices: Update copyright dates
9258         using scripts/update-copyrights.
9259         * intl/plural.c: Regenerated.
9260         * locale/programs/charmap-kw.h: Likewise.
9261         * locale/programs/locfile-kw.h: Likewise.
9263 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9265         [BZ #20593]
9266         Update DNS RR type definitions.
9267         * scripts/gen-rrtypes.py: New file.
9268         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
9269         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
9270         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
9271         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
9272         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
9273         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
9274         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
9275         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
9276         ns_t_ta, ns_t_dlv.
9277         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
9278         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
9279         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
9280         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
9281         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
9282         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
9283         Define.
9284         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
9285         entry for ns_t_zxfr.
9287 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9289         [BZ #18784]
9290         CVE-2015-5180
9291         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
9292         T_UNSPEC.  Adjust value.
9293         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
9294         * resolv/res_query.c (__libc_res_nquery): Likewise.
9295         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
9296         QTYPEs.
9297         * resolv/tst-resolv-qtypes.c: New file.
9298         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
9299         (tst-resolv-qtypes): Link against libresolv and libpthread.
9301 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9303         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
9305 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9307         * manual/tunables.texi: New chapter.
9308         * manual/Makefile (chapters): Add it.
9309         * manual/probes.texi (@node): Point to the Tunables chapter.
9311         * Makeconfig (have-tunables): Check for non-negative instead
9312         of positive.
9313         * configure.ac: Add 'valstring' as a valid value for
9314         --enable-tunables.
9315         * configure: Regenerate.
9316         * elf/Makefile (have-tunables): Check for non-negative instead
9317         of positive.
9318         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
9319         dl-tunables.c.
9320         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
9321         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9322         (tunables_strdup): Likewise.
9323         (disable_tunables): Likewise.
9324         (parse_tunables): Likewise.
9325         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
9326         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9327         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
9328         (TUNABLES_FRONTEND_yes): New macro, define as
9329         TUNABLES_FRONTEND_valstring by default.
9330         * manual/install.texi: Document new acceptable values for
9331         --enable-tunables.
9332         * INSTALL: Regenerate.
9334         * config.make.in (have-loop-to-function): Define.
9335         * elf/Makefile (CFLAGS-dl-tunables.c): Add
9336         -fno-tree-loop-distribute-patterns.
9337         * elf/dl-tunables.c: Include libc-internals.h.
9338         (GLIBC_TUNABLES): New macro.
9339         (tunables_strdup): New function.
9340         (parse_tunables): New function.
9341         (min_strlen): New function.
9342         (__tunables_init): Use the new functions and macro.
9343         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
9344         * malloc/tst-malloc-usable-tunables.c: New test case.
9345         * malloc/tst-malloc-usable-static-tunables.c: New test case.
9346         * malloc/Makefile (tests, tests-static): Add tests.
9348         * manual/install.texi: Add --enable-tunables option.
9349         * INSTALL: Regenerate.
9350         * README.tunables: New file.
9351         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
9352         (before-compile): Generate dl-tunable-list.h early.
9353         * config.h.in: Add HAVE_TUNABLES.
9354         * config.make.in: Add have-tunables.
9355         * configure.ac: Add --enable-tunables option.
9356         * configure: Regenerate.
9357         * csu/init-first.c (__libc_init_first): Move
9358         __libc_init_secure earlier...
9359         * csu/init-first.c (LIBC_START_MAIN):... to here.
9360         Include dl-tunables.h, libc-internal.h.
9361         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
9362         binaries.
9363         * elf/Makefile (dl-routines): Add dl-tunables.
9364         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
9365         namespace.
9366         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
9367         only when !HAVE_TUNABLES.
9368         * elf/rtld.c (process_envvars): Likewise.
9369         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
9370         (_dl_sysdep_start): Call __tunables_init.
9371         * elf/dl-tunable-types.h: New file.
9372         * elf/dl-tunables.c: New file.
9373         * elf/dl-tunables.h: New file.
9374         * elf/dl-tunables.list: New file.
9375         * malloc/tst-malloc-usable-static.c: New test case.
9376         * malloc/Makefile (tests-static): Add it.
9377         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
9378         Define TUNABLE_NAMESPACE.
9379         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
9380         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
9381         callback functions.
9382         (ptmalloc_init): Set tunable values.
9383         * scripts/gen-tunables.awk: New file.
9384         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
9385         (_dl_sysdep_start): Call __tunables_init.
9387 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9389         * resolv/resolv.h (RES_BLAST): Deprecate.
9390         * resolv/res_debug.c (p_option): Remove RES_BLAST.
9391         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
9392         to RES_BLAST.
9394 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9396         [BZ #19582]
9397         Deprecate RES_USE_INET6.
9398         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
9399         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
9400         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
9401         RES_USE_INET6.
9402         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
9403         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
9404         (_nss_nisplus_gethostbyaddr_r): Likewise.
9405         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
9406         of res_use_inet6.
9407         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
9408         instead of RES_USE_INET6.
9409         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
9410         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
9411         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
9412         Likewise.
9413         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
9414         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
9415         Likewise.
9416         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
9417         (_nss_dns_gethostbyname_r): Likewise.
9418         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
9419         alternate RES_USE_INET6 handling.
9420         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
9421         instead of RES_USE_INET6.
9422         * resolv/res_init.c (res_setoptions): Likewise.
9423         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
9424         * resolv/resolv-internal.h: New file.
9425         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
9426         make the deprecation warning non-fatal.
9427         * resolv/README (Using the resolver in multi-threaded code): Drop
9428         reference to RES_USE_INET6.
9429         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
9430         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
9432 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9434         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
9435         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
9436         tst-resolv-search.
9437         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
9438         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
9439         with libresolv and libpthread.
9440         * resolv/tst-bug18665.c: New file.
9441         * resolv/tst-bug18665-tcp: Likewise.
9442         * resolv/tst-res_use_inet6: Likewise.
9443         * resolv/tst-resolv-basic: Likewise.
9444         * resolv/tst-resolv-network: Likewise.
9445         * resolv/tst-resolv-search: Likewise.
9446         * support/Makefile (libsupport-routines): Add check_addrinfo,
9447         check_dns_packet, check_hostent, check_netent, resolv_test,
9448         support_format_address_family, support_format_addrinfo,
9449         support_format_dns_packet, support_format_herrno,
9450         support_format_hostent, support_format_netent, support_run_diff,
9451         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
9452         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
9453         xstrdup, xwrite.
9454         * support/check_addrinfo.c: New file.
9455         * support/check_dns_packet.c: Likewise.
9456         * support/check_hostent.c: Likewise.
9457         * support/check_netent.c: Likewise.
9458         * support/check_nss.h: Likewise.
9459         * support/format_nss.h: Likewise.
9460         * support/resolv_test.c: Likewise.
9461         * support/resolv_test.h: Likewise.
9462         * support/run_diff.h: Likewise.
9463         * support/support_format_address_family.c: Likewise.
9464         * support/support_format_addrinfo.c: Likewise.
9465         * support/support_format_dns_packet.c: Likewise.
9466         * support/support_format_herrno.c: Likewise.
9467         * support/support_format_hostent.c: Likewise.
9468         * support/support_format_netent.c: Likewise.
9469         * support/support_run_diff.c: Likewise.
9470         * support/xaccept.c: Likewise.
9471         * support/xbind.c: Likewise.
9472         * support/xconnect.c: Likewise.
9473         * support/xfclose.c: Likewise.
9474         * support/xfopen.c: Likewise.
9475         * support/xgetsockname.c: Likewise.
9476         * support/xlisten.c: Likewise.
9477         * support/xmemstream.c: Likewise.
9478         * support/xmemstream.h: Likewise.
9479         * support/xpoll.c: Likewise.
9480         * support/xpthread_once.c: Likewise.
9481         * support/xrecvfrom.c: Likewise.
9482         * support/xsendto.c: Likewise.
9483         * support/xsetsockopt.c: Likewise.
9484         * support/xstdio.h: Likewise.
9485         * support/xstrdup.c: Likewise.
9486         * support/support.h (xstrdup): Declare.
9487         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
9488         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
9489         * support/xthread.h (xpthread_once): Likwise.
9490         * support/xunistd.h (xwrite): Declare.
9492 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9494         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
9495         (test_verbose): Declare.
9496         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
9497         * support/support_test_main.c (default_options): Likewise.
9498         (usage, support_test_main): Handle 'v'.
9499         (test_verbose): Define.
9500         * support/tst-support_record_failure.c (do_test): Use
9501         test_verbose.
9502         * support/tst-support_record_failure-2.sh (different_status): Add
9503         --verbose test.
9505 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9507         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
9508         test failures are recorded.
9509         * support/check.c (support_print_failure_impl): Call
9510         support_record_failure.
9511         (support_exit_failure_impl): Call support_record_failure if status
9512         indicates failure.
9513         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
9514         * support/xasprintf.c (xasprintf): Likewise.
9515         * support/xfork.c (xfork): Likewise.
9516         * support/xpthread_check_return.c (xpthread_check_return):
9517         Likewise.
9518         * support/xsocket.c (xsocket): Likeweise.
9519         * support/xwaitpid.c (xwaitpid): Likewise.
9520         * support/support_record_failure.c (struct test_failures): Adjust
9521         to coding style.
9522         * support/support_test_verify_impl.c (support_test_verify_impl):
9523         Adjust error messages.
9524         * support/tst-support_record_failure-2.sh (different_status):
9525         Adjust error messages.
9527 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9529         * support/namespace.h: New file.
9530         * support/support_become_root.c: Likewise.
9531         * support/support_enter_network_namespace.c: Likewise.
9532         * support/tst-support-namespace.c: Likewise.
9533         * support/xsocket.c: Likewise.
9534         * support/xsocket.h: Likewise.
9535         * support/Makefile (libsupport-routines): Add support_become_root,
9536         support_enter_network_namespace, xsocket.
9537         (tests): Add tst-support-namespace.
9539 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9541         [BZ #17252]
9542         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
9543         __USE_GNU.
9545 2016-12-31  Torvald Riegel  <triegel@redhat.com>
9547         [BZ #13165]
9548         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
9549         use new algorithm.
9550         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9551         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9552         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9553         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9554         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
9555         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
9556         __condvar_cleanup_waiting, __condvar_dec_grefs,
9557         __pthread_cond_wait_common): New.
9558         (__condvar_cleanup): Remove.
9559         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
9560         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
9561         Likewise.
9562         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
9563         Likewise.
9564         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
9565         * nptl/tst-cond1.c: Add comment.
9566         * nptl/tst-cond20.c (do_test): Adapt.
9567         * nptl/tst-cond22.c (do_test): Likewise.
9568         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
9569         structure.
9570         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9571         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9572         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9573         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
9574         Likewise.
9575         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9576         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9577         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9578         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9579         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9580         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
9581         Likewise.
9582         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
9583         Likewise.
9584         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9585         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
9586         (COND_CLOCK_BITS): Adapt.
9587         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
9588         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
9589         __PTHREAD_COND_SHARED_MASK): New.
9590         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
9591         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
9592         * nptl/nptl_lock_constants.pysym: Adapt.
9593         * nptl/test-cond-printers.py: Adapt.
9594         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
9595         cond_compat_check_and_clear): Adapt.
9596         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
9597         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9598         (__pthread_cond_timedwait): ... and move here.
9599         * nptl/DESIGN-condvar.txt: Remove file.
9600         * nptl/lowlevelcond.sym: Likewise.
9601         * nptl/pthread_cond_timedwait.c: Likewise.
9602         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
9603         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
9604         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
9605         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
9606         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
9607         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
9608         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
9609         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
9610         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
9611         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
9612         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
9613         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
9614         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
9615         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
9616         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
9617         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
9619 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
9621         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9622         (fromfp): New declaration.
9623         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
9624         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
9625         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
9626         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
9627         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
9628         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
9629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
9630         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
9631         * math/math.h: Include <bits/types.h>.
9632         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
9633         constant and macro.
9634         (FP_INT_DOWNWARD): Likewise.
9635         (FP_INT_TOWARDZERO): Likewise.
9636         (FP_INT_TONEARESTFROMZERO): Likewise.
9637         (FP_INT_TONEAREST): Likewise.
9638         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
9639         (fromfpf): Likewise.
9640         (fromfpl): Likewise.
9641         (ufromfp): Likewise.
9642         (ufromfpf): Likewise.
9643         (ufromfpl): Likewise.
9644         (fromfpx): Likewise.
9645         (fromfpxf): Likewise.
9646         (fromfpxl): Likewise.
9647         (ufromfpx): Likewise.
9648         (ufromfpxf): Likewise.
9649         (ufromfpxl): Likewise.
9650         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
9651         s_fromfpxF and s_ufromfpxF.
9652         * math/gen-fromfp-tests.py: New file.
9653         * math/gen-fromfp-tests-inputs: Likewise.
9654         * math/libm-test.inc: Include <stdint.h>
9655         (check_intmax_t): New function.
9656         (check_uintmax_t): Likewise.
9657         (struct test_fiu_M_data): New type.
9658         (struct test_fiu_U_data): Likewise.
9659         (RUN_TEST_fiu_M): New macro.
9660         (RUN_TEST_LOOP_fiu_M): Likewise.
9661         (RUN_TEST_fiu_U): Likewise.
9662         (RUN_TEST_LOOP_fiu_U): Likewise.
9663         (fromfp_test_data): New array.
9664         (fromfp_test): New function.
9665         (fromfpx_test_data): New array.
9666         (fromfpx_test): New function.
9667         (ufromfp_test_data): New array.
9668         (ufromfp_test): New function.
9669         (ufromfpx_test_data): New array.
9670         (ufromfpx_test): New function.
9671         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
9672         ufromfpx_test.
9673         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
9674         characters.
9675         * math/test-tgmath-ret.c: Include <stdint.h>.
9676         (rm): New variable.
9677         (width): Likewise.
9678         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
9679         called function.
9680         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
9681         CHECK_RET_CONST_TYPE.
9682         (CHECK_RET_CONST_DOUBLE): Likewise.
9683         (CHECK_RET_CONST_LDOUBLE): Likewise.
9684         (CHECK_RET_CONST): Take extra arguments and pass them to calls
9685         macros.
9686         (fromfp): New CHECK_RET_CONST call.
9687         (ufromfp): Likewise.
9688         (fromfpx): Likewise.
9689         (ufromfpx): Likewise.
9690         (do_test): Call check_return_fromfp, check_return_ufromfp,
9691         check_return_fromfpx and check_return_ufromfpx.
9692         * math/test-tgmath.c: Include <stdint.h>
9693         (NCALLS): Increase to 138.
9694         (F(compile_test)): Initialize i.  Call fromfp functions.
9695         (F(fromfp)): New function.
9696         (F(fromfpx)): Likewise.
9697         (F(ufromfp)): Likewise.
9698         (F(ufromfpx)): Likewise.
9699         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
9700         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
9701         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
9702         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
9703         ufromfpxl.
9704         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
9705         ufromfp and ufromfpx.
9706         * math/fromfp.h: New file.
9707         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
9708         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
9709         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
9710         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
9711         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
9712         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
9713         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
9714         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
9715         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
9716         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
9717         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
9718         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
9719         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
9720         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
9721         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
9722         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
9723         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
9724         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
9725         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
9726         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
9727         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
9728         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
9729         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
9730         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
9731         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
9732         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
9733         ufromfp, fromfpx and ufromfpx.
9734         (CFLAGS-nldbl-fromfp.c): New variable.
9735         (CFLAGS-nldbl-fromfpx.c): Likewise.
9736         (CFLAGS-nldbl-ufromfp.c): Likewise.
9737         (CFLAGS-nldbl-ufromfpx.c): Likewise.
9738         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
9739         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
9740         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
9741         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
9742         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
9743         * sysdeps/nacl/libm.abilist: Update.
9744         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9745         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9746         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9747         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9748         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9749         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9750         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9751         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9752         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9753         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9754         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9755         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9757         Likewise.
9758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9759         Likewise.
9760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9761         Likewise.
9762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9763         Likewise.
9764         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9765         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9766         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9767         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9768         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9770         Likewise.
9771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9772         Likewise.
9773         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9774         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9775         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9777 2016-12-30  Florian Weimer  <fweimer@redhat.com>
9779         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
9780         compat-gethnamaddr.
9781         (CPPFLAGS): Remove.
9782         * resolv/gethnamaddr.c: Rename ...
9783         * resolv/compat-gethnamaddr.c: ... to this file.
9784         (_endhtent): Make static.
9785         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
9786         symbol.
9787         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
9788         compat symbol.
9789         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
9790         symbol.
9791         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
9792         Turn into compat symbol.
9793         * include/resolv.h (_endhtent): Remove declaration.
9795 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
9797         * bits/types.h (__intmax_t): New typedef.
9798         (__uintmax_t): Likewise.
9799         * sysdeps/generic/stdint.h: Include <bits/types.h>.
9800         (intmax_t): Define using __intmax_t.
9801         (uintmax_t): Define using __uintmax_t.
9803         * support/Makefile (tests-special): Make definition conditional on
9804         [$(run-built-tests) = yes].
9805         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
9806         on [$(run-built-tests) = yes].
9808 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9810         * Rules (tests): Add tests-printers-programs to tests to be
9811         built.
9813 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9815         * sysvipc/Makefile (tests): Add test-sysvshm.
9816         * sysvipc/test-sysvshm.c: New file.
9818         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
9819         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
9820         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
9821         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
9822         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
9823         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
9824         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
9825         Likewise.
9826         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
9827         Likewise.
9828         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
9829         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
9830         is defined.
9832         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
9833         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
9834         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
9835         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
9836         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
9837         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
9838         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
9839         Likewise.
9840         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
9841         Likewise.
9842         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
9843         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
9844         defined.
9846         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9847         oldshmctl.
9848         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
9849         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
9850         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
9851         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
9852         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
9853         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
9854         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
9855         Likewise.
9856         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
9857         Likewise.
9858         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
9859         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
9860         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
9861         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
9862         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
9863         implementation.
9864         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
9865         if it is defined.
9867         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
9868         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
9869         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
9870         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
9871         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
9872         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
9873         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
9874         Likewise.
9875         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
9876         Likewise.
9877         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
9878         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
9879         Define to __NR_osf_shmat.
9880         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
9881         defined.
9883         * sysvipc/Makefile (tests): Add test-sysvsem.
9884         * sysvipc/test-sysvsem.c: New file.
9886         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
9887         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
9888         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
9889         Likewise.
9890         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
9891         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
9892         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
9893         Likewise.
9894         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
9895         Likewise.
9896         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
9897         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
9898         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
9899         add a comment about s390 syscall difference from default one.
9900         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
9901         syscall if it is defined.
9903         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
9904         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
9905         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
9906         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
9907         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
9908         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
9909         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
9910         Likewise.
9911         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
9912         Likewise.
9913         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
9914         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
9915         defined.
9917         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
9918         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
9919         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
9920         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
9921         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
9922         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
9923         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
9924         Likewise.
9925         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
9926         Likewise.
9927         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
9928         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
9929         if it is defined.
9931         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9932         oldsemctl.
9933         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
9934         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
9935         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
9936         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
9937         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
9938         implementation.
9939         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
9940         syscall if it is defined.
9941         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
9942         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
9943         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
9944         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
9945         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
9946         Likewise.
9947         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
9949         * sysvipc/Makefile (tests): Add test-sysvmsg.
9950         * sysvipc/test-sysvmsg.c: New file.
9951         * support/check.h (FAIL_UNSUPPORTED): New define.
9953         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
9954         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
9955         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
9956         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
9957         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
9958         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
9959         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
9960         Likewise.
9961         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
9962         Likewise.
9963         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
9964         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
9965         define.
9967         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
9968         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
9969         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
9970         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
9971         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
9972         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
9973         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
9974         Likewise.
9975         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
9976         Likewise.
9977         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
9978         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
9979         if defined.
9981         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
9982         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
9983         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9984         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9985         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9986         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
9987         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9988         Likewise.
9989         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
9990         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
9991         Likewise.
9992         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
9993         if defined.
9994         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
9996         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9997         oldmsgctl.
9998         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
9999         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
10000         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
10001         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
10002         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10003         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10004         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10005         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10006         Likewise.
10007         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
10008         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
10009         implementation.
10010         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
10011         if defined.
10013         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
10014         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
10015         definition and define its own.
10016         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
10017         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
10018         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
10019         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
10020         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
10021         definitions to common header.
10022         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
10023         operation from ipc_ops.h.
10025         * sysdeps/unix/sysv/linux/kernel-features.h
10026         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
10027         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10028         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
10029         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10030         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10031         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10032         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10033         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10034         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10035         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10036         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10037         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10038         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10039         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10040         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10042 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10044         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
10045         overflow in pointer addition.
10047 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10049         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10050         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
10051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10052         (strchr): Add __strchr_power8 to list of strchr functions.
10053         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
10054         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
10055         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
10056         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
10057         (strchr): Add __strchr_power8 to ifunc list.
10058         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
10059         (__strchrnul): Add __strchrnul_power8 to ifunc list.
10060         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
10061         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
10063 2016-12-28  Florian Weimer  <fweimer@redhat.com>
10065         * support/Makefile (libsupport-routines): Add
10066         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
10067         (tests): Add tst-support_record_failure.
10068         (tests-special): tst-support_record_failure-2.
10069         (tst-support_record_failure-2.out): Depend on
10070         tst-support_record_failure-2.sh and tst-support_record_failure.
10071         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
10072         (support_test_verify_impl, support_record_failure)
10073         (support_report_failure, support_report_failure_reset): Declare.
10074         * support/support_test_main.c (adjust_exit_status): New function.
10075         (support_test_main): Call it to incorporate record test failures.
10076         * support/support_test_verify_impl.c: New file.
10077         * support/support_record_failure.c: Likewise.
10078         * support/tst-support_record_failure.c: Likewise.
10079         * support/tst-support_record_failure-2.sh: Likewise.
10080         * support/xunistd.h: Likewise.
10081         * support/xfork.c: Likewise.
10082         * support/xwaitpid.c: Likewise.
10084 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
10086         * scripts/check-c++-types.sh: Add comments.
10088 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
10090         [BZ #19514]
10091         * resolv/res_send.c: Fix typo in comment.
10092         * sysdeps/i386/i386-mcount.S: Likewise.
10093         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10094         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10095         * sysdeps/sparc/sparc-mcount.S: Likewise.
10097 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10099         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
10100         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
10101         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
10102         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
10103         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
10104         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
10105         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
10106         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
10108 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10110         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
10112 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10114         [BZ #17252]
10115         * posix/unistd.h (getentropy): Declare.
10117 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10119         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
10120         Remove.
10121         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
10122         (cmd): Remove spoof, nospoof, spoofalert.
10123         (parse_line): Ignore spoof-related lines.
10124         (do_init): Do not process RESOLV_SPOOF_CHECK.
10126 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10128         [BZ #20964]
10129         sunrpc: Always obtain AF_INET addresses from NSS.
10130         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
10131         * sunrpc/rpc_gethostbyname.c: New file.
10132         * sunrpc/Makefile (routines): Add it.
10133         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
10134         * sunrpc/clnt_simp.c (callrpc): Likewise.
10135         * sunrpc/getrpcport.c (getrpcport): Likewise.
10137 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10139         * sunrpc/rpcinfo.c: Remove.
10140         * sunrpc/Makefile: Remove comments referring to rpcinfo.
10142 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10144         [BZ #19387]
10145         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
10146         addition.
10147         * string/test-memchr.c (do_test): Remove alignment limitation.
10148         (test_main): Add test that trigger BZ #19387.
10150 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10152         [BZ #7065]
10153         Enable stack protectore if requested by ./configure.
10154         * Makeconfig (+stack-protector): New variable.
10155         (+cflags): Use it.
10157 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10159         [BZ #7065]
10160         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
10161         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
10162         (__rt_sigreturn_stub): Use inhibit_stack_protector.
10163         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10164         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
10166 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10168         [BZ #7065]
10169         * login/Makefile (pt_chown-cflags): Remove.
10170         * nscd/Makefile (CFLAGS-nscd): Likewise.
10171         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10173 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10175         [BZ #7065]
10176         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
10177         non-libc-linking testcase.
10179 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10180             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10181             Florian Weimer  <fweimer@redhat.com>
10183         [BZ #7065]
10184         PLT avoidance for __stack_chk_fail*.
10185         * debug/Makefile (CFLAGS-stack_chk_fail.c)
10186         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
10187         * debug/stack_chk_fail.c (__stack_chk_fail): Add
10188         __stack_chk_fail_local alias.
10189         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
10190         (__stack_chk_fail): Turn into hidden reference to
10191         __stack_chk_fail_local.
10193 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10195         [BZ #7065]
10196         * configure.ac: Add check for unsupported stack-protection level.
10197         (libc_cv_predef_stack_protector): Remove.
10198         (no_ssp): New variable.
10199         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
10200         (stack_protector): Set to -fno-stack-protector similarly.
10201         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
10202         (libc_cv_asm_set_directive): Likewise.
10203         (libc_cv_protected_data): Likewise.
10204         (libc_cv_z_combreloc): Likewise.
10205         (libc_cv_hashstyle): Likewise.
10206         (libc_cv_has_glob_dat): Likewise.
10207         (libc_cv_output_format): Likewise.
10208         (libc_cv_output_format): Likewise.
10209         (libc_cv_ehdr_start): Likewise.
10210         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
10211         (LIBC_LINKER_FEATURE): Likewise.
10212         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
10214 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10216         [BZ #7065]
10217         * elf/Makefile (dummy-stack-chk-fail): New.
10218         (librtld.map): Use it.
10220 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10222         [BZ #7065]
10223         Compile the dynamic linker without stack protection.
10224         * elf/Makefile (elide-stack-protector): New.
10225         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
10226         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
10227         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
10228         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
10230 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10232         [BZ #7065]
10233         * config.make.in (have-ssp, no-stack-protector): New.
10234         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
10235         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
10236         (CFLAGS-sbrk.op): Likewise.
10237         (CFLAGS-brk.o): Likewise.
10238         (CFLAGS-brk.op): Likewise.
10239         * string/Makefile (CFLAGS-memcpy.c): Likewise.
10240         (CFLAGS-wordcopy.c): Likewise.
10242 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10244         [BZ #7065]
10245         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
10246         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
10247         * include/libc-symbols.h (inhibit_stack_protector): New macro.
10248         (__ifunc_resolver): Use it.
10249         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
10250         inhibit_stack_protector.
10251         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
10252         * elf/ifuncmain7.c (foo_ifunc): Likewise.
10253         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
10254         (foo_protected_ifunc): Likewise.
10255         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
10256         (foo_protected_ifunc): Likewise.
10257         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10258         * sysdeps/nacl/nacl_interface_query.c
10259         (nacl_interface_query_ifunc): Likewise.
10260         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10261         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
10262         Likewise.
10263         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
10264         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
10265         the generated vDSO syscall resolver.
10267 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10268             Florian Weimer  <fweimer@redhat.com>
10270         [BZ #7065]
10271         Initialize the stack guard earlier when linking statically.
10272         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
10273         (__pthread_initialize_minimal): Declare.
10274         * csu/libc-start.c (__pthread_initialize_minimal): Remove
10275         declaration.
10276         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
10277         stack canary and apply_irel initialization up.  Call
10278         __pthread_initialize_minimal only if linked in.
10279         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
10280         constant values.
10281         (__pthread_initialize_minimal): Remove.
10282         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
10283         (__pthread_initialize_minimal_internal): Do not call
10284         __libc_setup_tls.
10286 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10288         [BZ #7065]
10289         * configure.ac (libc_cv_ssp): Move up.
10290         (libc_cv_ssp_strong): Likewise.
10291         (libc_cv_ssp_all): New.
10292         (stack_protector): Augment, adding -fstack-protector-all.
10293         (no_stack_protector): New.
10294         (STACK_PROTECTOR_LEVEL): New.
10295         (AC_ARG_ENABLE(stack-protector)): New configure flag.
10296         * manual/install.texi (--enable-stack-protector): Document it.
10297         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
10299 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
10301         * README.pretty-printers: Must specify CPPFLAGS-* also.
10302         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
10303         (CPPFLAGS-test-mutex-printers.c): Define.
10304         (CPPFLAGS-test-condattr-printers.c): Define.
10305         (CPPFLAGS-test-cond-printers.c): Define.
10306         (CPPFLAGS-test-rwlockattr-printers.c): Define.
10307         (CPPFLAGS-test-rwlock-printers.c): Define.
10309         * nss/Makefile [ifeq (yes,$(have-thread-library))]
10310         (tests): Add tst-cancel-getpwuid_r.
10311         * nss/tst-cancel-getpwuid_r.c: New file.
10313         [BZ #11941]
10314         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
10315         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
10316         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
10317         tst-nodelete-dlclose.
10318         (modules-names): Add tst-nodelete-dlclose-dso and
10319         tst-nodelete-dlclose-plugin.
10320         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
10321         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
10322         ($(objpfx)tst-nodelete-dlclose): Define.
10323         ($(objpfx)tst-nodelete-dlclose.out): Define.
10325 2016-12-23  Florian Weimer  <fweimer@redhat.com>
10327         * scripts/test_printers_common.py: Log GDB output in case of
10328         Python detection failure.
10330 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10332         * configure.ac: Check for python3 or python.
10333         * configure: Regenerated.
10334         * config.make.in (PYTHON): New variable.
10335         * benchtests/Makefile: Don't define PYTHON.
10336         (bench): Define target only if PYTHON was defined.
10337         * Rules: Don't define PYTHON.
10338         Define pretty printer targets only if PYTHON was defined.
10339         (tests-printers): Add to tests-unsupported if PYTHON is not
10340         found.
10341         (python-flags, python-invoke): Remove.
10342         (tests-printers-out): Use PYTHON instead of python-invoke.
10344 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10346         [BZ #20978]
10347         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10348         Compare name == NULL, not name != NULL.
10350         * manual/texinfo.tex: Update to version 2016-09-18.18 with
10351         trailing whitespace removed.
10352         * scripts/config.guess: Update to version 2016-10-02.
10353         * scripts/config.sub: Update to version 2016-11-19.
10354         * scripts/install-sh: Update to version 2016-01-11.22.
10355         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
10356         * scripts/move-if-change: Update to version 2016-01-11 22:04.
10358 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
10360         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
10361         (do_one_test) Restore original string so iteration works.
10362         * string/string-inlines.c (do_test): Create better input strings.
10363         (test_main) Reduce number of testruns.
10364         * string/string-inlines.c (__old_strsep_1c): New function.
10365         (__old_strsep_2c): Likewise.
10366         (__old_strsep_3c): Likewise.
10367         * string/strsep.c (__strsep): Remove case of small delim string.
10368         Call strcspn directly rather than strpbrk.
10369         * string/bits/string2.h (__strsep): Remove define.
10370         (__strsep_1c): Remove.
10371         (__strsep_2c): Remove.
10372         (__strsep_3c): Remove.
10373         (strsep): Remove.
10374         * sysdeps/unix/sysv/linux/internal_statvfs.c
10375         (__statvfs_getflags): Rename to __strsep.
10377 2016-12-21  Florian Weimer  <fweimer@redhat.com>
10379         * csu/libc-tls.c (_dl_tls_setup): Remove.
10380         * elf/dl-tls.c (_dl_tls_setup): Likewise.
10381         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
10382         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
10384 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10386         [BZ #7065]
10387         * sysdeps/x86_64/Makefile [$(subdir) = elf]
10388         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
10390 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10391             Florian Weimer  <fweimer@redhat.com>
10393         [BZ #7065]
10394         * csu/Makefile (tests): Empty assignment and document it.
10395         (tests-static): Remove.
10396         * csu/tst-empty.c: Move to...
10397         * misc/tst-empty.c: ... here.  Switch to new test driver.
10398         * csu/tst-atomic.c: Move to...
10399         * misc/tst-atomic.c: ... here.  Switch to new test driver.
10400         * csu/tst-atomic-long.c: Move to...
10401         * misc/tst-atomic-long.c: ... here.
10402         * misc/Makefile (tests): Add tst-empty, tst-atomic,
10403         tst-atomic-long.
10404         (tests-static): Add tst-empty.
10406 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
10408         * manual/nss.texi: Change incorrect @vtable to @table.
10409         * manual/arith.texi: Convert @tables of variables to @vtables
10410         and remove unnecessary indexing.
10411         * manual/filesys.texi: Likewise.
10412         * manual/llio.texi: Likewise.
10413         * manual/memory.texi: Likewise.
10414         * manual/process.texi: Likewise.
10415         * manual/resource.texi: Likewise.
10416         * manual/search.texi: Likewise.
10417         * manual/signal.texi: Likewise.
10418         * manual/socket.texi: Likewise.
10419         * manual/stdio.texi: Likewise.
10420         * manual/sysinfo.texi: Likewise.
10421         * manual/syslog.texi: Likewise.
10422         * manual/terminal.texi: Likewise.
10423         * manual/time.texi: Likewise.
10424         * manual/users.texi: Likewise.
10426 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10428         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10429         (roundeven): New declaration.
10430         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
10431         macro.
10432         * math/Versions (roundeven): New libm symbol at version
10433         GLIBC_2.25.
10434         (roundevenf): Likewise.
10435         (roundevenl): Likewise.
10436         * math/Makefile (libm-calls): Add s_roundevenF.
10437         * math/libm-test.inc (roundeven_test_data): New array.
10438         (roundeven_test): New function.
10439         (main): Call roundeven_test.
10440         * math/test-tgmath.c (NCALLS): Increase to 134.
10441         (F(compile_test)): Call roundeven.
10442         (F(roundeven)): New function.
10443         * manual/arith.texi (Rounding Functions): Document roundeven,
10444         roundevenf and roundevenl.
10445         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
10446         * include/math.h (roundeven): Use libm_hidden_proto.
10447         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
10448         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
10449         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
10450         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
10451         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
10452         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
10453         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10454         roundeven.
10455         (CFLAGS-nldbl-roundeven.c): New variable.
10456         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
10457         * sysdeps/nacl/libm.abilist: Update.
10458         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10459         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10460         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10461         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10462         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10463         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10464         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10465         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10466         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10467         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10468         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10469         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10471         Likewise.
10472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10473         Likewise.
10474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10475         Likewise.
10476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10477         Likewise.
10478         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10479         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10480         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10481         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10482         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10484         Likewise.
10485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10486         Likewise.
10487         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10488         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10489         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10491 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
10493         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
10494         preprocessor indentation inside #if.
10496 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10498         * math/libm-test.inc (fmt_ftostr): New function.
10499         (print_float, check_float_internal): Replace some uses of
10500         FTOSTR with uses of fmt_ftostr.
10501         (print_max_error, print_complex_max_error, print_function_ulps)
10502         (print_complex_function_ulps): Remove uses of the macros
10503         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
10504         * math/test-double.h (FTOSTR): Define to strfromd.
10505         (PRINTF_EXPR): Delete.
10506         (PRINTF_XEXPR): Likewise.
10507         (PRINTF_NEXPR): Likewise.
10508         * math/test-float.h (FTOSTR): Define to strfromf.
10509         (PRINTF_EXPR): Delete.
10510         (PRINTF_XEXPR): Likewise.
10511         (PRINTF_NEXPR): Likewise.
10512         * math/test-ldouble.h (FTOSTR): Define to strfroml.
10513         (PRINTF_EXPR): Delete.
10514         (PRINTF_XEXPR): Likewise.
10515         (PRINTF_NEXPR): Likewise.
10517 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10519         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10520         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
10521         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10522         (__lll_lock_elision): Decrement adapt_count while unlocking
10523         instead of before locking.
10524         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10525         (__lll_trylock_elision): Likewise.
10526         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
10527         (__lll_unlock_elision): Likewise.
10529 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10531         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
10532         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
10533         Use __libc_tbegin_retry macro.
10535 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10537         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
10538         Add -msoft-float.
10539         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
10540         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10541         Use __libc_t* transaction macros instead of __builtin_t*.
10542         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10543         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10545 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10547         * sysdeps/unix/sysv/linux/s390/elision-lock.c
10548         (__lll_lock_elision): Use atomics to load / store adapt_count.
10549         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10550         (__lll_trylock_elision): Likewise.
10552 2016-12-20  Florian Weimer  <fweimer@redhat.com>
10554         Do not require memset elimination in explicit_bzero test.
10555         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
10556         (enum test_expectation): Add NO_EXPECTATIONS.
10557         (subtests): NO_EXPECTATIONS for ordinary clear.
10558         (check_test_buffer): Handle NO_EXPECTATIONS.
10559         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
10561 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
10563         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10564         (fmaxmag): New declaration.
10565         (fminmag): Likewise.
10566         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
10567         macro.
10568         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
10569         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
10570         (fmaxmagf): Likewise.
10571         (fmaxmagl): Likewise.
10572         (fminmag): Likewise.
10573         (fminmagf): Likewise.
10574         (fminmagl): Likewise.
10575         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
10576         * math/s_fmaxmag_template.c: New file.
10577         * math/s_fminmag_template.c: Likewise.
10578         * math/libm-test.inc (fmaxmag_test_data): New array.
10579         (fmaxmag_test): New function.
10580         (fminmag_test_data): New array.
10581         (fminmag_test): New function.
10582         (main): Call fmaxmag_test and fminmag_test.
10583         * math/test-tgmath.c (NCALLS): Increase to 132.
10584         (F(compile_test)): Call fmaxmag and fminmag.
10585         (F(fminmag)): New function.
10586         (F(fmaxmag)): Likewise.
10587         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
10588         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
10589         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
10590         fminmag.
10591         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
10592         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
10593         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
10594         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
10595         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
10596         and fminmag.
10597         (CFLAGS-nldbl-fmaxmag.c): New variable.
10598         (CFLAGS-nldbl-fminmag.c): Likewise.
10599         * sysdeps/nacl/libm.abilist: Update.
10600         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10601         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10602         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10603         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10604         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10605         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10606         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10607         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10608         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10609         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10610         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10611         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10613         Likewise.
10614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10615         Likewise.
10616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10617         Likewise.
10618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10619         Likewise.
10620         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10621         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10622         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10623         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10624         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10626         Likewise.
10627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10628         Likewise.
10629         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10630         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10631         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10633 2016-12-19  Torvald Riegel  <triegel@redhat.com>
10635         [BZ #20973]
10636         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
10637         wake-up in robust mutexes.
10638         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10640 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10642         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
10643         (CFLAGS-bench-fmaxf.c): New rule.
10644         (CFLAGS-bench-fminf.c): Likewise.
10645         * benchtests/fmaxf-inputs: New file.
10646         * benchtests/fminf-inputs: Likewise.
10648         * benchtests/Makefile (bench-math): Add fmin and fmax.
10649         (CFLAGS-bench-fmax.c): New rule.
10650         (CFLAGS-bench-fmin.c): Likewise.
10651         * benchtests/fmax-inputs: New file.
10652         * benchtests/fmin-inputs: Likewise.
10654         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
10655         parenthesis.
10656         (CMDLINE_PROCESS): Define using function instead of macro.
10657         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
10658         of test-skeleton.
10659         * benchtests/bench-memchr.c: Likewise.
10660         * benchtests/bench-memcmp.c: Likewise.
10661         * benchtests/bench-memcpy-large.c: Likewise.
10662         * benchtests/bench-memcpy.c: Likewise.
10663         * benchtests/bench-memmem.c: Likewise.
10664         * benchtests/bench-memmove-large.c: Likewise.
10665         * benchtests/bench-memmove.c: Likewise.
10666         * benchtests/bench-memset-large.c: Likewise.
10667         * benchtests/bench-memset.c: Likewise.
10668         * benchtests/bench-rawmemchr.c: Likewise.
10669         * benchtests/bench-strcasecmp.c: Likewise.
10670         * benchtests/bench-strcasestr.c: Likewise.
10671         * benchtests/bench-strcat.c: Likewise.
10672         * benchtests/bench-strchr.c: Likewise.
10673         * benchtests/bench-strcmp.c: Likewise.
10674         * benchtests/bench-strcpy.c: Likewise.
10675         * benchtests/bench-strcpy_chk.c: Likewise.
10676         * benchtests/bench-strlen.c: Likewise.
10677         * benchtests/bench-strncasecmp.c: Likewise.
10678         * benchtests/bench-strncmp.c: Likewise.
10679         * benchtests/bench-strncpy.c: Likewise.
10680         * benchtests/bench-strnlen.c: Likewise.
10681         * benchtests/bench-strpbrk.c: Likewise.
10682         * benchtests/bench-strrchr.c: Likewise.
10683         * benchtests/bench-strsep.c: Likewise.
10684         * benchtests/bench-strspn.c: Likewise.
10685         * benchtests/bench-strstr.c: Likewise.
10686         * benchtests/bench-strtok.c: Likewise.
10688 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10690         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
10691         stepping identification.
10692         (init_cpu_features): Add handle of Haswell.
10694 2016-11-25  Jim Meyering  <meyering@fb.com>
10696         [BZ #20386]
10697         Let gcc detect assert(a = 1) errors.
10698         * assert/assert.h (assert): Rewrite, retaining the old definintion
10699         when required, but otherwise putting the expression as-is in an "if"
10700         expression (hence, with no added parentheses) within a statement
10701         expression.
10703 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10705         * benchtests/Makefile (binaries-benchset): Depend on libsupport
10706         DSO.
10708 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
10710         * Rules (python-flags, python-invoke): New.
10711         ($(test-printers-out)): Use $(python-flags).
10713 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10715         * manual/arith.texi (Math Error Reporting): Document that sNaN
10716         arguments are not considered domain errors.
10718 2016-12-16  Zack Weinberg <zackw@panix.com>
10719             Florian Weimer <fweimer@redhat.com>
10720             Nick Mathewson <nickm@torproject.org>
10722         * string/explicit_bzero.c: New routine.
10723         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
10724         * string/Makefile (routines, strop-tests, tests): Add them.
10725         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
10726         * string/string.h [__USE_MISC]: Declare explicit_bzero.
10728         * debug/explicit_bzero_chk.c: New routine.
10729         * debug/Makefile (routines): Add it.
10730         * debug/tst-chk1.c: Test fortification of explicit_bzero.
10731         * string/bits/string3.h: Fortify explicit_bzero.
10733         * manual/string.texi: Document explicit_bzero.
10734         * NEWS: Mention addition of explicit_bzero.
10736         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
10737         data before returning, using explicit_bzero.
10738         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
10739         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10740         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10742         * include/string.h: Redirect internal uses of explicit_bzero
10743         to __explicit_bzero_chk[_internal].
10744         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
10745         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
10746         * sysdeps/arm/nacl/libc.abilist
10747         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
10748         * sysdeps/unix/sysv/linux/alpha/libc.abilist
10749         * sysdeps/unix/sysv/linux/arm/libc.abilist
10750         * sysdeps/unix/sysv/linux/hppa/libc.abilist
10751         * sysdeps/unix/sysv/linux/i386/libc.abilist
10752         * sysdeps/unix/sysv/linux/ia64/libc.abilist
10753         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10754         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
10755         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
10756         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10757         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10758         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10759         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10760         * sysdeps/unix/sysv/linux/nios2/libc.abilist
10761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10765         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
10766         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10767         * sysdeps/unix/sysv/linux/sh/libc.abilist
10768         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10769         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10772         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
10773         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
10774         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
10775         Add entries for explicit_bzero and __explicit_bzero_chk.
10777 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10779         * math/fenv.h
10780         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
10781         (FE_SNANS_ALWAYS_SIGNAL): New macro.
10782         * math/test-fe-snans-always-signal.c: New file.
10783         * math/Makefile (tests): Add test-fe-snans-always-signal.
10784         (CFLAGS-test-fe-snans-always-signal.c): New variable.
10785         * manual/arith.texi (Infinity and NaN): Document
10786         FE_SNANS_ALWAYS_SIGNAL.
10788 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10790         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
10791         bracket.
10793 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10795         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
10796         before calling execv.
10798 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10800         [BZ #20971]
10801         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
10802         overflow in pointer addition.
10803         * string/test-memchr.c (do_test): Add an argument to pass as
10804         the size on memchr.
10805         (test_main): Add check for SIZE_MAX.
10807 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10809         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
10810         (libm-calls): Add w_scalblnF.
10811         * math/w_scalbln.c: Remove.
10812         * math/w_scalblnf.c: Likewise.
10813         * math/w_scalblnl.c: Likewise.
10814         * math/w_scalbln_template.c: New file with type-generic
10815         implementation based on math/w_scalbln.c.
10816         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
10817         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
10819 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
10821         [BZ #20947]
10822         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
10823         either is a signaling NaN.
10824         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
10825         follow fmaxl more closely.
10826         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
10827         when either is a signaling NaN.
10828         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
10829         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
10830         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
10831         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
10832         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
10833         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
10834         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
10835         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
10836         (fmin_test_data): Likewise.
10838 2016-12-15  Andreas Schwab  <schwab@suse.de>
10840         * support/support_test_main.c (support_test_main): Don't shadow
10841         file-local variable test_pid.
10843 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
10845         [BZ #20947]
10846         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
10847         either is a signaling NaN.
10848         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
10850 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10852         [BZ #20947]
10853         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
10854         when either is a signaling NaN.
10855         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
10857         * bits/long-double.h: New file.
10858         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
10859         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
10860         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
10861         * sysdeps/mips/bits/long-double.h: Likewise.
10862         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
10863         * math/Makefile (headers): Add bits/long-double.h.
10864         * misc/sys/cdefs.h: Include <bits/long-double.h>.
10865         * stdlib/strtold.c: Include <bits/long-double.h> instead of
10866         <bits/wordsize.h>.
10867         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
10868         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
10869         * math/math.h: Do not include <bits/mathdef.h>.
10870         * sysdeps/aarch64/bits/mathdef.h: Remove file.
10871         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
10872         inclusion.
10873         * sysdeps/ia64/bits/mathdef.h: Remove file.
10874         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
10875         * sysdeps/mips/bits/mathdef.h: Likewise.
10876         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10877         * sysdeps/s390/bits/mathdef.h: Likewise.
10878         * sysdeps/sparc/bits/mathdef.h: Likewise.
10879         * sysdeps/x86/bits/mathdef.h: Likewise.
10880         * sysdeps/s390/s390-32/bits/wordsize.h
10881         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
10882         conditional code.
10883         * sysdeps/s390/s390-64/bits/wordsize.h
10884         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10885         Likewise.
10886         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
10887         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10888         Likewise.
10889         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
10890         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10891         Likewise.
10892         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10893         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10894         Likewise.
10896         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
10897         <linux/falloc.h>.
10898         (FALLOC_FL_KEEP_SIZE): Remove.
10899         (FALLOC_FL_PUNCH_HOLE): Likewise.
10900         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
10901         (FALLOC_FL_ZERO_RANGE): Likewise.
10903 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10905         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
10907 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10909         * sysdeps/unix/sysv/linux/renameat.c: New file.
10910         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
10912         * sysdeps/unix/sysv/linux/rename.c: New file.
10913         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
10915 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10917         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
10918         * string/strtok.c (strtok): Change to tailcall __strtok_r.
10919         * string/strtok_r.c (__strtok_r): Optimize for performance.
10920         * string/string-inlines.c (__old_strtok_r_1c): New function.
10921         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
10923 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10925         * math/Makefile (gen-libm-calls): Add w_log1pF.
10926         (libm-calls): Remove w_log1pF.
10927         * math/w_log1p.c: Remove.
10928         * math/w_log1pf.c: Likewise.
10929         * math/w_log1pl.c: Likewise.
10930         * math/w_log1p_template.c: New file with type-generic
10931         implementation based on math/w_log1p.c.
10932         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
10933         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
10935 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10937         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
10939 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10941         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10942         kernel version to 4.9.
10944 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
10946         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
10947         ($(inst_libdir)/libm.a): Fix rule to create the target only.
10949 2016-12-13  Andreas Schwab  <schwab@suse.de>
10951         * sysdeps/powerpc/dl-procinfo.c: Don't define
10952         _dl_powerpc_platforms.
10953         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
10954         constants instead of referencing _dl_powerpc_platforms.
10955         (_dl_platform_string): Remove.
10957 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10959         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
10961 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10963         * Rules (binaries-shared-tests, binaries-pie-tests)
10964         (binaries-static-tests): Link with $(link-extra-libs-tests).
10965         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
10966         Remove $(link-extra-libs-tests).
10968 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10970         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10971         (sysdep_routines): Add strncmp_power9.
10972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10973         (strncmp): Add __strncmp_power9 to list of strncmp functions.
10974         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
10975         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10976         (strncmp): Add __strncmp_power9 to ifunc list.
10977         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
10979 2016-12-12  Florian Weimer  <fweimer@redhat.com>
10981         [BZ #17252]
10982         Add getentropy, getrandom.
10983         * stdlib/sys/random.h: New file.
10984         (headers): Add it.
10985         * stdlib/Makefile (routines): Add getentropy, getrandom.
10986         (tests): Add tst-getrandom.
10987         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
10988         * stdlib/getentropy.c: New file.
10989         * stdlib/getrandom.c: Likewise.
10990         * stdlib/tst-getrandom.c: Likewise.
10991         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
10992         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
10993         * manual/crypt.texi (Unpredictable Bytes): New section.
10994         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
10995         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
10996         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10997         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10998         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10999         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11000         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11001         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11002         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11003         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11004         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11005         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11006         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11007         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11008         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11009         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11011         Likewise.
11012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11013         Likewise.
11014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11016         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11017         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11018         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11019         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11020         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11023         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11024         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11025         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11027 2016-12-10  Florian Weimer  <fweimer@redhat.com>
11029         [BZ #20956]
11030         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
11031         as additional compiler barriers.
11032         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
11033         (fn2, do_test): Declare with external linkage.
11034         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
11035         (do_test): Declare with external linkage.
11036         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
11037         (do_test): Declare with external linkage.
11038         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
11039         (do_test): Declare with external linkage.
11041 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
11043         * support/support_test_main.c (support_test_main): Use correct
11044         timeout.
11046 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
11047             Florian Weimer  <fweimer@redhat.com>
11049         [BZ #16421]
11050         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
11051         and __u6_addr32 members.
11052         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
11053         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
11054         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
11055         Use __u6_addr32.
11056         * inet/tst-checks.c: Use <support/test-driver.c>
11057         * inet/tst-checks-posix.c: New file.
11058         * inet/Makefile (tests): Add it.
11059         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
11061 2016-12-09  Florian Weimer  <fweimer@redhat.com>
11063         New subdirectory support for build and test infrastructure.
11064         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
11065         setting install-lib.
11066         * Makeconfig (link-extra-libs-tests): Define.
11067         (+link-pie-tests, +link-static-tests, +link-tests): Use
11068         link-extra-libs-tests.
11069         (rpath-dirs, all-subdirs): Add support.
11070         (built-modules): Add libsupport.
11071         (libsupport): Define.
11072         * support: New directory.
11073         * support/Makefile: New file.
11074         * support/check.c: Likewise.
11075         * support/check.h: Likewise.
11076         * support/delayed_exit.c: Likewise.
11077         * support/ignore_stderr.c: Likewise.
11078         * support/oom_error.c: Likewise.
11079         * support/set_fortify_handler.c: Likewise.
11080         * support/support.h: Likewise.
11081         * support/temp_file-internal.h: Likewise.
11082         * support/temp_file.c: Likewise.
11083         * support/test-driver.c: Likewise.
11084         * support/test-driver.h: Likewise.
11085         * support/test_main.c: Likewise.
11086         * support/write_message.c: Likewise.
11087         * support/xasprintf.c: Likewise.
11088         * support/xcalloc.c: Likewise.
11089         * support/xmalloc.c: Likewise.
11090         * support/xpthread_barrier_destroy.c: Likewise.
11091         * support/xpthread_barrier_init.c: Likewise.
11092         * support/xpthread_barrier_wait.c: Likewise.
11093         * support/xpthread_cancel.c: Likewise.
11094         * support/xpthread_check_return.c: Likewise.
11095         * support/xpthread_cond_wait.c: Likewise.
11096         * support/xpthread_create.c: Likewise.
11097         * support/xpthread_detach.c: Likewise.
11098         * support/xpthread_join.c: Likewise.
11099         * support/xpthread_mutex_lock.c: Likewise.
11100         * support/xpthread_mutex_unlock.c: Likewise.
11101         * support/xpthread_sigmask.c: Likewise.
11102         * support/xpthread_spin_lock.c: Likewise.
11103         * support/xpthread_spin_unlock.c: Likewise.
11104         * support/xrealloc.c: Likewise.
11105         * support/xsignal.h: Likewise.
11106         * support/xthread.h: Likewise.
11107         * support_tempfile.h: Likewise.
11108         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
11109         (TEST_DATA_LIMIT): Remove unused macro.
11110         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
11111         <support/check.h>.
11112         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
11113         (ignore_stderr, set_fortify_handler): Remove.  Now in
11114         <support/support.h>.
11115         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
11116         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
11117         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
11118         (xpthread_join): Remove.  Now in <support/xthread.h>.
11119         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
11120         Introduce legacy wrappers.
11121         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
11122         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
11123         (write_message): Remove.
11124         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
11125         test-skeleton.c.
11126         * io/test-open-tmpfile: Likewise.
11127         * io/tst-posix_fallocate-common.c: Likewise.
11128         * libio/tst-fseek.c: Likewise.
11129         * malloc/tst-malloc-backtrace.c: Likewise.
11130         * malloc/tst-malloc-fork-deadlock.c: Likewise.
11131         * malloc/tst-malloc-thread-exit.c: Likewise.
11132         * nptl/tst-cancel7.c: Likewise.
11133         * nptl/tst-cleanup0.c: Likewise.
11134         * posix/tst-posix_fadvise-common.c: Likewise.
11135         * rt/tst-shm.c: Likewise.
11136         * time/bug-getdate1.c: Likewise.
11137         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11138         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
11139         * elf/Makefile (tst-piemod1.so): Link against libsupport.
11141 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
11143         * Rules [$(run-built-tests) != no] (tests-expected): Add
11144         $(tests-printers).
11145         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
11147 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11149         [BZ #20539]
11150         * math/Makefile (install-lib-ldscripts): Add libm.a.
11151         (install_subdir): Remove.
11152         (install-others): Add.
11153         ($(inst_libdir)/libm.a): Add rule for installation as
11154         linker script.
11155         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
11157 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
11159         * INSTALL: Regenerated.
11160         * Makeconfig: Add comments and whitespace to make the control flow
11161         clearer.
11162         (+link-printers-tests, +link-pie-printers-tests,
11163         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
11164         built-rtld-LDFLAGS, link-libc-rpath,
11165         link-libc-tests-after-rpath-link,
11166         link-libc-printers-tests): New.
11167         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
11168         link-libc-tests): Use the new variables as required.
11169         * Makerules ($(py-const)): New rule.
11170         generated: Add $(py-const).
11171         * README.pretty-printers: New file.
11172         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
11173         (others): Depend on $(py-const).
11174         (tests): Depend on $(tests-printers-programs) or
11175         $(tests-printers-out),
11176         as required.  Pass $(tests-printers) to merge-test-results.sh.
11177         * manual/install.texi: Add requirements for testing the pretty
11178         printers.
11179         * nptl/Makefile (gen-py-const-headers, pretty-printers,
11180         tests-printers, CFLAGS-test-mutexattr-printers.c
11181         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
11182         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
11183         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
11184         * nptl/nptl-printers.py: New file.
11185         * nptl/nptl_lock_constants.pysym: Likewise.
11186         * nptl/test-cond-printers.c: Likewise.
11187         * nptl/test-cond-printers.py: Likewise.
11188         * nptl/test-condattr-printers.c: Likewise.
11189         * nptl/test-condattr-printers.py: Likewise.
11190         * nptl/test-mutex-printers.c: Likewise.
11191         * nptl/test-mutex-printers.py: Likewise.
11192         * nptl/test-mutexattr-printers.c: Likewise.
11193         * nptl/test-mutexattr-printers.py: Likewise.
11194         * nptl/test-rwlock-printers.c: Likewise.
11195         * nptl/test-rwlock-printers.py: Likewise.
11196         * nptl/test-rwlockattr-printers.c: Likewise.
11197         * nptl/test-rwlockattr-printers.py: Likewise.
11198         * scripts/gen-py-const.awk: Likewise.
11199         * scripts/test_printers_common.py: Likewise.
11200         * scripts/test_printers_exceptions.py: Likewise.
11202 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11204         * scripts/build-many-glibcs.py (Context.__init__): Take strip
11205         argument.
11206         (Glibc.build_glibc): Strip installed shared libraries if
11207         requested.
11208         (get_parser): Add --strip option.
11209         (main): Update Context call.
11211 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11212             Dominik Vogt  <vogt@linux.vnet.ibm.com>
11214         [BZ #20847]
11215         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11216         array bounds for else branch.
11217         (__execvpe): Style fixes.
11218         * posix/tst-vfork3.c (run_script): New function.
11219         (create_script): Likewise.
11220         (do_test): Use run_script internal function.
11221         (do_prepare): Use create_script internal function.
11223 2016-12-07  Andreas Schwab  <schwab@suse.de>
11225         * sysdeps/unix/sysv/linux/x86/elision-conf.h
11226         (__elision_available): Don't declare.
11227         * sysdeps/unix/sysv/linux/x86/elision-conf.c
11228         (__elision_available): Don't define.
11229         (elision_init): Don't set __elision_available.
11231 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11233         [BZ #20940]
11234         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
11235         return Inf for arguments Inf and sNaN.
11236         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11237         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11238         Likewise.
11239         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11240         Likewise.
11241         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11242         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
11243         for arguments Inf and sNaN.  When returning a NaN, compute it by
11244         arithmetic on the arguments.
11245         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
11246         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
11247         arguments.
11249 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
11251         [BZ #20916]
11252         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
11253         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
11254         to compute result.
11255         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11256         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
11258 2016-12-05  Torvald Riegel  <triegel@redhat.com>
11260         * include/atomic.h (__atomic_check_size_ls): New.
11261         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
11262         atomic_store_release): Use it.
11263         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
11264         (elision_adapt, ELIDE_LOCK): Use atomics.
11265         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
11266         atomics and improve code comments.
11267         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
11268         (__lll_trylock_elision): Likewise.
11270 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11272         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
11273         programs.
11275 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11277         [BZ #20916]
11278         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
11279         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
11280         arguments to compute result.
11281         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
11282         1 for arguments (sNaN, 0) or (1, sNaN).
11283         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11284         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11286         [BZ #20919]
11287         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
11288         NaN first argument when raised to power 0.
11289         * math/w_pow.c (__pow): Do not check for NaN or zero results from
11290         raising to power zero.
11291         * math/w_powf.c (__powf): Likewise.
11292         * math/w_powl.c (__powl): Likewise.
11293         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
11294         pow (0, 0) or pow (NaN, 0).
11296 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
11298         [BZ #20918]
11299         * configure.ac: Test for static NSS cryptographic libraries and set
11300         libc_cv_static_nss_crypt.
11301         * configure: Regenerate.
11302         * config.make.in (static-nss-crypt): Define.
11303         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
11304         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
11305         (CFLAGS-tst-linkall-static.c): Define.
11306         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
11307         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
11308         ($(objpfx)tst-linkall-static): Define.
11309         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
11310         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
11312 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11314         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
11315         (one-hundred, tst-tls-many-dynamic-modules): Define.
11316         (modules-names): Add $(tst-tls-many-dynamic-modules).
11317         (tst-tls-manydynamic%mod.os): Build with special preprocessor
11318         macros.
11319         (tst-tls-manydynamic): Link against libdl, libpthread.
11320         (tst-tls-manydynamic.out): The test needs the test modules at run
11321         time.
11322         * elf/tst-tls-manydynamic.c: New file.
11323         * elf/tst-tls-manydynamic.h: Likewise.
11324         * elf/tst-tls-manydynamicmod.c: Likewise.
11326 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11328         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
11329         (TLS_DTV_UNALLOCATED): Add.
11330         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
11331         offsets.
11333 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11335         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11337 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11339         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
11340         Add -fno-optimize-sibling-calls.
11342 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11344         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
11345         New declaration.
11346         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
11347         macro.
11348         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
11349         New macro.
11350         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
11351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
11352         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
11353         (llogbf): Likewise.
11354         (llogbl): Likewise.
11355         * math/Makefile (gen-libm-calls): Add w_llogbF.
11356         (tests): Add test-fp-llogb-constants.
11357         * math/w_llogb_template.c: New file.  Based on
11358         math/w_ilogb_template.c.
11359         * math/libm-test.inc (llogb_test_data): New array.
11360         (llogb_test): New function.
11361         (main): Call llogb_test.
11362         * math/test-fp-llogb-constants.c: New file.  Based on
11363         math/test-fp-ilogb-constants.c.
11364         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
11365         (do_test): Call check_return_llogb.
11366         * math/test-tgmath.c (NCALLS): Increase to 126.
11367         (F(compile_test)): Call llogb.
11368         (F(llogb)): New function.
11369         * manual/math.texi (Exponents and Logarithms): Document llogb,
11370         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
11371         * manual/libm-err-tab.pl (@all_functions): Add llogb.
11372         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
11373         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
11374         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
11375         (CFLAGS-nldbl-llogb.c): New variable.
11376         * sysdeps/nacl/libm.abilist: Update.
11377         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11378         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11379         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11380         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11381         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11382         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11383         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11384         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11385         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11386         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11387         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11388         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11390         Likewise.
11391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11392         Likewise.
11393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11394         Likewise.
11395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11396         Likewise.
11397         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11398         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11399         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11400         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11401         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11403         Likewise.
11404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11405         Likewise.
11406         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11407         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11408         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11410 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11412         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
11413         _Float128 instead of long double.
11414         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
11416         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
11417         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
11418         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
11419         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
11420         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
11421         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
11422         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
11423         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
11424         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
11425         Likewise.
11427 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11429         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
11430         Remove redirection to __strrchr_ppc.
11432 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11434         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11435         (sysdep_routines): Add strcmp_power9.
11436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11437         (strcmp): Add __strcmp_power9 to list of strcmp functions.
11438         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
11439         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11440         (strcmp): Add __strcmp_power9 to ifunc list.
11441         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
11443 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11445         * bits/fp-logb.h: New file.
11446         * sysdeps/ia64/bits/fp-logb.h: Likewise.
11447         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
11448         * sysdeps/x86/bits/fp-logb.h: Likewise.
11449         * math/Makefile (headers): Add bits/fp-logb.h.
11450         * math/math.h: Include <bits/fp-logb.h>.
11451         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
11452         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
11453         * bits/mathdef.h (FP_ILOGB0): Remove.
11454         (FP_ILOGBNAN): Likewise.
11455         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
11456         (FP_ILOGBNAN): Likewise.
11457         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
11458         (FP_ILOGBNAN): Likewise.
11459         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
11460         (FP_ILOGBNAN): Likewise.
11461         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
11462         (FP_ILOGBNAN): Likewise.
11463         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
11464         (FP_ILOGBNAN): Likewise.
11465         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
11466         (FP_ILOGBNAN): Likewise.
11467         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
11468         (FP_ILOGBNAN): Likewise.
11469         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
11470         (FP_ILOGBNAN): Likewise.
11471         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
11472         (FP_ILOGBNAN): Likewise.
11474         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
11475         time module.
11476         (Context.__init__): Initialize self.logsdir_old.
11477         (Context.run_builds): Handle bot action.
11478         (Context.bot_cycle): Copy logs directory before running builds.
11479         (Context.bot_run_self): Take argument for whether to check
11480         subprocess result.  Flush stdout before running subprocess.
11481         (Context.bot): New function.
11482         (get_parser): Allow bot action.
11484 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
11486         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
11487         Import email.mime.text, email.utils and smtplib modules.
11488         (Context.__init__): Initialize self.bot_config_json.
11489         (Context.run_builds): Handle bot-cycle action.
11490         (Context.load_bot_config_json): New function.
11491         (Context.part_build_old): Likewise.
11492         (Context.bot_cycle): Likewise.
11493         (Context.bot_build_mail): Likewise.
11494         (Context.bot_run_self): Likewise.
11495         (get_parser): Allow bot-cycle action.
11497 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11499         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
11500         Remove redirection to __stpcpy_ppc.
11502 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11504         Remove __libc_memalign from ld.so because it is unused.
11505         * elf/dl-minimal.c: Update comment on the malloc implementation.
11506         (malloc): Renamed from __libc_memalign, replacing the original
11507         malloc implementation.  Replace the align parameter with
11508         MALLOC_ALIGNMENT.
11509         * elf/Versions (ld): Update comment and remove __libc_memalign.
11510         * sysdeps/nacl/ld.abilist: Likewise.
11511         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11512         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11513         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11514         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11515         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11516         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11517         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11518         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11519         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11520         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11521         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11522         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11523         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11527         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11528         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11529         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11530         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11531         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
11533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
11534         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
11535         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11536         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11537         * sysdeps/generic/localplt.data (ld.so): Likewise.
11538         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11539         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11540         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11541         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11542         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11543         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11544         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11545         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
11546         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11548         (ld.so): Likewise.
11549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11550         (ld.so): Likewise.
11551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11552         Likewise.
11553         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11554         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11555         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
11556         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
11557         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11559 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11561         [BZ #16628]
11562         Implement _dl_catch_error, _dl_signal_error in libc.so.
11563         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
11564         (catch_hook): Define as thread-local or regular variable,
11565         depending on DL_ERROR_BOOTSTRAP.
11566         (CATCH_HOOK): Remove.
11567         (dl_signal_error, _dl_catch_error): Use
11568         catch_hook.  Add hidden definition for libc.
11569         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
11570         for DL_ERROR_BOOTSTRAP only.
11571         * elf/dl-error.c: New file.
11572         * elf/dl-error-minimal.c: Likewise.
11573         * elf/tst-latepthread.c: Likewise.
11574         * elf/tst-latepthreadmod.c: Likewise.
11575         * elf/Makefile (routines): Add dl-error.
11576         (dl-routines): Remove dl-error.
11577         (rtld-routines): Add dl-error-minimal.
11578         [build-shared] (tests): Add tst-latepthread.
11579         (module-names): Add tst-latepthreadmod.
11580         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
11581         symbol.
11582         (tst-latepthreadmod.so): Link against libpthread.
11583         (tst-latepthread): Link against libdbl.
11584         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
11585         _dl_catch_error.
11586         [ld] (GLIBC_PRIVATE): Likewise.
11587         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
11588         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
11589         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
11590         directly.
11591         * elf/dl-tsd.c: Remove file.
11592         * elf/rtld.c (_rtld_global_ro): Remove initializers for
11593         _dl_catch_error, _dl_signal_error.
11594         (_dl_initial_error_catch_tsd): Remove definition.
11595         (do_preload): Remove initialization of dl_error_catch_tsd.
11596         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
11597         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
11598         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11599         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11600         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
11601         set dl_error_catch_tsd.
11602         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
11603         _dl_error_catch_tsd member.
11604         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
11605         members.
11606         (_dl_initial_error_catch_tsd): Remove declaration.
11607         (_dl_dprintf): Provide definition for use outside of ld.so.
11608         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
11609         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
11610         prototype for libc.
11611         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
11612         _dl_catch_error.
11613         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11614         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11615         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11616         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11617         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11618         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11619         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11620         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
11621         Likewise.
11622         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11624         (ld.so): Likewise.
11625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11626         (ld.so): Likewise.
11627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11628         Likewise.
11629         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11630         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11631         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
11632         Likewise.
11633         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
11634         Likewise.
11635         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11637 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11639         [BZ #4099]
11640         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
11641         _IO_BUFSIZ (8192).
11643 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
11645         * PROJECTS: Remove file.
11647 2016-11-29  Florian Weimer  <fweimer@redhat.com>
11649         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
11651 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
11652             Steve Ellcey  <sellcey@caviumnetworks.com>
11654         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
11655         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
11656         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
11657         fxstatat.
11658         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
11659         lxstat.
11660         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
11661         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
11662         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
11663         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
11664         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
11665         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
11666         __xstat.
11668 2016-11-29  Florian Weimer  <fweimer@redhat.com>
11670         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
11671         Define.
11672         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
11673         definition.
11675 2016-11-29  Florian Weimer  <fweimer@redhat.com>
11677         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
11678         version and turn into strong alias.  Remove compat symbol.
11680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11681         (__longjmp): Remove.
11683 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
11685         * bits/fp-fast.h: New file.
11686         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
11687         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
11688         * math/Makefile (headers): Add bits/fp-fast.h.
11689         * math/math.h: Include <bits/fp-fast.h>.
11690         * bits/mathdef.h (FP_FAST_FMA): Remove.
11691         (FP_FAST_FMAF): Likewise.
11692         (FP_FAST_FMAL): Likewise.
11693         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
11694         (FP_FAST_FMAF): Likewise.
11695         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
11696         (FP_FAST_FMAF): Likewise.
11697         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
11698         (FP_FAST_FMAF): Likewise.
11699         (FP_FAST_FMAL): Likewise.
11700         * sysdeps/arm/bits/mathdef.h: Remove file.
11701         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
11702         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11703         * sysdeps/tile/bits/mathdef.h: Likewise.
11705 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
11707         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
11708         * math/w_ilogb.c: Remove.
11709         * math/w_ilogbf.c: Likewise.
11710         * math/w_ilogbl.c: Likewise.
11711         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
11712         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
11713         * math/Makefile (gen-libm-calls): Add w_ilogbF.
11714         (libm-calls): Remove w_ilogbF.
11715         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
11716         (LDOUBLE_ilogbl_libm_version): New macro.
11718         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
11720         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
11721         [!__STRICT_ANSI__ && !__cplusplus].
11723 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
11725         [BZ #20750]
11726         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
11727         of PIC.
11729 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11730             Yury Norov  <ynorov@caviumnetworks.com>
11731             Steve Ellcey  <sellcey@caviumnetworks.com>
11733         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
11734         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
11735         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
11736         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
11737         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
11738         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
11739         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
11740         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
11741         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
11742         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
11743         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
11744         to get correct reg name for ILP32.
11745         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
11746         (RELA_SIZE): New Macro.
11747         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
11748         to support ILP32.
11749         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
11750         cast for ILP32 mode.
11751         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
11752         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
11753         * sysdeps/aarch64/memset.S (__memset): Ditto.
11754         * sysdeps/aarch64/strchr.S (strchr): Ditto.
11755         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
11756         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
11757         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
11758         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
11759         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
11760         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
11761         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
11762         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
11763         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
11764         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
11765         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
11766         change PTR_MANGLE call to use register numbers instead of names.
11767         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
11768         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
11769         ILP32 mode, change PTR_MANGLE calls to use register numbers.
11770         * sysdeps/aarch64/start.S (_start): Ditto.
11771         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
11772         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
11773         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
11774         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
11775         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
11776         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
11777         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
11778         Make defined values dependent on __ILP32__.
11779         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
11780         (sem_t): Change __align type.
11781         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
11782         PTR_SIZE): New Macros.
11783         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
11784         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
11785         Set when in ILP32 mode.
11786         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
11787         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
11788         Set elf flags for ILP32.
11789         (add_system_dir): Set ILP32 library directories.
11790         * sysdeps/unix/sysv/linux/aarch64/init-first.c
11791         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
11792         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
11793         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
11794         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
11795         New Macros.
11796         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
11798 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
11800         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
11801         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
11802         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
11804 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
11806         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
11807         <asm/cachectl.h>.
11809 2016-11-27  Zack Weinberg  <zackw@panix.com>
11811         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
11812         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
11814 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11816         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
11817         error_t to fix usage in C++ programs.
11819 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
11821         * scripts/build-many-glibcs.py: Import datetime module.
11822         (Context.__init__): Load JSON build state.  Initialize list of
11823         status logs.
11824         (Context.run_builds): Update saved build state.
11825         (Context.add_makefile_cmdlist): Update list of status logs.
11826         (Context.load_build_state_json): New function.
11827         (Context.store_build_state_json): Likewise.
11828         (Context.clear_last_build_state): Likewise.
11829         (Context.update_build_state): Likewise.
11830         (CommandList.status_logs): Likewise.
11832 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
11834         * scripts/build-many-glibcs.py (Context.__init__): Save text of
11835         script being executed.
11836         (Context.get_script_text): New function.
11837         (Context.exec_self): Likewise.
11838         (Context.checkout): Re-exec script if changed by checkout process.
11840 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
11842         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11843         (setpayloadsig): New declaration.
11844         * math/Versions (setpayloadsig): New libm symbol at version
11845         GLIBC_2.25.
11846         (setpayloadsigf): Likewise.
11847         (setpayloadsigl): Likewise.
11848         * math/Makefile (libm-calls): Add s_setpayloadsigF.
11849         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
11850         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
11851         (setpayloadsig_test_data): New array.
11852         (setpayloadsig_test): New function.
11853         (main): Call setpayloadsig_test.
11854         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
11855         setpayloadsigf and setpayloadsigl.
11856         * manual/libm-err-tab.pl: Update comment on interfaces without
11857         ulps tabulated.
11858         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
11859         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
11860         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
11861         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
11862         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
11863         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
11864         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11865         setpayloadsig.
11866         (CFLAGS-nldbl-setpayloadsig.c): New variable.
11867         * sysdeps/nacl/libm.abilist: Update.
11868         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11869         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11870         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11871         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11872         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11873         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11874         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11875         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11876         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11877         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11878         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11879         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11881         Likewise.
11882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11883         Likewise.
11884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11885         Likewise.
11886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11887         Likewise.
11888         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11889         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11890         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11891         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11892         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11894         Likewise.
11895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11896         Likewise.
11897         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11898         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11899         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11901         * scripts/build-many-glibcs.py: Import json module.
11902         (Context.__init__): Take replace_sources argument.  Load
11903         versions.json.
11904         (Context.load_versions_json): New function.
11905         (Context.store_json): Likewise.
11906         (Context.store_versions_json): Likewise.
11907         (Context.set_component_version): Likewise.
11908         (Context.checkout): Update versions.json.  Check for and handle
11909         changes of version.  Prefer previously explicitly specified
11910         version to default version.
11911         (Context.checkout_vcs): Return a revision identifier.
11912         (Context.git_checkout): Likewise.
11913         (Context.gcc_checkout): Likewise.
11914         (get_parser): Add --replace-sources option.
11915         (main): Pass replace_sources argument to Context call.
11917 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11919         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
11920         * nptl/allocatestack.c (allocate_stack): Likewise.
11921         (__reclaim_stacks): Likewise.
11922         (setxid_signal_thread): Obtain pid through syscall.
11923         * nptl/nptl-init.c (sigcancel_handler): Likewise.
11924         (sighandle_setxid): Likewise.
11925         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
11926         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11927         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11928         Likewise.
11929         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
11930         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
11931         comment.
11932         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
11933         * nptl/descr.h (struct pthread): Change comment about pid value.
11934         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
11935         pid assert.
11936         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
11937         Do not set pid value.
11938         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
11939         pid cache check.
11940         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
11941         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
11942         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
11943         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
11944         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
11945         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11946         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
11947         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
11948         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
11949         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
11950         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
11951         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11952         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
11953         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11954         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
11955         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
11956         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11957         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
11958         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
11959         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
11960         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
11961         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11962         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
11963         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
11964         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
11965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11967         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11968         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11969         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11970         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
11971         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
11972         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
11973         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11974         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
11975         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11976         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
11977         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11978         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
11979         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
11980         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11981         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
11982         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
11983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11985         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11986         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11987         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11988         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11989         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11990         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
11991         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11992         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
11993         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
11994         struct access.
11995         (clone_test): Remove function.
11996         (do_test): Rewrite to take in consideration pid is not cached anymore.
11998 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12000         * bits/flt-eval-method.h: New file.
12001         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
12002         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
12003         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
12004         * math/Makefile (headers): Add bits/flt-eval-method.h.
12005         * math/math.h: Include <bits/flt-eval-method.h>.
12006         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
12007         [__USE_ISOC99] (double_t): Likewise.
12008         * bits/mathdef.h (float_t): Remove.
12009         (double_t): Likewise.
12010         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
12011         (double_t): Likewise.
12012         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
12013         (double_t): Likewise.
12014         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
12015         (double_t): Likewise.
12016         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
12017         (double_t): Likewise.
12018         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
12019         (double_t): Likewise.
12020         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
12021         (double_t): Likewise.
12022         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
12023         (double_t): Likewise.
12024         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
12025         (double_t): Likewise.
12026         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
12027         (double_t): Likewise.
12028         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
12029         (double_t): Likewise.
12030         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
12031         (double_t): Likewise.
12032         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
12033         (double_t): Likewise.
12034         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
12035         (double_t): Likewise.
12037 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
12039         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
12040         instead of PIC.
12042 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12044         [BZ #20859]
12045         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
12046         (-0x7fffffff) instead of 0x80000001.
12047         * math/test-fp-ilogb-constants.c: New file.
12048         * math/Makefile (tests): Add test-fp-ilogb-constants.
12050 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
12052         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
12053         (_init): Use it in place of hardcoded R_MIPS_JALR.
12054         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
12055         (_init): Use it in place of hardcoded R_MIPS_JALR.
12056         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
12057         (_init): Use it in place of hardcoded R_MIPS_JALR.
12059 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12061         [BZ #20787]
12062         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
12063         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
12064         (double_t): Do not define to double if [__x86_64__] when
12065         __FLT_EVAL_METHOD__ is nonzero.
12066         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
12067         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
12068         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12069         test-flt-eval-method-387 and test-flt-eval-method-sse.
12070         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
12071         variable.
12072         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
12074 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
12076         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
12077         use of -fno-isolate-erroneous-paths options for tilepro.
12079 2016-11-23  Florian Weimer  <fweimer@redhat.com>
12081         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
12082         structure initialization is no longer needed.
12084 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12086         [BZ #20855]
12087         * bits/mathdef.h (float_t): Define to float.
12088         * math/test-flt-eval-method.c: New file.
12089         * math/Makefile (tests): Add test-flt-eval-method.
12090         (CFLAGS-test-flt-eval-method.c): New variable.
12092 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
12094         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
12095         and __fstatfs.  Make them aliases of __fstatfs64 if
12096         STATFS_IS_STATFS64 is set to non-zero.
12097         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
12098         and __statfs64.
12099         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
12100         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
12101         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
12102         for __statfs and statfs.
12103         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
12104         to 0.
12105         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
12106         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
12107         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
12108         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12109         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12110         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
12113         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
12114         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12115         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
12116         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
12118 2016-11-22  Andreas Schwab  <schwab@suse.de>
12120         * misc/mkstemp.c: Include <fcntl.h>.
12121         * misc/mkstemps.c: Likewise.
12122         * misc/mkostemp.c: Likewise.
12123         * misc/mkostemps.c: Likewise.
12125 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
12127         [BZ #20847]
12128         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12129         array bounds.
12130         (__execvpe): Likewise.
12132 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
12134         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
12135         -fno-isolate-erroneous-paths options for tilepro.
12137 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
12139         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
12140         to 0 when in 32 bit mode.
12141         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
12142         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12143         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12144         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12146         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12147         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
12148         XSTAT_IS_XSTAT64 test.
12149         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
12150         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
12151         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
12152         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
12153         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
12154         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
12155         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
12156         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
12157         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
12158         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
12159         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
12161 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
12163         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12164         (setpayload): New declaration.
12165         * math/Versions (setpayload): New libm symbol at version
12166         GLIBC_2.25.
12167         (setpayloadf): Likewise.
12168         (setpayloadl): Likewise.
12169         * math/Makefile (libm-calls): Add s_setpayloadF.
12170         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
12171         test_Ff_b1_data.
12172         (RUN_TEST_Ff_b1): New macro.
12173         (RUN_TEST_LOOP_Ff_b1): Likewise.
12174         (canonicalize_test_data): Update type.
12175         (setpayload_test_data): New array.
12176         (setpayload_test): New function.
12177         (main): Call setpayload_test.
12178         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
12179         setpayloadf and setpayloadl.
12180         * manual/libm-err-tab.pl: Update comment on interfaces without
12181         ulps tabulated.
12182         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
12183         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
12184         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
12185         Likewise.
12186         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
12187         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
12188         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
12189         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
12190         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
12191         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
12192         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
12193         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
12194         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
12195         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12196         setpayload.
12197         (CFLAGS-nldbl-setpayload.c): New variable.
12198         * sysdeps/nacl/libm.abilist: Update.
12199         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12200         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12201         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12202         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12203         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12204         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12205         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12206         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12207         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12208         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12209         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12210         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12212         Likewise.
12213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12214         Likewise.
12215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12216         Likewise.
12217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12218         Likewise.
12219         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12220         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12221         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12222         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12223         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12225         Likewise.
12226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12227         Likewise.
12228         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12229         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12230         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12232 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12234         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
12235         * include/unistd.h: Extend comment about __access_noerrno return
12236         semantics.
12237         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
12238         (access_common): Correct typo for EACCES.
12240 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
12242         * sysdeps/tile/math-tests.h: New file.
12244         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
12245         (__old_set_dataplane): Rename from set_dataplane and make a
12246         compatibility symbol.
12247         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
12248         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
12249         sys/dataplane.h.
12251 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
12253         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
12254         script quote words in command output to log suitably for input to
12255         the shell.
12257 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
12258             Maciej W. Rozycki  <macro@imgtec.com>
12260         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
12261         `.Lno_weak_fn' label.
12262         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
12263         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
12265 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12266             Yury Norov  <ynorov@caviumnetworks.com>
12268         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
12269         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
12270         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12271         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
12272         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12273         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
12274         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12275         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12276         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12277         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
12278         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12279         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
12280         (sysdep_routines): Remove oldgetrlimit64.
12281         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
12282         (sysdep_routines): Likewise.
12283         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
12284         (sysdep_routines): Likewise.
12285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12286         [$(subdir) = resource] (sysdep_routines): Likewise.
12287         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
12288         [$(subdir) = resource] (sysdep_routines): Likewise.
12289         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
12290         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
12291         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
12292         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
12293         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
12294         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12295         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
12296         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
12297         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
12298         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
12299         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
12300         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
12301         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
12302         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
12303         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
12304         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
12305         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
12306         setrlimit and getrlimit.
12307         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
12308         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12309         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
12310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
12312         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12313         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
12314         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12316         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
12317         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
12318         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
12319         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
12320         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
12321         (__old_getrlimit64): Add compatibility symbol.
12322         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
12324 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
12326         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
12327         newly built gmp, mpfr and mpc.
12329         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
12331 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12333         * conform/Makefile (linknamespace-libs): Rename to
12334         linknamespace-libs-thr.
12335         (linknamespace-libs-posix): New variable.
12336         (linknamespace-libs-xsi): Likewise.
12337         (linknamespace-libs-XPG3): Include libcrypt.a.
12338         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
12339         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
12340         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
12341         (linknamespace-libs-XOPEN2K): Likewise.
12342         (linknamespace-libs-XOPEN2K8): Likewise.
12343         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
12345         [BZ #20829]
12346         * stdio-common/Versions (__snprintf): Add to version
12347         GLIBC_PRIVATE.
12348         * include/stdio.h (__snprintf): Use libc_hidden_proto.
12349         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
12350         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
12351         of snprintf.
12352         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12354 2016-11-16  Zack Weinberg  <zackw@panix.com>
12356         * string/string.h: Remove obsolete comment stating that
12357         strcoll_l and strxfrm_l have not yet been standardized.
12359 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12361         * hurd/hurd.h (__hurd_fail_noerrno): New function.
12362         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
12363         __access_noerrno.
12364         * io/access.c (__access_noerrno): New function.
12365         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
12366         (hurd_fail_seterrno): Likewise.
12367         (access_common): Likewise.
12368         (__access_noerrno): Likewise.
12369         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
12370         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
12371         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
12372         macro.
12374 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12376         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
12377         Only declare fpregs if [__SH_FPU_ANY__].
12379 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
12381         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
12382         Make code unconditional.
12383         [!(__SH4__ || __SH4A__)]: Remove conditional code.
12385 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
12387         * manual/sysinfo.texi (S_APPEND): Delete.
12388         (S_IMMUTABLE): Likewise.
12390 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
12391             Magnus Granberg  <zorry@gentoo.org>
12392             Mike Frysinger  <vapier@gentoo.org>
12394         [BZ #20662]
12395         * configure.ac (libc_cv_predef_stack_protector): Also check for
12396         __stack_chk_fail_local symbols.
12397         * configure: Regenerated.
12399 2016-11-15  Florian Weimer  <fweimer@redhat.com>
12401         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12402         (libc_hidden_def): Remove redefinition.
12403         (__sigsetjmp): Add hidden definition.
12404         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12405         (libc_hidden_def): Remove redefinition.
12406         (__sigsetjmp): Add hidden definition.
12408 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
12410         * scripts/build-many-glibcs.py (os.path): Do not import.
12411         (Context): Inherit explicitly from object.  Remove blank line
12412         between class and docstring.
12413         (Config): Likewise.
12414         (Glibc): Likewise.
12415         (Command): Likewise.
12416         (CommandList): Likewise.
12417         (Context.write_files): Store chmod mode in a variable.
12419         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
12420         LIBC_SLIBDIR_RTLDDIR for tilegx32.
12421         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
12423 2016-11-14  Zack Weinberg  <zackw@panix.com>
12425         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
12426         creating or re-creating it.
12428         * string/bits/string2.h: Fix typo in comment.
12430 2016-11-14  Zack Weinberg  <zackw@panix.com>
12432         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
12433         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
12434         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
12435         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
12436         of redirected function names.
12438         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
12439         as well.  Document that MESSAGE must be a single string literal.
12441 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
12443         * scripts/build-many-glibcs.py: New file.
12445         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
12446         (do_test): Disable -Wmaybe-uninitialized around uses of
12447         except_mask.
12449         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
12451 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
12453         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
12454         (atomic_store_release): Provide tilepro-specific implementations.
12456 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
12458         * math/math.h (__MATH_TG): New macro.
12459         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
12460         [__USE_ISOC99] (signbit): Likewise.
12461         [__USE_ISOC99] (isfinite): Likewise.
12462         [__USE_ISOC99] (isnan): Likewise.
12463         [__USE_ISOC99] (isinf): Likewise.
12464         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
12465         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
12466         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
12467         __MATH_TG and __MATH_EVAL_FMT2.
12468         * sysdeps/generic/math_private.h (fabs_tg): Define using
12469         __MATH_TG.
12470         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12471         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
12472         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
12473         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
12474         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
12475         macro.
12476         (__iscanonical): Likewise.
12477         (iscanonical): Define using __MATH_TG.
12479 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12481         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
12482         guards.
12484         * sysdeps/unix/sysv/linux/access.c: New file.
12485         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
12487 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
12489         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
12490         and __WORDSIZE32_PTRDIFF_LONG.
12492 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12494         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12496 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12498         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
12499         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
12500         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
12501         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
12502         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
12503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
12504         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
12505         * sysdeps/unix/sysv/linux/truncate.c: New file.
12506         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
12507         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12508         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
12509         Remove.
12510         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
12511         Likewise.
12513         * posix/tst-truncate-common.c: New file.
12514         * posix/tst-truncate.c: Use tst-truncate-common.c.
12515         * posix/tst-truncate64.c: Likewise and add LFS tests.
12516         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
12517         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
12518         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
12519         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
12520         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
12521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
12522         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
12523         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
12524         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
12525         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12526         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
12527         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
12528         Remove.
12529         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
12530         Likewise.
12532 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
12534         [BZ #20790]
12535         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
12536         to MAXLINESIZE.
12537         * sunrpc/bug20790.x: New file.
12538         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
12539         variable.
12540         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
12541         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
12543         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
12545         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
12547         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
12548         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
12549         calloc, realloc, free, memalign and __libc_memalign rather than
12550         making them optional.
12552         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
12553         for libc.so.
12555 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12557         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
12558         ptw-lseek64.
12559         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
12560         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
12561         Likewise.
12562         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
12563         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
12564         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
12565         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
12566         * sysdeps/unix/sysv/linux/lseek.c: New file.
12567         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
12568         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
12569         __libc_lseek64 from auto-generation.
12570         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12571         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
12573 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12575         * nptl/tst-basic1.c (tf, do_test): Use write_message.
12576         * nptl/tst-cleanup1.c (do_test): Likewise.
12577         * nptl/tst-cleanup3.c (do_test): Likewise.
12578         * nptl/tst-key1.c (do_test): Likewise.
12579         * nptl/tst-key2.c (tf, do_test): Likewise.
12580         * nptl/tst-key3.c (tf, do_test): Likewise.
12581         * nptl/tst-stdio1.c (do_test): Likewise.
12582         * nptl/tst-stdio2.c (do_test): Likewise.
12584         * nptl/tst-kill3.c (handler): Use write_message in place of write.
12585         * nptl/tst-kill6.c (handler): Likewise.
12586         * nptl/tst-tls2.c (CB): Likewise.
12587         * nptl/tst-tls3.c (CB): Likewise.
12589 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
12591         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
12593 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
12594             Steve Ellcey  <sellcey@caviumnetworks.com>
12596         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
12597           __ASSUME_ST_INO_64_BIT as 0
12598         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
12599         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
12600           over the code where __ASSUME_ST_INO_64_BIT is used.
12601         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
12602         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
12603         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12605 2016-11-07  Florian Weimer  <fweimer@redhat.com>
12607         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12608         Document ABI exposure of the __kind offset.
12609         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12610         Mention reason for the __kind offset exposure in the ABI.
12611         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12612         Likewise.
12613         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12614         Likewise.
12615         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12616         Likewise.
12617         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
12618         (struct __pthread_mutex_s): Likewise.
12619         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12620         Likewise.
12621         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12622         Likewise.
12623         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12624         Likewise.
12625         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12626         Likewise.
12627         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12628         Likewise.
12629         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12630         Likewise.
12631         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
12632         (struct __pthread_mutex_s): Likewise.
12633         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12634         (struct __pthread_mutex_s): Likewise.
12635         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
12636         Likewise.
12638 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
12640         * test-skeleton.c: Document do_test usage.
12642 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
12644         * iconv/gconv.h (__gconv_info): Define __data element using a
12645         zero-length array.
12647 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
12649         * math/test-tgmath2.c: Split up test function.
12651 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
12653         * Rules (tests-expected): New variable, depending on
12654         $(run-built-tests).
12655         (tests): Pass $(tests-expected) to merge-test-results.sh, not
12656         $(tests).
12658         * Rules [$(run-built-tests) = no] (tests): Do not depend on
12659         $(tests-unsupported).
12661 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12663         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12664         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
12666 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
12668         [BZ #20768]
12669         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
12670         __fegetenv instead of fegetenv.
12672         [BZ #14139]
12673         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
12674         (find_files): Obtain platform name from libm-test-ulps-name and
12675         store in %pplatforms.
12676         (canonicalize_platform): Remove.
12677         (print_platforms): Use $pplatforms directly.
12678         (by_platforms): Do not allow for platforms missing from
12679         %pplatforms.
12680         * sysdeps/aarch64/libm-test-ulps-name: New file.
12681         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
12682         * sysdeps/arm/libm-test-ulps-name: Likewise.
12683         * sysdeps/generic/libm-test-ulps-name: Likewise.
12684         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
12685         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
12686         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
12687         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
12688         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
12689         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
12690         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
12691         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
12692         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
12693         * sysdeps/nios2/libm-test-ulps-name: Likewise.
12694         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
12695         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
12696         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
12697         * sysdeps/sh/libm-test-ulps-name: Likewise.
12698         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
12699         * sysdeps/tile/libm-test-ulps-name: Likewise.
12700         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
12702         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
12704         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
12705         (test-xfail-check-execstack): New variable.
12707         * sysdeps/mips/localplt.data: New file.
12709 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
12710             Steve Ellcey  <sellcey@caviumnetworks.com>
12712         * bits/wordsize.h: Add documentation.
12713         * sysdeps/aarch64/bits/wordsize.h : New file
12714         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
12715         definitions.
12716         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
12717         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
12718         with #if instead of #ifdef.
12719         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
12720         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
12721         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
12722         Add or change defines.
12723         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
12724         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12725         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
12726         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
12727         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12728         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12729         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
12730         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
12731         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
12732         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12733         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
12734         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
12735         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
12736         * sysdeps/x86/bits/wordsize.h: Likewise.
12738 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
12739             Kevin Petit  <kevin.petit@arm.com>
12741         * sysdeps/aarch64/memchr.S (__memchr): New file.
12743 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
12745         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
12747 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
12749         [BZ #19398]
12750         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
12751         $(linknamespace-symlists-tests).
12753 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
12755         * time/tst-strptime2.c: Ignore -Wformat-length warning.
12757 2016-11-02  Florian Weimer  <fweimer@redhat.com>
12758             Carlos O'Donell  <carlos@redhat.com>
12760         [Bug #20729]
12761         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
12762         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
12763         for -Os related change.
12765 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
12767         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
12769 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
12771         [BZ #19673]
12772         * manual/math.texi (Exponents and Logarithms): Correct description
12773         of clog10.
12775 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
12777         [Bz #20729]
12778         * locale/weight.h: Include libc-internal.h.
12779         * locale/weightwc.h: Likewise.
12780         * nptl/nptl_dbP.h: Likewise.
12782 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
12784         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
12785         when it is MACH_PORT_NULL.
12787 2016-10-31  Andreas Schwab  <schwab@suse.de>
12789         [BZ #20707]
12790         * posix/glob.c (glob): Initialize pglob before checking for
12791         GLOB_BRACE.  Don't call glob recursively if pattern contains no
12792         valid brace expression despite GLOB_BRACE.
12793         * posix/globtest.sh: Test it.
12795 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
12797         [BZ #20729]
12798         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
12799         Define.
12800         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
12801         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
12802         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
12803         for seq2.back_us and seq1.back_us only for -Os compiles.
12804         * locale/weightwc.h (findix): Likewise.
12805         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
12806         DB_GET_FIELD_ADDRESS only for -Os compiles.
12807         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
12808         for slen only for -Os compiles.
12809         * string/strcoll_l.c (get_next_seq): Ignore
12810         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
12811         for -Os compiles.
12813         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
12814         * include/crypt.h: New file.
12816 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12818         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
12819         from test-skeleton.c.
12820         (statclass): Replace calls to write with calls to write_message.
12822 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12824         * math/math.h
12825         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
12826         New macro.
12827         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
12828         Likewise.
12829         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
12830         Likewise.
12831         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
12832         SNANL.
12833         * math/test-double.h (snan_value_MACRO): New macro.
12834         * math/test-float.h (snan_value_MACRO): Likewise.
12835         * math/test-ldouble.h (snan_value_MACRO): Likewise.
12836         * math/libm-test.inc (issignaling_test_data): Add tests of
12837         snan_value_MACRO.
12839 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12841         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
12842         behavior when eliding a lock not held by the current thread.
12843         * sysdeps/powerpc/nptl/elide.h: Likewise.
12845 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12847         [BZ #20728]
12848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
12849         branch to _exit() by a function call.
12851 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12853         * malloc/malloc.c: Update chunk layout comments.
12854         (chunk_main_arena): Update comment.
12856 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12858         * crypt/sha256.c, crypt/sha256-block.c,
12859         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
12860         sha256_process_block to __sha256_process_block.
12861         * crypt/sha512.c, crypt/sha512-block.c,
12862         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
12863         sha512_process_block to __sha512_process_block.
12865 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
12867         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
12869         * math/test-nan-overflow.c: Include stdlib.h for malloc.
12871 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
12873         [BZ #20019]
12874         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
12875         definition in unrelocated shared library.
12876         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12878 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12880         [BZ #20729]
12881         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
12882         * sysdeps/unix/sysv/linux/i386/Makefile
12883         (uses-6-syscall-arguments): Define.
12884         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
12885         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
12886         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
12887         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
12888         Likewise.
12889         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
12890         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
12891         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
12892         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
12893         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
12894         (CFLAGS-fallocate64.os): Likewise.
12895         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
12896         (CFLAGS-pthread_rwlock_timedrdlock.os)
12897         (CFLAGS-pthread_rwlock_timedwrlock.o)
12898         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
12899         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
12900         (CFLAGS-sem_timedwait.os): Likewise.
12902 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12904         * elf/tst-linkall-static.c: New file.
12905         * elf/Makefile (tests-static): Add tst-linkall-static.
12906         (tst-linkall-static): Link against static libraries.
12908 2016-10-27  Florian Weimer  <fweimer@redhat.com>
12910         * malloc/malloc.c (sysmalloc): Initialize previous size field of
12911         mmaped chunks.
12913 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12915         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
12916         members to mchunk_prev_size, mchunk_size.
12917         (chunk_main_arena): Reverse sense and rename from
12918         chunk_non_main_arena.
12919         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
12920         mchunk_size instead of size.
12921         (set_non_main_arena): Define.
12922         (chunksize): Use chunksize_nomask instead of direct member access.
12923         (chunksize_nomask): Define.
12924         (next_chunk): Use chunksize instead of direct member access.
12925         (prev_size, set_prev_size): Define.
12926         (prev_chunk): Use prev_size instead of direct member access.
12927         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
12928         (inuse_bit_at_offset, set_inuse_bit_at_offset)
12929         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
12930         (mchunk_prev_size, mchunk_size): Poison tokens.
12931         (unlink): Use chunksize_nomask, prev_size accessors.
12932         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
12933         (do_check_free_chunk): Use prev_size accessor.
12934         (sysmalloc): Use set_prev_size, set_head accessors.
12935         (munmap_chunk, mremap_chunk): Use prev_size accessor.
12936         (__libc_free): Use chunksize_nomask accessor.
12937         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
12938         chunk_main_arena accessors.
12939         (_int_free): Use chunksize_nomask, prev_size accessors.
12940         (malloc_consolidate): Use chunksize, prev_size accessors.
12941         (_int_realloc): Use chunksize_nomask accessor.
12942         (_int_memalign): Use set_prev_size accessor.
12943         (__malloc_info): Use chunksize_nomask accessor.
12944         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
12945         accessors.
12946         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
12947         (heap_trim): Use chunksize_nomask, prev_size accessors.
12949 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12951         [BZ #19380]
12952         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
12953         for inexact results.
12954         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
12955         of inexact result where mpfr_subnormalize is the only inexact
12956         step.
12957         * stdlib/tst-strtod-round-data.h: Regenerated.
12958         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
12959         Define to 0.
12960         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
12962 2016-10-27  David S. Miller  <davem@davemloft.net>
12964         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
12966 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12968         * malloc/malloc.c (do_set_mallopt_check): New function.
12969         (do_set_mmap_threshold): Likewise.
12970         (do_set_mmaps_max): Likewise.
12971         (do_set_top_pad): Likewise.
12972         (do_set_perturb_byte): Likewise.
12973         (do_set_trim_threshold): Likewise.
12974         (do_set_arena_max): Likewise.
12975         (do_set_arena_test): Likewise.
12976         (__libc_mallopt): Use them.
12978 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
12980         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12981         (canonicalize): New declaration.
12982         * math/Versions (canonicalize): New libm symbol at version
12983         GLIBC_2.25.
12984         (canonicalizef): Likewise.
12985         (canonicalizel): Likewise.
12986         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
12987         * math/s_canonicalize_template.c: New file.
12988         * math/libm-test.inc: Update comment on functions tested and
12989         testing of NaN payloads.
12990         (TEST_NAN_PAYLOAD): New macro.
12991         (NO_TEST_INLINE): Update value.
12992         (XFAIL_TEST): Likewise.
12993         (ERRNO_UNCHANGED): Likewise.
12994         (ERRNO_EDOM): Likewise.
12995         (ERRNO_ERANGE): Likewise.
12996         (IGNORE_RESULT): Likewise.
12997         (NON_FINITE): Likewise.
12998         (TEST_SNAN): Likewise.
12999         (NO_TEST_MATHVEC): Likewise.
13000         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
13001         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
13002         (struct test_Ffp_b1_data): New type.
13003         (RUN_TEST_Ffp_b1): New macro.
13004         (RUN_TEST_LOOP_Ffp_b1): Likewise.
13005         (canonicalize_test_data): New array.
13006         (canonicalize_test): New function.
13007         (main): Call canonicalize_test.
13008         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
13009         canonicalizef and canonicalizel.
13010         * manual/libm-err-tab.pl: Update comment on interfaces without
13011         ulps tabulated.
13012         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
13013         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
13014         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13015         canonicalize.
13016         (CFLAGS-nldbl-canonicalize.c): New variable.
13017         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
13018         to ...
13019         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
13020         ... here.
13021         (do_test): Also test canonicalizel.
13022         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
13023         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
13024         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
13025         file.
13026         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
13027         Use libm_hidden_def.
13028         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
13029         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
13030         (do_test): Also test canonicalizel.
13031         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
13032         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
13033         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
13034         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
13035         libm_hidden_def.
13036         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
13037         macro.
13038         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
13039         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
13040         * sysdeps/nacl/libm.abilist: Update.
13041         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13042         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13043         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13044         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13045         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13046         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13047         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13048         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13049         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13050         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13051         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13052         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13054         Likewise.
13055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13056         Likewise.
13057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13058         Likewise.
13059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13060         Likewise.
13061         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13062         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13063         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13064         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13065         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13067         Likewise.
13068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13069         Likewise.
13070         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13071         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13072         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13074         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
13075         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13076         getpayload.
13077         (CFLAGS-nldbl-getpayload.c): New variable.
13079 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13081         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
13082         integer from the format string.
13084 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13086         [BZ #19473]
13087         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
13088         declarations.
13089         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
13090         weak aliases.
13091         * malloc/hooks.c (__malloc_get_state): Remove definition.
13092         (malloc_get_state): New stub implementation as
13093         compatibility symbol.
13094         (malloc_set_state): Rename from __malloc_set_state.  Turn into
13095         compat symbol.
13096         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
13097         malloc_set_state.
13098         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
13100 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13102         * iconvdata/iso646.c (enum variant): Drop illegal_var.
13103         (names): Turn into concatenation of strings.
13104         (gconv_init): Adapt iteration over names.
13106 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13108         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
13109         make const.
13110         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
13111         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
13112         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
13113         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
13114         character in sbconv.
13115         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
13116         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
13117         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
13119 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13121         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
13123         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
13124         (M_TRIM_THRESHOLD): Likewise.
13126         * manual/memory.texi (M_ARENA_TEST): Add documentation.
13127         (M_ARENA_MAX): Likewise.
13128         * malloc/malloc.c: Remove obsolete comment.
13130         * manual/memory.texi: Add environment variable alternatives to
13131         setting mallopt parameters.
13133 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
13135         * include/atomic.h
13136         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
13137         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
13139 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13141         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
13142         * stdlib/tst-strfrom.h: New file.
13143         * stdlib/tst-strfrom.c: New file.
13144         * stdlib/tst-strfrom-locale.c: New file.
13146         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
13147         * stdlib/bug-strtod2.c: Likewise.
13148         * stdlib/tst-strtod-round-skeleton.c: Likewise.
13149         * stdlib/tst-strtod6.c: Likewise.
13150         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
13152 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13154         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
13155         * manual/arith.texi: Document strfromd, strfromf, strfroml.
13156         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
13157         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
13158         * stdlib/stdlib.h (strfromd): New declaration.
13159         (strfromf): Likewise.
13160         (strfroml): Likewise.
13161         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
13162         strfrom.
13163         * stdlib/strfromd.c: New file.
13164         * stdlib/strfromf.c: Likewise.
13165         * stdlib/strfroml.c: Likewise.
13166         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
13167         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
13168         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
13169         * sysdeps/arm/nacl/libc.abilist: Update.
13170         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13171         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13172         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13173         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13174         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13175         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13176         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13177         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13178         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13179         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13180         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13181         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13182         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13183         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13188         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13189         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13190         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13191         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13192         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13195         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13196         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13197         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13199 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
13201         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
13202         instead of cmpli.
13203         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
13204         instead of cmpli.
13206 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
13208         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
13209         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
13210         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
13211         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13212         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13213         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13215 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13217         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
13218         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13219         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
13220         SYSCALL_LL64_PRW.
13221         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13222         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
13223         __ASSUME_PRW_DUMMY_ARG.
13224         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
13225         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13226         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13227         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13228         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
13229         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
13231 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
13233         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
13235 2016-10-22  Florian Weimer  <fweimer@redhat.com>
13237         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
13238         "C++", to override a potential extern "C" directive around the
13239         header file inclusion.
13241 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
13243         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
13245 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13247         * sysdeps/powerpc/fpu/fenv_private.h:
13248         (_FPU_MASK_ALL): Rename to...
13249         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
13250         XE FPSCR bits.
13252         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
13254         (_FPU_MASK_ROUNDING): Rename to...
13255         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
13256         NI bits.
13258         (_FPU_MASK_EXCEPT_ROUND): Rename to...
13259         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
13260         bits and rounding bits.
13262         (__libc_feholdbits_ppc): New inline function to mask, set,
13263         and pontentially clear FSPCR bits, and change MSR[FE] bits.
13264         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
13265         (libc_feholdexcept_setround_ppc): Likewise.
13267         (__libc_femergeenv_ppc): New function to dynamically mask both
13268         old and new FP environments and merge.
13269         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
13270         (libc_feresetround_ppc): Likewise.
13271         (libc_feupdateenv_test_ppc): Likewise.
13272         (libc_feupdateenv_ppc): Likewise.
13274         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
13275         of ISA RN bits, and update macro names.
13276         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
13277         effectively the same as the previously mentioned function.
13279         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
13280         usage with fe_resetround_ppc.
13282         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
13283         to be used.
13284         (libc_feholdexcept_setround_ctxf): Likewise.
13285         (libc_feholdexcept_setround_ctxl): Likewise.
13287 2016-10-21  Florian Weimer  <fweimer@redhat.com>
13289         [BZ #20715]
13290         * math/math.h [__cplusplus] (iszero): Define as function template.
13291         * math/Makefile [CXX] (tests): Add test-math-iszero.
13292         (CFLAGS-test-math-iszero.cc): Set.
13293         * math/test-math-iszero.cc: New file.
13295 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
13297         [BZ #20660]
13298         * sysdeps/arm/e_sqrt.c: New file.
13299         * sysdeps/arm/e_sqrtf.c: Likewise.
13301 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
13303         [BZ #20718]
13304         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
13305         not use floating-point comparisons to test sign.
13306         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
13307         Likewise.
13309         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13310         (getpayload): New declaration.
13311         * math/Versions (getpayload): New libm symbol at version
13312         GLIBC_2.25.
13313         (getpayloadf): Likewise.
13314         (getpayloadl): Likewise.
13315         * math/Makefile (libm-calls): Add s_getpayloadF.
13316         * math/libm-test.inc: Include <nan-high-order-bit.h>.
13317         (struct test_f_f_data): Add comment.
13318         (RUN_TEST_fp_f): New macro.
13319         (RUN_TEST_LOOP_fp_f): Likewise.
13320         (getpayload_test_data): New array.
13321         (getpayload_test): New function.
13322         (main): Call getpayload_test.
13323         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
13324         descriptor.
13325         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
13326         getpayloadf and getpayloadl.
13327         * manual/libm-err-tab.pl: Update comment on interfaces without
13328         ulps tabulated.
13329         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
13330         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
13331         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
13332         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
13333         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
13334         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
13335         * sysdeps/nacl/libm.abilist: Update.
13336         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13337         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13338         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13339         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13340         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13341         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13342         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13343         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13344         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13345         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13346         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13347         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13349         Likewise.
13350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13351         Likewise.
13352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13353         Likewise.
13354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13355         Likewise.
13356         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13357         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13358         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13359         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13360         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13362         Likewise.
13363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13364         Likewise.
13365         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13366         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13367         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13369 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13371         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
13372         tst-fallocate{64}.
13373         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
13374         on syscall return.
13376 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
13378         [BZ #20689]
13379         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
13380         usable.
13382 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
13384         * sysdeps/generic/nan-high-order-bit.h: New file.
13385         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
13386         * sysdeps/mips/nan-high-order-bit.h: Likewise.
13387         * sysdeps/hppa/math_private.h: Remove file.
13388         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
13389         not define here.
13390         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
13391         <nan-high-order-bit.h>.
13392         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13393         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
13394         <nan-high-order-bit.h>.
13395         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13396         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13397         <nan-high-order-bit.h>.
13398         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13399         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
13400         <nan-high-order-bit.h>.
13401         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13402         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13403         <nan-high-order-bit.h>.
13404         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13405         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13406         <nan-high-order-bit.h>.
13407         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13408         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
13409         <nan-high-order-bit.h>.
13410         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13411         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13412         <nan-high-order-bit.h>.
13413         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13414         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
13415         <nan-high-order-bit.h>.
13416         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13417         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
13418         <nan-high-order-bit.h>.
13419         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13420         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
13421         <nan-high-order-bit.h>.
13422         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13423         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
13424         <nan-high-order-bit.h>.
13425         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13426         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
13427         <nan-high-order-bit.h>.
13428         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13429         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
13430         <nan-high-order-bit.h>.
13431         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13432         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
13433         <nan-high-order-bit.h>.
13434         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13435         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
13436         <nan-high-order-bit.h>.
13437         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13438         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
13439         <nan-high-order-bit.h>.
13440         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13441         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
13442         <nan-high-order-bit.h>.
13443         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13445 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13447         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
13449 2016-09-22  John David Anglin  <dave.anglin@bell.net>
13451         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
13452         abort-instr.h.
13453         (EFAULT): Remove conditional define.
13454         (ENOSYS): Likewise.
13455         (atomic_compare_and_exchange_val_acq): Use instruction nullification
13456         instead of conditional branch instructions.
13458 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
13460         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13461         (totalordermag): New declaration.
13462         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
13463         New macro.
13464         * math/Versions (totalordermag): New libm symbol at version
13465         GLIBC_2.25.
13466         (totalordermagf): Likewise.
13467         (totalordermagl): Likewise.
13468         * math/Makefile (libm-calls): Add s_totalordermagF.
13469         * math/libm-test.inc (totalordermag_test_data): New array.
13470         (totalordermag_test): New function.
13471         (main): Call totalordermag_test.
13472         * math/test-tgmath.c (NCALLS): Increase to 125.
13473         (F(compile_test)): Call totalordermag.
13474         (F(totalordermag)): New function.
13475         * manual/arith.texi (FP Comparison Functions): Document
13476         totalordermag, totalordermagf and totalordermagl.
13477         * manual/libm-err-tab.pl: Update comment on interfaces without
13478         ulps tabulated.
13479         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
13480         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
13481         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
13482         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
13483         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
13484         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
13485         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
13486         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13487         totalordermag.
13488         (CFLAGS-nldbl-totalordermag.c): New variable.
13489         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
13490         (do_test): Also test totalordermagl.
13491         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
13492         Likewise.
13493         * sysdeps/nacl/libm.abilist: Update.
13494         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13495         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13496         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13497         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13498         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13499         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13500         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13501         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13502         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13503         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13504         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13505         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13507         Likewise.
13508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13509         Likewise.
13510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13511         Likewise.
13512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13513         Likewise.
13514         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13515         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13516         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13517         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13518         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13520         Likewise.
13521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13522         Likewise.
13523         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13524         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13525         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13527 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
13529         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
13530         boolean.
13532 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
13534         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
13535         raising FE_INVALID with feraisexcept in case where part of
13536         argument is infinite, subtract that part of argument from itself.
13537         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
13538         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
13539         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
13541 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
13543         * math/libm-test.inc (totalorder_test_data): Add more tests.
13545 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13547         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
13548         Undefine weak_alias and add a comment why mips64 require
13549         versioning.
13551 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13553         [BZ #20647]
13554         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
13555         maximum CPUID level is less than 2.
13557 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
13559         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13560         (totalorder): New declaration.
13561         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
13562         New macro.
13563         * math/Versions (totalorder): New libm symbol at version
13564         GLIBC_2.25.
13565         (totalorderf): Likewise.
13566         (totalorderl): Likewise.
13567         * math/Makefile (libm-calls): Add s_totalorderF.
13568         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
13569         string.
13570         * math/libm-test.inc (PAYLOAD_DIG): New macro.
13571         (qnan_value_pl): Likewise.
13572         (snan_value_pl): Likewise.
13573         (qnan_value): Define using qnan_value_pl.
13574         (snan_value): Define using snan_value_pl.
13575         (struct test_ff_i_data): Add comment about which tests use this
13576         structure.
13577         (RUN_TEST_ff_b): New macro.
13578         (RUN_TEST_LOOP_ff_b): Likewise.
13579         (totalorder_test_data): New array.
13580         (totalorder_test): New function.
13581         (main): Call totalorder_test.
13582         * math/test-tgmath.c (NCALLS): Increase to 122.
13583         (F(compile_test)): Call totalorder.
13584         (F(totalorder)): New function.
13585         * manual/arith.texi (FP Comparison Functions): Document
13586         totalorder, totalorderf and totalorderl.
13587         * manual/libm-err-tab.pl: Update comment on interfaces without
13588         ulps tabulated.
13589         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
13590         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
13591         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
13592         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
13593         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
13594         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
13595         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
13596         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13597         totalorder.
13598         (CFLAGS-nldbl-totalorder.c): New variable.
13599         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
13600         file.
13601         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13602         Add test-totalorderl-ldbl-128ibm.
13603         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
13604         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
13605         test-totalorderl-ldbl-96.
13606         * sysdeps/nacl/libm.abilist: Update.
13607         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13608         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13609         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13610         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13611         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13612         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13613         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13614         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13615         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13616         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13617         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13618         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13620         Likewise.
13621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13622         Likewise.
13623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13624         Likewise.
13625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13626         Likewise.
13627         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13628         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13629         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13630         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13631         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13633         Likewise.
13634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13635         Likewise.
13636         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13637         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13638         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13640 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13642         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
13643         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
13644         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
13645         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
13646         remove ENOSYS implementation.
13647         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
13648         Consolidate all Linux implementations.
13650 2016-10-11  Florian Weimer  <fweimer@redhat.com>
13652         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
13653         * resolv/herror.c (herror): Cast away const-ness.
13654         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
13655         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
13657 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
13659         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
13660         instead of M_NAN + M_NAN.
13661         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
13663 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13665         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
13666         unused variable 'p'.
13668 2016-10-09  Alan Modra  <amodra@gmail.com>
13669             Andreas Schwab  <schwab@linux-m68k.org>
13671         [BZ #20554]
13672         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
13673         [PIC && !SHARED]: Set up PIC register for PLT call.
13675 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
13677         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
13678         conditional on value of [__FLT_EVAL_METHOD__].
13679         * math/test-iseqsig-excess-precision.c: New file.
13680         * math/Makefile (tests): Add test-iseqsig-excess-precision.
13682 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13684         * math/s_iseqsig_template.c: Include math-private.h.
13686         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
13687         * posix/tst-posix_fadvise.c: New file.
13688         * posix/tst-posix_fadvise64.c: Likewise.
13689         * posix/tst-posix_fadvise-common.c: Likewise.
13690         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13691         (__ASSUME_FADVISE64_64_6ARG): Define.
13692         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13693         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
13694         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13695         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
13696         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
13697         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
13698         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
13699         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
13700         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
13701         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
13702         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
13703         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
13704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
13705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
13706         Likewise.
13707         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
13708         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
13709         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
13710         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
13711         Alias to __posix_fadvise64_l32.
13712         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
13713         Add compat definition to posix_fadvise64.
13714         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
13715         Add versioned definition to posix_fadvise64.
13716         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
13717         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
13718         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
13719         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
13720         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
13722         * io/Makefile (tests): Add tst-posix_fallocate and
13723         tst-posix_fallocate64.
13724         * io/tst-posix_fallocate-common.c: New file.
13725         * io/tst-posix_fallocate.c: Likewise.
13726         * io/tst-posix_fallocate64.c: Likewise.
13727         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
13728         file.
13729         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
13730         Likewise.
13731         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
13732         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
13733         Likewise.
13734         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
13735         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
13736         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
13737         SYSCALL_LL to pass both offset and len arguments.
13738         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
13739         Likewise.
13740         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
13741         __libc_pwrite64 alias used by posix_fallocate64.
13743         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
13744         tst-fallocate64.
13745         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
13746         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
13747         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13748         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
13749         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
13750         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
13751         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
13752         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13753         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
13754         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
13755         macro on offset argument.
13756         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
13757         SYSCALL_LL64 on offset argument.
13759         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
13760         tst-fallocate64.
13761         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
13762         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
13763         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13764         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
13765         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
13766         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
13767         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
13768         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13769         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
13770         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
13771         macro on offset argument.
13772         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
13773         SYSCALL_LL64 on offset argument.
13774         * test-skeleton.c (FAIL_RET): Add macro.
13775         (FAIL_EXIT): Likewise.
13776         (FAIL_EXIT1): Likewise.
13777         (_FAIL): Likewise.
13779 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13781         [BZ #20629]
13782         resolv: Remove RES_USEBSTRING and its implementation.
13783         * resolv/resolv.h (RES_USEBSTRING): Remove.
13784         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
13785         (digitvalue, encode_bitstring, decode_bitstring): Remove.
13786         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
13787         (labellen): Remove extended label types support.
13788         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
13789         * resolv/res_init.c (res_setoptions): Likewise.
13790         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
13792 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13794         resolv: Remove RES_NOIP6DOTINT and its implementation.
13795         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
13796         (RES_NOIP6DOTINT): Remove.
13797         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
13798         handling.
13799         * resolv/res_debug.c (p_option): Likewise.
13800         * resolv/res_init.c (res_setoptions): Likewise.
13801         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
13803 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13805         resolv: Deprecate unimplemented flags.
13806         * misc/sys/cdefs.h (__glibc_macro_warning1)
13807         (__glibc_macro_warning): Define.
13808         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
13809         (RES_KEEPTSIG): Mark as deprecated.
13810         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
13811         RES_NOCHECKNAME, RES_KEEPTSIG.
13812         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
13814 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13816         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
13817         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
13818         Use strong_alias to create symbols for glibc verison 2.19.
13820 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13822         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
13824 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13826         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
13828 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13830         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
13832 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13834         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13835         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
13836         in header for using it as type for ifunc function because __GI_* symbols
13837         for ppc32 do not target the ifunc symbols.
13838         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13840 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13842         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
13843         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
13844         libc_ifunc_hidden_def.
13845         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
13846         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
13847         Redirect ifunced function in header for using it as type of ifunc'ed
13848         function. Redefine libc_hidden_def to use fallback non ifunc'ed
13849         function for __GI_* symbol.
13850         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
13851         * include/libc-symbols.h
13852         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
13854 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13856         [BZ #20478]
13857         * sysdeps/s390/multiarch/ifunc-resolve.h
13858         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
13859         to create ifunc symbols.
13860         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
13861         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
13862         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
13863         for using it as type for ifunc function.
13864         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
13865         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13866         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13867         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13868         * sysdeps/s390/multiarch/strcat.c: Likewise.
13869         * sysdeps/s390/multiarch/strchr.c: Likewise.
13870         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13871         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13872         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13873         * sysdeps/s390/multiarch/strlen.c: Likewise.
13874         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13875         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13876         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13877         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13878         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13879         * sysdeps/s390/multiarch/strspn.c: Likewise.
13880         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13881         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13882         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13883         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13884         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13885         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13886         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13887         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
13888         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
13889         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13890         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
13891         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
13893 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13895         * include/libc-symbols.h (__ifunc_resolver):
13896         New macro is used by __ifunc* macros.
13897         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
13898         depending on HAVE_GCC_IFUNC.
13899         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
13900         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
13901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13902         Redirect ifunced function in header for using as type for ifunc function.
13903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
13904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
13905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
13906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
13907         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13908         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13909         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13910         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13911         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13912         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13913         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13914         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13915         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13916         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
13919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
13921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13922         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13923         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13924         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13925         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13926         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13927         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13928         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13929         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13930         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13931         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13932         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13933         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13934         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
13935         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
13937         Add libc_hidden_def() and use libc_ifunc_hidden() macro
13938         instead of libc_ifunc() macro.
13939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
13940         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13942 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13944         * config.h.in (HAVE_GCC_IFUNC): New undef.
13945         * configure.ac: Add check if gcc supports attribute ifunc feature.
13946         * configure: Regenerated.
13947         * manual/install.texi: Add recommendation for gcc with
13948         indirect-function support.
13949         * INSTALL: Regenerated.
13951 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
13953         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
13954         macro.
13955         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13956         (__iseqsig): New declaration.
13957         * math/s_iseqsig_template.c: New file.
13958         * math/Versions (__iseqsigf): New libm symbol at version
13959         GLIBC_2.25.
13960         (__iseqsig): Likewise.
13961         (__iseqsigl): Likewise.
13962         * math/libm-test.inc (iseqsig_test_data): New array.
13963         (iseqsig_test): New function.
13964         (main): Call iseqsig_test.
13965         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
13966         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
13967         * manual/libm-err-tab.pl: Update comment on interfaces without
13968         ulps tabulated.
13969         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
13970         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
13971         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
13972         * sysdeps/nacl/libm.abilist: Update.
13973         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13974         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13975         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13976         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13977         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13978         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13979         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13980         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13981         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13982         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13983         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13984         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13986         Likewise.
13987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13988         Likewise.
13989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13990         Likewise.
13991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13992         Likewise.
13993         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13994         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13995         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13996         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13997         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13999         Likewise.
14000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14001         Likewise.
14002         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14003         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14004         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14006 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14008         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
14009         do_sincos_2, sloww, sloww1): Update comments.
14011         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
14012         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
14014         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
14015         K boolean and rename it.
14016         (__sin): Adjust.
14017         (__cos): Adjust.
14019 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14020             Siddhesh Poyarekar  <siddhesh@sourceware.org>
14022         * manual/nss.texi: Fix typos in the manual.
14024 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14026         * manual/contrib.texi: Fix typos in the manual.
14028         * manual/maint.texi: Fix typos in the manual.
14030         * manual/install.texi: Fix typos in the manual.
14031         * INSTALL: Regenerated.
14033         * manual/lang.texi: Fix typos in the manual.
14035         * manual/probes.texi: Fix typos in the manual.
14037         * manual/threads.texi: Fix typos in the manual.
14039         * manual/debug.texi: Fix typos in the manual.
14041         * manual/crypt.texi: Fix typos in the manual.
14043         * manual/conf.texi: Fix typos in the manual.
14045         * manual/sysinfo.texi: Fix typos in the manual.
14047         * manual/users.texi: Fix typos in the manual.
14049         * manual/job.texi: Fix typos in the manual.
14051         * manual/process.texi: Fix typos in the manual.
14053         * manual/argp.texi: Fix typos in the manual.
14054         * manual/getopt.texi: Likewise.
14055         * manual/startup.texi: Likewise.
14057         * manual/signal.texi: Fix typos in the manual.
14059         * manual/setjmp.texi: Fix typos in the manual.
14061         * manual/resource.texi: Fix typos in the manual.
14063         * manual/time.texi: Fix typos in the manual.
14065         * manual/arith.texi: Fix typos in the manual.
14067         * manual/math.texi: Fix typos in the manual.
14069         * manual/syslog.texi: Fix typos in the manual.
14071         * manual/terminal.texi: Fix typos in the manual.
14073         * manual/socket.texi: Fix typos in the manual.
14075         * manual/filesys.texi: Fix typos in the manual.
14077         * manual/llio.texi: Fix typos in the manual.
14079         * manual/stdio.text: Fix typos in the manual.
14081 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14083         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
14084         instead of K1.
14086         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
14087         SHIFT_QUADRANT and make it bool.
14088         (do_sincos_2): Likewise.
14089         (sloww): Likewise.
14090         (sloww1): Likewise.
14091         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
14092         (__cos): Likewise.
14094 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14096         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14098 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
14100         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
14101         Define to __WORDSIZE, not conditional on [LONG_MAX ==
14102         0x7fffffffL].
14103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14105 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14107         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
14108         inline by __inline__.
14109         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
14110         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
14111         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
14112         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
14113         sigset_t from signal.h.
14114         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
14115         which is already required.
14117 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
14119         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14121 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
14123         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
14124         (struct tcp_repair_window): New type.
14126 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14128         * libio/tst-memstream3.c: Include string.h.
14130 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14132         [BZ #18241]
14133         [BZ #20181]
14134         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
14135         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
14136         write position is at the end the buffer.
14137         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
14138         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
14139         (_IO_str_seekoff): Set correct offset from negative displacement and
14140         set EINVAL for invalid ones.
14141         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
14142         buffer length.
14143         (_IO_wstr_switch_to_get_mode): New function.
14144         (_IO_wstr_seekoff): Set correct offset from negative displacement and
14145         set EINVAL for invalid ones.
14146         * libio/tst-memstream3.c: New file.
14147         * libio/tst-wmemstream3.c: Likewise.
14148         * manual/examples/memstrm.c: Remove warning when priting size_t.
14150 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14152         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
14153         macro to use __builtin_fma.
14154         * sysdeps/x86_64/fpu/dla.h: Remove file.
14156         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14157         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
14158         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
14160 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
14162         [BZ #20292]
14163         * elf/Makefile (routines): Add dl-addr-obj.
14164         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
14165         tst-_dl_addr_inside_object.
14166         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
14167         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14168         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
14169         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14170         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
14171         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
14172         * elf/dl-open.c: Likewise.
14173         * elf/dl-addr-obj.c: New file.
14174         * elf/tst-_dl_addr_inside_object.c: New file.
14176 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14178         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
14179         <bits/iscanonical.h>.
14180         * bits/iscanonical.h: New file.
14181         * math/s_iscanonicall.c: Likewise.
14182         * math/Versions (__iscanonicall): New libm symbol at version
14183         GLIBC_2.25.
14184         * math/libm-test.inc (iscanonical_test_data): New array.
14185         (iscanonical_test): New function.
14186         (main): Call iscanonical_test.
14187         * math/Makefile (headers): Add bits/iscanonical.h.
14188         (type-ldouble-routines): Add s_iscanonicall.
14189         * manual/arith.texi (Floating Point Classes): Document
14190         iscanonical.
14191         * manual/libm-err-tab.pl: Update comment on interfaces without
14192         ulps tabulated.
14193         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
14194         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
14195         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
14196         Likewise.
14197         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14198         test-iscanonical-ldbl-128ibm.
14199         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
14200         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
14201         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
14202         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
14203         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
14204         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14205         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14207         Likewise.
14208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14209         Likewise.
14210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14211         Likewise.
14212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14213         Likewise.
14214         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14215         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14217 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14219         * string/bits/string3.h: Remove C++ style comments.
14221 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14223         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
14224         instead of ternary condition.
14225         (do_sincos_2): Likewise.
14226         (__sin): Likewise.
14227         (__cos): Likewise.
14228         (slow): Likewise.
14229         (sloww): Likewise.
14230         (sloww1): Likewise.
14231         (bsloww): Likewise.
14232         (bsloww1): Likewise.
14234         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
14235         instead of ternary condition.
14236         (do_sin_slow): Likewise.
14237         (do_sincos_1): Likewise.
14238         (do_sincos_2): Likewise.
14239         (__cos): Likewise.
14240         (sloww): Likewise.
14241         (sloww1): Likewise.
14242         (sloww2): Likewise.
14243         (bsloww): Likewise.
14244         (bsloww1): Likewise.
14245         (bsloww2): Likewise.
14247         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
14248         check from here...
14249         (slow2): ... and here...
14250         (__sin): ... to here.
14252 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
14254         * math/math.h
14255         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
14256         Cast argument to its own type.
14257         * math/test-iszero-excess-precision.c: New file.
14258         * math/Makefile (tests): Add test-iszero-excess-precision.
14259         (CFLAGS-test-iszero-excess-precision.c): New variable.
14261 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
14263         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
14264         field, add err field.
14265         (__spawni_child): Report error through err member instead of pipe.
14266         (__spawnix): Likewise.
14268 2016-09-28  Zack Weinberg  <zackw@panix.com>
14270         * scripts/check-installed-headers.sh: Generalize treatment of
14271         sys/elf.h to all target architectures.
14273         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
14274         deleted typedef ucontext_t.
14276 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14278         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
14279         (__INTERNAL_SYSCALL1): Likewise.
14280         (__INTERNAL_SYSCALL2): Likewise.
14281         (__INTERNAL_SYSCALL3): Likewise.
14282         (__INTERNAL_SYSCALL4): Likewise.
14283         (__INTERNAL_SYSCALL5): Likewise.
14284         (__INTERNAL_SYSCALL6): Likewise.
14285         (__INTERNAL_SYSCALL7): Likewise.
14286         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
14287         (__INTERNAL_SYSCALL_NARGS): Likewise.
14288         (__INTERNAL_SYSCALL_DISP): Likewise.
14289         (INTERNAL_SYSCALL_CALL): Likewise.
14290         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
14291         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
14292         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
14293         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
14294         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
14295         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
14296         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
14297         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
14298         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
14299         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
14300         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
14301         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
14302         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
14304 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
14306         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
14307         macro.
14308         * math/libm-test.inc (iszero_test_data): New array.
14309         (iszero_test): New function.
14310         (main): Call iszero_test.
14311         * manual/arith.texi (Floating Point Classes): Document iszero.
14312         * manual/libm-err-tab.pl: Update comment on interfaces without
14313         ulps tabulated.
14315 2016-09-23  Zack Weinberg  <zackw@panix.com>
14317         * scripts/check-installed-headers.sh: New script.
14318         * Rules: In each directory that defines header files to be installed,
14319         run check-installed-headers.sh on them as a special test.
14320         * Makefile: Likewise for the headers installed at top level.
14322         * include/aliases.h, include/alloca.h, include/argz.h
14323         * include/arpa/nameser.h, include/arpa/nameser_compat.h
14324         * include/elf.h, include/envz.h, include/err.h
14325         * include/execinfo.h, include/fpu_control.h, include/getopt.h
14326         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
14327         * include/link.h, include/malloc.h, include/mcheck.h
14328         * include/mntent.h, include/netinet/ether.h
14329         * include/nss.h, include/obstack.h, include/printf.h
14330         * include/pty.h, include/resolv.h, include/rpc/auth.h
14331         * include/rpc/auth_des.h, include/rpc/auth_unix.h
14332         * include/rpc/clnt.h, include/rpc/des_crypt.h
14333         * include/rpc/key_prot.h, include/rpc/netdb.h
14334         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
14335         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
14336         * include/rpc/rpc_msg.h, include/rpc/svc.h
14337         * include/rpc/svc_auth.h, include/rpc/xdr.h
14338         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
14339         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
14340         * include/rpcsvc/ypupd.h, include/shadow.h
14341         * include/stdio_ext.h, include/sys/epoll.h
14342         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
14343         * include/sys/prctl.h, include/sys/profil.h
14344         * include/sys/statfs.h, include/sys/sysctl.h
14345         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
14346         * sysdeps/arm/nacl/include/bits/setjmp.h
14347         * sysdeps/mips/include/sys/asm.h
14348         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
14349         * sysdeps/unix/sysv/linux/include/sys/timex.h
14350         * sysdeps/x86/fpu/include/bits/fenv.h:
14351         Add #ifndef _ISOMAC guard around internal declarations.
14352         Add multiple-inclusion guard if not already present.
14354 2016-09-23  Zack Weinberg  <zackw@panix.com>
14356         * sysdeps/generic/sys/ucontext.h
14357         * sysdeps/arm/sys/ucontext.h
14358         * sysdeps/i386/sys/ucontext.h
14359         * sysdeps/m68k/sys/ucontext.h
14360         * sysdeps/mips/sys/ucontext.h
14361         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
14362         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
14363         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
14364         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
14365         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
14366         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
14367         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
14368         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
14369         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
14370         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
14371         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
14372         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
14373         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
14374         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
14375         Include both bits/sigcontext.h and bits/sigstack.h.
14376         Fix grammar error in comment, if present.
14378         * bits/sigstack.h
14379         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
14380         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
14381         * sysdeps/unix/sysv/linux/bits/sigstack.h
14382         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
14383         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
14384         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
14385         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
14386         * bits/sigcontext.h
14387         * sysdeps/mach/hurd/i386/bits/sigcontext.h
14388         * sysdeps/unix/sysv/linux/bits/sigcontext.h
14389         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
14390         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
14391         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
14392         as well as signal.h, if this was not already allowed.  Request
14393         definition of size_t if necessary.  Minimize semantically-null
14394         differences across files.
14396 2016-09-23  Zack Weinberg  <zackw@panix.com>
14398         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
14399         Remove all logic conditional on __need macros.  Move all the
14400         conditionally defined types to their own headers...
14401         * time/bits/types/clock_t.h: Define clock_t here.
14402         * time/bits/types/clockid_t.h: Define clockid_t here.
14403         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
14404         * time/bits/types/struct_timespec.h: Define struct timespec here.
14405         * time/bits/types/struct_timeval.h: Define struct timeval here.
14406         * time/bits/types/struct_tm.h: Define struct tm here.
14407         * time/bits/types/time_t.h: Define time_t here.
14408         * time/bits/types/timer_t.h: Define timer_t here.
14409         * time/Makefile: Install the new headers.
14411         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
14412         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
14413         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
14414         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
14415         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
14416         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
14417         * sysdeps/unix/sysv/linux/bits/resource.h
14418         * sysdeps/unix/sysv/linux/bits/timex.h
14419         * sysdeps/unix/sysv/linux/mips/bits/resource.h
14420         * sysdeps/unix/sysv/linux/net/ppp_defs.h
14421         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
14422         * sysdeps/unix/sysv/linux/sys/acct.h
14423         * sysdeps/unix/sysv/linux/sys/timerfd.h
14424         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
14425         * time/sys/time.h, time/sys/timeb.h
14426         Use the new bits/types headers.
14428         * include/time.h: Remove __need logic.
14429         * include/bits/time.h
14430         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
14431         * include/bits/types/time_t.h, include/bits/types/timer_t.h
14432         * include/bits/types/struct_itimerspec.h
14433         * include/bits/types/struct_timespec.h
14434         * include/bits/types/struct_timeval.h
14435         * include/bits/types/struct_tm.h:
14436         New wrapper headers.
14438 2016-09-23  Zack Weinberg  <zackw@panix.com>
14440         * sysdeps/mach/hurd/net/if_ppp.h
14441         * sysdeps/unix/sysv/linux/net/if_ppp.h:
14442         Only define struct ifpppstatsreq and struct ifpppcstatsreq
14443         if __USE_MISC is defined, to ensure struct ifreq is declared.
14445         * inet/netinet/ether.h: Condition all function prototypes
14446         on __USE_MISC, to ensure struct ether_addr is declared.
14448         * socket/bits/types/struct_osockaddr.h: New header.
14449         * include/bits/types/struct_osockaddr.h: New wrapper.
14450         * socket/Makefile: Install the new header.
14451         * socket/sys/socket.h, inet/protocols/talkd.h:
14452         Refer to bits/types/struct_osockaddr.h for the definition of
14453         struct osockaddr.
14455 2016-09-23  Zack Weinberg  <zackw@panix.com>
14457         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
14458         * inet/protocols/routed.h, inet/protocols/talkd.h
14459         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
14460         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
14461         * sysdeps/generic/netinet/if_ether.h
14462         * sysdeps/generic/netinet/in_systm.h
14463         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
14464         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14465         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
14466         * sysdeps/mach/hurd/net/if_arp.h
14467         * sysdeps/mach/hurd/net/if_ppp.h
14468         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
14469         * sysdeps/unix/sysv/linux/bits/in.h
14470         * sysdeps/unix/sysv/linux/net/ethernet.h
14471         * sysdeps/unix/sysv/linux/net/if_arp.h
14472         * sysdeps/unix/sysv/linux/net/if_ppp.h
14473         * sysdeps/unix/sysv/linux/net/if_shaper.h
14474         * sysdeps/unix/sysv/linux/net/route.h
14475         * sysdeps/unix/sysv/linux/netinet/if_ether.h
14476         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14477         * sysdeps/unix/sysv/linux/netinet/if_tr.h
14478         * sysdeps/unix/sysv/linux/netipx/ipx.h
14479         * sysdeps/unix/sysv/linux/sys/acct.h
14480         * include/arpa/nameser.h, include/resolv.h:
14481         Change all uses of u_char to unsigned char,
14482         u_short and ushort to unsigned short, u_int and uint to unsigned int,
14483         u_long and ulong to unsigned long, u_int8_t to uint8_t,
14484         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
14485         and u_int64_t and u_quad_t to uint64_t.
14487         * mach/sys/reboot.h: Remove two casts of integer literals
14488         to the types they already have.
14490         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
14491         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
14492         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
14493         from referring to 'unsigned char' to 'uint8_t' for consistency with
14494         the macro definition below.
14496         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
14497         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
14498         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
14499         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
14500         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
14501         * sysdeps/unix/sysv/linux/sys/acct.h
14502         * include/arpa/nameser.h, include/resolv.h:
14503         Fix indentation disrupted by mechanical edits.
14505         * inet/protocols/talkd.h, resolv/arpa/nameser.h
14506         * sysdeps/generic/netinet/in_systm.h
14507         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14508         * sysdeps/gnu/netinet/udp.h
14509         * sysdeps/unix/sysv/linux/net/ethernet.h
14510         * sysdeps/unix/sysv/linux/net/if_arp.h
14511         * sysdeps/unix/sysv/linux/net/if_ppp.h
14512         * sysdeps/unix/sysv/linux/net/if_shaper.h
14513         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14514         * sysdeps/unix/sysv/linux/netinet/if_tr.h
14515         * sysdeps/unix/sysv/linux/netipx/ipx.h
14516         * sysdeps/unix/sysv/linux/sys/acct.h
14517         Include stdint.h for uintNN_t definitions.
14518         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
14520 2016-09-23  Zack Weinberg  <zackw@panix.com>
14522         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
14523         * sysdeps/unix/sysv/linux/netrose/rose.h:
14524         Include sys/socket.h and netax25/ax25.h.
14526         * inet/netinet/icmp6.h, inet/netinet/ip6.h
14527         * resolv/arpa/nameser_compat.h:
14528         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
14530         * sysdeps/unix/sysv/linux/sys/quota.h:
14531         Use __caddr_t instead of caddr_t.
14532         * sysdeps/unix/sysv/linux/sys/timerfd.h:
14533         Use __clockid_t instead of clockid_t.
14535         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
14537         * argp/argp.h: Check whether _LIBC is defined before expanding it.
14538         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
14539         expanding it.
14541         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
14542         Define __glibc_c99_flexarr_available to 1 when the compiler
14543         supports C99-compatible flexible array members, 0 otherwise.
14544         * sysdeps/unix/sysv/linux/bits/socket.h
14545         * sysdeps/mach/hurd/bits/socket.h
14546         * bits/socket.h: Use __glibc_c99_flexarr_available in
14547         definitions of struct cmsghdr and CMSG_DATA.
14549 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14551         * manual/nss.texi (NSS Modules Interface): Adjust function return
14552         type to enum nss_status.  Document errnop argument.  Clarify
14553         h_errnop semantics.  Fix cross-reference formatting.
14554         (NSS Module Function Internals): Mention that *errnop needs to be
14555         set on failure, but not to zero.
14557 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14559         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
14560         (get_random_name): New functions.
14561         (check_wrapper_flags_mode): Use linkat to give the new file a name
14562         determined by get_random_name.
14563         (do_test): Add calls to test open64 and openat64.
14565 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14567         * test-skeleton.c: Remove #include <stdarg.h>.
14569 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
14571         [BZ #19826]
14572         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
14573         initialization of static TLS entries.
14574         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
14575         * nptl/allocatestack.c (init_one_static_tls): Likewise.
14577 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14579         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
14580         _hurd_malloc_fork_prepare.
14581         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
14582         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
14583         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
14584         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
14585         (_hurd_fork_child_hook): Drop malloc_fork_child.
14586         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
14587         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
14588         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
14589         after locking locks (notably hurd_dtable_lock). Call
14590         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
14591         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
14592         __malloc_fork_unlock_child.
14593         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
14595 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
14597         * soft-fp/extendhftf2.c: New.
14598         * soft-fp/fixhfti.c: Likewise.
14599         * soft-fp/fixunshfti.c: Likewise.
14600         * soft-fp/floattihf.c: Likewise.
14601         * soft-fp/floatuntihf.c: Likewise.
14602         * soft-fp/half.h: Likewise.
14603         * soft-fp/trunctfhf2.c: Likewise.
14605 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
14607         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
14608         macro.
14609         * math/libm-test.inc (issubnormal_test_data): New array.
14610         (issubnormal_test): New function.
14611         * manual/arith.texi (Floating Point Classes): Document
14612         issubnormal.
14613         * manual/libm-err-tab.pl: Update comment on interfaces without
14614         ulps tabulated.
14616         * sysdeps/generic/stdint.h: Define
14617         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14618         <bits/libc-header-start.h> instead of including <features.h>.
14619         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
14620         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
14621         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
14622         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
14623         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
14624         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
14625         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
14626         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
14627         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
14628         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
14629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
14630         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
14631         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
14632         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
14633         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
14634         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
14635         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
14636         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
14637         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
14638         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
14639         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
14640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
14641         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
14642         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
14643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
14644         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
14645         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
14646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
14647         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
14648         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
14649         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
14650         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
14651         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
14652         * manual/arith.texi (Integers): Document these macros for types
14653         specified by width properties.
14654         * manual/lang.texi (Width of Type): Document these macros for
14655         other standard typedefs.
14656         * stdlib/tst-width-stdint.c: New file.
14657         * stdlib/Makefile (tests): Add tst-width-stdint.
14659 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14661         [BZ #20016]
14662         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
14663         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
14664         Move ...
14665         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
14666         ... here, as compatibility symbols in a new file.
14667         * resolv/Makefile (libresolv-routines): Add compat-hooks.
14668         * resolv/res_init.c (__res_vinit): Adjust member names.
14669         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
14670         * resolv/resolv.h (res_sendhookact, res_send_qhook)
14671         (res_send_rhook): Remove.
14672         (struct __res_state): Rename qhook, rhook members.
14674 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14676         malloc: Use __libc_lock wrappers.
14677         * malloc/arena.c (list_lock, free_list_lock): Define using
14678         __libc_lock_define_initialized.
14679         (arena_lock): Adjust formatting.
14680         * malloc/malloc.c (struct malloc_state): Define mutex using
14681         __libc_lock_define.
14682         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
14683         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
14684         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
14685         (mutex_unlock, mutex_trylock): Remove.
14686         (__pthread_initialize): Remove unused macro.
14687         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
14688         (mutex_unlock, mutex_trylock): Remove.
14690 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14692         [BZ #20592]
14693         Remove RR type classification macros.
14694         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
14695         (ns_t_udp_p, ns_t_xfr_p): Remove.
14697 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14699         Remove misleading version information.
14700         * resolv/arpa/nameser.h (__NAMESER): Remove.
14701         * resolv/arpa/nameser_compat.h (__BIND): Remove.
14703 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14705         Remove the always-defined BIND_4_COMPAT macro.
14706         * resolv/arpa/nameser.h: Unconditionally include
14707         <arpa/nameser_compat.h>.
14708         (BIND_4_COMPAT): Remove.
14709         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
14711 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14713         [BZ #20591]
14714         Remove obsolete DNSSEC support.
14715         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
14716         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
14717         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
14718         (ns_verify_tcp, ns_verify_tcp_init): Remove.
14719         (ns_cert_types): Add comment.
14720         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
14721         separately.
14722         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
14723         (dst_s_dns_key_id): Remove.
14724         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
14725         variables.
14727 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14729         [BZ #20524]
14730         * manual/string.texi (String/Array Comparison): Clarify the
14731         strverscmp behavior.
14733 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14735         * test-skeleton.c (xasprintf): Add function.
14736         * io/tst-open-tmpfile.c: New test.
14737         * io/Makefile (tests): Add it.
14739 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14741         Avoid running $(CXX) during build to obtain header file paths.
14742         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
14743         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
14744         * Makerules (cstdlib, cmath): Remove variables.  Use
14745         $(c++-cstdlib-header), $(c++-cmath-header) instead.
14746         * configure: Regenerate.
14748 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14750         * Makeconfig (all-object-suffixes): Include .op only if
14751         $(build-profile).
14753 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14755         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
14756         conditionals.  Do not define PATH_MAX.
14758 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14760         * posix/Makefile (tests): Add tst-spawn3.
14761         * posix/tst-spawn3.c: New file.
14762         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
14763         if it is already opened for open action.
14765         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
14766         all signals when executing the clone vfork child.
14767         (SIGALL_SET): Remove macro.
14769         * nptl/Makefile (tests): Add tst-exec5.
14770         * nptl/tst-exec5.c: New file.
14771         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
14772         asynchronous cancellation.
14774 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14776         * hurd/exc2signal.c: #include <hurd/signal.h>
14777         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
14778         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
14779         accordingly.
14780         * mach/mach_error.c (mach_error): Fix old-style function definition.
14781         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
14783 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14785         * math/Makefile (libm-calls): Remove s_nanF.
14786         (gen-libm-calls): Add s_nanF.
14788         * math/s_nan.c: Refactor into ...
14789         * math/s_nan_template.c: New file.
14791         * math/s_nanf.c: Removed.
14792         * math/s_nanl.c: Removed.
14793         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
14794         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
14796         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14797         (LDOUBLE_nanl_libm_version): New macro.
14799         * sysdeps/generic/math-type-macros-double.h:
14800         (M_STRTO_NAN): New macro.
14801         * sysdeps/generic/math-type-macros-float.h: Likewise.
14802         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14804         * sysdeps/generic/math-type-macros.h: Document
14805         M_STRTO_NAN.
14807 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14809         * math/s_nanf.c: Remove __nanf undef.
14810         * math/s_nan.c: Remove __nan undef.
14811         * math/s_nanl.c: Remove __nanl undef.
14813         * sysdeps/generic/math_private.h (__nan): Remove macro
14814         override.
14815         (__nanf): Likewise.
14816         (__nanl): Likewise.
14818 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14820         * math/Makefile (gen-all-calls): New variable.
14821         (generated): Replace gen-libm-calls with gen-all-calls.
14822         (gen-libm-templates.stmp): Likewise.  Also, ensure
14823         the output directory exists or is created and add
14824         dependency on the Makefile.
14825         (calls): Move s_ldexpF into gen-calls.
14826         (gen-calls): New variable.
14828         * math/s_ldexpf.c: Removed.
14829         * math/s_ldexpl.c: Removed.
14830         * math/s_ldexp.c: Refactored into ...
14831         * math/s_ldexp_template.c: New file.
14833         * sysdeps/generic/math-type-macros-double.h: Remove
14834         redundant fall-through definition of declare_mgen_alias.
14835         (declare_mgen_alias_2): New macro.
14837         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
14838         New macro for function aliased to two exported symbols.
14840         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
14841         new template file.
14842         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
14844 2016-09-20  Florian Weimer  <fweimer@redhat.com>
14846         * Makeconfig (all-object-suffixes): Remove .og.
14847         * Makerules (elide-routines.og): Remove.
14848         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
14849         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
14850         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
14852 2016-09-20  Florian Weimer  <fweimer@redhat.com>
14854         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
14855         .os objects.
14857 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14859         [BZ #20615]
14860         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
14861         fpu directory by non-fpu.
14862         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
14863         on non-fpu directory from a fpu directory.
14865 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
14867         * include/limits.h: Define
14868         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14869         <bits/libc-header-start.h> instead of including <features.h>.
14870         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
14871         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
14872         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
14873         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
14874         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
14875         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
14876         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
14877         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
14878         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14879         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
14880         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
14881         * manual/lang.texi (Width of Type): Document these macros.
14882         * stdlib/tst-width.c: New file.
14883         * stdlib/Makefile (tests): Add tst-width.
14885 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14887         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
14888         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
14890 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14892         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
14893         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14894         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14896 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14898         [BZ #18243]
14899         * rt/Makefile (test): Add tst-shm-cancel.
14900         * rt/tst-shm-cancel.c: New file.
14901         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
14903         [BZ #18243]
14904         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
14905         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
14906         definition.
14907         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
14908         uncontended case.
14909         * nptl/sem_wait.c (__new_sem_wait): Likewise.
14910         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
14911         (tf): Fix check for uncontended case.
14912         (do_test): Likewise.
14913         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
14914         (tf): Fix check for uncontended case.
14915         (do_test): Likewise.
14916         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
14917         (tf): Fix check for uncontended case.
14918         (do_test): Likewise.
14919         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
14920         (tf): Fix check for uncontended case.
14921         (do_test): Likewise.
14923         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
14924         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
14926         [BZ #15765]
14927         * nptl/Makefile (tests): Add tst-sem16.
14928         * nptl/tst-sem16.c: New file.
14929         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
14931         * nptl/sem_open.c (sem_open): Init pad value to 0.
14932         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14933         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14935 2016-09-15  Florian Weimer  <fweimer@redhat.com>
14937         [BZ #20611]
14938         * inet/Makefile (routines): Add inet6_scopeid_pton.
14939         (tests): Add tst-inet6_scopeid_pton.
14940         * inet/inet6_scopeid_pton.c: New file.
14941         * inet/net-internal.h: Likewise.
14942         * inet/tst-inet6_scopeid_pton.c: New test.
14943         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
14944         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
14945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14947 2016-09-14  Florian Weimer  <fweimer@redhat.com>
14949         Remove support for compiling wrappers with PTW.
14950         * sysdeps/nptl/Makeconfig: Drop ptw- support.
14951         * nptl/Makefile (pthread-compat-wrappers): Define.
14952         (libpthread-routines): Use pthread-compat-wrappers.
14953         * sysdeps/unix/sysv/linux/alpha/Makefile
14954         (libpthread-routines, libpthread-shared-only-routines): Remove
14955         ptw- prefix.
14956         * sysdeps/s390/nptl/Makefile
14957         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14958         * sysdeps/ia64/nptl/Makefile
14959         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14960         * sysdeps/nacl/Makefile (libpthread-routines): Use
14961         pthread-compat-wrappers to filter the routines list instead of the
14962         ptw- prefix.
14964 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14966         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
14967         with L() and remove explicit suffix, convert real literals
14968         which can be equivalentally substituted with integers, and
14969         transform -L(x) to L(-x).
14971         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14972         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14973         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14974         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14975         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14976         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14977         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14978         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14979         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14980         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14981         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14982         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14983         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14984         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14985         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14986         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14987         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14988         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14989         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14990         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14991         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14992         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14993         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14994         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14995         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14996         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14997         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14998         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14999         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15000         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15001         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15002         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15003         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15004         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15005         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15006         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15007         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15008         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15009         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15010         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15011         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15012         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15013         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15014         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15015         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15016         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15017         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15018         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15019         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15020         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15022 2016-09-13  Florian Weimer  <fweimer@redhat.com>
15024         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
15026 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15028         * malloc/Makefile (tests): Remove individual static test names
15029         and just add all of tests-static.
15031         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
15033 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
15035         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
15036         file.
15038         * sysdeps/sparc/fpu/fegetmode.c: New file.
15039         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
15041         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
15042         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
15044         * sysdeps/s390/fpu/fegetmode.c: New file.
15045         * sysdeps/s390/fpu/fesetmode.c: Likewise.
15047         * sysdeps/powerpc/fpu/fegetmode.c: New file.
15048         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
15049         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
15050         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
15051         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
15052         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
15054         * sysdeps/mips/fpu/fegetmode.c: New file.
15055         * sysdeps/mips/fpu/fesetmode.c: Likewise.
15057         * sysdeps/m68k/fpu/fegetmode.c: New file.
15058         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
15060         * sysdeps/ia64/fpu/fegetmode.c: New file.
15061         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
15063         * sysdeps/hppa/fpu/fegetmode.c: New file.
15064         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
15066         * sysdeps/arm/fegetmode.c: New file.
15067         * sysdeps/arm/fesetmode.c: Likewise.
15069         * sysdeps/alpha/fpu/fegetmode.c: New file.
15070         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
15072         * sysdeps/aarch64/fpu/fegetmode.c: New file.
15073         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
15075         * math/fegetmode.c: New file.
15076         * math/fesetmode.c: Likewise.
15077         * sysdeps/i386/fpu/fegetmode.c: Likewise.
15078         * sysdeps/i386/fpu/fesetmode.c: Likewise.
15079         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
15080         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
15081         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
15082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
15083         declaration.
15084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
15085         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
15086         typedef.
15087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15088         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15089         (femode_t): New typedef.
15090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15091         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15092         (femode_t): New typedef.
15093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15094         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15095         (femode_t): New typedef.
15096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15097         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15098         (femode_t): New typedef.
15099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15100         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15101         (femode_t): New typedef.
15102         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15103         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15104         (femode_t): New typedef.
15105         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15106         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15107         (femode_t): New typedef.
15108         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15109         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15110         (femode_t): New typedef.
15111         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15112         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15113         (femode_t): New typedef.
15114         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15115         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15116         (femode_t): New typedef.
15117         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
15118         declaration.
15119         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15120         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15121         (femode_t): New typedef.
15122         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15123         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15124         (femode_t): New typedef.
15125         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15126         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15127         (femode_t): New typedef.
15128         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15129         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15130         (femode_t): New typedef.
15131         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15132         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15133         (femode_t): New typedef.
15134         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15135         * manual/arith.texi (FE_DFL_MODE): Document macro.
15136         (fegetmode): Document function.
15137         (fesetmode): Likewise.
15138         * math/Versions (fegetmode): New libm symbol at version
15139         GLIBC_2.25.
15140         (fesetmode): Likewise.
15141         * math/Makefile (libm-support): Add fegetmode and fesetmode.
15142         (tests): Add test-femode and test-femode-traps.
15143         * math/test-femode-traps.c: New file.
15144         * math/test-femode.c: Likewise.
15145         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
15146         alias for __fe_dfl_env.
15147         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
15148         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
15149         (__fe_dfl_mode): Likewise.
15150         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
15151         version GLIBC_2.25.
15152         * sysdeps/nacl/libm.abilist: Update.
15153         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15154         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15155         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15156         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15157         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15158         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15159         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15160         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15161         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15162         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15163         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15164         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15166         Likewise.
15167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15168         Likewise.
15169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15170         Likewise.
15171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15172         Likewise.
15173         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15174         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15175         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15176         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15177         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15179         Likewise.
15180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15181         Likewise.
15182         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15183         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15184         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15186 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15188         [BZ #20495]
15189         [BZ #20508]
15190         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
15191         processors, set Use_dl_runtime_resolve_slow and set
15192         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
15193         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
15194         New.
15195         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
15196         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
15197         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
15198         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
15199         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
15200         if Use_dl_runtime_resolve_opt is set.  Use
15201         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
15202         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
15203         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
15204         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
15205         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
15206         New.
15207         (_dl_runtime_resolve_opt): Likewise.
15208         (_dl_runtime_profile): Define only if _dl_runtime_profile is
15209         defined.
15211 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15213         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
15214         __libc_memalign with "+ RELA R_390_GLOB_DAT".
15216 2016-09-06  Florian Weimer  <fweimer@redhat.com>
15218         Convert malloc to __libc_lock.  Automated part, using this Perl
15219         s/// command:
15220           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
15221             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
15222         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
15223         conversion.
15225 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
15227         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
15228         (linknamespace-symlists-tests): Likewise.
15229         (linknamespace-header-tests): Likewise.
15231 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
15233         [BZ #19810]
15234         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
15235         * elf/tst-noload.c: New test case.
15236         * elf/Makefile (tests): Add tst-noload.
15238 2016-09-02  Roland McGrath  <roland@hack.frob.com>
15240         * sysdeps/nacl/dup.c: Add libc_hidden_def.
15242         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
15243         not any more.
15245         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
15247 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15249         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
15250         (do_cos_slow): Likewise.
15251         (do_sin): Likewise.
15252         (do_sin_slow): Likewise.
15253         (slow): Likewise.
15254         (slow1): Likewise.
15255         (slow2): Likewise.
15256         (sloww): Likewise.
15257         (sloww1): Likewise.
15258         (sloww2): Likewise.
15259         (bsloww): Likewise.
15260         (bsloww1): Likewise.
15261         (bsloww2): Likewise.
15262         (cslow2): Likewise.
15264         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
15266         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
15267         arguments.  Consolidate input partitioning from callers here.
15268         (do_cos_slow): Likewise.
15269         (do_sin): Likewise.
15270         (do_sin_slow): Likewise.
15271         (do_sincos_1): Remove the no longer necessary input partitioning.
15272         (do_sincos_2): Likewise.
15273         (__sin): Likewise.
15274         (__cos): Likewise.
15275         (slow1): Likewise.
15276         (slow2): Likewise.
15277         (sloww1): Likewise.
15278         (sloww2): Likewise.
15279         (bsloww1): Likewise.
15280         (bsloww2): Likewise.
15281         (cslow2): Likewise.
15283 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15285         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
15286         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
15287         outside of allocated array.
15289 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15291         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
15292         instead of MB_CUR_MAX to avoid variable-length array.
15294 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15296         * math/Makefile (libm-calls): Remove k_rem_pio2F.
15297         (type-double-routines): Add k_rem_pio2.
15298         (type-float-routines): Add k_rem_pio2f.
15300         * sysdeps/generic/math_private.h:
15301         (__kernel_rem_pio2l): Removed.
15303         * math/k_rem_pio2l.c: Removed.
15304         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
15305         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
15306         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
15307         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
15309 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15311         * math/Makefile (gen-libm-calls): Add s_fmin
15312         (libm-calls): Remove above.
15314         * math/s_fmin.c: Refactor into ...
15315         * math/s_fmin_template.c: New file.
15317         * math/s_fminf.c: Removed.
15318         * math/s_fminl.c: Removed.
15319         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15320         (LDOUBLE_fmin_libm_version): New macro.
15322         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
15323         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
15325 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15327         * math/Makefile: (gen-libm-calls): Add s_fmax.
15328         (libm-calls): Remove above.
15330         * math/s_fmax.c: Refactor into ...
15331         * math/s_fmax_template.c: New file.
15332         * math/s_fmaxf.c: Removed.
15333         * math/s_fmaxl.c: Removed.
15335         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15336         (LDOUBLE_fmaxl_libm_version): New macro.
15338         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
15339         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
15341         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
15342         s_fmin.c to pick the aarch64 version of the file.
15343         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
15344         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
15346 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15348         * math/Makefile: (gen-libm-calls): Add s_nextdown.
15349         (libm-calls): Remove above.
15351         * math/s_nextdown.c: Refactor into ...
15352         * math/s_nextdown_template.c: New file.
15353         * math/s_nextdownf.c: Removed.
15354         * math/s_nextdownl.c: Removed.
15356         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
15358 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15360         * math/Makefile (gen-libm-calls): Add s_fdim.
15361         (libm-calls): Move to above.
15363         * math/s_fdim.c: Renamed and refactored into to ...
15364         * math/s_fdim_template.c: New file.
15365         * math/s_fdiml.c: Removed.
15366         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
15367         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
15369         * sysdeps/generic/math-type-macros-double.h:
15370         (declare_mgen_alias): Don't declare if already declared.
15371         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
15372         Likewise.
15374         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15375         (declare_mgen_alias): Don't declare if already declared.
15376         (M_LIBM_NEED_COMPAT): Likewise.
15377         (declare_mgen_libm_compat): Likewise.
15378         (LDOUBLE_fdiml_libm_version): New macro.
15380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15381         Include math/s_fdim.c now that ldbl-opt version is not needed.
15382         (declare_mgen_alias): New macro to disable aliasing.
15384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
15385         (declare_mgen_alias): Likewise.
15386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
15387         (declare_mgen_alias): Likewise.
15388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
15389         (declare_mgen_alias): Likewise.
15390         (M_LIBM_NEED_COMPAT): Likewise.
15392 2016-09-01  Florian Weimer  <fweimer@redhat.com>
15394         [BZ #20525]
15395         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
15396         Include <linux/quota.h>.
15397         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
15398         and btodb.
15399         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
15400         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
15401         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
15402         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
15403         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
15404         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
15405         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
15406         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
15407         types.
15408         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
15409         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
15411 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15413         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
15414         (gammal_positive): Fix spacing.
15415         (__ieee754_gammal_r): Likewise.
15417 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15419         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
15420         (_Float128): Define as long double, always.
15421         (L): Apply long double type suffix, always.
15423         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
15424         _Float128, excepting comments.
15426         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15427         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15428         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15429         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15430         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15431         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15432         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15433         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15434         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15435         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
15436         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15437         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15438         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15439         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15440         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15441         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15442         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15443         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15444         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15445         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15446         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15447         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15448         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15449         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15450         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15451         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15452         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15453         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15454         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15455         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15456         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15457         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15458         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15459         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15460         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15461         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15462         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15463         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15464         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15465         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15466         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15467         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15468         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15469         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15470         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15471         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15472         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15473         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15474         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15475         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15476         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15477         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15478         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15479         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15480         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15481         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15482         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15483         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15484         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15485         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15486         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15487         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15488         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15489         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15490         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15491         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15492         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15493         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15495         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
15496         _Float128, and include math_private.h.
15497         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15499         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
15500         long double semantics.
15501         (_Float128): Likewise.
15502         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
15503         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15504         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
15505         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
15507 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15509         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
15510         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
15511         * sysdeps/s390/configure: Regenerated.
15512         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
15513         instruction for raising over-/underflow if z196 zarch is supported
15514         by default.
15515         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
15517 2016-08-30  Svante Signell  <svante.signell@gmail.com>
15519         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
15520         it point to a dumb buffer for RPC to fill it.
15522 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15524         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
15525         instead of if/else.
15526         (do_sin_slow): Likewise.
15527         (do_sincos_1): Use fabs instead of if/else.
15528         (do_sincos_2): Likewise.
15529         (__sin): Likewise.
15530         (__cos): Likewise.
15531         (slow2): Likewise.
15532         (sloww): Likewise.
15533         (sloww1): Likewise.  Drop argument M.
15534         (sloww2): Use fabs instead of if/else.
15535         (bsloww): Likewise.
15536         (bsloww1): Likewise.
15537         (bsloww2): Likewise.
15539         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
15540         fall through comment.
15541         (do_sincos_1): Likewise.
15543         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
15544         Consolidate switch cases 0 and 2.
15546 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15548         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
15549         (libm-calls): Remove the above.
15551         * math/s_cexp_template.c: Update using type-generic macros.
15552         * math/s_clog10_template.c: Likewise.
15553         * math/s_cpow_template.c: Likewise.
15554         * math/s_clog_template.c: Likewise.
15555         * math/s_cproj_template.c: Likewise.
15556         * math/s_csqrt_template.c: Likewise.
15558         * math/s_cexp.c: Removed.
15559         * math/s_cexpf.c: Removed.
15560         * math/s_cexpl.c: Removed.
15561         * math/s_clog10.c: Removed.
15562         * math/s_clog10f.c: Removed.
15563         * math/s_clog10l.c: Removed.
15564         * math/s_cpow.c: Removed.
15565         * math/s_cpowf.c: Removed.
15566         * math/s_cpowl.c: Removed.
15567         * math/s_clog.c: Removed.
15568         * math/s_clogf.c: Removed.
15569         * math/s_clogl.c: Removed.
15570         * math/s_cproj.c: Removed.
15571         * math/s_cprojf.c: Removed.
15572         * math/s_cprojl.c: Removed.
15573         * math/s_csqrt.c: Removed.
15574         * math/s_csqrtf.c: Removed.
15575         * math/s_csqrtl.c: Removed.
15577         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
15578         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
15579         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
15580         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
15581         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
15582         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
15584         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
15585         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
15586         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
15587         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
15588         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
15589         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
15590         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
15591         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
15592         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
15593         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
15594         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
15596         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
15597         version.
15599         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
15600         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
15601         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
15602         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
15604 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15606         * s_cexp_template.c: Copy of s_cexp.c.
15607         * s_clog_template.c: Copy of s_clog.c.
15608         * s_clog10_template.c: Copy of s_clog10.c.
15609         * s_cpow_template.c: Copy of s_cpow.c.
15610         * s_cproj_template.c: Copy of s_cproj.c.
15611         * s_csqrt_template.c: Copy of s_csqrt.c.
15613 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15615         [BZ #20517]
15616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15617         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
15618         exported.
15620 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
15622         * math/fetestexceptflag.c: New file.
15623         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
15624         Stefan Liebler.
15625         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15626         (fetestexceptflag): New function declaration.
15627         * manual/arith.texi (fetestexceptflag): Document function.
15628         * math/Versions (fetestexceptflag): New libm symbol at version
15629         GLIBC_2.25.
15630         * math/Makefile (libm-support): Add fetestexceptflag.
15631         (tests): Add test-fetestexceptflag.
15632         * math/test-fetestexceptflag.c: New file.
15633         * sysdeps/nacl/libm.abilist: Update.
15634         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15635         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15636         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15637         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15638         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15639         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15640         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15641         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15642         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15643         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15644         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15645         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15647         Likewise.
15648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15649         Likewise.
15650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15651         Likewise.
15652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15653         Likewise.
15654         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15655         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15656         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15657         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15658         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15660         Likewise.
15661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15662         Likewise.
15663         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15664         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15665         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15667 2016-08-26  Florian Weimer  <fweimer@redhat.com>
15669         [BZ #20432]
15670         Avoid strong references to malloc-internal symbols when linking
15671         statically, to support statically interposed mallocs.
15672         * include/libc-symbols.h (call_function_static_weak): New macro.
15673         * malloc/Makefile (tests): Add tst-interpose-nothread,
15674         tst-interpose-thread, tst-interpose-static-nothread,
15675         tst-interpose-static-thread.
15676         (tests-static): Add tst-interpose-static-nothread,
15677         tst-interpose-static-thread.
15678         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
15679         tst-interpose-aux-thread.o.
15680         (test-extras): Add tst-interpose-aux-nothread,
15681         tst-interpose-aux-thread.
15682         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
15683         tst-interpose-aux-nothread.o.
15684         (tst-interpose-thread, tst-interpose-static-thread): Link with
15685         tst-interpose-aux-thread.o and libthread.
15686         * malloc/tst-interpose-aux-nothread.c: New file.
15687         * malloc/tst-interpose-aux-thread.c: Likewise.
15688         * malloc/tst-interpose-aux.c: Likewise.
15689         * malloc/tst-interpose-aux.h: Likewise.
15690         * malloc/tst-interpose-nothread.c: Likewise.
15691         * malloc/tst-interpose-skeleton.c: Likewise.
15692         * malloc/tst-interpose-static-nothread.c: Likewise.
15693         * malloc/tst-interpose-static-thread.c: Likewise.
15694         * malloc/tst-interpose-thread.c: Likewise.
15695         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
15696         * sysdeps/mach/hurd/fork.c (__fork): Only call
15697         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15698         __malloc_fork_unlock_child if defined.
15699         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15701 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15703         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
15704         timespec C99 designated initialization.
15706 2016-08-26  Florian Weimer  <fweimer@redhat.com>
15708         [BZ #19946]
15709         Avoid expected SIGALRM signals.
15710         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
15711         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
15712         (xpthread_create, xpthread_detach, xpthread_join)
15713         (delayed_exit_thread, delayed_exit): New functions.
15714         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
15715         (tf): Use xpthread_cond_wait.
15716         (do_test): Likewise.  Replace alarm with delayed_exit.
15717         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15718         (do_test): Call delayed_exit.  Report failure.
15719         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15720         (do_test): Call delayed_exit.
15721         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15722         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
15723         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15724         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
15725         error.
15726         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15727         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
15728         error.
15729         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
15730         (do_test): Call delayed_exit.
15731         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
15732         (do_test): Call delayed_exit.
15733         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
15734         (do_test): Call delayed_exit instead of alarm.  Use
15735         xpthread_mutex_lock.
15736         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
15737         (do_test): Call delayed_exit instead of alarm.  Use
15738         xpthread_mutex_lock.
15739         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
15740         (do_test): Call delayed_exit instead of alarm.
15741         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
15742         (do_test): Call delayed_exit instead of alarm.  Use
15743         xpthread_spin_lock.
15744         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
15745         (do_test): Call delayed_exit instead of alarm.  Use
15746         xpthread_join.
15748 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15750         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
15751         adjust CFA when allocating register save area on re-aligned
15752         stack.
15754 2016-08-26  Florian Weimer  <fweimer@redhat.com>
15756         * string/tst-cmp.c: New test.
15757         * string/Makefile (tests): Add it.
15759 2016-08-25  Mark Wielaard  <mark@klomp.org>
15761         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
15762         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
15763         (check_tree_recurse): Use newly defined accessors.
15764         (check_tree): Likewise.
15765         (maybe_split_for_insert): Likewise.
15766         (__tfind): Likewise.
15767         (__tdelete): Likewise.
15768         (trecurse): Likewise.
15769         (tdestroy_recurse): Likewise.
15770         (__tsearch): Likewise. And add asserts for malloc alignment.
15771         (__twalk): Cast root to node in case CHECK_TREE is defined.
15773 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15775         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
15777 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15779         * math/Makefile (libm-gen-calls): Add
15780         catan, catanh, ctan, ctanh.
15781         (libm-calls): Remove the above.
15783         * math/s_catan_template.c: Update using type-generic macros.
15784         * math/s_catanh_template.c: Likewise.
15785         * math/s_ctan_template.c: Likewise.
15786         * math/s_ctanh_template.c: Likewise.
15788         * math/s_catanf.c: Removed.
15789         * math/s_catan.c: Removed.
15790         * math/s_catanl.c: Removed.
15791         * math/s_catanhf.c: Removed.
15792         * math/s_catanh.c: Removed.
15793         * math/s_catanhl.c: Removed.
15794         * math/s_ctanf.c: Removed.
15795         * math/s_ctan.c: Removed.
15796         * math/s_ctanl.c: Removed.
15797         * math/s_ctanhf.c: Removed.
15798         * math/s_ctanh.c: Removed.
15799         * math/s_ctanhl.c: Removed.
15801         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
15802         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
15803         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
15804         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
15805         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
15806         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
15808         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
15809         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
15810         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
15811         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
15813 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15815         * s_catan_template.c: Copy of s_catan.c.
15816         * s_catanh_template.c: Copy of s_catanh.c.
15817         * s_ctan_template.c: Copy of s_ctan.c.
15818         * s_ctanh_template.c: Copy of s_ctanh.c.
15820 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15822         * math/Makefile (gen-libm-calls): Move
15823         casin, casinh, csin, csinh here.
15824         (libm-calls): Remove the above.
15826         * math/s_casin_template.c: Update using type-generic macros.
15827         * math/s_casinh_template.c: Likewise.
15828         * math/s_csin_template.c: Likewise.
15829         * math/s_csinh_template.c: Likewise.
15830         * math/k_casinh_template.c: Likewise.
15832         * math/s_casinf.c: Removed.
15833         * math/s_casin.c: Removed.
15834         * math/s_casinl.c: Removed.
15835         * math/s_casinh.c: Removed.
15836         * math/s_casinhf.c: Removed.
15837         * math/s_casinhl.c: Removed.
15838         * math/s_csin.c: Removed.
15839         * math/s_csinf.c: Removed.
15840         * math/s_csinl.c: Removed.
15841         * math/s_csinh.c: Removed.
15842         * math/s_csinhf.c: Removed.
15843         * math/s_csinhl.c: Removed.
15844         * math/k_casinh.c: Removed.
15845         * math/k_casinhf.c: Removed.
15846         * math/k_casinhl.c: Removed.
15848         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
15849         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
15850         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
15851         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
15853         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
15854         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
15855         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
15856         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
15857         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
15858         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
15859         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
15860         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
15862         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
15863         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
15864         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
15865         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
15867         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
15868         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
15869         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
15870         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
15872 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15874         * s_casin_template.c: Copy of s_casin.c.
15875         * s_casinh_template.c: Copy of s_casinh.c.
15876         * s_csin_template.c: Copy of s_csin.c.
15877         * s_csinh_template.c: Copy of s_csinh.c.
15878         * k_casinh_template.c: Copy of k_casinh.c.
15880 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15882         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
15884 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15886         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
15887         (mul_split) Remove, rename as mul_splitl, remove
15888         redundant float.h include, and include via mul_splitl.h
15890         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15891         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15892         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15893         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15894         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15896         * math/mul_splitl.h: New file.
15898         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
15899         Move into mul_split.h, and remove redundant float.h include.
15901         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15902         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
15903         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15904         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
15906         * math/mul_split.h: New file.
15908 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15910         * math/Makefile (libm-gen-calls): Move
15911         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
15912         (libm-calls): Remove above.
15914         * math/s_cacos_template.c: Update using type-generic macros.
15915         * math/s_cacosh_template.c: Likewise.
15916         * math/s_ccos_template.c: Likewise.
15917         * math/s_ccosh_template.c: Likewise.
15919         * math/s_cacosf.c: Removed.
15920         * math/s_cacos.c: Removed.
15921         * math/s_cacosl.c: Removed.
15922         * math/s_cacoshf.c: Removed.
15923         * math/s_cacosh.c: Removed.
15924         * math/s_cacoshl.c: Removed.
15925         * math/s_ccosf.c: Removed.
15926         * math/s_ccos.c: Removed.
15927         * math/s_ccosl.c: Removed.
15928         * math/s_ccoshf.c: Removed.
15929         * math/s_ccosh.c: Removed.
15930         * math/s_ccoshl.c: Removed.
15932         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
15933         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
15934         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
15935         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
15936         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
15937         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
15939         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
15940         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
15941         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
15942         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
15944         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
15945         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
15946         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
15947         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
15949 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15951         * s_cacos_template.c: Copy of s_cacos.c.
15952         * s_cacosh_template.c: Copy of s_cacosh.c.
15953         * s_ccos_template.c: Copy of s_ccos.c.
15954         * s_ccosh_template.c: Copy of s_ccosh.c.
15956 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15958         * stdlib/tst-strtod-round-skeleton.c:
15959         Refactored from tst-strtod-round.c.
15961         (L_): New macro to apply literal modifier.
15962         (FNPFX): New macro to select str or wcs prefix.
15963         (CHAR): New macro to choose wchar_t or char.
15964         (STRM): New macro to choose printf for tested character type.
15966         (STRTO): New macro to choose appropriate string -> real function.
15967         (FNPFXS): Stringitized version of FNPFX.
15968         (STR): Support for above macro.
15969         (STRX): Likewise.
15971         (TEST): Update with above macros.
15972         (test): Likewise.
15973         (GEN_ONE_TEST): Likewise.
15974         (test_in_one_mode): Likewise.
15976         * stdlib/tst-strtod-round.c: New file.
15977         * wcsmbs/tst-wcstod-round.c: New file.
15979         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
15980         (tst-wcstod-round): Add libm depencency for fesetround.
15982 2016-08-19  Zack Weinberg  <zackw@panix.com>
15984         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
15986 2016-08-18  Torvald Riegel  <triegel@redhat.com>
15988         [BZ #20477]
15989         * resolv/res_hconf.c (do_init): Use atomic access.
15990         * resolv/res_hconf.h: Add comments.
15991         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
15992         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
15993         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15995 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
15997         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15998         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
15999         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16000         Likewise.
16002 2016-08-18  Florian Weimer  <fweimer@redhat.com>
16004         [BZ #16907]
16005         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
16006         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
16007         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
16008         (__attribute__): Remove definition.
16010 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16012         * sysdeps/ieee754/ldbl-128/e_asinl.c:
16013         Remove unused sqrtl declaration.
16015 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16017         * math/Makefile: (gen-libm-templates.stmp): New rule.
16018         (libm-calls): Move carg conj cimag and cabs into ...
16019         (gen-libm-calls): New variable.
16020         (generated): Inform Make objects from gen-libm-calls
16021         may be generated.
16023         * sysdeps/generic/math-type-macros.h: New file.
16024         * sysdeps/generic/math-type-macros-float.h: Likewise.
16025         * sysdeps/generic/math-type-macros-double.h: Likewise.
16026         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16027         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
16028         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
16030         * math/cabs.c: Refactor into
16031         * math/cabs_template.c: new file.
16032         * math/cabsf.c: Removed.
16033         * math/cabsl.c: Removed.
16034         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
16035         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
16037         * math/carg.c: Refactor into
16038         * math/carg_template.c: new file.
16039         * math/cargf.c: Removed.
16040         * math/cargl.c: Removed.
16041         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
16042         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
16044         * math/conj.c: Refactor into
16045         * math/conj_template.c: new file.
16046         * math/conjf.c: Removed.
16047         * math/conjl.c: Removed.
16048         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
16049         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
16051         * math/cimag.c: Refactor into
16052         * math/cimag_template.c: new file.
16053         * math/cimagf.c: Removed.
16054         * math/cimagl.c: Removed.
16055         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16056         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16058         * math/cimag.c: Refactor into
16059         * math/cimag_template.c: new file.
16060         * math/cimagf.c: Removed.
16061         * math/cimagl.c: Removed.
16062         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16063         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16065 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16067         Reduce time to expected nptl/tst-once5 failure.
16068         * nptl/tst-once5.cc (TIMEOUT): Define.
16070 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16072         [BZ #20452]
16073         Avoid additional copies of objects in libc.a in static libraries.
16074         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
16075         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
16076         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
16077         rt-sysdep.
16078         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
16079         Add nptl-sysdep.
16080         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
16081         Add ptw-sysdep.
16082         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
16083         rt-sysdep.
16084         * sysdeps/unix/sysv/linux/alpha/Makefile
16085         (libpthread-shared-only-routines): Add ptw-sysdep,
16086         ptw-sigprocmask, ptw-rt_sigaction.
16087         * sysdeps/unix/sysv/linux/ia64/Makefile
16088         (librt-shared-only-routines): Add rt-sysdep.
16089         * sysdeps/unix/sysv/linux/i386/Makefile
16090         (libpthread-shared-only-routines): Add libc-do-syscall.
16091         * sysdeps/unix/sysv/linux/microblaze/Makefile
16092         (libpthread-shared-only-routines): Add sysdep.
16093         * sysdeps/unix/sysv/linux/powerpc/Makefile
16094         (librt-shared-only-routines): Add rt-sysdep.
16095         (libpthread-shared-only-routines): Add sysdep.
16096         * sysdeps/unix/sysv/linux/s390/Makefile
16097         (librt-shared-only-routines): Add rt-sysdep.
16098         * sysdeps/unix/sysv/linux/sparc/Makefile
16099         (librt-shared-only-routines): Add rt-sysdep.
16100         (libpthread-shared-only-routines): Add sysdep.
16101         * sysdeps/unix/sysv/linux/tile/Makefile
16102         (libpthread-shared-only-routines): Likewise.
16104 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
16106         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
16107         Mask implicit bit out of unpacked value.
16108         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
16109         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
16110         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
16112         * sysdeps/sparc/fpu/fesetexcept.c: New file.
16114         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
16116         * sysdeps/s390/fpu/fesetexcept.c: New file.
16118         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
16119         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
16120         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
16122         * sysdeps/mips/fpu/fesetexcept.c: New file.
16124         * sysdeps/m68k/fpu/fesetexcept.c: New file.
16126         * sysdeps/ia64/fpu/fesetexcept.c: New file.
16128         * sysdeps/hppa/fpu/fesetexcept.c: New file.
16130         * sysdeps/arm/fesetexcept.c: New file.
16132         * sysdeps/alpha/fpu/fesetexcept.c: New file.
16134         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
16136         * math/fesetexcept.c: New file.
16137         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
16138         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
16139         * math/fenv.h: Define
16140         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16141         <bits/libc-header-start.h> instead of including <features.h>.
16142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
16143         declaration.
16144         * manual/arith.texi (fesetexcept): Document function.
16145         * math/Versions (fesetexcept): New libm symbol at version
16146         GLIBC_2.25.
16147         * math/Makefile (libm-support): Add fesetexcept.
16148         (tests): Add test-fesetexcept and test-fesetexcept-traps.
16149         * math/test-fesetexcept.c: New file.
16150         * math/test-fesetexcept-traps.c: Likewise.
16151         * sysdeps/nacl/libm.abilist: Update.
16152         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16153         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16154         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16155         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16156         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16157         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16158         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16159         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16160         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16161         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16162         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16163         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16165         Likewise.
16166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16167         Likewise.
16168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16169         Likewise.
16170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16171         Likewise.
16172         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16173         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16174         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16175         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16176         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16178         Likewise.
16179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16180         Likewise.
16181         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16182         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16183         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16185 2016-08-16  Florian Weimer  <fweimer@redhat.com>
16187         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
16188         New.
16189         (do_test): Apply default_stack_size_in_mb if not set.
16190         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
16192 2016-08-15  Andreas Schwab  <schwab@suse.de>
16194         [BZ #20435]
16195         CVE-2016-6323
16196         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
16197         as .cantunwind.
16199 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
16201         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
16202         comment from fraiseexcpt.c.
16204         * math/test-fexcept.c (feraiseexcept_exact): New function.
16205         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
16206         (test_except): Likewise.
16208 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
16210         [BZ #20455]
16211         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
16212         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
16213         to be restored.
16215         * math/test-fexcept-traps.c: New file.
16216         * math/test-fexcept.c: Likewise.
16217         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
16218         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
16219         macro.
16220         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
16221         (EXCEPTION_SET_FORCES_TRAP): Likewise.
16223 2016-08-09  Torvald Riegel  <triegel@redhat.com>
16225         * include/atomic.h (atomic_fetch_and_relaxed,
16226         atomic_fetch_and_release, atomic_fetch_or_release,
16227         atomic_fetch_xor_release): New.
16229 2016-08-06  Christian Seiler  <christian@iwakd.de>
16231         [BZ #20444]
16232         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
16233         MACH_PORT_NULL.
16235 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16237         * math/s_fdim.c: Avoid alias renamed.
16238         * math/s_fdimf.c: Likewise.
16239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16240         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16241         Add s_fdimf-vis3, s_fdim-vis3.
16242         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16243         (CFLAGS-s_fdim-vis3.c): Likewise.
16244         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
16245         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
16247 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16250         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16251         Remove s_fdimf-vis3, s_fdim-vis3.
16252         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
16253         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
16254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
16255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
16256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
16257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
16258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
16259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
16260         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
16261         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
16263 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16265         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
16266         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
16267         -Wa,-Av9a -mvis.
16269 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16271         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
16272         LIT() to individual constants in simple expressions
16273         after splitting on spaces.
16274         (_apply_lit): Rename replaced version, and use it to
16275         apply to what appears to be a token.
16277         * math/libm-test.inc: Fix many, many issues with
16278         spacing.
16280 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
16282         * math/math.h: Move comment about <bits/mathdef.h> definitions
16283         above inclusion of <bits/mathdef.h>.  Do not mention
16284         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
16286 2016-08-05  Torvald Riegel  <triegel@redhat.com>
16288         * include/atomic.h (atomic_exchange_relaxed): New.
16290 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
16292         * math/e_scalb.c: Do not include <fenv.h>.
16293         (invalid_fn): Do calculation resulting in NaN instead of raising
16294         FE_INVALID and returning a NaN explicitly.
16295         * math/e_scalbf.c: Do not include <fenv.h>.
16296         (invalid_fn): Do calculation resulting in NaN instead of raising
16297         FE_INVALID and returning a NaN explicitly.
16298         * math/e_scalbl.c: Do not include <fenv.h>.
16299         (invalid_fn): Do calculation resulting in NaN instead of raising
16300         FE_INVALID and returning a NaN explicitly.
16302 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
16304         * po/de.po: Updated from Translation Project.
16305         * po/fi.po: Likewise.
16306         * po/sv.po: Likewise.
16308 2016-08-04  Florian Weimer  <fweimer@redhat.com>
16310         [BZ #20452]
16311         Use sysdep.o from libc.a in static libraries.
16312         * sysdeps/unix/sysv/linux/i386/Makefile
16313         (libpthread-shared-only-routines): Add sysdep.
16314         (librt-shared-only-routines): Likewise.
16316 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16318         * math/tgmath.h (nextdown): Define if
16319         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
16320         (nextup): Likewise.
16322         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
16323         macro.
16324         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16325         Document.
16326         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16327         Document macro.
16328         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
16329         (exp10f): Likewise.
16330         (exp10l): Likewise.
16331         * math/bits/mathcalls.h (exp10): Declare if
16332         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
16334         * manual/arith.texi (nextup): Fix typo in last change.
16336 2016-08-03  Zack Weinberg  <zackw@panix.com>
16338         [BZ #19239]
16339         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
16340         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
16341         define major, minor, and makedev to issue deprecation warnings on use.
16342         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
16343         previously-activated deprecation warnings for these macros and prevent
16344         subsequent inclusions of this header from having any effect.
16345         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
16346         including <sys/sysmacros.h>, and undefine it again afterward.
16348 2016-08-03  Zack Weinberg  <zackw@panix.com>
16350         * sysdeps/generic/sys/sysmacros.h: Delete file.
16351         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
16352         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
16353         * bits/sysmacros.h: ... here; this encoding is now the generic
16354         encoding.  Now defines only the following macros:
16355         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
16356         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
16357         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
16359         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
16360         bits/sysmacros.h and the above new macros to generate the
16361         public implementations of major, minor, and makedev.
16362         * misc/tst-makedev.c: New test.
16363         * include/sys/sysmacros.h: New wrapper.
16365         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
16366         (routines): Add makedev.
16367         (tests): Add tst-makedev.
16368         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
16369         gnu_dev_makedev.
16370         * posix/Makefile (headers): Remove sys/sysmacros.h.
16371         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
16373         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
16374         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
16375         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
16376         * sysdeps/unix/sysv/linux/alpha/libc.abilist
16377         * sysdeps/unix/sysv/linux/arm/libc.abilist
16378         * sysdeps/unix/sysv/linux/hppa/libc.abilist
16379         * sysdeps/unix/sysv/linux/i386/libc.abilist
16380         * sysdeps/unix/sysv/linux/ia64/libc.abilist
16381         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16382         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
16383         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
16384         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16385         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16386         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16387         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16388         * sysdeps/unix/sysv/linux/nios2/libc.abilist
16389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16393         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
16394         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
16395         * sysdeps/unix/sysv/linux/sh/libc.abilist
16396         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16397         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16400         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
16401         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
16402         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
16403         Add GLIBC_2.25.
16405         * include/features.h (__glibc_clang_prereq): New macro.
16406         * misc/sys/cdefs.h (__glibc_clang_has_extension)
16407         (__attribute_deprecated_msg__): New macros.
16409 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16411         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
16412         macro.
16413         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
16414         * manual/arith.texi (issignaling): Document as ISO from TS
16415         18661-1:2014.
16416         (nextup): Likewise.
16417         (nextupf): Likewise.
16418         (nextupl): Likewise.
16419         (nextdown): Likewise.
16420         (nextdownf): Likewise.
16421         (nextdownl): Likewise.
16422         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
16423         macro.
16424         * math/math.h: Define
16425         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16426         <bits/libc-header-start.h> instead of including <features.h>.
16427         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
16428         [__USE_GNU].
16429         * math/bits/mathcalls.h (nextdown): Declare if
16430         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
16431         (nextup): Likewise.
16432         (__issignaling): Likewise.
16434 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16436         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
16437         check, and remove __glibc_likely hint
16438         from FP_INFINITE check.
16439         * s_csinhf.c (__csinhf): Likewise.
16441         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
16442         hint from FP_INFINITE check.
16443         * s_csinhl.c (__csinhl): Likewise.
16445 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16447         * math/Makefile (libm-calls): Insert F placeholder into
16448         object names.  Move w_lgamma_compat* routines into
16449         (libm-compat-calls): New variable.
16450         (libm-compat-calls-ldouble-yes): New variable.
16451         (calls): Insert F placeholder.
16452         (generated): Redefine using new type-foreach macro call.
16453         (routines): Likewise.
16455         (types): New variable to hold a list of symbolic names
16456         for each type supported by the target machine.
16457         (libm-routines): Redefine using new types variable.
16458         (type-foreach): macro to replace fooF with the
16459         appropriately suffixed foo for each types.
16461         (type-ldouble-suffix): New variable.
16462         (type-ldouble-routines): Likewise.
16463         (type-ldouble-yes): Likewise.
16464         (type-double-suffix): Likewise.
16465         (type-double-routines): Likewise.
16466         (type-float-suffix): Likewise.
16467         (type-float-routines): Likewise.
16469         (dbl-only-routines): Remove.
16470         (long-c-yes): Likewise.
16471         (long-m-routines): Likewise.
16472         (long-m-support): Likewise.
16473         (long-m-yes): Likewise.
16474         (test-longdouble-yes): Likewise.
16476         (test-float.o): Simplify by increasing the scope of the
16477         recipe which adds libm-test.stmp to the vector types.
16478         (test-ifloat.o): Likewise.
16479         (test-float-finite.o): Likewise.
16480         (test-double.o): Likewise
16481         (test-idouble.o): Likewise.
16482         (test-double-finite.o): Likewise.
16483         (test-ldouble.o): Likewise
16484         (test-ildoubl.o): Likewise.
16485         (test-ldouble-finite.o): Likewise.
16487         (libm-tests): Redefine type tests using foreach and the
16488         list of types in types.
16490         (CPPFLAGS-test-ildoubl.c): Rename to
16491         (CPPFLAGS-test-ildouble.c): New variable
16493         * math/test-ildoubl.c: Rename to
16494         * math/test-ildouble.c: New file.
16496 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16498         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
16499         Use fabsl instead of fabs.
16500         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
16501         Likewise.
16502         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
16503         Add long double suffix to constant to ensure proper
16504         promotion to long double.
16506 2016-08-03  Tom Tromey  <tom@tromey.com>
16508         [BZ #20311]
16509         * nptl_db/Makefile (headers): Add proc_service.h.
16510         * nptl_db/proc_service.h: Add include guard.  Use
16511         __BEGIN/__END_DECLS.
16512         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
16513         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
16514         arguments.
16517 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16519         [BZ #17730]
16520         Avoid using memalign for TCB allocations.
16521         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
16522         (_dl_allocate_tls_storage): Use malloc and manual alignment.
16523         Avoid alignment gap in the TLS_DTV_AT_TP case.
16524         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
16525         determine the pointer to free.
16526         * nptl/tst-tls3-malloc.c: New test.
16527         * nptl/Makefile (tests): Add it.
16528         (tst-tls3-malloc): Link with libdl, libpthread.
16529         (LDFLAGS-tst-tls3-malloc): Set.
16530         (tst-tls3-malloc.out): Depend on DSO used in test.
16532 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16534         [BZ #17730]
16535         Avoid using memalign for TLS allocations.
16536         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
16537         is_static member with to_free member.
16538         (union dtv): Use struct dtv_pointer.
16539         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
16540         dtv_pointer instead of is_static.
16541         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
16542         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
16543         instead of val.
16544         (allocate_dtv_entry): New function.
16545         (allocate_and_init): Return struct dtv_pointer.  Call
16546         allocate_dtv_entry instead of __libc_memalign.
16547         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
16548         instead of val.
16549         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
16550         instead of is_static.  Adjust call to allocate_and_init.
16551         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
16552         struct dtv_pointer instead of val.
16554 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16556         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
16557         (MALLOC_ALIGN_MASK): Move ...
16558         * malloc/malloc-internal.h: ... to here.
16559         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
16561 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16563         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
16564         (UDP_ENCAP_GTP1U): Likewise.
16566         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
16567         (PF_MAX): Update value.
16568         (AF_QIPCRTR): New macro.
16570 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
16572         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
16573         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16574         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16575         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
16576         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16577         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16578         s_truncf-vis3, s_trunc-vis3.
16579         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16580         (CFLAGS-s_ceil-vis3.c): Likewise.
16581         (CFLAGS-s_floorf-vis3.c): Likewise.
16582         (CFLAGS-s_floor-vis3.c): Likewise.
16583         (CFLAGS-s_truncf-vis3.c): Likewise.
16584         (CFLAGS-s_trunc-vis3.c): Likewise.
16585         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
16586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
16587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
16588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
16589         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
16590         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
16591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
16592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
16593         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
16594         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
16595         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
16596         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
16598 2016-08-02  David S. Miller  <davem@davemloft.net>
16600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
16601         (__nearbyint_vis3): Don't check for sNaN before float register is
16602         loaded with the incoming argument.
16603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
16604         (__nearbyintf_vis3): Likewise.
16605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
16606         Likewise.
16607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
16608         Likewise.
16610         * string/test-strncmp.c (do_test_limit): Make sure the test data
16611         stream is aligned as required for the type "CHAR".
16612         (do_test): Likewise.
16614 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
16616         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
16617         by beq instructions jumping to the end of the function.
16618         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
16619         clobber list. Use "i" constraint instead of "X".
16620         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
16621         of "X".
16623 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
16625         * bits/libc-header-start.h: New file.
16626         * Makefile (headers): Add bits/libc-header-start.h.
16627         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
16628         (__GLIBC_USE): New macro.
16629         * libio/stdio.h: Define
16630         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16631         <bits/libc-header-start.h> instead of including <features.h>.
16632         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
16633         (open_memstream): Likewise.
16634         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
16635         (__asprintf): Likewise.
16636         (asprintf): Likewise.
16637         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
16638         (getdelim): Likewise.
16639         (getline): Likewise.
16640         * string/string.h: Define
16641         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16642         <bits/libc-header-start.h> instead of including <features.h>.
16643         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
16644         (strndup): Likewise.
16645         * wcsmbs/wchar.h: Define
16646         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16647         <bits/libc-header-start.h> instead of including <features.h>.
16648         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
16649         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
16651 2016-08-02  Florian Weimer  <fweimer@redhat.com>
16653         Support linking against compatibility symbols, for use in tests.
16654         * include/libc-symbols.h (symbol_version_reference): New macro.
16655         (symbol_version): Use it.
16656         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
16657         (compat_symbol): Use compat_symbol_reference.
16658         (compat_symbol_1, compat_symbol_2): Remove.
16659         (compat_symbol_reference, compat_symbol_reference_1)
16660         (compat_symbol_reference_2): New macro.  Use
16661         symbol_version_reference.
16663 2016-08-02  Florian Weimer  <fweimer@redhat.com>
16665         [BZ #19469]
16666         * malloc/Makefile (CPPFLAGS): Compile tests with
16667         -DTEST_NO_MALLOPT.
16668         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
16670 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
16672         [BZ #20033]
16673         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
16674         finite version.
16675         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
16676         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
16677         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
16678         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
16679         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
16680         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
16681         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
16682         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
16683         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
16684         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
16685         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
16686         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
16687         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
16688         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
16689         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
16690         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
16691         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
16692         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
16693         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
16694         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
16695         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
16696         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
16697         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
16698         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
16699         in zero power.
16701 2016-08-02  Florian Weimer  <fweimer@redhat.com>
16703         [BZ #20370]
16704         * malloc/arena.c (get_free_list): Update comment.  Assert that
16705         arenas on the free list have no attached threads.
16706         (remove_from_free_list): New function.
16707         (reused_arena): Call it.
16709 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
16711         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
16712         when it is a NaN.
16713         [_IEEE_FP_INEXACT] Remove.
16714         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
16715         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
16716         when it is a NaN.
16717         [_IEEE_FP_INEXACT] Remove.
16718         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
16719         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
16720         when it is a NaN.
16721         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
16722         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
16723         when its absolute value is greater than 0x1.0p52.
16724         [_IEEE_FP_INEXACT] Remove.
16725         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
16726         when its absolute value is greater than 0x1.0p23.
16727         [_IEEE_FP_INEXACT] Remove.
16729 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
16731         * version.h (RELEASE): Set to "development"
16732         (VERSION): Set to 2.24.90.
16733         * NEWS: Add 2.25 section.
16735         * version.h (RELEASE): Set to "stable"
16736         (VERSION): Set to 2.24.
16737         * include/features.h (__GLIBC_MINOR__): Set to 24.
16739         * NEWS: Add 2.24 fixed bugs.
16740         * po/libc.pot: Regenerate.
16742 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
16744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16745         [$(subdir) = math] (libm-sysdep_routines): Remove.
16746         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16747         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16748         s_truncf-vis3, s_trunc-vis3.
16749         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
16751         file.
16752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
16753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
16754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
16755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
16758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
16759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
16761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
16762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
16763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
16764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
16765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
16766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
16767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
16771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
16772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
16773         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
16774         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16775         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16776         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
16777         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
16780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16782         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
16783         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16784         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16785         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
16786         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
16787         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
16788         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
16789         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16790         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16791         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
16792         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
16793         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
16794         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
16796 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
16798         [BZ #20384]
16799         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
16800         test-double-libmvec-sincos-avx-main.o,
16801         test-double-libmvec-sincos-avx2-main.o,
16802         test-double-libmvec-sincos-main.o,
16803         test-float-libmvec-sincosf-avx-main.o,
16804         test-float-libmvec-sincosf-avx2-main.o and
16805         test-float-libmvec-sincosf-main.o.
16806         test-float-libmvec-sincosf-avx512-main.o.
16807         ($(objpfx)test-double-libmvec-sincos): Also link with
16808         $(objpfx)test-double-libmvec-sincos-main.o.
16809         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
16810         $(objpfx)test-double-libmvec-sincos-avx-main.o.
16811         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
16812         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
16813         ($(objpfx)test-float-libmvec-sincosf): Also link with
16814         $(objpfx)test-float-libmvec-sincosf-main.o.
16815         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
16816         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
16817         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
16818         test-double-libmvec-sincos-avx512-main.o and
16819         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
16820         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
16821         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
16822         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
16823         (CFLAGS-test-double-libmvec-sincos.c): Removed.
16824         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
16825         (CFLAGS-test-double-libmvec-sincos-main.c): New.
16826         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
16827         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
16828         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
16829         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
16830         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
16831         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
16832         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
16833         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
16834         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
16835         -DREQUIRE_AVX2.
16836         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
16837         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
16838         -DREQUIRE_AVX512F.
16839         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
16840         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
16841         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16842         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
16843         file.
16844         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
16845         Likewise.
16846         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
16847         Likewise.
16848         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
16849         Likewise.
16850         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
16851         Likewise.
16852         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
16853         Likewise.
16854         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
16855         Likewise.
16856         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
16857         Likewise.
16859 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
16861         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
16863 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
16865         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
16866         and typo in a comment about AT_HWCAP entry.
16868 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16870         * sysdeps/aarch64/libm-test-ulps: Updated.
16872 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16874         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
16875         of r13 as it is not restored in mvcle case.
16877 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
16879         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
16880         Rename "ret" to "__ret".
16881         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
16882         inline_syscall5, inline_syscall6): Likewise.
16884 2016-07-19   Will Newton  <will.newton@gmail.com>
16886         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
16887         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
16888         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
16889         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
16890         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
16892 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
16894         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
16895         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
16896         -mfpmath=387 with $(rtld-CFLAGS).
16897         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
16898         $(rtld-CFLAGS).
16900 2016-07-18   Ross Burton  <ross.burton@intel.com>
16901              Khem Raj  <raj.khem@gmail.com>
16903         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
16904         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
16905         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
16906         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
16907         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
16908         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
16909         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
16910         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
16911         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
16912         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
16913         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
16914         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
16915         R_METAG_TLS_DTPOFF): New.
16917 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16918             Matt Clay  <mclay@lycos.com>
16920         [BZ #20357]
16921         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
16922         to call __mpsin/__mpcos and to negate values.
16923         * math/auto-libm-test-in: Add test.
16924         * math/auto-libm-test-out: Regenerate.
16926 2016-07-18  Zack Weinberg  <zackw@panix.com>
16928         * grp/Makefile: Don't install the internal header grp-merge.h.
16930 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16932         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16934 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16936         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
16938 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16940         [BZ #15368]
16941         * sysdeps/unix/sysv/linux/nptl-signals.h
16942         (__nptl_clear_internal_signals): New function.
16943         (__libc_signal_block_all): Likewise.
16944         (__libc_signal_block_app): Likewise.
16945         (__libc_signal_restore_set): Likewise.
16946         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
16947         implementation.
16948         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
16949         the cached pid/tid value in pthread structure.
16951 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
16953         [BZ #20347]
16954         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16956 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16958         [BZ #20348]
16959         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
16960         preadv64, pwrite64 and pwritev64.
16962 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16964         [BZ #20350]
16965         * posix/tst-preadwrite.c: Renamed to ...
16966         * posix/tst-preadwrite-common.c: This.
16967         (PREAD): Removed.
16968         (PWRITE): Likewise.
16969         (STRINGIFY): Likewise.
16970         (STRINGIFY2): Likewise.
16971         (do_prepare): Make it static and remove function arguments.
16972         (do_test): Likewise.
16973         (PREPARE): Updated.
16974         (TEST_FUNCTION): New.
16975         (name): Make it static.
16976         (fd): Likewise.
16977         (do_prepare): Use create_temp_file.
16978         (do_test): Renamed to ...
16979         (do_test_with_offset): This.  Make it static and accept offset.
16980         Properly check return value of PWRITE and PREAD.  Return bytes
16981         read.  Don't close fd nor unlink name.
16982         * posix/tst-preadwrite.c: Rewrite.
16983         * posix/tst-preadwrite64.c: Likewise.
16985 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16987         [BZ #20309]
16988         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
16989         -mtls-dialect=gnu2 works.
16990         * configure: Regenerated.
16991         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
16992         (tests): Add tst-gnu2-tls1.
16993         (modules-names): Add tst-gnu2-tls1mod.
16994         ($(objpfx)tst-gnu2-tls1): New.
16995         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
16996         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
16997         * elf/tst-gnu2-tls1.c: New file.
16998         * elf/tst-gnu2-tls1mod.c: Likewise.
16999         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
17000         bytes for push in the PLT entry to align the stack.
17002 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17004         [BZ #20349]
17005         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
17007 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17009         [BZ #18707]
17010         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
17011         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
17013 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17015         * sysdeps/unix/sysv/linux/sysdep.h
17016         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
17017         guards.
17018         * misc/tst-preadvwritev-common.c: New file.
17019         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
17020         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
17021         a check for files larger than 2GB.
17023         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17024         (__ASSUME_OFF_DIFF_OFF64): Remove define.
17025         * sysdeps/unix/sysv/linux/pread.c
17026         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
17027         __OFF_T_MATCHES_OFF64_T.
17028         * sysdeps/unix/sysv/linux/pread64.c
17029         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
17030         * sysdeps/unix/sysv/linux/preadv.c
17031         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
17032         * sysdeps/unix/sysv/linux/preadv64.c
17033         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
17034         * sysdeps/unix/sysv/linux/pwrite.c
17035         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
17036         * sysdeps/unix/sysv/linux/pwrite64.c
17037         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
17038         * sysdeps/unix/sysv/linux/pwritev.c
17039         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
17040         * sysdeps/unix/sysv/linux/pwritev64.c
17041         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
17043 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
17045         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17046         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
17048 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17050         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
17052 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17054         [BZ #20240]
17055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
17056         (CFLAGS-s_modf-ppc32.c): New variable.
17057         (CFLAGS-s_modff-ppc32.c): Likewise.
17058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17059         (CFLAGS-s_modf-ppc64.c): Likewise.
17060         (CFLAGS-s_modff-ppc64.c): Likewise.
17062 2016-07-07  Andreas Schwab  <schwab@suse.de>
17064         [BZ #20263]
17065         * nptl/tst-robust10.c: New test.
17066         * nptl/Makefile (tests): Add tst-robust10.
17068 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
17070         [BZ #20263]
17071         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
17073 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17075         * sysdeps/s390/linkmap.h (struct link_map_machine):
17076         Remove member gotplt and add member jmprel.
17077         * sysdeps/s390/s390-32/dl-machine.h
17078         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
17079         instead of gotplt with &got[3].
17080         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
17081         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17083 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
17085         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
17087 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17089         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
17090         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
17091         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17092         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
17093         * libio/vtables.c (_IO_vtable_check)
17094         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17095         * libio/libioP.h (IO_set_accept_foreign_vtables)
17096         [!PTR_MANGLE]: Do not call PTR_MANGLE.
17098 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
17100         [BZ #20314]
17101         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
17102         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
17103         $(common-objpfx)cmath.
17104         ($(common-objpfx)cstdlib): New target.
17105         ($(common-objpfx)cmath): Likewise.
17107 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
17109         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
17111 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17113         [BZ #20327]
17114         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
17115         are not part of the string.
17117 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17119         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
17120         * nptl/tst-cancel4-common.h (fifoname): New variable.
17121         (fifofd): Likewise.
17122         (cl_fifo): New function.
17123         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
17124         SIGINT.
17125         (tf_open): Add early cancel test.
17127 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17129         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
17131 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
17133         * sysdeps/generic/ldsodefs.h
17134         (dl_symbol_visibility_binds_local_p): New inline function.
17135         * elf/dl-addr.c (determine_info): Treat hidden and internal
17136         symbols as local.
17137         * elf/dl-lookup.c (do_lookup_x): Likewise.
17138         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
17140 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
17142         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
17143         invalid exception for a sNaN input.
17144         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17145         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17146         (__nearbyint_vis3): Likewise
17147         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17148         (__nearbyintf_vis3): Likewise
17149         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
17150         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17151         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
17152         Likewise.
17153         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
17154         Likewise.
17156 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
17158         [BZ #20139]
17159         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
17160         (HAVE_AVX512DQ_ASM_SUPPORT): This.
17161         * sysdeps/x86_64/configure.ac: Require assembler from binutils
17162         2.24 or above.
17163         (HAVE_AVX512_ASM_SUPPORT): Removed.
17164         (HAVE_AVX512DQ_ASM_SUPPORT): New.
17165         * sysdeps/x86_64/configure: Regenerated.
17166         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
17167         check unconditional.
17168         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17169         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17170         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17171         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17172         Likewise.
17173         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17174         Likewise.
17175         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17176         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17177         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17178         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17179         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17180         Likewise.
17181         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17182         Likewise.
17183         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17184         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17185         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
17186         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
17187         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
17188         Likewise.
17189         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
17190         Likewise.
17191         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
17192         Likewise.
17193         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
17194         Likewise.
17195         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
17196         Likewise.
17197         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
17198         Likewise.
17199         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
17200         Likewise.
17201         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
17202         Likewise.
17203         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
17204         Likewise.
17205         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
17206         Likewise.
17207         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
17208         Likewise.
17210 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
17212         [BZ #20024]
17213         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
17214         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
17215         of this implementation of vector function.
17216         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17217         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17218         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
17219         Likewise.
17220         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17221         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17222         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
17223         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
17224         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
17225         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
17226         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
17227         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
17228         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
17229         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
17230         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
17231         for testing vector sincos with fixed ABI.
17232         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17233         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17234         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17235         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17236         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17237         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17238         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17239         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
17240         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
17241         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
17242         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
17243         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
17244         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
17245         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
17246         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17247         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17249 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17251         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
17253 2016-06-30  Anton Blanchard  <anton@samba.org>
17255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17256         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
17257         s_sinf-ppc64.
17258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
17259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
17260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
17261         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
17263 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17266         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17267         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
17268         e_expf-ppc64.
17269         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
17270         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
17271         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
17272         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
17274 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
17276         [BZ #20277]
17277         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
17278         when SHARED is defined.
17280 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
17282         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
17283         (index_arch_Prefer_ERMS): Likewise.
17284         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
17285         __memcpy_erms for Prefer_ERMS.
17286         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17287         (__memmove_erms): Enabled for libc.a.
17288         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
17289         __memmove_erms or Prefer_ERMS.
17290         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
17291         __mempcpy_erms for Prefer_ERMS.
17292         * sysdeps/x86_64/multiarch/memset.S (memset): Return
17293         __memset_erms for Prefer_ERMS.
17295 2016-06-30  Andreas Schwab  <schwab@suse.de>
17297         [BZ #20262]
17298         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
17299         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
17300         of memory.
17302 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
17304         [BZ #18645]
17305         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
17306         (test-extras): Add tst-cleanupx4aux.
17307         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
17308         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
17309         tst-cleanupx4aux.o.
17310         * nptl/tst-cleanupx4aux.c: New file.
17312 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17314         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17316 2016-06-29  Andreas Schwab  <schwab@suse.de>
17318         [BZ #20260]
17319         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
17320         address before the beginning of the string as an integer to avoid
17321         array-bounds warning.
17323 2016-06-28  Richard Henderson  <rth@redhat.com>
17325         * elf/elf.h (EM_BPF): New.
17326         (EM_NUM): Update.
17327         (R_BPF_NONE, R_BPF_MAP_FD): New.
17329         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
17330         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
17331         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
17332         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
17333         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
17334         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
17335         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
17336         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
17337         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
17338         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
17339         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
17340         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
17341         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
17342         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
17343         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
17344         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
17345         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
17346         (EM_NUM): Update.
17348 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
17350         [BZ #18960]
17351         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
17352         Set _nl_current_LC_CATEGORY_used to two instead of one.
17354 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
17356         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
17357         (do_test): ... this.
17358         (TEST_FUNCTION): New macro.
17359          Include test-skeleton.c.
17360         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
17361         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
17363 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
17365         [BZ #15479]
17366         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
17367         floating-point environment rather than just control word.
17368         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17369         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
17370         floating-point environment, with "invalid" exceptions merged in,
17371         rather than just control word.
17372         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
17373         * math/libm-test.inc (trunc_test_data): Do not allow spurious
17374         "inexact" exceptions.
17376         [BZ #15479]
17377         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
17378         floating-point environment rather than just control word.
17379         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17380         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
17381         floating-point environment, with "invalid" exceptions merged in,
17382         rather than just control word.
17383         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
17384         * math/libm-test.inc (floor_test_data): Do not allow spurious
17385         "inexact" exceptions.
17387         [BZ #15479]
17388         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
17389         floating-point environment rather than just control word.
17390         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17391         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
17392         floating-point environment, with "invalid" exceptions merged in,
17393         rather than just control word.
17394         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
17395         * math/libm-test.inc (ceil_test_data): Do not allow spurious
17396         "inexact" exceptions.
17398 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
17400         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
17401         __libc_vfork.
17402         (__vfork) [IS_IN (libc)]: Remove alias.
17403         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
17404         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17405         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17407 2016-06-24  Torvald Riegel  <triegel@redhat.com>
17409         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
17410         of atomic_compare_and_exchange_bool_rel.
17411         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17412         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
17413         catomic_compare_and_exchange_bool_rel): Remove.
17414         * sysdeps/aarch64/atomic-machine.h
17415         (atomic_compare_and_exchange_bool_rel): Likewise.
17416         * sysdeps/alpha/atomic-machine.h
17417         (atomic_compare_and_exchange_bool_rel): Likewise.
17418         * sysdeps/arm/atomic-machine.h
17419         (atomic_compare_and_exchange_bool_rel): Likewise.
17420         * sysdeps/mips/atomic-machine.h
17421         (atomic_compare_and_exchange_bool_rel): Likewise.
17422         * sysdeps/microblaze/atomic-machine.h
17423         ( __arch_compare_and_exchange_bool_8_rel,
17424         __arch_compare_and_exchange_bool_16_rel): Likewise.
17425         * sysdeps/powerpc/atomic-machine.h
17426         ( __arch_compare_and_exchange_bool_8_rel,
17427         __arch_compare_and_exchange_bool_16_rel): Likewise.
17428         * sysdeps/powerpc/powerpc32/atomic-machine.h
17429         ( __arch_compare_and_exchange_bool_32_rel,
17430         __arch_compare_and_exchange_bool_64_rel): Likewise.
17431         * sysdeps/powerpc/powerpc64/atomic-machine.h
17432         ( __arch_compare_and_exchange_bool_32_rel,
17433         __arch_compare_and_exchange_bool_64_rel): Likewise.
17434         * sysdeps/tile/atomic-machine.h
17435         (atomic_compare_and_exchange_bool_rel): Likewise.
17437 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
17439         [BZ #20296]
17440         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
17441         when either argument is a NaN.
17442         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17443         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
17445         * math/libm-test.inc (snan_value_ld): New macro.
17446         (isgreater_test_data): Add sNaN tests.
17447         (isgreaterequal_test_data): Likewise.
17448         (isless_test_data): Likewise.
17449         (islessequal_test_data): Likewise.
17450         (islessgreater_test_data): Likewise.
17451         (isunordered_test_data): Likewise.
17452         (nextafter_test_data): Likewise.
17453         (nexttoward_test_data): Likewise.
17454         (remainder_test_data): Likewise.
17455         (remquo_test_data): Likewise.
17456         (significand_test_data): Likewise.
17457         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
17459 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17461         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
17462         environment macros are defined.
17463         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
17465 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17467         [BZ #20191]
17468         Implement vtable verification in libio.
17469         * Makerules (shlib.lds): Place __libc_IO_vtables section.
17470         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
17471         * debug/vdprintf_chk.c (__vdprintf_chk): Call
17472         _IO_new_file_init_internal instead of _IO_file_init.
17473         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
17474         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
17475         * libio/Makefile (routines): Add vtables.
17476         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
17477         (_IO_init): Remove, not for internal use.
17478         (_IO_init_internal): Declare, internal replacement for _IO_init.
17479         (_IO_file_init): Remove, not for internal use.
17480         (_IO_new_file_init): Remove, not for internal use.
17481         (_IO_new_file_init_internal): Declare, internal replacement for
17482         _IO_new_file_init.
17483         (_IO_old_file_init): Remove, not for internal use.
17484         (_IO_old_file_init_internal): Declare, internal replacement for
17485         _IO_old_file_init.
17486         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
17487         internal use.
17488         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
17489         Declare.
17490         (libio_vtable): New macro.
17491         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
17492         functions.
17493         * libio/fileops.c (_IO_new_file_init_internal): Rename from
17494         _IO_new_file_init.
17495         (_IO_new_file_init): New externally visible wrapper which disables
17496         vtable verification.
17497         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
17498         Define as vtables.
17499         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
17500         (_IO_init): New externally visible wrapper which disables
17501         vtable verification.
17502         * libio/iofdopen.c (_IO_new_fdopen): Call
17503         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
17504         comment.
17505         * libio/iofopen.c (__fopen_internal): Call
17506         _IO_new_file_init_internal instead of _IO_file_init.
17507         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
17508         Define as vtables.
17509         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
17510         _IO_new_file_init_internal instead of _IO_file_init.
17511         * libio/iopopen.c (_IO_new_popen): Likewise.
17512         (_IO_proc_jumps): Define as vtable.
17513         * libio/iovdprintf.c (_IO_vdprintf): Call
17514         _IO_new_file_init_internal instead of _IO_file_init.
17515         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
17516         (__open_memstream): Call _IO_init_internal instead of _IO_init.
17517         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
17518         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
17519         _IO_old_file_init.
17520         (_IO_old_file_init): New externally visible wrapper which disables
17521         vtable verification.
17522         (_IO_old_file_jumps): Define as vtable.
17523         * libio/oldiofdopen.c (_IO_old_fdopen): Call
17524         _IO_old_file_init_internal instead of _IO_old_file_init.
17525         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17526         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17527         (_IO_old_proc_jumps): Define as vtable.
17528         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
17529         Define as vtables.
17530         * libio/vtables.c: New file.
17531         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
17532         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
17533         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
17534         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
17535         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
17536         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
17537         instead of _IO_init.
17539 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17541         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
17543 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17545         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
17546         potentially unused.
17548 2016-06-22  Florian Weimer  <fweimer@redhat.com>
17550         * test-skeleton.c (write_message): New function.
17551         * malloc/tst-mallocfork2.c (write_message): Remove.
17552         * debug/tst-longjmp_chk2.c (write_indented): New function.
17553         (write_message): Remove.
17554         (stackoverflow_handler): Call write_indented.
17556 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
17558         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
17559         "inexact" exceptions after fnstenv.
17560         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17561         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17562         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17564 2015-06-22  Zack Weinberg  <zackw@panix.com>
17566         * sysdeps/generic/bits/hwcap.h: Moved to ...
17567         * bits/hwcap.h: Here.
17569 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
17571         * sysdeps/aarch64/memcpy.S (memcpy):
17572         Further tuning for performance.
17574 2016-06-21  Florian Weimer  <fweimer@redhat.com>
17576         [BZ #20284]
17577         * malloc/arena.c (reused_arena): Do not return NULL if we start
17578         out with a non-corrupted arena.
17580 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17582         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
17583         * misc/tst-preadvwritev.c: New file.
17584         * misc/tst-preadvwritev64.c: Likewise.
17585         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
17586         usage.
17587         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
17588         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
17589         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
17590         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
17592 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
17594         [BZ #19654]
17595         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17596         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
17597         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
17598         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
17599         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
17600         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
17601         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
17602         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
17603         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
17604         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
17605         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
17606         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
17607         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
17608         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
17609         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
17610         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
17611         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
17612         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
17613         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
17614         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
17615         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
17616         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
17617         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
17618         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
17619         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
17620         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
17622 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
17624         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
17625         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
17627 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
17629         * sysdeps/aarch64/memcpy.S (memcpy):
17630         Rewrite of optimized memcpy and memmove.
17631         * sysdeps/aarch64/memmove.S (memmove): Remove
17632         memmove code (merged into memcpy.S).
17634 2016-06-20  Florian Weimer  <fweimer@redhat.com>
17636         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
17637         * sysdeps/generic/dl-dtv.h: New file.
17638         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17639         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
17640         (dtv_t): Remove.
17641         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17642         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
17643         (dtv_t): Remove.
17644         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17645         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
17646         (dtv_t): Remove.
17647         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17648         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
17649         (dtv_t): Remove.
17650         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17651         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
17652         (dtv_t): Remove.
17653         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17654         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
17655         (dtv_t): Remove.
17656         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17657         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
17658         (dtv_t): Remove.
17659         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
17660         (dtv_t): Remove.
17661         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17662         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
17663         (dtv_t): Remove.
17664         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17665         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
17666         (dtv_t): Remove.
17667         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17668         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
17669         (dtv_t): Remove.
17670         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17671         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
17672         (dtv_t): Remove.
17673         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17674         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
17675         (dtv_t): Remove.
17676         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17677         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
17678         (dtv_t): Remove.
17679         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17680         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
17681         (dtv_t): Remove.
17682         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17683         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
17684         (dtv_t): Remove.
17686 2016-06-20  Florian Weimer  <fweimer@redhat.com>
17688         Revert symbol poisoning of  __malloc_initialize_hook.
17689         * include/stdc-predef.h (__malloc_initialize_hook): Remove
17690         poisoning.
17691         * malloc/Makefile: Remove un-poisoning.
17692         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
17693         instead of old__malloc_initialize_hook.
17694         * malloc/malloc-hooks.h: Likewise.
17695         * malloc/malloc.c: Likewise.
17696         * malloc/mcheck-init.c: Likewise.
17698 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
17700         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
17702 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
17704         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
17705         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
17706         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17707         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17709 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17711         * NEWS: Mention addition of nextup and nextdown.
17712         * manual/arith.texi: Document nextup and nextdown.
17713         * manual/libm-err-tab.pl: Add nextup and nextdown.
17714         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
17715         * math/Versions (libm): Add GLIBC_2.24.
17716         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
17717         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17718         Add new test.
17719         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
17720         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
17721         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
17722         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
17723         (nextup_test_data): Likewise.
17724         (nextdown_test_data): Likewise.
17725         * math/s_nextdown.c: New file.
17726         * math/s_nextdownf.c: Likewise.
17727         * math/s_nextdownl.c: Likewise.
17728         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
17729         F(nextup): New function.
17730         F(nextdown): Likewise.
17731         * math/tgmath.h: Add nextup and nextdown.
17732         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
17733         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
17734         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17735         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17736         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17737         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
17738         Add nextup and nextdown.
17739         (CFLAGS-nldbl-nextup.c): New variable.
17740         (CFLAGS-nldbl-nextdown.c): Likewise.
17741         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
17742         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
17743         * sysdeps/nacl/libm.abilist: Update.
17744         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17745         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17746         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17747         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17748         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17749         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17750         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17751         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17752         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17753         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17754         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17755         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17758         Likewise.
17759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17761         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17762         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17763         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17764         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17765         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
17767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
17768         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17769         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17770         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17771         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17773 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17775         * manual/pattern.texi: Fix typos & grammar errors.
17777 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17779         * manual/search.texi: Fix typos & grammar errors.
17781 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17783         * manual/message.texi: Fix typos & grammar errors.
17785 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
17787         * manual/contrib.texi: Fix spelling typos.
17788         * manual/crypt.texi: Likewise.
17789         * manual/filesys.texi: Likewise.
17790         * manual/locale.texi: Likewise.
17791         * manual/message.texi: Likewise.
17792         * manual/nss.texi: Likewise.
17793         * manual/string.texi: Likewise.
17795 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17797         * manual/locale.texi: Fix typos & grammar errors.
17799 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17801         * manual/charset.texi: Fix typos & grammar errors.
17803 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17805         * manual/string.texi: Fix typos.
17807 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17809         * manual/ctype.texi: Fix typos.
17811 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17813         * manual/memory.texi: Fix various typos & grammar errors.
17815 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
17817         [BZ #20255]
17818         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
17819         * math/libm-test.inc (fdim_test_data): Add another test.
17821         [BZ #6796]
17822         [BZ #20255]
17823         [BZ #20256]
17824         * math/s_fdim.c: Include <math_private.h>.
17825         (__fdim): Use math_narrow_eval on result.
17826         * math/s_fdimf.c: Include <math_private.h>.
17827         (__fdimf): Use math_narrow_eval on result.
17828         * sysdeps/i386/fpu/s_fdim.S: Remove file.
17829         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
17830         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
17831         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
17832         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
17833         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
17834         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
17835         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
17836         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
17837         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
17838         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
17839         * math/libm-test.inc (fdim_test_data): Expect errno setting on
17840         overflow.  Add sNaN tests.
17842         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
17843         fpclassify.
17844         * math/s_fdimf.c (__fdimf): Likewise.
17845         * math/s_fdiml.c (__fdiml): Likewise.
17847 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17849         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17850         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
17851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17852         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
17853         ifunc'ed strcasecmp/strncasecmp.
17854         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
17855         [EALIGN]: Removed.
17856         [END]: Likewise.
17857         [__strcasecmp]: Define instead of the above to control symbol name.
17858         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
17859         for __strcasecmp_power8.
17860         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
17861         for __strncasecmp_power8.
17862         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
17863         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
17864         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
17865         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
17866         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
17867         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
17869 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
17871         [BZ #20252]
17872         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
17873         arguments when second argument is a NaN.
17874         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
17875         qNaN tests.
17877         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
17878         (conj_test_data): Likewise.
17879         (copysign_test_data): Likewise.
17880         (creal_test_data): Likewise.
17881         (fma_test_data): Likewise.
17882         (fmod_test_data): Likewise.
17884         [BZ #20250]
17885         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
17886         itself.
17887         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
17888         zero input to itself.
17889         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
17890         Likewise.
17891         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
17892         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
17893         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17894         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
17895         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
17897 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17899         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
17900         * nptl/tst-cancel4-common.c: New file.
17901         * nptl/tst-cancel4-common.h: Likewise.
17902         * nptl/tst-cancel4.c: Move common definitions to
17903         tst-cancel4-common.{c,h} file.
17904         * nptl/tst-cancel4_1.c: New test.
17905         * nptl/tst-cancel4_2.c: New test.
17907 2016-06-13  Florian Weimer  <fweimer@redhat.com>
17909         [BZ #20248]
17910         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
17911         (write_message): New function.
17912         (stackoverflow_handler): Call it instead of printf, to avoid
17913         excessive stack usage by printf.
17914         (do_test): Restore SIGSEGV, SIGBUS default handlers.
17916 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17918         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
17919         (prio_inherit_missing): Remove define.
17920         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17921         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17922         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
17923         Likewise.
17924         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17925         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17926         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17927         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17928         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17929         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17931 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17933         [BZ #19670]
17934         [BZ #19672]
17936         * io/test-lfs.c (do_prepare): Use xmalloc.
17937         * io/tst-fcntl.c (do_prepare): Likewise.
17938         * libio/tst-fopenloc.c (do_bz17916): Likewise.
17939         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
17940         * login/tst-utmp.c (do_prepare): Likewise.
17941         * posix/tst-exec.c (do_prepare): Likewise.
17942         * posix/tst-pathconf.c (prepare): Likewise.
17943         * posix/tst-spawn.c (do_prepare): Likewise.
17944         * posix/tst-truncate.c (do_prepare): Likewise.
17945         * rt/tst-aio.c (do_prepare): Likewise.
17946         * rt/tst-aio64.c (do_prepare): Likewise.
17948 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17950         [BZ #20237]
17951         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
17952         (get*ent): Set entidx to NULL during initialization.  If entidx is
17953         NULL, start iteration from the beginning.
17955 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17957         * malloc/malloc.c (musable): Return correct size for dumped fake
17958         mmapped chunk.
17960 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17962         [BZ #20222]
17963         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
17964         (_IO_cookie_write): Likewise.
17965         (_IO_cookie_seek): Likewise.
17966         (_IO_cookie_close): Likewise.
17967         (_IO_old_cookie_seek): Likewise.
17968         (set_callbacks): New function.
17969         (_IO_cookie_init): Call set_callbacks to copy callbacks.
17971 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
17973         * locale/programs/localedef.c (oldstyle_tables): Remove.
17974         * locale/programs/localedef.h (oldstyle_tables): Likewise.
17976 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
17978         [BZ #20240]
17979         * math/Makefile (CFLAGS-s_modf.c): New variable.
17980         (CFLAGS-s_modff.c): Likewise.
17981         (CFLAGS-s_modfl.c): Likewise.
17982         * math/libm-test.inc (modf_test_data): Add sNaN tests.
17984 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
17986         [BZ #20215]
17987         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
17988         [!__GNUC_PREREQ (3,2)]: Likewise.
17990 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
17992         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
17993         (msghdr.msg_controllen): Likewise.
17994         (cmsghdr.cmsg_len): Likewise.
17995         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
17996         ptw-oldsendmsg.
17997         (CFLAGS-oldrecvmsg.c): Remove rule.
17998         (CFLAGS-oldsendmsg.c): Likewise.
17999         (CFLAGS-recvmsg.c): Add rule.
18000         (CFLAGS-sendmsg.c): Likewise.
18001         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
18002         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
18003         (CFLAGS-recvmsg.c): Remove rule.
18004         (CFLAGS-sendmsg.c): Likewise.
18005         (CFLAGS-oldrecvmsg.c): Likewise.
18006         (CFLAGS-oldsendmsg.c): Likewise.
18007         (CFLAGS-recvmmsg.c): Likewise.
18008         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
18009         to kernel defined interfaces.
18010         (msghdr.msg_controllen): Likewise.
18011         (cmsghdr.cmsg_len): Likewise.
18012         (msghdr.__glibc_reserved1): Remove member.
18013         (msghdr.__glibc_reserved2): Likewise.
18014         (cmsghdr.__glibc_reserved1): Likewise.
18015         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
18016         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
18017         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18018         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18019         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
18020         version.
18021         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18022         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
18023         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18024         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
18025         Remove recvmsg and sendmsg.
18026         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
18027         Likewise.
18028         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18029         Likewise.
18030         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18031         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18032         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18033         Likewise.
18034         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18035         Likewise.
18036         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
18037         [libc] (GLIBC_2.24): Likewise.
18038         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18039         Likewise.
18040         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18041         Likewise.
18042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18043         [libc] (GLIBC_2.24): Likewise.
18044         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18045         Likewise.
18046         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18047         Likewise.
18048         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18049         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18050         Likewise.
18051         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18052         Likewise.
18053         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18054         Likewise.
18055         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
18056         Likewise.
18057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
18058         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
18059         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
18060         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
18061         version for {recv,send,recm,sendm}msg.
18062         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18063         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18064         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18065         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18066         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18067         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18068         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18069         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18070         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18071         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18072         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18073         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18075         Likewise.
18076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18077         Likewise.
18078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18080         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18081         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18082         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18083         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18084         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18085         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18088         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18089         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18090         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18092 2016-06-10  Florian Weimer  <fweimer@redhat.com>
18094         [BZ #19564]
18095         Remove __malloc_initialize_hook from the API.
18096         * malloc/malloc.h (__malloc_initialize_hook): Remove.
18097         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
18098         #pragma GCC poison.
18099         * malloc/malloc-hooks.h: New file.
18100         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
18101         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
18102         (old__malloc_initialize_hook): Rename from
18103         __malloc_initialize_hook to evade poisoning.  Turn into compat
18104         symbol.
18105         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
18106         __malloc_initialize_hook.
18107         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
18108         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
18109         * manual/memory.texi (Hooks for Malloc): Remove
18110         __malloc_initialize_hook.  Adjust hook example.
18112 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
18114         [BZ #20235]
18115         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
18116         itself.
18117         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18118         * math/libm-test.inc (log2_test_data): Add sNaN tests.
18120         [BZ #20234]
18121         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
18122         infinity or NaN input to itself.
18124         [BZ #20233]
18125         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
18126         to itself.
18128         [BZ #20232]
18129         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
18130         itself.
18132 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18134         * sysdeps/x86_64/start.S (_start): Always indirect branch to
18135         __libc_start_main via GOT.
18137 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18139         * sysdeps/x86_64/memcopy.h: New file.
18140         * sysdeps/x86_64/wordcopy.c: Likewise.
18142 2016-06-09  Florian Weimer  <fweimer@redhat.com>
18144         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
18145         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
18146         <cstdlib>.
18147         (optimization_barrier): New.
18148         (do_test): Use it.  Call quick_exit in the global namespace.
18149         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
18150         instead of <cstdlib>, <thread>.
18151         (optimization_barrier): New.
18152         (non_main_thread): Adjust declaration.  Call optimization_barrier.
18153         Call quick_exit in the global namespace.
18154         (do_test): Call optimization_barrier.  Use pthread_create,
18155         pthread_join instead of std::thread.
18157 2016-06-09  Andreas Schwab  <schwab@suse.de>
18159         [BZ #19755]
18160         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
18161         new entries in auto-propagate mode.
18162         * nscd/grpcache.c (cache_addgr): Likewise.
18164 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18166         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
18167         New functions.
18168         (add_temp_file): Use them.
18170 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
18172         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
18174 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
18176         [BZ #20229]
18177         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
18178         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
18179         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
18181         [BZ #20228]
18182         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
18183         itself.
18184         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18185         * math/libm-test.inc (log10_test_data): Add sNaN tests.
18187         [BZ #20227]
18188         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
18189         itself.
18190         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18191         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18192         * math/libm-test.inc (log_test_data): Add sNaN tests.
18194         [BZ #20226]
18195         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
18196         itself.
18197         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18198         * math/libm-test.inc (exp_test_data): Add sNaN tests.
18199         (exp10_test_data): Likewise.
18200         (expm1_test_data): Likewise.
18202         [BZ #20225]
18203         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
18204         itself.
18205         * math/s_ldexpf.c (__ldexpf): Likewise.
18206         * math/s_ldexpl.c (__ldexpl): Likewise.
18207         * math/w_scalbln.c (__w_scalbln): Likewise.
18208         * math/w_scalblnf.c (__w_scalblnf): Likewise.
18209         * math/w_scalblnl.c (__w_scalblnl): Likewise.
18210         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
18211         (scalbln_test_data): Likewise.
18213         [BZ #20224]
18214         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
18215         argument to itself.
18216         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
18218 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18220         [BZ #19776]
18221         * sysdeps/x86_64/memcpy.S: Make it dummy.
18222         * sysdeps/x86_64/mempcpy.S: Likewise.
18223         * sysdeps/x86_64/memmove.S: New file.
18224         * sysdeps/x86_64/memmove_chk.S: Likewise.
18225         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18226         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18227         * sysdeps/x86_64/memmove.c: Removed.
18228         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18229         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18230         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
18231         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18232         Likewise.
18233         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18234         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18236         memcpy-sse2-unaligned, memmove-avx-unaligned,
18237         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
18238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18239         (__libc_ifunc_impl_list): Replace
18240         __memmove_chk_avx512_unaligned_2 with
18241         __memmove_chk_avx512_unaligned.  Remove
18242         __memmove_chk_avx_unaligned_2.  Replace
18243         __memmove_chk_sse2_unaligned_2 with
18244         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
18245         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
18246         with __memmove_avx512_unaligned.  Replace
18247         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
18248         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
18249         with __memcpy_chk_avx512_unaligned.  Remove
18250         __memcpy_chk_avx_unaligned_2.  Replace
18251         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
18252         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
18253         Replace __memcpy_avx512_unaligned_2 with
18254         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
18255         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
18256         with __mempcpy_chk_avx512_unaligned.  Remove
18257         __mempcpy_chk_avx_unaligned_2.  Replace
18258         __mempcpy_chk_sse2_unaligned_2 with
18259         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
18260         Replace __mempcpy_avx512_unaligned_2 with
18261         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
18262         Replace __mempcpy_sse2_unaligned_2 with
18263         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
18264         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
18265         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
18266         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
18267         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
18268         (ENTRY): Removed.
18269         (END): Likewise.
18270         (ENTRY_CHK): Likewise.
18271         (libc_hidden_builtin_def): Likewise.
18272         Don't include ../memcpy.S.
18273         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
18274         __memcpy_chk_avx512_unaligned_erms and
18275         __memcpy_chk_avx512_unaligned.  Use
18276         __memcpy_chk_avx_unaligned_erms and
18277         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18278         Default to __memcpy_chk_sse2_unaligned.
18279         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18280         Change function suffix from unaligned_2 to unaligned.
18281         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
18282         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
18283         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
18284         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
18285         (ENTRY): Removed.
18286         (END): Likewise.
18287         (ENTRY_CHK): Likewise.
18288         (libc_hidden_builtin_def): Likewise.
18289         Don't include ../mempcpy.S.
18290         (mempcpy): New.  Add a weak alias.
18291         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
18292         __mempcpy_chk_avx512_unaligned_erms and
18293         __mempcpy_chk_avx512_unaligned.  Use
18294         __mempcpy_chk_avx_unaligned_erms and
18295         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18296         Default to __mempcpy_chk_sse2_unaligned.
18298 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18300         [BZ #19881]
18301         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
18302         into ...
18303         * sysdeps/x86_64/memset.S: This.
18304         (__bzero): Removed.
18305         (__memset_tail): Likewise.
18306         (__memset_chk): Likewise.
18307         (memset): Likewise.
18308         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
18309         defined.
18310         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
18311         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
18312         (__memset_zero_constant_len_parameter): Check SHARED instead of
18313         PIC.
18314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18315         memset-avx2 and memset-sse2-unaligned-erms.
18316         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18317         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
18318         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
18319         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18320         (__bzero): Enabled.
18321         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
18322         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
18323         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
18324         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
18325         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18326         (memset): Removed.
18327         (__memset_chk): Likewise.
18328         (MEMSET_SYMBOL): New.
18329         (libc_hidden_builtin_def): Replace __memset_sse2 with
18330         __memset_sse2_unaligned.
18331         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
18332         __memset_chk_sse2 and __memset_chk_avx2 with
18333         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
18334         Use __memset_chk_sse2_unaligned_erms or
18335         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
18336         __memset_chk_avx512_unaligned_erms and
18337         __memset_chk_avx512_unaligned.
18339 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18341         * math/gen-auto-libm-test.c (fp_format_desc): remove
18342         suffix member.
18343         (output_generic_value): Remove usage of suffix member,
18344         and the resulting unuse of the fp_format argument.
18345         (output_for_one_input_case): Remove unused fp_format
18346         parameter.
18348         * math/auto-libm-test-out: Regenerate.
18350         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
18351         usage with TEST_COND_ibm128.
18352         (TEST_COND_flt_32): Remove.
18353         (TEST_COND_dbl_64): Remove.
18354         (TEST_COND_ldbl_96_intel): Remove.
18355         (TEST_COND_ldbl_96_m68k): Remove.
18356         (TEST_COND_ldbl_128): Remove.
18358 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18360         * auto-libm-test-in:
18361         Replace flt-32 usage with binary32.
18362         Replace dbl-64 usage with binary64.
18363         Replace ldbl-intel-96 usage with intel96.
18364         Replace ldbl-m68k-96 usage with m68k96.
18365         Replace ldbl-128ibm usage with ibm128.
18366         Replace ldbl-128 usage with binary128.
18368         * auto-libm-test-out: Regenerate.
18370 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18372         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
18373         (parse_ulps): Dynamically generate type name matching
18374         string from all_floats.
18375         (get_ulps): Generate the ulps as an array instead.
18376         (output_ulps): Dynamically compose the type based
18377         on the number of supported formats, and print
18378         the indices as type specific helper macros.
18380         * math/libm-test.inc: Remove comment about CHOOSE.
18381         (ulp_data): Generate the type in libm-test-ulps.h.
18382         (ULP_IDX): New macro.
18383         (find_ulps): Update usage of max_ulp.
18385         * math/test-double-vlen2.h (CHOOSE): Remove.
18386         * math/test-double-vlen4.h (CHOOSE): Likewise.
18387         * math/test-double-vlen8.h (CHOOSE): Likewise.
18388         * math/test-float.c (CHOOSE): Likewise.
18389         * math/test-float-finite.c (CHOOSE): Likewise.
18390         * math/test-double.c (CHOOSE): Likewise.
18391         * math/test-double-finite.c (CHOOSE): Likewise.
18392         * math/test-idouble.c (CHOOSE): Likewise.
18393         * math/test-ifloat.c (CHOOSE): Likewise.
18394         * math/test-ildoubl.c (CHOOSE): Likewise.
18395         * math/test-ldouble-finite.c (CHOOSE): Likewise.
18396         * math/test-ldouble.c (CHOOSE): Likewise.
18398         * math/test-float.h (TEST_FLOAT): Remove.
18399         * math/test-double.h (TEST_DOUBLE): Likewise.
18400         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
18402 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18404         * math/gen-libm-test.pl: (apply_lit): New subroutine.
18405         (parse_args): Strip C suffix from floating point literals
18406         typed with 'f' and wrap them with LIT().
18408         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
18409         (test_ff_f_data_nexttoward): Rename to
18410         (test_fj_f_data): New struct.
18411         (nexttoward_test_data): Relabel tests as
18412         TEST_fj_f instead of TEST_ff_f.
18414 2016-06-08  Florian Weimer  <fweimer@redhat.com>
18416         Emacs bug 23726.
18417         * malloc/malloc.c (dumped_main_arena_start): Update comment.
18418         (__libc_realloc): Correct size computation for dumped fake mmapped
18419         chunks.
18421 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
18423         [BZ #20219]
18424         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
18425         to itself.
18426         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
18428         [BZ #20218]
18429         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
18430         to itself.
18431         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
18433 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
18435         [BZ #20195]
18436         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
18437         check to ...
18438         (init_cpu_features): Here.
18440 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
18442         [BZ #20214]
18443         * sysdeps/unix/sysv/linux/bits/in.h
18444         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18445          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
18446         Define to 1.
18447         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18448          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
18449         Define to 0.
18450         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
18451         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
18453 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
18455         [BZ #20198]
18456         * stdlib/Makefile (tests): Add tst-quick_exit, and
18457         tst-thread-quick_exit.
18458         [ifeq ($(have-cxx-thread_local),yes)]
18459         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
18460         (CFLAGS-tst-thread-quick_exit.o): Likewise.
18461         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
18462         (LDLIBS-tst-thread-quick_exit): Likewise.
18463         [ifneq ($(have-cxx-thread_local),yes)]
18464         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
18465         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
18466         If run_dtors is true call __call_tls_dtors.
18467         (exit): Call __run_exit_handlers with run_dtors set to true.
18468         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
18469         definition.
18470         * stdlib/quick_exit.c (quick_exit): Remove function.
18471         (__new_quick_exit): New function.
18472         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
18473         function.
18474         * stdlib/tst-quick_exit.cc: New file.
18475         * stdlib/tst-thread-quick_exit.cc: New file.
18476         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
18477         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
18478         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
18479         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
18480         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
18481         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
18482         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
18483         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
18484         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
18485         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
18486         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
18487         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
18488         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
18489         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
18490         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
18491         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
18493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
18494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
18495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
18496         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
18497         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
18498         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
18499         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
18500         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
18501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
18502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
18503         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
18504         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
18505         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
18507 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18509         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
18510         a typo in comments.
18512 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
18514         [BZ #20213]
18515         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
18516         argument to itself.
18517         * math/libm-test.inc (asin_test_data): Add sNaN tests.
18519 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18521         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
18522         required flags.
18523         (CFLAGS-pwritev64.c): Likewise.
18524         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
18525         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18526         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
18527         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18528         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
18529         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
18530         syscall from auto-generation.
18531         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
18532         [WORDSIZE == 64] (pwritev64): Remove macro.
18533         [!PWRITEV] (PWRITEV): Likewise.
18534         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18535         [!PWRITEV] (PWRITE): Likewise.
18536         [!PWRITEV] (OFF_T): Likewise.
18537         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18538         (LO_HI_LONG): Remove macro.
18539         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
18540         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
18541         (PWRITEV): Remove macro.
18542         (PWRITEV_REPLACEMENTE): Likewise.
18543         (PWRITE): Likewise.
18544         (OFF_T): Likewise.
18545         (pwritev64): New function.
18546         * nptl/tst-cancel4.c (tf_writev): Add test.
18548         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
18549         required flags.
18550         (CFLAGS-preadv64.c): Likewise.
18551         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
18552         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18553         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
18554         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
18555         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
18556         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
18557         syscall from auto-generation.
18558         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
18559         [WORDSIZE == 64] (preadv64): Remove macro.
18560         [!PREADV] (PREADV): Likewise.
18561         [!PREADV] (PREADV_REPLACEMENT): Likewise.
18562         [!PREADV] (PREAD): Likewise.
18563         [!PREADV] (OFF_T): Likewise.
18564         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
18565         (LO_HI_LONG): Remove macro.
18566         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
18567         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
18568         (PREADV): Remove macro.
18569         (PREADV_REPLACEMENTE): Likewise.
18570         (PREAD): Likewise.
18571         (OFF_T): Likewise.
18572         (preadv64): New function.
18573         * nptl/tst-cancel4.c (tf_preadv): Add test.
18575 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
18577         [BZ #20212]
18578         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
18579         argument to itself.
18580         * math/libm-test.inc (acos_test_data): Add sNaN tests.
18582 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18584         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
18585         New symbol defined as libc_hidden_def.
18586         (strcasestr): Became a weak alias to __strcasestr.
18587         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
18588         according to multi-arch support.  Move __stpncpy hidden
18589         definition from here to...
18590         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
18591         symbol stpncpy.
18592         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
18593         libc_hidden_builtin_def.
18594         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
18595         memset symbol to use when multi-arch support is available.
18597 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
18599         * dlfcn/tst-rec-dlopen.c: Include string.h.
18601 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18603         * manual/install.texi: Remove mention of --without-tls
18604         * INSTALL: Regenerate.
18606 2016-06-05  Florian Weimer  <fweimer@redhat.com>
18608         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
18609         Remove.
18610         (call_function, interposed_malloc_called): New variables.
18611         (malloc): New function.
18612         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
18613         and clear call_function as needed.
18615 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
18617         * include/wchar.h (__wmemset): Use __typeof.
18619 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
18621         * include/wchar.h (__wmemset): Declare function without typeof.
18623 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
18625         [BZ #20205]
18626         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
18627         exponent when incrementing negative subnormal with low mantissa
18628         word zero.
18629         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18630         Add another test.
18632 2016-06-03  Florian Weimer  <fweimer@redhat.com>
18634         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
18635         __wmemset instead of wmemset.
18637 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
18639         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
18640         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
18641         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
18642         __USE_KERNEL_IPV6_DEFS to 0.
18643         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
18644         Update comment.
18646 2016-06-01  Florian Weimer  <fweimer@redhat.com>
18648         [BZ #19861]
18649         Do not use IFUNC resolver with potentially unrelocated symbol.
18650         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
18651         (DEFINE_FORK): Remove macro and inline definition.
18652         (fork_alias): Renamed from fork_ifunc.
18653         (__fork_alias): Renamed from __fork_ifunc.
18655 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
18657         [BZ 19653]
18658         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
18659         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
18661 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18663         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
18664         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
18665         i386-linux-gnu).
18666         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
18667         Set to no.
18668         * sysdeps/mach/hurd/configure: Refresh.
18670 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18672         [BZ #20178]
18673         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
18674         on failure instead of exit.
18676 2016-05-30  Roland McGrath  <roland@hack.frob.com>
18678         [BZ #3629]
18679         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
18680         of POSIX.1-2008.
18682 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18684         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
18685           Use PLT entry for calling _hurd_self_sigstate.
18687 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
18689         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
18690         available logical processors with SMT level type sharing L2
18691         cache for Intel processors.
18693 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18695         [BZ #20160]
18696         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
18697         argument to itself before returning the result.
18698         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
18699         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
18700         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
18701         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
18702         Likewise.
18703         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
18704         Likewise.
18705         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
18706         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
18707         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
18708         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
18709         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
18710         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
18712         [BZ #20160]
18713         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
18714         argument to itself before returning the result.
18715         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
18716         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
18717         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
18718         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
18719         Likewise.
18720         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18721         Likewise.
18722         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
18723         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
18724         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
18725         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
18726         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
18727         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
18729 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18731         * libm-test.inc: Replace usage of M_El with
18732         (lit_e): New macro.
18734 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18736         * libm-test.inc: Replace usage of M_PI_4l with
18737         (lit_pi_4_d): New macro.
18739 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18741         * libm-test.inc: Replace usage of M_PIl with
18742         (lit_pi): New macro.
18744 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18746         * libm-test.inc: Replace usage of M_PI2l with
18747         (lit_pi_2_d): New macro.
18749         * math/test-double.h (LITM): New macro.
18750         * math/test-float.h (LITM): Likewise.
18751         * math/test-ldouble.h (LITM): Likewise.
18753 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18755         * libm-test.inc (M_PI_34l): Rename to
18756         (lit_pi_3_m_4_d): New Macro.
18757         (M_PI_34_LOG10El): Rename to
18758         (lit_pi_3_m_4_ln10_m_d): New Macro.
18759         (M_PI2_LOG10El): Rename to
18760         (lit_pi_2_ln10_m_d):  New Macro.
18761         (M_PI4_LOG10El): Rename to
18762         (lit_pi_4_ln10_m_d):  New Macro.
18763         (M_PI_LOG10El): Rename to
18764         (lit_pi_ln10_d):  New Macro.
18766 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18768         [BZ #20157]
18769         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
18770         determine whether to negate low half if [_ARCH_PPCGR], and integer
18771         comparison otherwise.
18772         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
18773         determine whether to negate low half.
18775         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
18776         (NO_TEST_INLINE_DOUBLE): Likewise.
18777         (TEST_COND_x86_64): Likewise.
18778         (TEST_COND_x86): Likewise.
18779         (M_PI_6l): Likewise.
18781 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18783         * math/libm-test.inc:
18784         (TEST_FLOAT): Change usage to TEST_COND_binary32.
18785         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
18786         (TEST_LDOUBLE): Update usage to evaluate as true if
18787         the guarded tests match the property being tested.
18788         (LDBL_MAX_EXP): Change to MAX_EXP.
18789         (LDBL_MIN_EXP): Change to MIN_EXP.
18790         (LDBL_MANT_DIG): Change to MANT_DIG, except for
18791         nexttoward tests.
18793 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18795         * math/libm-test.inc:
18796         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
18797         (TYPE_MIN): Likewise.
18798         (TYPE_TRUE_MIN): Likewise.
18799         (TYPE_MAX): Likewise.
18800         (MIN_EXP): Likewise.
18801         (MAX_EXP): Likewise.
18802         (MANT_DIG): Likewise.
18804         (FSTR_MAX): New macro.
18805         (__CONCATX): Likewise.
18806         (QTYPE_STR): Likewise.
18807         (TEST_COND_binary32): Likewise.
18808         (TEST_COND_binary64): Likewise.
18809         (TEST_COND_binary128): Likewise.
18810         (TEST_COND_ibm128): Likewise.
18811         (TEST_COND_intel96): Likewise.
18812         (TEST_COND_m68k96): Likewise.
18814         (TEST_COND_flt_32): Redefine as equivalent format test macro.
18815         (TEST_COND_dbl_64): Likewise.
18816         (TEST_COND_ldbl_96_intel): Likewise.
18817         (TEST_COND_ldbl_96_m68k): Likewise.
18818         (TEST_COND_ldbl_128): Likewise.
18819         (TEST_COND_ldbl_128ibm): Likewise.
18821         (plus_zero): Redefine using LIT macro.
18822         (minus_zero): Likewise.
18823         (plus_infty): Redefine as (INF).
18824         (minux_infty): Redefine as (-INF).
18825         (max_value): Redefine as TYPE_MAX.
18826         (min_value): Redefine as TYPE_MIN.
18827         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
18829         (print_float): Refactor to use snprintf to convert FLOAT values
18830         to string. This brings it closer to dropin replacement of strtof
18831         for the TS 18661 defined types.
18832         (update_stats): Likewise.
18833         (print_complex_function_ulps): Likewise.
18834         (print_max_error): Likewise.
18835         (print_complex_max_error): Likewise.
18836         (check_float_internal): Likewise.
18838         * math/test-float.h (PREFIX): New macro.
18839         (LIT): Likewise.
18840         (TYPE_STR): Likewise.
18841         (FTOSTR): Likewise.
18843         * math/test-double.h (PREFIX): New macro.
18844         (LIT): Likewise.
18845         (TYPE_STR): Likewise.
18846         (FTOSTR): Likewise.
18848         * math/test-ldouble.h (PREFIX): New macro.
18849         (LIT): Likewise.
18850         (TYPE_STR): Likewise.
18851         (FTOSTR): Likewise.
18853 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18855         [BZ #20156]
18856         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
18857         to itself when zero or not finite.
18858         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
18859         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18860         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
18861         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
18863 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
18865         [BZ #20153]
18866         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
18867         x * x + x for infinities and NaNs.
18869         [BZ #20151]
18870         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
18871         argument to itself before returning result.
18872         (__ieee754_y0l): Likewise.
18873         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18874         (__ieee754_y1l).
18876         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
18877         (atan_test_data): Likewise.
18878         (ceil_test_data): Likewise.
18879         (cos_test_data): Likewise.
18880         (cosh_test_data): Likewise.
18881         (erf_test_data): Likewise.
18882         (exp2_test_data): Likewise.
18883         (fabs_test_data): Likewise.
18884         (floor_test_data): Likewise.
18885         (ilogb_test_data): Likewise.
18886         (j0_test_data): Likewise.
18887         (j1_test_data): Likewise.
18888         (jn_test_data): Likewise.
18889         (lgamma_test_data): Likewise.
18890         (lrint_test_data): Likewise.
18891         (llrint_test_data): Likewise.
18892         (logb_test_data): Likewise.
18893         (lround_test_data): Likewise.
18894         (llround_test_data): Likewise.
18895         (nearbyint_test_data): Likewise.
18896         (rint_test_data): Likewise.
18897         (round_test_data): Likewise.
18898         (sin_test_data): Likewise.
18899         (sincos_test_data): Likewise.
18900         (sinh_test_data): Likewise.
18901         (sqrt_test_data): Likewise.
18902         (tan_test_data): Likewise.
18903         (tanh_test_data): Likewise.
18904         (tgamma_test_data): Likewise.
18905         (trunc_test_data): Likewise.
18906         (y0_test_data): Likewise.
18907         (y1_test_data): Likewise.
18908         (yn_test_data): Likewise.
18910         * math/libm-test.inc: Update comment about NaN testing.
18911         (TEST_SNAN): New macro.
18912         (snan_value): Likewise.
18913         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
18914         (fpclassify_test_data): Add sNaN tests.
18915         (isfinite_test_data): Likewise.
18916         (isinf_test_data): Likewise.
18917         (isnan_test_data): Likewise.
18918         (isnormal_test_data): Likewise.
18919         (issignaling_test_data): Likewise.
18920         (signbit_test_data): Likewise.
18921         * math/gen-libm-test.pl (%beautify): Add snan_value.
18922         (show_exceptions): Add argument $test_snan.
18923         (parse_args): Handle snan_value as non-finite.  Update call to
18924         show_exceptions.
18925         * math/Makefile (libm-test-no-inline-cflags): Add
18926         -fsignaling-nans.
18928 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18930         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
18931         (CFLAGS-oldsendmsg.c): Add rule.
18932         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18933         Correct recvmsg symbol name.
18934         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
18935         Likewise.
18937 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18939         * sysdeps/unix/sysv/linux/Makefile
18940         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
18941         oldsendmmsg.
18942         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
18943         sendmmsg.
18944         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18945         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18946         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18947         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18949         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18950         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18952         Likewise.
18953         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18954         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
18955         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18956         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
18957         iovlen and controllen fields to adjust to POSIX specification.
18958         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18960         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
18961         and change to correct expected type.
18962         (msghdr.msg_controllen): Likewise.
18963         (cmsghdr.cmsg_len): Likewise.
18964         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
18965         expected POSIX assumption about the size.
18966         (msghdr.msg_controllen): Likewise.
18967         (msghdr.__glibc_reserved1): Likewise.
18968         (msghdr.__glibc_reserved2): Likewise.
18969         (cmsghdr.cmsg_len): Likewise.
18970         (cmsghdr.__glibc_reserved1): Likewise.
18971         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
18972         Add ptw-oldrecvmsg and ptw-oldsendmsg.
18973         (CFLAGS-sendmsg.c): Remove rule.
18974         (CFLAGS-recvmsg.c): Likewise.
18975         (CFLAGS-oldsendmsg.c): Add rule.
18976         (CFLAGS-oldrecvmsg.c): Likewise.
18977         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
18978         recvmsg and sendmsg.
18979         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
18980         Likewise.
18981         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
18982         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
18983         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18984         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
18985         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18986         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18987         Likewise.
18988         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18989         Likewise.
18990         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
18991         Likewise.
18992         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
18993         Likewise.
18994         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18995         Likewise.
18996         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18997         Likewise.
18998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
18999         (GLIBC_2.24): Likewise.
19000         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19001         Likewise.
19002         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19003         Likewise.
19004         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19005         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19006         Likewise.
19007         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19008         Likewise.
19009         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19010         Likewise.
19011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
19012         (GLIBC_2.24): Likewise.
19013         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
19014         Likewise.
19015         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
19016         Likewise.
19017         * sysdeps/unix/sysv/linux/Makefile
19018         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
19019         (CFLAGS-sendmsg.c): Add rule.
19020         (CFLAGS-recvmsg.c): Likewise.
19021         (CFLAGS-oldsendmsg.c): Likewise.
19022         (CFLAGS-oldrecvmsg.c): Likewise.
19023         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
19024         initialization.
19025         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19026         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19027         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
19028         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19029         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
19030         iovlen and controllen fields to adjust to POSIX specification.
19031         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
19032         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
19033         added recvmsg and sendmsg.
19034         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19035         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19036         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19037         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19038         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19039         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19040         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19041         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19042         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19043         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19044         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19045         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19047         Likewise.
19048         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
19049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19050         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19051         Likewise.
19052         Likewise.
19053         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19054         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19055         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19056         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19057         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19058         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19060         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19062         Likewise.
19063         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19064         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19066         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
19067         from auto-generation.
19068         (sendmsg): Likewise.
19069         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
19070         (sendmsg): Likewise.
19071         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
19072         (sendmsg): Likewise.
19073         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
19074         (sendmsg): Likewise.
19075         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
19076         (sendmsg): Likewise.
19077         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
19078         (sendmsg): Likewise.
19079         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
19080         Likewise.
19081         (sendmsg): Likewise.
19082         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
19083         (sendmsg): Likewise.
19084         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19085         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19086         Remove.
19087         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19088         Likewise.
19089         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19090         Undefine.
19091         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19092         Likewise.
19093         * sysdeps/unix/sysv/linux/kernel-features.h
19094         (__ASSUME_SENDMSG_SYSCALL): Define.
19095         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19096         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19097         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19098         Remove.
19099         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19100         Likewise.
19101         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19102         Undefine.
19103         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19104         Likewise.
19105         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19106         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19107         Remove.
19108         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19109         Likewise.
19110         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19111         Undefine.
19112         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19113         Likewise.
19114         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19115         (__ASSUME_SENDMSG_SYSCALL): Undefine.
19116         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19117         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19118         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19119         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19120         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19121         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19122         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19124 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19126         * stdlib/gen-tst-strtod-round.c: Add backslash to
19127         compile command in comment.
19128         (printfp): Remove the literal suffix, and define an infinite
19129         value as INF to avoid expansion clash with INFINITY.
19130         (round_str): Remove the literal suffix.
19131         (round_for_all): Likewise, remove the now duplicate ldbl-64
19132         entry, and remove some magic constants.
19134         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
19135         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
19136         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
19137         (_CONCAT): New macro.
19138         (CONCAT): Likewise.
19139         (CHOOSE_ld): Likewise.
19140         (CHOOSE_f): Likewise.
19141         (CHOOSE_d): Likewise.
19142         (FTYPE_MEMBER): Likewise.
19143         (BOOL_MEMBER): Likewise.
19144         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
19145         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
19146         (_XNTRY): Likewise.
19147         (XNTRY): Likewise.
19148         (_ENTRY): Likewise.
19149         (ENTRY): Likewise.
19150         (test_exactness): Generate members via macro.
19151         (test_results): Likewise.
19152         (test): Update members.
19153         (TEST): Redefine using new macros.
19154         (INF): New macro.
19155         (fetestmodes): New structure.
19156         (do_test): Refactor to be type generic.
19157         (test_in_one_mode): Refactor duplicate code into
19158         (GEN_ONE_TEST): New macro.
19160         * stdlib/tst-strtod-round-data.h: Regenerate.
19162         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
19163         Extend to pass additional arbitrary parameters to
19164         generators.
19166 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
19168         [BZ #15479]
19169         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
19170         floating-point state after first floating-point operation on
19171         input.  Restore full floating-point state instead of just rounding
19172         mode.
19173         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19174         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19175         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19176         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19177         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19179         [BZ #15479]
19180         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
19181         floating-point state after first floating-point operation on
19182         input.  Restore full floating-point state instead of just rounding
19183         mode.
19184         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19185         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19186         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19187         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19188         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19190 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19192         [BZ #19727]
19193         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
19194         valid high surrogate.
19195         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
19196         of an utf16 surrogate.
19197         * iconv/gconv_simple.c (BODY): Likewise.
19198         * iconvdata/bug-iconv12.c: New file.
19199         * iconvdata/Makefile (tests): Add bug-iconv12.
19201 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19203         [BZ #19726]
19204         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
19205         outptrp in case of an illegal input.
19206         * iconv/tst-iconv6.c: New file.
19207         * iconv/Makefile (tests): Add tst-iconv6.
19209 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19211         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
19212         an error in case of a value in range of an utf16 low surrogate.
19214 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19216         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
19217         an error in case of a value in range of an utf16 low surrogate.
19219 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19221         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
19222         Move to ...
19223         * sysdeps/s390/Makefile: ... here.
19224         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
19225         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
19226         (BRANCH_ON_COUNT): New define.
19227         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
19228         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
19229         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
19230         run on s390-32, too.
19231         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
19232         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
19233         run on s390-32, too.
19234         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
19235         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
19236         run on s390-32, too.
19238 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19240         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
19241         etf3eh or new vector loop-variant.
19243 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19245         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
19246         etf3eh or new vector loop-variant.
19248 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19250         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
19251         or new vector loop-variant.
19253 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19255         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
19256         Rename to TR_LOOP and usage of tr instead of troo instruction.
19258 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19260         * sysdeps/s390/multiarch/gconv_simple.c: New File.
19261         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
19263 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19265         * sysdeps/s390/multiarch/8bit-generic.c: New File.
19266         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
19267         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
19268         New override define.
19269         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
19271 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19273         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
19274         * sysdeps/s390/configure.ac: Add test for S390 vector register
19275         support in gcc.
19276         * sysdeps/s390/configure: Regenerated.
19278 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19280         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
19281         Install file from $(objpfx)gconv-modules.
19282         ($(objpfx)gconv-modules): Concatenate architecture specific file
19283         in variable sysdeps-gconv-modules and gconv-modules in src dir.
19284         * sysdeps/s390/gconv-modules: New file.
19285         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
19286         Deleted.
19287         ($(objpfx)gconv-modules-s390): Deleted.
19288         (sysdeps-gconv-modules): New variable.
19290 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19292         [BZ #15479]
19293         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
19294         of immediate operand to rounding instruction.
19295         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
19296         Likewise.
19297         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
19298         Likewise.
19299         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
19300         Likewise.
19302 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19304         * math/libm-test.inc (MIN_EXP): Directly define as
19305         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
19307 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19309         * math/libm-test.inc (MANT_DIG): Directly define as
19310         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
19312 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19314         * stdlib/gen-tst-strtod-round.c (main):
19315           Change usage to more closely match the generated
19316           output.  Add usage and compilation instructions.
19317           (string_to_fp): Add and use FILE* parameter as
19318           output target.
19319           (print_fp): Likewise.
19320           (round_str): Likewise.
19321           (round_for_all): Likewise.
19322         * stdlib/tst-strtod-round.c (tests): Move into
19323         * stdlib/tst-strtod-round-data.h: New file.
19325 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19327         [BZ #15479]
19328         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
19329         (__round): Do not force "inexact" exception.
19330         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
19331         variable.
19332         (__round): Do not force "inexact" exception.
19333         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
19334         (__roundf): Do not force "inexact" exception.
19335         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
19336         (__roundl): Do not force "inexact" exception.
19337         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
19338         (__roundl): Do not force "inexact" exception.
19339         * math/libm-test.inc (round_test_data): Do not allow spurious
19340         "inexact" exceptions.
19342         [BZ #15479]
19343         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
19344         exception in comment.
19345         (huge): Remove variable.
19346         (__floor): Do not force "inexact" exception.
19347         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
19348         "inexact" exception in comment.
19349         (huge): Remove variable.
19350         (__floor): Do not force "inexact" exception.
19351         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
19352         exception in comment.
19353         (huge): Remove variable.
19354         (__floorf): Do not force "inexact" exception.
19355         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
19356         exception in comment.
19357         (huge): Remove variable.
19358         (__floorl): Do not force "inexact" exception.
19360         [BZ #15479]
19361         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
19362         exception in comment.
19363         (huge): Remove variable.
19364         (__ceil): Do not force "inexact" exception.
19365         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
19366         "inexact" exception in comment.
19367         (huge): Remove variable.
19368         (__ceil): Do not force "inexact" exception.
19369         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
19370         (__ceilf): Do not force "inexact" exception.
19371         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
19372         exception in comment.
19373         (huge): Remove variable.
19374         (__ceill): Do not force "inexact" exception.
19376 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19378         * config.h.in (BIND_NOW): New.
19379         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
19380         * configure: Regenerated.
19381         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
19382         indirect branch via the GOT slot.
19384 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19386         [BZ #19765]
19387         * sysdeps/s390/mempcpy.S: New File.
19388         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
19389         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
19390         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19391         Add mempcpy variants.
19392         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
19393         (memcpy): Adjust to be usable from mempcpy entry point.
19394         (__memcpy_mvcle): Likewise.
19395         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19396         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
19397         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
19398         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
19399         (__memcpy_z10): Likewise.
19400         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19402 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19404         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
19405         Remove __GI_ symbol.
19406         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
19407         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
19408         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
19409         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19410         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
19411         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
19413 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19415         * sysdeps/s390/s390-64/memcpy.S (memcpy):
19416         Use cghi instead of chi to compare 64bit value.
19418 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19420         * sysdeps/s390/s390-32/memcpy.S (memcpy):
19421         Jump to 1MB check before executing mvc-loop.
19423 2016-05-24  Florian Weimer  <fweimer@redhat.com>
19425         [BZ #6527]
19426         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
19427         unconditionally.
19428         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
19430 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19432         * stdlib/tst-strtod6.c (do_test): Use new type generic
19433         invocation of the test function.
19434         (test): Refactor into ...
19435         (TEST_STRTOD): New macro base function.
19437 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19439         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
19440         (TEST_STRTOD): New macro.
19441         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
19443 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19445         * stdlib/tst-strtod6.c (do_test): Use new type generic
19446         invocation of the test function.
19447         (test): Refactor into ...
19448         (TEST_STRTOD): New macro base function.
19450 2016-05-23  Florian Weimer  <fweimer@redhat.com>
19452         CVE-2016-4429
19453         [BZ #20112]
19454         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
19455         payload.
19457 2016-05-23  Florian Weimer  <fweimer@redhat.com>
19459         [BZ #20111]
19460         * bits/sockaddr.h (_SS_SIZE): Define.
19461         * bits/socket.h (_SS_SIZE): Remove.
19462         (_SS_PADSIZE): Adjust to account for all padding.
19463         (struct sockaddr_storage): Update comment.  Avoid implicit
19464         padding.
19465         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
19466         (_SS_PADSIZE): Adjust to account for all padding.
19467         (struct sockaddr_storage): Update comment.  Avoid implicit
19468         padding.
19469         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
19470         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
19471         (_SS_PADSIZE): Adjust to account for all padding.
19472         (struct sockaddr_storage): Update comment.  Avoid implicit
19473         padding.
19474         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
19475         __SS_SIZE is 126 in this version.
19476         * inet/tst-sockaddr.c: New file.
19477         * inet/Makefile (tests): Add tst-sockaddr.c
19478         (tst-sockaddr.c): Compile with non-strict aliasing.
19480 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
19482         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
19483         [XPG3 || XPG4].
19484         (NL_ARGMAX): Also expect for [XPG3].
19485         (NL_LANGMAX): Likewise.
19486         (NL_MSGMAX): Likewise.
19487         (NL_NMAX): Likewise.
19488         (NL_SETMAX): Likewise.
19489         (NL_TEXTMAX): Likewise.
19490         (NZERO): Likewise.
19491         (TMP_MAX): Likewise.
19492         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
19493         variable.
19495         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
19496         (PF_MAX): Update value.
19497         (AF_KCM): New macro.
19498         (SOL_NETBEUI): Likewise.
19499         (SOL_LLC): Likewise.
19500         (SOL_DCCP): Likewise.
19501         (SOL_NETLINK): Likewise.
19502         (SOL_TIPC): Likewise.
19503         (SOL_RXRPC): Likewise.
19504         (SOL_PPPOL2TP): Likewise.
19505         (SOL_BLUETOOTH): Likewise.
19506         (SOL_PNPIPE): Likewise.
19507         (SOL_RDS): Likewise.
19508         (SOL_IUCV): Likewise.
19509         (SOL_CAIF): Likewise.
19510         (SOL_ALG): Likewise.
19511         (SOL_NFC): Likewise.
19512         (SOL_KCM): Likewise.
19513         (MSG_BATCH): New enum value and macro.
19515 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
19517         [BZ #18185]
19518         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
19519         sharing L2 cache to 2 for Knights Landing.
19521 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
19523         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
19524         (FTW_DP): Do not expect for [XPG3 || XPG4].
19525         (FTW_SL): Do not expect for [XPG3].
19526         (FTW_SLN): Likewise.
19527         (FTW_PHYS): Likewise.
19528         (FTW_MOUNT): Likewise.
19529         (FTW_DEPTH): Likewise.
19530         (FTW_CHDIR): Likewise.
19531         (nftw): Likewise.
19532         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
19533         variable.
19535 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
19537         * manual/errno.texi: Fix various typos & grammar errors.
19539 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
19541         * manual/intro.texi: Fix duplicated typo.
19543 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
19545         [BZ #13304]
19546         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
19547         <float.h>, <math_private.h> and <stdlib.h>.
19548         (add_split): New function.
19549         (mul_split): Likewise.
19550         (ext_val): New typedef.
19551         (store_ext_val): New function.
19552         (mul_ext_val): New function.
19553         (compare): New function.
19554         (add_split_ext): New function.
19555         (__fmal): After checking for Inf, NaN and zero, compute result as
19556         an exact sum of scaled double values in round-to-nearest before
19557         adding those up and adjusting for other rounding modes.
19558         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
19559         tests of fma.
19560         * math/auto-libm-test-out: Regenerated.
19562 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19564         [BZ #20119]
19565         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
19566         processor level type mask for CPUID with EAX == 11.
19568 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19570         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
19571         logical threads if the HTT bit is 0.
19572         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
19573         (index_cpu_HTT): Likewise.
19574         (reg_HTT): Likewise.
19576 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19578         [BZ #20115]
19579         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
19580         Remove alignments on jump targets.
19582 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
19584         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
19585         (getpwent): Likewise.
19586         (setpwent): Likewise.
19587         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
19588         variable.
19590         * conform/data/search.h-data (insque): Do not expect for [XPG3].
19591         (remque): Likewise.
19592         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
19593         variable.
19595 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
19597         * math/libm-test.inc: Update comment not to refer to signs of NaNs
19598         not being tested.
19600 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19602         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19603         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
19604         call.
19605         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19606         (__condvar_cleanup1): Likewise.
19608 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19610         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
19611         New
19612         (__pthread_unwind): Renamed to ...
19613         (PTHREAD_UNWIND): This.
19614         (__pthread_enable_asynccancel): Replace
19615         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
19617 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
19619         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
19620         (CLONE_NEWCGROUP): New macro.
19622         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
19623         (Q_GETNEXTQUOTA): New macro.
19625 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19627         [BZ #19907]
19628         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
19629         buffer updated by the previous run.
19630         * string/test-memcpy.c (do_one_test): Likewise.
19631         * benchtests/bench-memmove.c (do_one_test): Add a comment.
19632         * string/test-memmove.c (do_one_test): Likewise.
19634 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
19636         [BZ #20094]
19637         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
19638         not [__USE_XOPEN].
19639         (unlockpt): Likewise.
19640         (ptsname): Likewise.
19641         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
19642         variable.
19644         [BZ #20076]
19645         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
19646         instead of [__USE_UNIX98].
19647         (S_ISSOCK): Likewise.
19648         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
19649         variable.
19651         [BZ #20074]
19652         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
19653         [__USE_POSIX].
19654         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
19655         variable.
19657         [BZ #20051]
19658         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
19659         (ttyslot): Do not declare.
19660         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
19661         (ttyslot): New prototype.
19662         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
19663         variable.
19664         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19666 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19668         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
19670 2016-05-13  Florian Weimer  <fweimer@redhat.com>
19672         Fix race condition in tst-mallocfork2, use fewer resources.
19673         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
19674         to current process group.
19675         (signal_sender): Yield in the non-sleeping case.
19677 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
19679         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
19680         (ecvt): Likewise.
19681         (fcvt): Likewise.
19682         (gcvt): Likewise.
19683         (getsubopt): Likewise.
19684         (grantpt): Likewise.
19685         (initstate): Likewise.
19686         (l64a): Likewise.
19687         (mktemp): Likewise.
19688         (mkstemp): Likewise.
19689         (ptsname): Likewise.
19690         (random): Likewise.
19691         (realpath): Likewise.
19692         (setstate): Likewise.
19693         (srandom): Likewise.
19694         (ttyslot): Likewise.
19695         (unlockpt): Likewise.
19696         (valloc): Likewise.
19698         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
19699         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
19700         variable.
19702 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19704         [BZ #20072]
19705         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
19706         init_cpu_features only if SHARED is defined.
19707         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
19709 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19711         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
19712         non-inclusive caches on Intel processors.
19714 2016-05-13  Florian Weimer  <fweimer@redhat.com>
19716         * malloc/malloc.c (dumped_main_arena_start)
19717         (dumped_main_arena_end): New variables.
19718         (DUMPED_MAIN_ARENA_CHUNK): New macro.
19719         (do_check_chunk): Skip dumped fake mmapped chunks.
19720         (munmap_chunk): Likewise.
19721         (__libc_free): Do not adjust statistics for fake mmapped chunks.
19722         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
19723         mmapped chunks.
19724         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
19725         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
19726         and dumped_main_arena_end to cover the dumped heap.
19728 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
19730         * conform/data/time.h-data (getdate_err): Do not expect for
19731         [XPG3].
19732         (getdate): Likewise.
19733         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
19734         variable.
19736         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
19737         (F_ULOCK): Likewise.
19738         (F_TEST): Likewise.
19739         (F_TLOCK): Likewise.
19740         (useconds_t): Likewise.
19741         (intptr_t): Do not expect for [XPG3] or [XPG4].
19742         (brk): Do not expect for [XPG3]
19743         (fchown): Likewise.
19744         (fchdir): Likewise.
19745         (ftruncate): Likewise.
19746         (getdtablesize): Likewise.
19747         (gethostid): Likewise.
19748         (getpagesize): Likewise.
19749         (getpgid): Likewise.
19750         (getsid): Likewise.
19751         (getwd): Likewise.
19752         (lchown): Likewise.
19753         (lockf): Likewise.
19754         (readlink): Likewise.
19755         (sbrk): Likewise.
19756         (setpgrp): Likewise.
19757         (setregid): Likewise.
19758         (setreuid): Likewise.
19759         (symlink): Likewise.
19760         (sync): Likewise.
19761         (truncate): Likewise.
19762         (ualarm): Likewise.
19763         (usleep): Likewise.
19764         (vfork): Likewise.
19765         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
19766         variable.
19768         [BZ #20054]
19769         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
19770         not [__USE_UNIX98].
19771         * conform/data/unistd.h-data (gethostname): Do not expect for
19772         [XPG3].
19774         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
19775         [!POSIX] (S_IFBLK): Likewise.
19776         [!POSIX] (S_IFCHR): Likewise.
19777         [!POSIX] (S_IFIFO): Likewise.
19778         [!POSIX] (S_IFREG): Likewise.
19779         [!POSIX] (S_IFDIR): Likewise.
19780         [!POSIX] (S_IFLNK): Likewise.
19781         [!POSIX] (S_IFSOCK): Likewise.
19782         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
19783         variable.
19784         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19786 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
19788         * sysdeps/aarch64/memset.S (__memset):
19789         Rewrite of optimized memset.
19791 2016-05-12  Florian Weimer  <fweimer@redhat.com>
19793         [BZ #19703]
19794         Partially async-signal-safe fork for single-threaded processes.
19795         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
19796         variable.  Do not acquire and reset/release malloc and libio locks
19797         in single-threaded processes.
19798         * malloc/tst-mallocfork2.c: New file.
19799         * malloc/Makefile (tests): Add it.
19801 2016-05-12  Florian Weimer  <fweimer@redhat.com>
19803         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
19804         argument.  Use scratch buffer instead of extend_alloca.
19805         (gethosts): Use scratch buffer instead of extend_alloca.
19806         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
19807         extend_alloca.
19808         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
19810 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
19812         [BZ #20055]
19813         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
19814         instead of [__USE_UNIX98].
19815         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
19816         [__USE_UNIX98].
19817         * conform/data/termios.h-data (tcgetsid): Do not expect for
19818         [XPG3].
19819         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
19820         variable.
19821         (test-xfail-XPG4/termios.h/conform): Likewise.
19823 2016-05-11  Florian Weimer  <fweimer@redhat.com>
19825         Do not use mcheck in localedef.
19826         * locale/programs/localedef.c (turn_on_mcheck)
19827         (__malloc_initialize_hook): Remove.
19829 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19831         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
19832         * sysdeps/s390/s390-64/Makefile: Likewise.
19834 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19836         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
19837         Remove ifunc-defines.sym.
19838         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
19839         Likewise.
19840         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
19841         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19842         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
19843         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
19844         rtld-global-offsets.sym.
19845         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
19846         * sysdeps/x86/cpu-features-offsets.sym: This.
19847         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
19848         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
19850 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
19852         [BZ #20073]
19853         * io/sys/stat.h (fchmod): Declare for
19854         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
19855         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
19856         variable.
19858         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
19859         [XPG3] (S_IFSOCK): Likewise.
19860         [XPG3] (S_ISVTX): Likewise.
19861         [XPG3] (S_ISLNK): Likewise.
19862         [XPG3] (S_ISSOCK): Likewise.
19863         [XPG3] (fchmod): Likewise.
19864         [XPG3] (lstat): Likewise.
19865         [XPG3] (mknod): Likewise.
19867         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
19868         [XPG3].  Expect type long and XFAIL for [XPG4].
19869         (st_blocks): Likewise.
19871         [BZ #20044]
19872         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
19873         (pthread_atfork): New prototype.
19874         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
19875         variable.
19877         [BZ #20043]
19878         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
19879         prototype.
19881 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19883         [BZ #20017]
19884         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
19885         gmtime.
19887 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19889         [BZ #19994]
19890         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
19891         flag in _res.options.
19893 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
19895         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
19896         [XPG3 || XPG4].
19897         (blksize_t): Likewise.
19898         (clockid_t): Likewise.
19899         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
19900         variable.
19901         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19903 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19905         * sysdeps/unix/sysv/linux/s390/init-first.c:
19906         Add VDSO_SYMBOL(getcpu).
19907         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
19908         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
19909         Add VDSO_SYMBOL(getcpu).
19910         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
19911         New define HAVE_GETCPU_VSYSCALL.
19912         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19914 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
19916         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
19917         instead of <sysdeps/x86_64/cacheinfo.c>.
19918         * sysdeps/x86_64/cacheinfo.c: Moved to ...
19919         * sysdeps/x86/cacheinfo.c: Here.
19921 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19923         * malloc/malloc-internal.h: Adjust header file guard.
19925 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19927         [BZ #19787]
19928         * inet/getnameinfo.c (check_sprintf_result): New function.
19929         (CHECKED_SNPRINTF): New macro.
19930         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
19931         to the host buffer.
19932         (gni_host_local): Use checked_copy to copy the host name.
19933         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
19934         (gni_serv_local): Use checked_copy to copy the service name.
19935         (getnameinfo): Remove unnecessary truncation of result buffers.
19937 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19939         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
19940         in case of inet_ntop failure.
19942 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19944         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
19945         avoid long lines.
19946         (gni_host_inet_numeric): Likewise.  Reduce scope of local
19947         variables.
19948         (gni_host_inet, gni_host_local): Add comment.
19949         (gni_host): Add comment.  Use temporary to avoid long lines.
19951 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19953         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
19954         registers specifiers where general purpose registers specifiers should
19955         have been used.
19957 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19959         [BZ #19779]
19960         CVE-2016-1234
19961         Avoid copying names of directory entries.
19962         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
19963         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
19964         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
19965         (struct readdir_result): New type.
19966         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
19967         (GL_READDIR): New macros.
19968         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
19969         (convert_dirent, convert_dirent64): New functions.
19970         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
19971         convert_dirent64.  Adjust references to the readdir result.
19972         * sysdeps/unix/sysv/linux/i386/glob64.c:
19973         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
19974         * posix/bug-glob2.c (LONG_NAME): Define.
19975         (filesystem): Add LONG_NAME.
19976         (my_DIR): Increase the size of room_for_dirent.
19978 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
19980         [BZ #20041]
19981         * misc/sys/select.h (__need_timespec): Only define if
19982         [__USE_XOPEN2K].
19983         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
19984         variable.
19985         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19986         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19987         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19989 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19990             Segher Boessenkool  <segher@gcc.gnu.org>
19992         [BZ #20004]
19993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
19994         (__novec_swapcontext): Add missing load.
19996 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
19998         [BZ #20023]
19999         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
20000         <time.h>.
20001         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
20002         variable.
20003         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20005 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
20008         flags CLONE_VM compare.
20010 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20012         [BZ #20031]
20013         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
20014         completely empty.
20016 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20018         [BZ #19573]
20019         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
20020         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
20021         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
20022         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
20023         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
20024         (hesiod_free_list): Mark as hidden.
20025         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
20026         res_set, res_get.
20027         * hesiod/hesiod.c: Remove unnecessary forward declarations.
20028         (init, __hesiod_res_get, __hesiod_res_set): Remove.
20029         (hesiod_init): Remove obsolete res_ninit call.
20030         (hesiod_end): Do not free resolver state.  Do not invoke callback.
20031         (hesiod_bind): Do not call init.
20032         (get_txt_records): Use res_mkquery, res_send instead of
20033         res_nmkquery, res_nsend.
20034         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
20035         instead of _nss_hesiod_init.
20036         (_nss_hesiod_initgroups_dyn): Likewise.
20037         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
20038         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
20039         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
20041 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20043         * hesiod/hesiod_p.h (DEF_RHS): Remove.
20044         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
20046 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20048         * hesiod/hesiod.h: Remove RCS keyword.
20049         * hesiod/hesiod_p.h: Likewise.
20051         * hesiod/hesiod.c: Likewise.
20053 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
20055         [BZ #12450]
20056         * locale/iso-639.def: Add Samogitian/sgs.
20058 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
20060         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
20062         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
20064 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
20065             Carlos O'Donell  <carlos@redhat.com>
20067         [BZ #19072]
20068         * grp/Makefile (headers): Add grp-merge.h
20069         (routines): Add grp-merge.
20070         * grp/getgrgid_r.c: Include grp-merge.h.
20071         (DEEPCOPY_FN): Define.
20072         (MERGE_FN): Define.
20073         * grp/getgrname_r.c: Include grp-merge.h.
20074         (DEEPCOPY_FN): Define.
20075         (MERGE_FN): Define.
20076         * grp/grp-merge.c: New file.
20077         * grp/grp-merge.h: New file.
20078         * include/grp-merge.h: New file.
20079         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
20080         __copy_grp@GLIBC_PRIVATE.
20081         * manual/nss.texi (Actions in the NSS configuration): Describe
20082         return, continue, and merge.
20083         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
20084         (DEEPCOPY_FN): Define.
20085         (MERGE_FN): Define.
20086         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
20087         (DEEPCOPY_FN): Define.
20088         (MERGE_FN): Define.
20089         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
20090         [!MERGE_FN]: Define __merge_einval.
20091         (CHECK_MERGE): Define.
20092         (REENTRANT_NAME): Process merge if do_merge is true.
20093         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
20094         (__nss_getent_r): Likewise.
20095         * nss/nsswitch.c (nss_parse_service_list): Likewise.
20096         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
20098 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20100         [BZ #20012]
20101         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
20102         length to calculate the buffer to read.
20103         (fmemopen_write): Set the buffer position based on bytes written.
20104         (fmemopen_seek): Return EINVAL for invalid whence modes.
20106         [BZ #19957]
20107         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
20108         tst-getpid2.
20109         (test): Add tst-clone2.
20110         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
20111         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
20112         pid/tid fields for CLONE_VM.
20113         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20114         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20115         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20116         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
20117         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20118         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20119         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20120         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20122         Likewise.
20123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20124         Likewise.
20125         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20126         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20127         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20128         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20129         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20130         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20131         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20132         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
20134 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20136         [BZ #19642]
20137         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
20138         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
20139         (gni_serv_local, gni_serv): New functions extracted from
20140         getnameinfo.
20141         (getnameinfo): Call gni_host and gni_serv to perform the
20142         processing.  Always free scratch buffer.
20144 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20146         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
20147         remaining bytes in the dest string, with zeros.
20149 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20151         [BZ #20010]
20152         CVE-2016-3706
20153         * sysdeps/posix/getaddrinfo.c
20154         (convert_hostent_to_gaih_addrtuple): New function.
20155         (gethosts): Call convert_hostent_to_gaih_addrtuple.
20156         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
20157         AF_INET data.
20159 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20161         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
20162         callback function gl_readdir.
20163         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
20164         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
20165         (glob_in_dir): Remove len.  Use strdup instead of malloc and
20166         memcpy to copy the name.
20167         * manual/pattern.texi (Calling Glob): Document requirements for
20168         implementations of the gl_readdir callback function.
20169         * manual/examples/mkdirent.c: New example.
20170         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
20171         per the manual guidance.
20172         * posix/tst-gnuglob.c (my_readdir): Likewise.
20174 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
20176         [BZ #20014]
20177         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
20178         not [__USE_POSIX].
20179         (getchar_unlocked): Likewise.
20180         (putc_unlocked): Likewise.
20181         (putchar_unlocked): Likewise.
20182         (flockfile): Likewise.
20183         (ftrylockfile): Likewise.
20184         (funlockfile): Likewise.
20185         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
20186         variable.
20187         (test-xfail-XPG4/stdio.h/conform): Likewise.
20189         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
20190         Expect constant.
20191         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
20192         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
20193         variable.
20194         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20195         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20197         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
20198         [__USE_LARGEFILE64] (off64_t): Likewise.
20199         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
20200         variable.
20202 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20204         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
20206 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20208         * resolv/inet_addr.c: Reindent preprocessor conditionals.
20209         * resolv/res_init.c: Likewise.
20210         * resolv/res_mkquery.c: Likewise.
20212 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20214         * resolv/res_init.c (isascii): Do not define.  Use definition in
20215         <ctype.h>.
20216         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
20217         (LOG_AUTH): Remove.
20218         (SPRINTF): Remove, adjust caller.
20219         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
20221 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20223         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
20224         SUNSECURITY conditional.
20225         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
20227 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20229         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
20230         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
20231         Remove BSD-related preprocessor conditionals.
20232         * conf/portability.h: Remove.
20234 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20236         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
20237         * resolv/res_data.c: Likewise.
20239 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20241         * resolv/res_comp.c: Remove code conditional on __ultrix__.
20242         * resolv/res_data.c: Remove code conditional on ultrix.
20244 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20246         * resolv/res_init.c (RFC1535): Do not define.  Remove
20247         RFC1535 preprocessor conditionals.
20248         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
20249         because there configuration options which make the resolver
20250         behavior different.
20252 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20254         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
20255         RESOLVSORT preprocessor conditionals.
20256         * resolv/nss_dns/dns-host.c: Likewise.
20257         * resolv/res_init.c: Likewise.
20259 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20261         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
20262         is never defined.
20264 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20266         * inet/inet_lnaof.c: Remove SCSS keyword.
20267         * inet/inet_mkadr.c: Likewise.
20268         * inet/inet_net.c: Likewise.
20269         * inet/inet_netof.c: Likewise.
20270         * inet/rcmd.c: Likewise.
20271         * inet/rexec.c: Likewise.
20272         * inet/ruserpass.c: Likewise.
20274 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20276         * resolv/inet_addr.c: Remove _LIBC conditionals.
20277         * resolv/res_data.c: Likewise.
20278         * resolv/res_init.c: Likewise.
20279         * resolv/res_mkquery.c: Likewise.
20280         * resolv/res_libc.c: Update comment.
20281         * resolv/README: Update.
20283 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20285         * resolv/gethnamaddr.c: Remove SCSS keyword.
20286         * resolv/herror.c: Likewise.
20287         * resolv/inet_addr.c: Likewise.
20288         * resolv/inet_net_ntop.c: Likewise.
20289         * resolv/inet_net_pton.c: Likewise.
20290         * resolv/inet_neta.c: Likewise.
20291         * resolv/inet_ntop.c: Likewise.
20292         * resolv/inet_pton.c: Likewise.
20293         * resolv/ns_date.c: Remove RCS keyword.
20294         * resolv/ns_name.c: Likewise.
20295         * resolv/ns_netint.c: Likewise.
20296         * resolv/ns_parse.c: Likewise.
20297         * resolv/ns_print.c: Likewise.
20298         * resolv/ns_samedomain.c: Likewise.
20299         * resolv/ns_ttl.c: Likewise.
20300         * resolv/nsap_addr.c: Likewise.
20301         * resolv/res_comp.c: Remove SCSS and RCS keyword.
20302         * resolv/res_data.c: Remove RCS keyword.
20303         * resolv/res_debug.c: Remove SCSS and RCS keyword.
20304         * resolv/res_init.c: Likewise.
20305         * resolv/res_mkquery.c: Likewise.
20306         * resolv/res_query.c: Likewise.
20307         * resolv/res_send.c: Likewise.
20309 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20311         * conform/data/stdio.h-data (fdopen): Expect also for
20312         [XPG3 || XPG4].
20314         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
20315         (fseeko): Likewise.
20316         (ftello): Likewise.
20317         (ftrylockfile): Likewise.
20318         (funlockfile): Likewise.
20319         (getc_unlocked): Likewise.
20320         (getchar_unlocked): Likewise.
20321         (putc_unlocked): Likewise.
20322         (putchar_unlocked): Likewise.
20324 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20326         [BZ #19868]
20327         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
20328         DNS packet syntax checks (which were not needed before).  Skip
20329         over non-PTR records.
20331 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20333         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
20334         definition.  Include <stddef.h> instead.
20336 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20338         [BZ #19831]
20339         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
20340         function.
20341         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
20342         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
20344 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20346         [BZ #19862]
20347         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
20348         (getanswer_r): Do not call syslog.
20349         (gaih_getanswer_slice): Likewise.
20350         * resolv/gethnamaddr.c (AskedForGot): Remove.
20351         (getanswer): Do not call syslog.
20352         (gethostbyaddr): Likewise.
20354 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20356         * conform/data/signal.h-data (union sigval): Expect also if
20357         [XOPEN2K].
20358         (struct sigevent): Likewise.
20359         (SIGEV_NONE): Likewise.
20360         (SIGEV_SIGNAL): Likewise.
20361         (SIGEV_THREAD): Likewise.
20362         (SIGRTMIN): Likewise.
20363         (SIGRTMAX): Likewise.
20364         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
20365         variable.
20366         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20368 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20370         [BZ #19830]
20371         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
20372         (gaih_getanswer_slice): Likewise.
20373         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
20374         Also check for availability of RR metadata.
20376 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20378         [BZ #19825]
20379         * resolv/res_send.c (send_vc): Remove early *resplen2
20380         initialization.  Set *resplen2 on socket error.  Call
20381         close_and_return_error for other errors.
20383 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20385         * sysdeps/unix/sysv/linux/netiucv/iucv.h
20386         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
20387         (SCM_IUCV_TRGCLS): New define.
20389 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20391         [BZ #20005]
20392         * libio/fmemopen.c (fmemopen_write): Update internal position after
20393         write.
20394         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
20395         * stdio-common/tst-fmemopen4.c: New file..
20397 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
20399         [BZ #19996]
20400         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
20401         not [__USE_XOPEN2K].
20402         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
20403         variable.
20405         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
20406         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
20407         variable.
20409         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
20410         [__USE_XOPEN2K8].
20411         [__USE_LARGEFILE64] (off64_t): Likewise.
20412         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
20413         variable.
20415 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
20417         [BZ #19989]
20418         * libio/stdio.h (cuserid): Do not declare if
20419         [__USE_XOPEN2K && !__USE_GNU].
20420         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
20421         variable.
20423 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20425         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20426         (sysdep_routines): Add P8 and PPC64 strcspn targets.
20427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20428         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20429         ifunc'ed strcspn.
20430         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20431         [EALIGN]: Removed.
20432         [END]: Likewise
20433         [STRSPN]: Define instead of the above to control symbol name.
20434         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
20435         New file.
20436         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
20437         Likewise.
20438         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
20439         Likewise.
20440         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
20441         Likewise.
20442         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20443         [INITIAL_MASK]: New macro.
20444         [STRCSPN]: Likewise.
20445         [UPDATE_MASK]: Likewise.
20446         [USE_AS_STRCSPN]: Likewise.
20448 2016-04-25  Florian Weimer  <fweimer@redhat.com>
20450         [BZ #19931]
20451         * stdio-common/tst-vfprintf-width-prec.c: New file.
20452         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
20453         (tests-special): Add tst-vfprintf-width-prec-mem.out.
20454         (generated): Add mtrace-related files.
20455         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
20456         (tst-%-mem.out): New pattern rule, replaces
20457         tst-printf-bz18872-mem.out.
20458         * stdio-common/vfprintf.c (vfprintf): When handling a precision
20459         specifier, deallocate any previously allocated work buffer.
20461 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
20463         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
20464         Add nop before __startcontext, add explaining comments.
20466 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
20468         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
20469         any more. Notably since IPV6_PKTINFO has been reintroduced with a
20470         completely different API.
20472         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
20473         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
20474         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
20475         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
20476         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
20477         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
20478         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
20479         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
20480         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
20481         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
20483 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
20485         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
20487 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
20489         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
20490         when it is the default of 0.
20492 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20494         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
20495         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20496         (sysdep_routines): Add new strcasestr targets.
20497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20498         (__libc_ifunc_impl_list): Likewise.
20499         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
20500         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
20501         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
20502         * sysdeps/powerpc/powerpc64/power8/Makefile:
20503         New file to add strcasestr-ppc64 to sysdep_routines.
20504         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
20505         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
20507 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
20509         * benchtests/Makefile (wcsmbs-benchset): Include only for
20510         native builds and runs.
20511         (LOCALES): Likewise.
20512         (bench-build): Build timing-type here instead of the bench
20513         target.  Generate locale only for native builds.
20514         * benchtests/README: Add note for cross-building.
20516         * benchtests/Makefile (bench-clean): Clean up extra-objs.
20518         * benchtests/README: Update README to include instructions on
20519         using bench-build.
20521         * Makefile.in (bench-build): New target.
20522         * Rules (PHONY): Add bench-build target.
20523         * benchtests/Makefile (bench): Depend on bench-build.
20524         (bench-build): New target.
20526 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20528         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
20529         profil_reply_port.
20530         (profile_waiter): Do not initialize profil_reply_port.
20531         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
20532         frequency instead of tick length in us.
20534 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
20536         [BZ #18712]
20537         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
20538         (__old_mempcpy_small): Likewise.
20539         (__old_strcpy_small): Likewise.
20540         (__old_stpcpy_small): Likewise.
20541         (__old_strpbrk_c2): Fix compat symbol name.
20542         (__old_strpbrk_c3): Likewise.
20543         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
20544         (__mempcpy_small): Remove.
20545         (__strcpy_small): Remove.
20546         (__stpcpy_small): Remove.
20548 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
20550         [BZ #19400]
20551         * locale/iso-639.def: Add the Talossan/tzl language.
20553 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
20555         [BZ #16983]
20556         * locale/programs/ld-address.c (address_finish): Update postal_fmt
20557         comment.  Add "ln" to strchr check on postal_fmt.
20559 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
20561         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
20562         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
20563         tel_dom_fmt.
20565 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20567         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20568         (sysdep_routines): Added __strlen_power8.
20569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
20570         __strlen_power8 entry.
20571         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
20572         Implementation for POWER8.
20573         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
20574         for __strlen_power8.
20575         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
20576         Implementation for POWER8.
20578 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
20580         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
20582 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
20584         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
20585         Goldmont and Airmont processors.
20587 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
20589         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
20590         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
20591         (__STRING2_SMALL_GET32): Remove.
20592         (memset): Remove.
20593         (__memset_1): Remove.
20594         (__memset_gc): Remove.
20595         (__mempcpy): Remove.
20596         (mempcpy): Remove.
20597         (__mempcpy_args): Remove.
20598         (strchr): Remove.
20599         (strcpy): Remove.
20600         (strcpy_args): Remove.
20601         (__stpcpy_args): Remove.
20602         (__strcmp_cc): Remove.
20603         (__strcmp_gc): Remove.
20604         (strstr): Remove.
20606 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
20608         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
20609         * nis/nis_call.c (nis_server_cache_add): Likewise.
20611 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20613         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
20615 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20617         * malloc/arena.c (__malloc_fork_lock_parent)
20618         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
20619         internal_function attribute.
20621 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
20623         * stdio-common/printf_fp.c (__printf_fp_l):
20624         Rename ___printf_fp_l to __printf_fp_l and
20625         remove strong alias. Use libc_hidden_def instead
20626         of ldbl_hidden_def macro.
20628 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20630         Remove malloc hooks from fork handler.  They are no longer needed
20631         because malloc runs right before fork, and no malloc calls from
20632         other fork handlers are not possible anymore.
20633         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
20634         declarations.
20635         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
20636         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
20637         (atfork_recursive_cntr): Remove.
20638         (__malloc_fork_lock_parent): Do not override malloc hooks and
20639         thread_arena.
20640         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
20641         thread_arena.
20642         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
20643         thread_arena instead of save_arena.
20645 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20647         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
20648         (thread_atfork, thread_atfork_static): Remove.
20649         * sysdeps/mach/hurd/malloc-machine.h:
20650         (thread_atfork, thread_atfork_static): Remove.
20652 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20654         [BZ #19431]
20655         Run the malloc fork handler as late as possible to avoid deadlocks.
20656         * malloc/malloc-internal.h: New file.
20657         * malloc/malloc.c: Include it.
20658         * malloc/arena.c (ATFORK_MEM): Remove.
20659         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
20660         Update comment.
20661         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
20662         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
20663         Remove outdated comment.
20664         (ptmalloc_init): Do not call thread_atfork.  Remove
20665         thread_atfork_static.
20666         * malloc/tst-malloc-fork-deadlock.c: New file.
20667         * Makefile (tests): Add tst-malloc-fork-deadlock.
20668         (tst-malloc-fork-deadlock): Link against libpthread.
20669         * manual/memory.texi (Aligned Memory Blocks): Update safety
20670         annotation comments.
20671         * sysdeps/nptl/fork.c (__libc_fork): Call
20672         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
20673         __malloc_fork_unlock_child.
20674         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
20676 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20678         [BZ #19613]
20679         Remove union wait.
20680         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
20681         (w_stopsig, w_stopval): Remove.
20682         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
20683         stat_loc argument.
20684         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
20685         (__WAIT_STATUS_DEFN): Remove.
20686         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
20687         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
20688         (wait, wait3, wait4): Use int * for the stat_loc argument.
20689         * posix/wait.c (__wait): Likewise.
20690         * posix/wait3.c (__wait3): Likewise.
20691         * posix/wait4.c (__wait4): Likewise.
20692         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
20693         (__WAIT_STATUS_DEFN): Remove.
20694         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
20695         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
20696         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
20697         argument.
20698         * sysdeps/posix/wait.c (__libc_wait): Likewise.
20699         * sysdeps/posix/wait3.c (__wait3): Likewise.
20700         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
20701         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20702         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
20703         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
20704         stat_loc argument.
20705         * manual/process.texi (BSD Wait Functions): Remove union wait.
20707 2016-04-13  Andreas Schwab  <schwab@suse.de>
20709         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
20710         (test-extras): Add tst-tlsalign-vars.
20711         * math/Makefile: Wrap long lines.
20712         (libm-vec-test-wrappers): Define.
20713         (test-extras): Add $(libm-vec-test-wrappers).
20714         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
20715         * nss/Makefile (extra-test-objs): Add nss_test1.os.
20716         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
20717         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
20718         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
20719         (extra-test-objs): Add corresponding objects.
20721 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
20723         [BZ #19928]
20724         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
20725         New.
20726         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
20727         times of shared cache size.
20728         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
20729         (VMOVNT): New.
20730         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
20731         (VMOVNT): Likewise.
20732         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
20733         (VMOVNT): Likewise.
20734         (VMOVU): Changed to movups for smaller code sizes.
20735         (VMOVA): Changed to movaps for smaller code sizes.
20736         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
20737         comments.
20738         (PREFETCH): New.
20739         (PREFETCH_SIZE): Likewise.
20740         (PREFETCHED_LOAD_SIZE): Likewise.
20741         (PREFETCH_ONE_SET): Likewise.
20742         Rewrite to use forward and backward loops, which move 4 vector
20743         registers at a time, to support overlapping addresses and use
20744         non temporal store if size is above the threshold and there is
20745         no overlap between destination and source.
20747 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
20749         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
20750         Include dl-vdso.
20751         * sysdeps/unix/sysv/linux/mips/Versions: Add
20752         __vdso_clock_gettime.
20753         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
20754         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
20755         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
20756         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
20757         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
20758         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
20759         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20760         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20761         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20763 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20765         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
20766         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
20767         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
20768         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
20769         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
20770         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
20771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
20772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
20773         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
20774         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
20775         syscalls generation.
20776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20777         [__NR_pwrite64] (__NR_write): Remove define.
20778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20779         [__NR_pwrite64] (__NR_write): Remove define.
20780         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
20781         Remove define.
20782         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
20783         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
20784         Remove define.
20785         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
20786         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
20787         Linux implementation as base.
20788         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
20790         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
20791         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
20792         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
20793         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
20794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
20795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
20796         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
20797         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
20798         syscall generation.
20799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20800         [__NR_pread64] (__NR_pread): Remove define.
20801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20802         [__NR_pread64] (__NR_pread): Likewise.
20803         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
20804         define.
20805         (__libc_pread): Use SYSCALL_LL macro on offset argument.
20806         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
20807         Remove define.
20808         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
20809         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
20810         Linux implementation as base.
20811         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
20812         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
20813         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
20815         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
20816         definition.
20817         (__ALIGNMENT_COUNT): Likewise.
20818         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
20819         (__ALIGNMENT_COUNT): Likewise.
20820         (SYSCALL_LL): New define.
20821         (SYSCALL_LL64): Likewise.
20822         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
20823         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
20824         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
20825         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
20827         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20828         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
20829         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20830         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20831         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20832         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20834 2016-04-11  Florian Weimer  <fweimer@redhat.com>
20836         [BZ #19865]
20837         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
20838         original buffer before retry.
20840 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20842         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
20843         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
20844         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
20845         GLRO(dl_auxv) list.
20846         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
20847         including <ldsodefs.h>.
20848         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
20850 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
20852         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
20853         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
20854         $(CPPFLAGS).
20856 2016-04-09  Khem Raj  <raj.khem@gmail.com>
20858         [BZ #17950]
20859         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
20860         Add -mfpmath=387.
20862 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
20864         * sysdeps/i386/configure.ac: Change == to = when calling test.
20865         * sysdeps/x86_64/configure.ac: Likewise.
20866         * sysdeps/i386/configure: Regenerated.
20867         * sysdeps/x86_64/configure: Likewise.
20869 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
20871         [BZ #16137]
20872         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
20873         * benchtests/bench-strcoll.c (input_files): Likewise.
20874         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20875         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
20876         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
20878 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
20880         [BZ #19929]
20881         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
20882         [__USE_XOPEN2K8 && !__USE_GNU].
20883         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
20884         variable.
20886         [BZ #19925]
20887         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
20888         define if [!__USE_MISC && __USE_XOPEN2K].
20889         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
20890         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
20891         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
20892         Likewise.
20893         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
20894         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
20895         variable.
20896         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20898 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20900         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20901         (sysdep_routines): Add new strspn targets.
20902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20903         (__libc_ifunc_impl_list): Add strspn.
20904         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20905         New file.
20906         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
20907         Likewise.
20908         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
20909         Likewise.
20910         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20911         Likewise.
20913 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20915         * misc/hsearch_r.c: Include <limits.h>.
20917 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20919         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
20921 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20923         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20924         (MEMCPY_SYMBOL): New.
20925         (MEMPCPY_SYMBOL): Likewise.
20926         (MEMMOVE_CHK_SYMBOL): Likewise.
20927         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
20928         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
20929         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
20930         Provide alias for memcpy in libc.a and ld.so.
20932 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20934         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20935         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
20936         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
20937         Disabled fro now.
20938         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
20939         symbols.  Properly check USE_MULTIARCH on __memset symbols.
20941 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20943         * benchtests/Makefile (string-benchset): Add memcpy-large,
20944         memmove-large and memset-large.
20945         * benchtests/bench-memcpy-large.c: New file.
20946         * benchtests/bench-memmove-large.c: Likewise.
20947         * benchtests/bench-memmove-large.c: Likewise.
20948         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
20950 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20952         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
20953         32-bit displacement to avoid long nop between instructions.
20955 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20957         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
20958         a comment on VMOVU and VMOVA.
20960 2016-04-04  Florian Weimer  <fweimer@redhat.com>
20962         [BZ #19633]
20963         Use specified locale for number formatting in strfmon_l.
20964         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
20965         (__nl_lookup_word): New inline functions.
20966         * include/printf.h (__print_fp_l): Declare.
20967         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
20968         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
20969         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
20970         (___printf_fp): New function.
20971         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
20972         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
20973         * stdlib/tst-strfmon_l.c (do_test): New test.
20974         * stdlib/Makefile (tests): Add kt.
20975         (LOCALES): Build additional locales.
20976         (tst-strfmon_l.out): Require locales.
20978 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20980         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
20981         if not in libc.
20982         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20983         Likewise.
20984         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
20985         Likewise.
20986         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20987         Likewise.
20989 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20991         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20992         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
20993         with unaligned_erms.
20994         (__memmove_erms): Skip if source == destination.
20995         (__memmove_unaligned_erms): Don't check source == destination
20996         first.
20998 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21000         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21001         bit_arch_Fast_Copy_Backward for Intel Core proessors.
21003 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21005         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
21006         * string/strspn.c (strspn): Likewise.
21008 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21010         * benchtests/bench-memset.c (do_test): Support 64-byte
21011         alignment.
21012         (test_main): Test 64-byte alignment.
21014 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21016         * benchtests/bench-memmove.c (test_main): Test 64-byte
21017         alignment.
21019 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21021         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
21023 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21025         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
21026         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
21027         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
21029         * string/strpbrk.c (strpbrk): Rewrite function.
21030         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
21031         (__strpbrk_c2): Likewise.
21032         (__strpbrk_c3): Likewise.
21033         * string/string-inlines.c
21034         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
21035         Likewise.
21036         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
21037         Likewise.
21039         * string/strspn.c (strcspn): Rewrite function.
21040         * string/bits/string2.h (strspn): Use __builtin_strcspn.
21041         (__strspn_c1): Remove inline function.
21042         (__strspn_c2): Likewise.
21043         (__strspn_c3): Likewise.
21044         * string/string-inlines.c
21045         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
21046         compatibility symbol.
21047         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
21048         Likewise.
21049         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
21050         Likewise.
21051         * string/string-inlines.c: Include generic version.
21053 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
21054             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21056         * string/Version (libc): Add GLIBC_2.24.
21057         * string/strcspn.c (strcspn): Rewrite function.
21058         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
21059         (__strcspn_c1): Remove inline function.
21060         (__strcspn_c2): Likewise.
21061         (__strcspn_c3): Likewise.
21062         * string/string-inline.c
21063         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
21064         compatibility symbol.
21065         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
21066         Likewise.
21067         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
21068         Likewise.
21069         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
21071 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21073         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21074         Use ahi instead of aghi to adjust stack pointer.
21076 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21078         [BZ #19853]
21079         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
21080         TEST to take significant digits as second parameter.
21081         [TEST]: Redefine in terms of TEST_N taking 30
21082         significant digits.
21083         (do_test): Add test case to demonstrate precision
21084         failure in the ldbl-128ibm printf.
21085         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
21086         (__mpn_extract_long_double): Carry 7 extra intermediate
21087         bits of precision to aide computing difference when
21088         signs differ.
21090 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21092         [BZ #19881]
21093         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21094         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
21095         memset-avx512-unaligned-erms.
21096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21097         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
21098         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
21099         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
21100         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
21101         __memset_sse2_unaligned_erms, __memset_erms,
21102         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
21103         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
21104         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
21105         file.
21106         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21107         Likewise.
21108         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
21109         Likewise.
21110         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
21111         Likewise.
21113 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21115         [BZ #19776]
21116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21117         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
21118         memmove-avx512-unaligned-erms.
21119         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21120         (__libc_ifunc_impl_list): Test
21121         __memmove_chk_avx512_unaligned_2,
21122         __memmove_chk_avx512_unaligned_erms,
21123         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
21124         __memmove_chk_sse2_unaligned_2,
21125         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
21126         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
21127         __memmove_avx512_unaligned_erms, __memmove_erms,
21128         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
21129         __memcpy_chk_avx512_unaligned_2,
21130         __memcpy_chk_avx512_unaligned_erms,
21131         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
21132         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
21133         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
21134         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
21135         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
21136         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
21137         __mempcpy_chk_avx512_unaligned_erms,
21138         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
21139         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
21140         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
21141         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
21142         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
21143         __mempcpy_erms.
21144         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
21145         file.
21146         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21147         Likewise.
21148         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
21149         Likewise.
21150         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21151         Likewise.
21153 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21155         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
21156         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
21157         (La_s390_64_regs): Likewise.
21158         (La_s390_32_retval): Append vector register lrv_v24.
21159         (La_s390_64_retval): Likeweise.
21160         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
21161         Handle extended structs La_s390_32_regs and La_s390_32_retval.
21162         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
21163         Handle extended structs La_s390_64_regs and La_s390_64_retval.
21165 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21167         [BZ #19916]
21168         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
21169         to create a non-vector/vector version for _dl_runtime_resolve and
21170         _dl_runtime_profile. Move implementation to ...
21171         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
21172         (_dl_runtime_resolve) Save and restore fpr/vrs.
21173         (_dl_runtime_profile) Save and restore vrs and fix some issues
21174         if _dl_call_pltexit is called.
21175         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
21176         Choose the correct resolver function if running on a machine with vx.
21177         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
21178         to create a non-vector/vector version for _dl_runtime_resolve and
21179         _dl_runtime_profile. Move implementation to ...
21180         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
21181         (_dl_runtime_resolve) Save and restore fpr/vrs.
21182         (_dl_runtime_profile) Save and restore vrs and fix some issues
21183         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
21184         Choose the correct resolver function if running on a machine with vx.
21186 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21188         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
21190 2016-03-31  Florian Weimer  <fweimer@redhat.com>
21192         [BZ #19509]
21193         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
21194         skip_map != NULL.
21195         * elf/tst-dlsym-error.c: New file.
21196         * elf/Makefile (tests): Add tst-dlsym-error.
21197         (tst-dlsym-error): Link against libdl.
21199 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
21201         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21202         (__ASSUME_FUTIMESAT): Remove macro.
21203         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
21205 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21207         [BZ #19879]
21208         CVE-2016-3075
21209         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
21210         copy name.
21212 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21214         [BZ #19837]
21215         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
21216         error if parse_line fails.
21218 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21220         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
21221         (index_cpu_ERMS): Likewise.
21222         (reg_ERMS): Likewise.
21224 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
21226         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
21227         PER_LINUX_FDPIC): Add.
21229 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21232         memcpy-avx512-no-vzeroupper.
21233         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
21234         to ...
21235         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
21236         (MEMCPY): Don't define.
21237         (MEMCPY_CHK): Likewise.
21238         (MEMPCPY): Likewise.
21239         (MEMPCPY_CHK): Likewise.
21240         (MEMPCPY_CHK): Renamed to ...
21241         (__mempcpy_chk_avx512_no_vzeroupper): This.
21242         (MEMPCPY_CHK): Renamed to ...
21243         (__mempcpy_chk_avx512_no_vzeroupper): This.
21244         (MEMCPY_CHK): Renamed to ...
21245         (__memmove_chk_avx512_no_vzeroupper): This.
21246         (MEMCPY): Renamed to ...
21247         (__memmove_avx512_no_vzeroupper): This.
21248         (__memcpy_avx512_no_vzeroupper): New alias.
21249         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
21251 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21253         [BZ #18858]
21254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21255         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
21256         and mempcpy-avx512-no-vzeroupper.
21257         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
21258         New.
21259         (MEMPCPY): Likewise.
21260         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
21261         (MEMPCPY_CHK): New.
21262         (MEMPCPY): Likewise.
21263         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
21264         (MEMPCPY): Likewise.
21265         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
21266         (MEMPCPY): Likewise.
21267         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
21268         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
21269         Likewise.
21270         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
21271         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
21273 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21274              Amit Pawar  <Amit.Pawar@amd.com>
21276         [BZ #19583]
21277         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21278         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
21279         processors.  Set Fast_Copy_Backward for AMD Excavator
21280         processors.
21281         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
21282         New.
21283         (index_arch_Fast_Unaligned_Copy): Likewise.
21284         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
21285         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
21287 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21289         [BZ #19791]
21290         * resolv/res_send.c (close_and_return_error): New function.
21291         (send_dg): Initialize *resplen2 after reopen failure.  Call
21292         close_and_return_error for error returns.  On error paths without
21293         __res_iclose, initialze *resplen2 explicitly.  Update comment for
21294         successful return.
21296 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21298         [BZ #19860]
21299         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
21300         zero if the compiler does not provide the AVX512F bit.
21302 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
21304         [BZ #19848]
21305         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
21306         from 8 to 4.
21307         (__ieee754_powl): Compare integer exponent against 4 not 8.
21308         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
21309         from 8 to 4.
21310         (__ieee754_powl): Compare integer exponent against 4 not 8.
21311         * math/auto-libm-test-in: Add more tests of pow.
21312         * math/auto-libm-test-out: Regenerated.
21313         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
21314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21316 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21318         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
21319         Make code unconditional.
21320         [!__NR_utimensat]: Remove conditional code.
21321         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
21322         Make code unconditional.
21323         [!__NR_utimensat]: Remove conditional code.
21324         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
21325         Make code unconditional.
21326         [!__NR_utimensat]: Remove conditional code.
21328 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21330         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
21331         Make code unconditional.
21333 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
21335         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
21336         call-clobbered %eax on retry path.
21337         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21339 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21341         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
21342         Don't set %rcx twice before "rep movsb".
21344 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21346         [BZ #19583]
21347         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
21348         inline.  Check family before setting family, model and
21349         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
21350         bits here.
21351         (init_cpu_features): Replace HAS_CPU_FEATURE and
21352         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
21353         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
21354         for Intel processors with usable AVX2.  Call get_common_indeces
21355         for other processors with family == NULL.
21356         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
21357         (CPU_FEATURES_ARCH_P): Likewise.
21358         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
21359         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
21361 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21363         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
21364         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
21365         $(shared-thread-library) instead of hardcoding the path to libpthread.
21367 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
21369         * sysdeps/unix/sysv/linux/kernel-features.h
21370         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
21371         * sysdeps/unix/sysv/linux/getdents.c
21372         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
21373         [!have_no_getdents64_defined]: Likewise.
21374         (__GETDENTS): Remove __have_no_getdents64 conditional.
21376 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
21378         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
21379         Remove macro.
21380         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
21381         <kernel-features.h>.
21382         (signalfd) [__NR_signalfd4]: Make code unconditional.
21383         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
21385 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21387         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
21388         style.
21390 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21392         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
21393         (__pthread_enable_asynccancel): Use JUMPTARGET to call
21394         __pthread_unwind.
21395         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21396         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
21397         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21398         (__condvar_cleanup1): Likewise.
21400 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
21402         [BZ #19822]
21403         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
21404         move it to the final $@ location.
21406 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21408         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
21409         access where posix_spawn success and pid argument is null.
21410         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
21411         success case.
21413 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
21415         * sysdeps/mach/hurd/i386/c++-types.data: New file.
21417         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
21419         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
21420         and __fcntl.
21421         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
21422         __fcntl only.
21423         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
21424         adding attribute_hidden to __open and __fcntl.
21426         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
21427         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
21428         depend on libc-modules.h,
21429         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
21431 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
21433         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
21434         Remove macro.
21435         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
21436         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
21437         entry.
21439         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
21440         Remove macro.
21441         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
21442         include <kernel-features.h>.
21443         [!__ASSUME_FALLOCATE]: Remove conditional code.
21444         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
21446 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21448         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
21449         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
21450         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
21451         (_ZGVdN4v_cos_avx2): Likewise.
21452         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
21453         (_ZGVdN4v_cos): Likewise.
21454         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
21455         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
21456         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
21457         (_ZGVdN4v_exp_avx2): Likewise.
21458         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
21459         (_ZGVdN4v_exp): Likewise.
21460         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
21461         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
21462         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
21463         (_ZGVdN4v_log_avx2): Likewise.
21464         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
21465         (_ZGVdN4v_log): Likewise.
21466         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
21467         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
21468         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
21469         (_ZGVdN4vv_pow_avx2): Likewise.
21470         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
21471         (_ZGVdN4vv_pow): Likewise.
21472         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
21473         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
21474         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
21475         (_ZGVdN4v_sin_avx2): Likewise.
21476         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
21477         (_ZGVdN4v_sin): Likewise.
21478         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
21479         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
21480         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
21481         (_ZGVdN4vvv_sincos_avx2): Likewise.
21482         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
21483         (_ZGVdN4vvv_sincos): Likewise.
21484         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
21485         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
21486         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
21487         (_ZGVbN4v_cosf_sse4): Likewise.
21488         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
21489         (_ZGVdN8v_cosf_avx2): Likewise.
21490         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
21491         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
21492         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
21493         (_ZGVbN4v_expf_sse4): Likewise.
21494         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
21495         (_ZGVdN8v_expf_avx2): Likewise.
21496         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
21497         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
21498         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
21499         (_ZGVbN4v_logf_sse4): Likewise.
21500         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
21501         (_ZGVdN8v_logf_avx2): Likewise.
21502         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
21503         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
21504         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
21505         (_ZGVbN4vv_powf_sse4): Likewise.
21506         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
21507         (_ZGVdN8vv_powf_avx2): Likewise.
21508         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21509         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
21510         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21511         (_ZGVbN4vvv_sincosf_sse4): Likewise.
21512         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21513         (_ZGVdN8vvv_sincosf_avx2): Likewise.
21514         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
21515         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
21516         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
21517         (_ZGVbN4v_sinf_sse4): Likewise.
21518         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
21519         (_ZGVdN8v_sinf_avx2): Likewise.
21520         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21521         Use JUMPTARGET to call callee.
21522         (WRAPPER_IMPL_SSE2_ff): Likewise.
21523         (WRAPPER_IMPL_SSE2_fFF): Likewise.
21524         (WRAPPER_IMPL_AVX): Likewise.
21525         (WRAPPER_IMPL_AVX_ff): Likewise.
21526         (WRAPPER_IMPL_AVX_fFF): Likewise.
21527         (WRAPPER_IMPL_AVX512): Likewise.
21528         (WRAPPER_IMPL_AVX512_ff): Likewise.
21529         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21530         Likewise.
21531         (WRAPPER_IMPL_SSE2_ff): Likewise.
21532         (WRAPPER_IMPL_SSE2_fFF): Likewise.
21533         (WRAPPER_IMPL_AVX): Likewise.
21534         (WRAPPER_IMPL_AVX_ff): Likewise.
21535         (WRAPPER_IMPL_AVX_fFF): Likewise.
21536         (WRAPPER_IMPL_AVX512): Likewise.
21537         (WRAPPER_IMPL_AVX512_ff): Likewise.
21538         (WRAPPER_IMPL_AVX512_fFF): Likewise.
21540 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21542         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
21543         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
21544         qualifier.
21545         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
21546         internal_function qualifiers.
21548 2016-03-15  Carlos O'Donell <carlos@redhat.com>
21550         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
21551         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
21552         * math/atest-exp.c (exp_mpn): Mark chk unused.
21553         * math/atest-exp2.c (exp_mpn): Likewise.
21554         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
21555         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
21557 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
21559         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
21560         Remove macro.
21561         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
21562         <kernel-features.h>.
21563         [__NR_ppoll]: Make code unconditional.
21564         [!__ASSUME_PPOLL]: Remove conditional code.
21566         * sysdeps/unix/sysv/linux/kernel-features.h
21567         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
21568         (__ASSUME_ACCEPT4): Likewise.
21569         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21570         Define.
21571         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
21572         Likewise.
21573         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21574         Likewise.
21575         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
21576         Likewise.
21577         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
21578         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
21579         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21580         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21581         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21582         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21583         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21584         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21585         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21586         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21587         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21588         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21589         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21590         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21591         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21592         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21593         Likewise.
21594         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21595         Likewise.
21596         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21597         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21598         0x040300].
21599         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21600         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21601         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21602         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21603         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21604         0x030300].
21605         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
21606         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21607         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21608         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21609         0x040300].
21610         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21611         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21612         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21613         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21614         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21615         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21616         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21617         0x030300].
21618         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21619         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21620         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21621         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21622         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21623         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21624         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21625         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21626         * sysdeps/unix/sysv/linux/s390/kernel-features.h
21627         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21628         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21629         0x040300].
21630         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21631         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21632         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21633         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21634         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21635         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21636         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21637         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21638         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21639         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21640         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21641         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21642         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21643         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21644         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
21645         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21646         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21647         Likewise.
21648         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21649         Likewise.
21651 2016-03-15  Andreas Schwab  <schwab@suse.de>
21653         [BZ #19257]
21654         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
21655         statp->_u._ext.nscount as loop count.
21657 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21659         * math/test-signgam-finite-c99.c: Also #undef
21660         __LIBC_INTERNAL_MATH_INLINES.
21661         * math/test-signgam-main.c: Likewise.
21663 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
21665         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
21666         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21667         (MADV_FREE): Likewise.
21668         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
21669         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
21670         EPOLLEXCLUSIVE.
21672 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
21674         * timezone/README: Remove mention of checktab.awk. Mention wiki
21675         SharedSourceFiles.
21677 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
21679         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
21680         WUNTRACED.
21682 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21684         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
21685         order to match the type of p when calling atomic_exchange_acq().
21687 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21689         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
21690         cfi_offset calls.
21691         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
21692         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
21693         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
21694         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
21695         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
21697 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
21699         * timezone/checktab.awk: Removed.
21701 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
21703         * manual/math.texi (Errors in Math Functions): Document relaxed
21704         accuracy goals for IBM long double.
21705         * math/libm-test.inc (test_exceptions): Always allow spurious
21706         "underflow" and "inexact" exceptions for IBM long double.
21708 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
21710         [BZ #19762]
21711         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21712         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
21713         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
21714         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
21715         (bit_arch_*): This for feature array.
21716         (bit_*): Renamed to ...
21717         (bit_cpu_*): This for cpu array.
21718         (index_*): Renamed to ...
21719         (index_arch_*): This for feature array.
21720         (index_*): Renamed to ...
21721         (index_cpu_*): This for cpu array.
21722         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
21723         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
21724         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
21725         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
21726         bit_##name with index_cpu_##name and bit_cpu_##name.
21727         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
21728         bit_##name with index_arch_##name and bit_arch_##name.
21730 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
21732         [BZ #19792]
21733         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
21734         Terminate FDE before return label.
21736 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
21738         [BZ #19790]
21739         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
21740         (rintl): Define as macro.
21741         [USE_AS_NEARBYINTL] (__rintl): Likewise.
21742         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
21743         of fesetround.  Ensure results are evaluated before end of scope.
21744         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
21745         USE_AS_NEARBYINTL and include s_rintl.c.
21746         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
21747         Disable exception traps in new environment.
21748         (libc_feholdsetround_ppc_ctx): Likewise.
21750 2016-03-08  Roland McGrath  <roland@hack.frob.com>
21752         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
21753         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
21754         (tst_audit10_aux) [__AVX512F__]: ... here.
21756 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
21758         * include/sys/auxv.h: New file.
21760 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
21762         [BZ #19759]
21763         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
21765 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21767         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
21768         operand modifier.
21769         (feclearexcept): Likewise.
21771 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21773         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
21774         to reflect the entire 32-bit HWCAP.
21775         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
21776         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
21778 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
21780         [BZ #19783]
21781         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
21782         $(test-via-rtld-prefix).
21783         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
21785 2016-03-08  Florian Weimer  <fweimer@redhat.com>
21787         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
21788         union wait.  Report any non-zero exit status as error.
21790 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21792         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
21793         configured with --enable-hardcoded-path-in-tests.
21795 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
21797         [BZ #19677]
21798         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21799         (__ieee754_remainderl): Put zero low parts in canonical form.
21800         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
21801         file.  Based on
21802         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
21803         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
21804         with wrapper round test-fmodrem-ldbl-128ibm.c.
21805         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
21806         file.
21807         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
21808         Likewise.
21809         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
21810         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
21812 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21814         [BZ #19610]
21815         * elf/ldconfig.c (opt_link): Update comment.
21816         (options): Update help string for option -X.
21817         (search_dir): Unlink stale symbolic link only if updating symbolic
21818         links.
21819         * elf/tst-ldconfig-X.sh: New file.
21820         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
21821         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
21823 2016-03-07  Andreas Schwab  <schwab@suse.de>
21825         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
21826         needed arguments.
21828 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
21830         [BZ #15333]
21831         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
21832         to lstat64.
21834 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21836         * libio/filedoalloc.c (isatty): Remove.
21837         (local_isatty): Add comment.  Call __isatty directly.
21838         (_IO_file_doallocate): Update comment.  Assume _LIBC.
21839         * libio/wfiledoalloc.c (isatty): Remove.
21840         (_IO_wfile_doallocate): Update comment.
21842 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21844         [BZ #19269]
21845         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
21846         tst-audit4-aux.o.
21847         (tst-audit10): Depend on tst-audit10-aux.o.
21848         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
21849         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
21850         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
21851         instead of inline AVX code.
21852         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
21853         instead of inline AVX512 code.
21854         * sysdeps/x86_64/tst-audit4-aux.c: New file
21855         * sysdeps/x86_64/tst-audit10-aux.c: New file
21857         [BZ #19648]
21858         * test-skeleton.c (main): Do not set RLIMIT_DATA.
21860 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21862         [BZ #14750]
21863         [BZ #10354]
21864         [BZ #18433]
21865         * include/sched.h (__clone): Add hidden prototype.
21866         (__clone2): Likewise.
21867         * include/unistd.h (__dup): Likewise.
21868         * posix/Makefile (tests): Add tst-spawn2.
21869         * posix/tst-spawn2.c: New file.
21870         * sysdeps/posix/dup.c (__dup): Add hidden definition.
21871         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
21872         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21873         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21874         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21875         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21876         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
21877         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21878         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
21879         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21880         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21882         Likewise.
21883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21884         Likewise.
21885         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21886         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21887         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21888         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21889         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21890         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21891         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21892         * sysdeps/unix/sysv/linux/nptl-signals.h
21893         (____nptl_is_internal_signal): New function.
21894         * sysdeps/unix/sysv/linux/spawni.c: New file.
21896         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
21897         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
21898         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
21899         * posix/tst-execvp2.c (do_test): Likewise.
21900         * posix/tst-execvp3.c (do_test): Likewise.
21901         * posix/tst-execvp4.c (do_test): Likewise.
21902         * posix/tst-execvpe1.c: New file.
21903         * posix/tst-execvpe2.c: Likewise.
21904         * posix/tst-execvpe3.c: Likewise.
21905         * posix/tst-execvpe4.c: Likewise.
21906         * posix/tst-execvpe5.c: Likewise.
21907         * posix/tst-execvpe6.c: Likewise.
21909         [BZ #19534]
21910         * posix/execl.c (execl): Remove dynamic memory allocation.
21911         * posix/execle.c (execle): Likewise.
21912         * posix/execlp.c (execlp): Likewise.
21914 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21916         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
21917         Replace .text with .text.avx512.
21918         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
21919         Likewise.
21921 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
21923         * sysdeps/generic/libnsl.abilist: New file.
21924         * sysdeps/generic/libutil.abilist: New file.
21926 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21928         [BZ #19762]
21929         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
21930         HAS_ARCH_FEATURE with Fast_Rep_String.
21931         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
21932         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
21933         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
21934         Likewise.
21935         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
21936         Likewise.
21937         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
21938         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
21939         Likewise.
21940         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
21941         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
21942         Likewise.
21944 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21946         [BZ #19745]
21947         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
21948         with *%rax in call.
21950 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21952         [BZ #19745]
21953         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
21954         with *__libc_start_main@GOTPCREL(%rip) in call.
21956 2016-03-04  Roland McGrath  <roland@hack.frob.com>
21958         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
21959         inside conditional for nonempty $(CXX).
21961         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
21962         nonempty.
21964         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
21965         to test for empty $(CXX) rather than $(CXX) of "no".
21967 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21969         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
21971 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
21972             H.J. Lu  <hongjiu.lu@intel.com>
21974         [BZ #18880]
21975         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
21976         instead of Slow_BSF, and also check for Fast_Copy_Backward to
21977         enable __memcpy_ssse3_back.
21979 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21981         [BZ #19758]
21982         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21983         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
21985 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21987         [BZ #19490]
21988         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
21989         (__fentry__): Likewise.
21991 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21993         * gmon/Makefile (noprof): Add $(sysdep_noprof).
21994         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
21996 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21998         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
21999         __mcount_internal directly.
22000         (C_LABEL(__fentry__)): Likewise.
22001         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
22002         directly.
22004 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22006         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22007         (__start_context): Call __setcontext directly.
22009 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
22011         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22012         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22013         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
22014         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22015         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22016         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22017         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
22018         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22019         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22020         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
22021         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22022         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22023         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22024         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22025         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22026         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22027         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
22028         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22029         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22030         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22031         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
22032         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22033         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22034         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22035         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
22036         Remove conditional code.
22037         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22038         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
22039         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22040         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22041         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
22042         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22043         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22044         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22045         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22046         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22047         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22048         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22050 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
22052         * NEWS (2.23): Fix typo in bug 19048 text.
22054 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
22056         [BZ #14259]
22057         * Makeconfig: Rename msgcatdir to localedir.
22058         Rename inst_msgcatdir to inst_localedir.
22059         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
22060         * config.make.in: Add localedir.
22061         * elf/Makefile ($(objpfx)sotruss): Use localedir.
22062         (ldd-rewrite): Likewise.
22063         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
22064         (install-others): Use inst_localedir.
22065         (CPPFLAGS): Use localedir.
22066         * locale/Makefile (locale-CPPFLAGS): Likewise.
22067         * po/Makefile (mo-installed): Use inst_localedir.
22069         [BZ #19575]
22070         * localedata/charmaps/GB18030: Update comments regarding PAU to
22071         non-PUA mappings.
22073 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
22075         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
22076         test for header.
22077         * sysdeps/unix/sysv/linux/configure: Regenerated.
22078         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
22079         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
22080         Remove conditional code.
22081         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
22083         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22084         Define to 3.2.0.
22085         (arch_minimum_kernel): Likewise.
22086         * sysdeps/unix/sysv/linux/configure: Regenerated.
22087         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
22088         Define to 2.6.32.
22089         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
22090         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
22091         (arch_minimum_kernel): Define to 2.6.32.
22092         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
22093         * README: Document Linux 3.2 requirement.
22094         * manual/install.texi (Linux): Document Linux 3.2 headers
22095         requirement.
22096         * INSTALL: Regenerated.
22098 2016-02-24  Andreas Schwab  <schwab@suse.de>
22100         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
22101         if !NO_LONG_DOUBLE.
22103 2016-02-22  Roland McGrath  <roland@hack.frob.com>
22105         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
22106         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
22108 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
22110         [BZ #19512]
22111         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
22113 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22115         * posix/tst-dir.c: Include libc-internal.h.
22117 2016-02-20  Florian Weimer  <fweimer@redhat.com>
22119         [BZ #19056]
22120         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
22121         * manual/filesys.texi (Reading/Closing Directory): Mention
22122         deprecaion.
22123         * posix/tst-dir.c (main): Disable deprecation warning in test.
22125 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
22127         [BZ #19679]
22128         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
22129         Renamed to ...
22130         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
22131         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22132         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
22133         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22134         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22135         * sysdeps/x86_64/dl-trampoline.h
22136         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22137         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22139 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22141         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
22143 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22145         * elf/elf.h (R_386_GOT32X): New.
22146         (R_386_NUM): Update.
22147         (R_X86_64_GOTPCRELX: New.
22148         (R_X86_64_REX_GOTPCRELX): New.
22149         (R_X86_64_NUM): Update.
22151 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
22153         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
22155 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
22157         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
22158         assign attr->stackaddr to it, and adjust it down when
22159         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
22160         [_STACK_GROWS_UP]: Delete assert.
22161         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
22162         Implement stack grows up logic.
22163         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
22164         stack grows up logic.
22166 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22168         * NEWS: Update with 2.24 template.
22170 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22172         [BZ #19678]
22173         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22174         Ensure +0.0 is returned when taking the next value below the least
22175         positive value.
22177 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22179         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
22180         available.  Do not define NO_THREADS.
22181         * malloc/malloc.c: Do not check NO_THREADS.
22182         * malloc/arena.c: Likewise.
22184 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22186         * malloc/malloc.c (__libc_mallinfo): Update comment.
22187         (struct malloc_par): Remove max_total_mem member, it was always 0.
22188         (int_mallinfo): Store 0 into usmblks (no functional change).
22189         * malloc/hooks.c (struct malloc_state): Document that
22190         max_total_mem is always 0.
22191         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
22192         always 0.
22193         * manual/memory.texi (Statistics of Malloc): Likewise.
22195 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22197         * malloc/malloc.c (sysmalloc): Do not update arena_max.
22198         * malloc/arena.c (arena_max): Remove.
22199         (heap_trim, _int_new_arena): Do not update arena_max.
22201 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22203         * resolv/res_init.c (res_ninit): Update comment.
22205 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22207         [BZ #19505]
22208         * posix/spawn_int.h: Add headers and include guard.
22209         (__spawn_valid_fd): New function.
22210         * posix/spawn_faction_addopen.c
22211         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
22212         * posix/spawn_faction_addclose.c
22213         (posix_spawn_file_actions_addclose): Likewise.
22214         * posix/spawn_faction_adddup2.c
22215         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
22216         second file descriptor.
22217         * posix/spawn_valid_fd.c: New file.
22218         * posix/tst-posix_spawn-fd.c: New file.
22219         * posix/Makefile (routines): Add spawn_valid_fd.
22220         (tests): Add tst-posix_spawn-fd.
22222 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22224         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
22225         (do_test): Limit the number of arenas, so that we can use fewer
22226         outer threads.  Limit timeout to 3 seconds, in preparation for a
22227         larger TIMEOUT value.
22229 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22231         [BZ #19674]
22232         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
22233         sign in overflowing and underflowing results when overflow or
22234         underflow is detected early.  Include sign in result before rather
22235         than after scaling.
22237         [BZ #19603]
22238         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22239         (__ieee754_remainderl): Adjust sign of integer version of low part
22240         when taking absolute value of high part.
22241         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22242         * math/libm-test.inc (remainder_test_data): Add another test.
22243         (remquo_test_data): Likewise.
22245 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
22247         [BZ #19602]
22248         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
22249         equal high parts and both low parts zero specially.
22250         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
22251         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
22252         Add test-fmodl-ldbl-128ibm.
22254         [BZ #19595]
22255         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
22256         common logic for all cases of shifting subnormal results.  Do not
22257         insert sign bit in shifted mantissa.  Always pass -1023 as biased
22258         exponent to ldbl_insert_mantissa in subnormal case.
22260         [BZ #19594]
22261         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
22262         on high and low parts then adjust result and use
22263         ldbl_canonicalize_int if needed.
22265         [BZ #19593]
22266         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
22267         on high part and __floor or __ceil on low part then use
22268         ldbl_canonicalize_int if needed.
22270         [BZ #19592]
22271         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
22272         high and low parts then use ldbl_canonicalize_int if needed.
22274         [BZ #17899]
22275         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
22276         New function.
22277         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
22278         on high and low parts then use ldbl_canonicalize_int if needed.
22280 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22282         * configure: Regenerated.
22284         * po/libc.pot: Regenerated.
22286         * po/be.po: Updated translation.
22287         * po/bg.po: Likewise.
22288         * po/ca.po: Likewise.
22289         * po/cs.po: Likewise.
22290         * po/da.po: Likewise.
22291         * po/el.po: Likewise.
22292         * po/eo.po: Likewise.
22293         * po/es.po: Likewise.
22294         * po/fi.po: Likewise.
22295         * po/fr.po: Likewise.
22296         * po/gl.po: Likewise.
22297         * po/hr.po: Likewise.
22298         * po/hu.po: Likewise.
22299         * po/ia.po: Likewise.
22300         * po/id.po: Likewise.
22301         * po/it.po: Likewise.
22302         * po/ja.po: Likewise.
22303         * po/lt.po: Likewise.
22304         * po/nb.po: Likewise.
22305         * po/nl.po: Likewise.
22306         * po/pt_BR.po: Likewise.
22307         * po/rw.po: Likewise.
22308         * po/sk.po: Likewise.
22309         * po/sl.po: Likewise.
22310         * po/sv.po: Likewise.
22311         * po/tr.po: Likewise.
22312         * po/zh_CN.po: Likewise.
22313         * po/zh_TW.po: Likewise.
22315         * version.h (RELEAES): Set to "development".
22316         (VERSION): Set to 2.23.90.
22318         * version.h (RELEASE): Set to "stable".
22319         (VERSION): Set to 2.23.
22320         * include/feature.h (__GLIBC_MINOR__): Set to 23.
22322         * NEWS: Updated fixed bugs.
22324 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
22325             Wilco Dijkstra  <wdijkstr@arm.com>
22327         [BZ #19462]
22328         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
22329         (_STRING_INLINE_unaligned): This.
22330         * include/string.h: Include <string_private.h>.
22331         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
22332         _STRING_INLINE_unaligned.
22333         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
22334         (_STRING_INLINE_unaligned): New.
22335         * sysdeps/aarch64/string_private.h: New file.
22336         * sysdeps/generic/string_private.h: Likewise.
22337         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
22338         * sysdeps/s390/string_private.h: Likewise.
22339         * sysdeps/x86/string_private.h: Likewise.
22340         * sysdeps/m68k/m680x0/m68020/bits/string.h
22341         (_STRING_ARCH_unaligned): Renamed to ...
22342         (_STRING_INLINE_unaligned): This.
22343         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
22344         to ...
22345         (_STRING_INLINE_unaligned): This.
22346         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
22347         to ...
22348         (_STRING_INLINE_unaligned): This.
22349         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
22350         to ...
22351         (_STRING_INLINE_unaligned): This.
22353 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22354             H.J. Lu  <hongjiu.lu@intel.com>
22356         [BZ #19590]
22357         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
22358         relocation.
22360 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
22362         [BZ #18665]
22363         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
22364         *herrno_p.
22365         (gaih_getanswer): Document functional behviour. Return tryagain
22366         if any result is tryagain.
22367         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
22368         when freed.
22369         * resolv/res_send.c: Add copyright text.
22370         (__libc_res_nsend): Document that MAXPACKET is expected.
22371         (send_vc): Document. Remove buffer reuse.
22372         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
22373         size of the buffer. Add Dprint for truncated UDP buffer.
22375 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
22377         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
22378         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
22379         * INSTALL: Regenerate.
22381 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
22382             Jonathan Wakely  <jwakely@redhat.com>
22383             Carlos O'Donell  <carlos@redhat.com>
22385         [BZ 19439]
22386         * math/Makefile (tests): Add test-math-isinff.
22387         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
22388         * math/bits/mathcalls.h [__USE_MISC]: Use
22389         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
22390         functions not in C++11 and which don't conflict e.g. isinff,
22391         isinfl etc.
22392         * math/test-math-isinff.cc: New file.
22394 2016-02-12  Florian Weimer  <fweimer@redhat.com>
22396         * misc/bug18240.c (do_test): Set RLIMIT_AS.
22398 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22400         [BZ #19529]
22401         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
22403 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22405         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22407 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
22409         [BZ #19550]
22410         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
22411         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
22412         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
22413         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
22414         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
22415         New syscall entry.
22416         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
22417         New syscall entry.
22418         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
22419         syscall entry.
22421 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
22423         [BZ #18240]
22424         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
22425         unsigned int wraparound.
22427 2016-01-27  Florian Weimer  <fweimer@redhat.com>
22429         [BZ #18240]
22430         * misc/bug18240.c: New test.
22431         * misc/Makefile (tests): Add it.
22433 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
22434             Joseph Myers  <joseph@codesourcery.com>
22436         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
22437         load in branch delay slot when less than a word of input left.
22439 2016-01-27  Andreas Schwab  <schwab@suse.de>
22441         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
22442         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
22443         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
22444         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
22446 2016-01-26  David S. Miller  <davem@davemloft.net>
22448         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
22450 2016-01-25  David S. Miller  <davem@davemloft.net>
22452         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
22453         __sqrtl_finite.
22454         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
22455         instead using versioned_symbol.
22456         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
22457         of entries.
22459         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
22460         __sqrtl_finite to GLIBC_2.23
22462 2016-01-25  Ricchard Henderson  <rth@redhat.com>
22464         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22466 2016-01-25  Andreas Schwab  <schwab@suse.de>
22468         [BZ #17514]
22469         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
22470         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
22471         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
22472         * nptl/tst-mutex-errorcheck.c: New file.
22474 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22476         [BZ #18560]
22477         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
22478         (IPCOP_semop): Likewise.
22479         (IPCOP_semget): Likewise.
22480         (IPCOP_semctl): Likewise.
22481         (IPCOP_msgsnd): Likewise.
22482         (IPCOP_msgrcv): Likewise.
22483         (IPCOP_msgget): Likewise.
22484         (IPCOP_msgctl): Likewise.
22485         (IPCOP_shmat): Likewise.
22486         (IPCOP_shmdt): Likewise.
22487         (IPCOP_shmget): Likewise.
22488         (IPCOP_shmctl): Likewise.
22490 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22492         * string/tst-endian.c: Include <libc-internal.h>.
22493         (do_test): Ignore tautological-compare warnings around
22494         "htobeXX (beXXtoh (i)) != i" and
22495         "htoleXX (leXXtoh (i)) != i" if-statements.
22497 2016-01-24  David S. Miller  <davem@davemloft.net>
22499         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
22500         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
22501         alias.
22502         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
22503         __sqrtl_finite.
22505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22507 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
22509         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
22510         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
22511         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22513 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22515         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
22516         (thread_func): Use new function to simplify barrier check.
22517         (do_test): Use new function to simplify checking barrier exit
22518         code, and actually join the child thread.
22520 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22522         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
22523         semicolon.
22524         (__libc_tend): Likewise.
22525         (__libc_tabort): Likewise.
22527 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
22529         * sysdeps/nios2/libm-test-ulps: Update.
22530         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
22531         (__gtsf2): Likewise.
22532         (__unorddf2): Likewise.
22533         (__unordsf2): Likewise.
22534         (__ledf2): Likewise.
22536 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
22538         * nis/nis_table.c (__follow_path): Disable diagnostic for
22539         uninitialized variable that is a false positive for gcc 4.7.
22540         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
22542 2016-01-20  Roland McGrath  <roland@hack.frob.com>
22544         * sysdeps/nacl/lowlevellock-futex.h
22545         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
22546         Always evaluate PRIVATE argument.
22548 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
22550         [BZ #19490]
22551         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
22552         (pthread_cond_broadcast): Use ENTRY/END
22553         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
22554         (pthread_cond_signal): Likewise.
22555         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
22556         Likewise.
22557         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
22558         Likewise.
22559         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
22560         Likewise.
22562 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
22564         * sysdeps/ieee754/dbl-64/s_finite.c
22565         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
22566         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
22567         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
22568         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
22569         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
22571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
22572         (__gtsf2): Add as optional for libc.so.
22573         (__unordsf2): Likewise.
22574         (__signbit): Remove for libc.so.
22575         (__signbitl): Likewise.
22577 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22579         * iconvdata/bug-iconv11.c (test_ibm93x):
22580         Use %zu printf format specifier for size_t argument.
22582 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
22584         * math/gen-libm-test.pl (parse_ulps): Do not reduce
22585         already-recorded ulps.
22586         * sysdeps/arm/libm-test-ulps: Regenerated.
22587         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22588         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22589         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22591 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22592             Paul Pluzhnikov  <ppluzhnikov@google.com>
22594         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
22595         assembler not supporting AVX-512.
22597 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
22599         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22601 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
22603         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22604         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22606         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22608         * sysdeps/arm/libm-test-ulps: Regenerated.
22610 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22612         [BZ #19451]
22613         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
22615 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22617         [BZ #19486]
22618         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
22619         * sysdeps/generic/fix-fp-int-convert-overflow.h
22620         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
22621         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
22622         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
22623         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
22624         Likewise.
22625         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
22626         Avoid conversions to long int where inexact exceptions
22627         could be raised.
22628         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
22629         Likewise.
22630         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
22631         Avoid conversions to long long int where inexact exceptions
22632         could be raised.
22633         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
22634         Likewise.
22636 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
22638         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
22639         * configure: Regenerated.
22641 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
22643         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
22645 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
22647         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
22648         outside of comment.
22650 2016-01-15  Torvald Riegel  <triegel@redhat.com>
22652         * nptl/tst-barrier1.c: Add description on first line.
22653         * nptl/tst-barrier2.c: Likewise.
22654         * nptl/tst-barrier3.c: Likewise.
22655         * nptl/tst-barrier4.c: Likewise.
22656         * nptl/tst-barrier5.c: Likewise.
22658 2016-01-15  Torvald Riegel  <triegel@redhat.com>
22660         [BZ #18868]
22661         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
22663 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
22665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
22666         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
22667         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
22668         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
22669         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
22670         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
22671         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22672         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22673         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22674         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22675         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22677 2016-01-15  Torvald Riegel  <triegel@redhat.com>
22679         [BZ #13065]
22680         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
22681         new implementation.
22682         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
22683         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
22684         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
22685         (BARRIER_IN_THRESHOLD): New macro.
22686         * nptl/pthread_barrierattr_setpshared.c
22687         (pthread_barrierattr_setpshared): Clean up.
22688         * nptl/tst-barrier4.c: Correct comment.
22689         * nptl/tst-barrier5.c: New file.
22690         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
22691         (gen-as-const-headers): Remove lowlevelbarrier.sym.
22692         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
22693         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
22694         * nptl/lowlevelbarrier.sym: Remove.
22695         * nptl/DESIGN-barrier.txt: Remove.
22696         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
22697         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
22698         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
22699         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
22700         error.
22701         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
22702         implementation.
22704 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22706         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
22707         (do_child): Mask SIGRTMIN while thr is running.
22709 2016-01-15  Martin Sebor  <msebor@redhat.com>
22711         [BZ #19432]
22712         * iconvdata/Makefile: Add bug-iconv11.
22713         * iconvdata/bug-iconv11.c: New test.
22714         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
22715         * iconvdata/ibm933.c: Same.
22716         * iconvdata/ibm935.c: Same.
22717         * iconvdata/ibm937.c: Same.
22718         * iconvdata/ibm939.c: Same.
22720 2016-01-15  Martin Sebor  <msebor@redhat.com>
22722         [BZ #19443]
22723         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
22724         [DEBUG] (_ufc_set_bits): Declare used.
22725         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
22726         [DEBUG] (print_all): Declare used.
22727         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
22728         operands of the ternary ?: expression to target type.
22729         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
22730         calling the undeclared abort.
22731         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
22733 2016-01-15  Martin Sebor  <msebor@redhat.com>
22735         [BZ #18755]
22736         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
22737         warnings.
22738         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
22739         (__gai_create_helper_thread): Same.
22740         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
22741         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
22742         to suppress -Wmaybe-uninitialized warnings.
22744 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
22746         [BZ #19465]
22747         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
22748         inside if.
22749         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22750         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22751         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22753 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
22755         [BZ #19466]
22756         * time/tst-mktime2.c (time_t_max): Removed.
22757         (time_t_min): Likewise.
22758         (TYPE_SIGNED): New.
22759         (TYPE_MINIMUM): Likewise.
22760         (TYPE_MAXIMUM): Likewise.
22761         (TIME_T_MIN): Likewise.
22762         (TIME_T_MAX): Likewise.
22763         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
22764         and TIME_T_MIN.
22765         (do_test): Likewise.
22767 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
22769         [BZ #19467]
22770         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
22771         index_Fast_Unaligned_Load flag for Excavator family CPUs.
22773 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
22775         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
22777 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
22779         * benchtests/Makefile (PYTHON): Define.
22780         (bench-func): Use $(PYTHON) to run python scripts.
22781         ($(objpfx)bench-%.c): Likewise.
22783 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
22785         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
22786         leading slash when `file_name' is "/".
22788 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
22790         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
22791         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
22792         Likewise.
22793         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
22794         Likewise.
22795         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
22796         Likewise.
22797         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
22798         enum constant and macro.
22799         (PTRACE_SETSIGMASK): Likewise.
22800         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22801         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22802         (PTRACE_GETSIGMASK): Likewise.
22803         (PTRACE_SETSIGMASK): Likewise.
22804         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22805         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
22806         Likewise.
22807         (PTRACE_SETSIGMASK): Likewise.
22808         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22809         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22810         (PTRACE_GETSIGMASK): Likewise.
22811         (PTRACE_SETSIGMASK): Likewise.
22812         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22813         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
22814         Likewise.
22815         (PTRACE_SETSIGMASK): Likewise.
22816         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22817         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
22818         Likewise.
22819         (PTRACE_SETSIGMASK): Likewise.
22820         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22821         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
22822         Likewise.
22823         (PTRACE_SETSIGMASK): Likewise.
22824         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22826 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
22827             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22829         [BZ #19439]
22830         * math/bits/mathcalls.h
22831         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
22832         prototype.
22833         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
22835 2016-01-11  Andreas Schwab  <schwab@suse.de>
22837         [BZ #19253]
22838         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
22839         cache when TZDEFRULES was used.
22840         * time/tst-tzname.c: New file.
22841         * time/Makefile (test): Add tst-tzname.
22842         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
22843         * timezone/Makefile (test-zones): Add $(posixrules-file).
22844         ($(testdata)/$(posixrules-file)): New rule.
22846 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
22848         Fix doc quoting problems with Texinfo 5
22849         Without this change, in the info file output, Texinfo 5 quotes code
22850         in text with undirected single quotes 'like this' and generates
22851         code examples that with many PDF readers cannot be cut out of PDFs
22852         and pasted into code.
22853         * manual/libc.texinfo: Configure the libc manual like the GNU
22854         Emacs manual, by using @documentencoding and setting
22855         txicodequoteundirected and txicodequotebacktick.  This way,
22856         Texinfo 5 quotes code in text with directed single quotes ‘like
22857         this’ and produces examples that can be cut out of PDFs.  This
22858         change causes Texinfo 5 to generate info files that contain UTF-8
22859         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
22860         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
22862 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22864         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
22865         __libc_tabort, __libc_tend): New wrappers that enforce compiler
22866         barriers to their respective compiler built-ins.
22867         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
22868         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
22869         * sysdeps/powerpc/sysdep.h: Likewise.
22870         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
22871         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
22872         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
22874 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
22876         * scripts/config.guess: Revert previous shebang change.
22877         * scripts/config.sub: Likewise.
22878         * scripts/mkinstalldirs: Likewise.
22880 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22882         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
22883         PPC_FEATURE2_HAS_IEEE128.
22884         * sysdeps/powerpc/dl-procinfo.c:
22885         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
22887 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
22889         [BZ #19415]
22890         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
22891         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
22892         (_dl_lookup_address): Rewrite using function resolver trampoline.
22893         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
22894         two bits in address.
22896 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22898         * longlong.h: Change !__SHMEDIA__ to
22899         (!defined (__SHMEDIA__) || !__SHMEDIA__).
22900         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
22902 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
22903             Joseph Myers  <joseph@codesourcery.com>
22904             Mark Shinwell  <shinwell@codesourcery.com>
22905             Andrew Stubbs  <ams@codesourcery.com>
22906             Rich Felker <dalias@libc.org>
22908         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
22910 2016-01-07  Richard Henderson  <rth@redhat.com>
22912         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
22914 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22916         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
22917         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
22918         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22919         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22920         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
22922 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
22923             Joseph Myers  <joseph@codesourcery.com>
22925         * timezone/private.h: Update from tzcode 2015g.
22926         * timezone/tzfile.h: Likewise.
22927         * timezone/tzselect.ksh: Likewise.
22928         * timezone/zdump.c: Likewise.
22929         * timezone/zic.c: Likewise.
22930         * timezone/ialloc.c: Remove file.
22931         * timezone/scheck.c: Likewise.
22932         * timezone/Makefile (extra-objs): Remove variable.
22933         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
22934         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
22935         -Wno-maybe-uninitialized.
22936         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
22937         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
22938         (CFLAGS-ialloc.c): Remove variable.
22939         (CFLAGS-scheck.c): Likewise.
22940         * timezone/README: Update list of files from tzcode.
22942 2016-01-07  Khem Raj  <raj.khem@gmail.com>
22944         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
22945         instead of __fxprintf when _LIBC is undefined.
22947 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
22949         * catgets/test-gencat.sh: Remove space after shebang.
22950         * conform/GlibcConform.pm: Likewise.
22951         * conform/check-header-lists.sh: Likewise.
22952         * conform/conformtest.pl: Likewise.
22953         * conform/linknamespace.pl: Likewise.
22954         * conform/list-header-symbols.pl: Likewise.
22955         * debug/catchsegv.sh: Likewise.
22956         * elf/genrtldtbl.awk: Likewise.
22957         * elf/tst-pathopt.sh: Likewise.
22958         * elf/tst-rtld-load-self.sh: Likewise.
22959         * grp/tst_fgetgrent.sh: Likewise.
22960         * iconvdata/gen-8bit-gap-1.sh: Likewise.
22961         * iconvdata/gen-8bit-gap.sh: Likewise.
22962         * iconvdata/gen-8bit.sh: Likewise.
22963         * iconvdata/run-iconv-test.sh: Likewise.
22964         * intl/tst-gettext.sh: Likewise.
22965         * intl/tst-gettext2.sh: Likewise.
22966         * intl/tst-gettext4.sh: Likewise.
22967         * intl/tst-gettext6.sh: Likewise.
22968         * intl/tst-translit.sh: Likewise.
22969         * io/ftwtest-sh: Likewise.
22970         * libio/test-freopen.sh: Likewise.
22971         * locale/gen-translit.pl: Likewise.
22972         * malloc/tst-mtrace.sh: Likewise.
22973         * manual/check-safety.sh: Likewise.
22974         * manual/libc-texinfo.sh: Likewise.
22975         * manual/tsort.awk: Likewise.
22976         * manual/xtract-typefun.awk: Likewise.
22977         * nptl/tst-cancel-wrappers.sh: Likewise.
22978         * nptl/tst-tls6.sh: Likewise.
22979         * posix/globtest.sh: Likewise.
22980         * posix/tst-getconf.sh: Likewise.
22981         * posix/wordexp-tst.sh: Likewise.
22982         * scripts/check-c++-types.sh: Likewise.
22983         * scripts/check-local-headers.sh: Likewise.
22984         * scripts/config.guess: Likewise.
22985         * scripts/config.sub: Likewise.
22986         * scripts/cpp: Likewise.
22987         * scripts/cross-test-ssh.sh: Likewise.
22988         * scripts/documented.sh: Likewise.
22989         * scripts/evaluate-test.sh: Likewise.
22990         * scripts/gen-libc-abis: Likewise.
22991         * scripts/gen-sorted.awk: Likewise.
22992         * scripts/list-fixed-bugs.py: Likewise.
22993         * scripts/merge-test-results.sh: Likewise.
22994         * scripts/mkinstalldirs: Likewise.
22995         * scripts/rellns-sh: Likewise.
22996         * scripts/test-installation.pl: Likewise.
22997         * scripts/update-copyrights: Likewise.
22998         * stdio-common/tst-printf.sh: Likewise.
22999         * stdio-common/tst-unbputc.sh: Likewise.
23000         * stdlib/tst-fmtmsg.sh: Likewise.
23001         * stdlib/tst-setcontext3.sh: Likewise.
23002         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
23003         * sysdeps/unix/make-syscalls.sh: Likewise.
23005 2016-01-06  John David Anglin  <dave.anglin@bell.net>
23007         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
23008         asm stw with atomic_exchange_rel.  Add explanatory comment.
23009         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23010         Likewise.
23012 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23014         [BZ #19122]
23015         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
23016         * sysdeps/generic/dl-unistd.h: New file.
23017         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
23019 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23021          [BZ #19122]
23022          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
23023          * sysdeps/generic/dl-mman.h: New file.
23024          * sysdeps/mach/hurd/dl-mman.h: Likewise.
23026 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
23028         * manual/texinfo.tex: Update to version 2016-01-04.21 with
23029         trailing whitespace removed.
23030         * scripts/config.guess: Update to version 2016-01-01.
23031         * scripts/config.sub: Update to version 2016-01-01.
23032         * scripts/move-if-change: Update from gnulib.
23034 2016-01-04  Anton Blanchard  <anton@samba.org>
23036         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
23037         for array indices.
23038         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
23040 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
23042         * NEWS: Update copyright dates.
23043         * catgets/gencat.c (print_version): Likewise.
23044         * csu/version.c (banner): Likewise.
23045         * debug/catchsegv.sh: Likewise.
23046         * debug/pcprofiledump.c (print_version): Likewise.
23047         * debug/xtrace.sh (do_version): Likewise.
23048         * elf/ldconfig.c (print_version): Likewise.
23049         * elf/ldd.bash.in: Likewise.
23050         * elf/pldd.c (print_version): Likewise.
23051         * elf/sotruss.sh: Likewise.
23052         * elf/sprof.c (print_version): Likewise.
23053         * iconv/iconv_prog.c (print_version): Likewise.
23054         * iconv/iconvconfig.c (print_version): Likewise.
23055         * locale/programs/locale.c (print_version): Likewise.
23056         * locale/programs/localedef.c (print_version): Likewise.
23057         * login/programs/pt_chown.c (print_version): Likewise.
23058         * malloc/memusage.sh (do_version): Likewise.
23059         * malloc/memusagestat.c (print_version): Likewise.
23060         * malloc/mtrace.pl: Likewise.
23061         * manual/libc.texinfo: Likewise.
23062         * nptl/version.c (banner): Likewise.
23063         * nscd/nscd.c (print_version): Likewise.
23064         * nss/getent.c (print_version): Likewise.
23065         * nss/makedb.c (print_version): Likewise.
23066         * posix/getconf.c (main): Likewise.
23067         * scripts/test-installation.pl: Likewise.
23068         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23070         * All files with FSF copyright notices: Update copyright dates
23071         using scripts/update-copyrights.
23072         * intl/plural.c: Regenerated.
23073         * locale/programs/charmap-kw.h: Likewise.
23074         * locale/programs/locfile-kw.h: Likewise.
23076 2016-01-02  Helge Deller  <deller@gmx.de>
23078         [BZ #19285]
23079         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
23080         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
23081         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
23082         (MADV_xxK_PAGES): Remove.
23084 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
23086         [BZ #15421]
23087         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
23088         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
23089         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
23090         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
23092 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
23094         [BZ #19408]
23095         * sysdeps/unix/sysv/linux/personality.c: New file.
23096         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
23097         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
23098         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
23099         (sysdep_routines): Add personality.
23100         (tests): Add tst-personality.
23101         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
23102         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
23103         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
23104         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
23105         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
23106         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
23107         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
23108         Likewise.
23109         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
23110         Likewise.
23111         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
23112         Likewise.
23113         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
23114         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
23115         Likewise.
23117 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
23119         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
23120         (PATH_ARM_SYSTYPE): Remove.
23121         (PATH_CPUINFO): Likewise.
23122         (IO_BASE_FOOTBRIDGE): Likewise.
23123         (IO_SHIFT_FOOTBRIDGE): Likewise.
23124         (struct platform): Likewise.
23125         (init_iosys): Remove compatibility code for 2.4 kernels.
23126         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
23128 2015-12-29  Florian Weimer  <fweimer@redhat.com>
23130         * malloc/tst-malloc-thread-fail.c: New file.
23131         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
23132         (tst-malloc-thread-fail): Link against libpthread.
23134 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
23136         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
23137         (get_parser): New function.
23138         (main): New function.
23140 2015-12-29  Rob Wu  <rob@robwu.nl>
23142         [BZ #19369]
23143         * resolv/res_init.c (__res_vinit): Reset defdname before use.
23145 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
23147         [BZ #19270]
23148         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23150 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
23152         [BZ #15421]
23153         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
23155 2015-12-23  Torvald Riegel  <triegel@redhat.com>
23157         [BZ #13690]
23158         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
23159         after releasing it.
23160         (__lll_robust_unlock): Likewise.
23161         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23162         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
23163         (lll_robust_unlock): Likewise.
23164         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
23165         Prevent warnings in callers.
23167 2015-12-23  Florian Weimer  <fweimer@redhat.com>
23169         * malloc/arena.c (list_lock): Update comment.
23171 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23173         * sysdeps/powerpc/hwcapinfo.c: Export symbol
23174         __parse_hwcap_and_convert_at_platform to libc.a.
23176 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23178         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
23179         platform and feature support for POWER9.
23180         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23181         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
23182         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
23183         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
23184         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
23185         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
23186         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
23187         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
23189 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23191         Harmonize generic stdio-lock support with nptl
23193         This fixes build when _IO_funlockfile is a macro, fixes build where
23194         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
23195         stack unwind.
23197         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
23198         _IO_release_lock ): Use cleanup attribute on new
23199         _IO_acquire_lock_file variable instead of assuming that
23200         _IO_release_lock will be called.
23201         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
23202         _IO_acquire_lock_needs_exceptions_enabled.
23203         (_IO_acquire_lock_clear_flags2): New macro.
23205 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23207         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23209 2015-12-21  Florian Weimer  <fweimer@redhat.com>
23211         [BZ #19182]
23212         * malloc/arena.c (list_lock): Document lock ordering requirements.
23213         (free_list_lock): New lock.
23214         (ptmalloc_lock_all): Comment on free_list_lock.
23215         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
23216         (detach_arena): Update comment.  free_list_lock is now needed.
23217         (_int_new_arena): Use free_list_lock around detach_arena call.
23218         Acquire arena lock after list_lock.  Add comment, including FIXME
23219         about incorrect synchronization.
23220         (get_free_list): Switch to free_list_lock.
23221         (reused_arena): Acquire free_list_lock around detach_arena call
23222         and attached threads counter update.  Add two FIXMEs about
23223         incorrect synchronization.
23224         (arena_thread_freeres): Switch to free_list_lock.
23225         * malloc/malloc.c (struct malloc_state): Update comments to
23226         mention free_list_lock.
23228 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23230         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
23231         Remove functions.
23232         (sloww, sloww1): Accept argument to offset quadrant.
23233         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
23234         quadrant.
23235         (__sin, __cos): Consolidate common code into new functions.
23236         (reduce_sincos_1, do_sincos_1): New functions.
23237         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23239         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
23240         code to new functions.
23241         (reduce_sincos_2, do_sincos_2): New functions.
23242         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23244         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
23245         common code for sincos.
23246         (__cos) [!IN_SINCOS]: Likewise.
23247         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
23248         New function.
23249         (__sincos): Use it.
23251 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
23253         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
23254         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
23255         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23257 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23259         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
23260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
23261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23262         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
23263         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23264         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
23265         index_Prefer_No_VZEROUPPER): New feature.
23266         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
23267         Prefer_No_VZEROUPPER for Knights Landing.
23269 015-12-18  Torvald Riegel  <triegel@redhat.com>
23271         * math/atest-exp2.c (mp_exp_m1): Remove.
23273 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23275         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
23276         syscalls.
23277         (__SYSCALL0): New macro.
23278         (__SYSCALL1): Likewise.
23279         (__SYSCALL2): Likewise.
23280         (__SYSCALL3): Likewise.
23281         (__SYSCALL4): Likewise.
23282         (__SYSCALL5): Likewise.
23283         (__SYSCALL6): Likewise.
23284         (__SYSCALL_CONCAT_X): Likewise.
23285         (__SYSCALL_CONCAT): Likewise.
23286         (__SYSCALL_DIST): Likewise.
23287         (__SYSCALL_CALL): Likewise.
23289 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
23291         [BZ #19363]
23292         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
23294 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23296         [BZ #19375]
23297         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
23298         negative subnormals.
23300 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
23302         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23303         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
23304         (INTERNAL_SYSCALL_NCS): Use it.
23305         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23307 2015-12-16  Florian Weimer  <fweimer@redhat.com>
23309         [BZ #19243]
23310         * malloc/arena.c (get_free_list): Remove assert and adjust
23311         reference count handling.  Add comment about reused_arena
23312         interaction.
23313         (reused_arena): Add comments abount get_free_list interaction.
23314         * malloc/tst-malloc-thread-exit.c: New file.
23315         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
23316         (tst-malloc-thread-exit): Link against libpthread.
23318 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23320         [BZ #19367]
23321         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
23322         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
23323         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
23324         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
23325         (index_Prefer_MAP_32BIT_EXEC): Likewise.
23327 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23329         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
23330         Silvermont optimizations for Knights Landing.
23332 2015-12-15  Andreas Schwab  <schwab@suse.de>
23334         [BZ #17197]
23335         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
23336         immediately after emitting SI.
23337         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
23338         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
23339         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
23340         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
23341         * iconvdata/bug-iconv10.c: New file.
23342         * iconvdata/Makefile (tests): Add bug-iconv10.
23343         ($(objpfx)bug-iconv10.out): New rule.
23345 2015-12-15  Florian Weimer  <fweimer@redhat.com>
23347         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
23348         aliasing violation.
23350 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
23352         [BZ #18472]
23353         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
23354         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
23355         conditionals for them.
23356         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
23357         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
23358         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
23359         sys/kdaemon.h.
23360         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
23361         compat-only syscall, obsoleted in glibc 2.23.
23362         (create_module): Likewise.
23363         (get_kernel_syms): Likewise.
23364         (query_module): Likewise.
23365         (uselib): Likewise.
23366         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
23368 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
23370         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
23371         <linux/version.h>.
23372         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
23373         conditional code.
23374         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
23375         and ioshift_name initialization.
23377 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23379         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23380         Fix indentation.
23382 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23384         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
23386 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23388         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
23390 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
23391             Jakub Wilk  <jwilk@debian.org>
23393         [BZ #19347]
23394         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
23395         to change the group of the device to the tty group.
23397 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
23399         Split large string section; add truncation advice
23400         * manual/examples/strncat.c: Remove.
23401         This example was misleading, as the code would have undefined
23402         behavior if "hello" was longer than SIZE.  Anyway, the manual
23403         shouldn't encourage strncpy+strncat for this sort of thing.
23404         * manual/string.texi (Copying Strings and Arrays): Split into
23405         three sections Copying Strings and Arrays, Concatenating Strings,
23406         and Truncating Strings, as this section was way too long.  All
23407         cross-referenced changed.  Add advice about string-truncation
23408         functions.  Remove misleading strncat example.
23410 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
23412         * manual/nss.texi (NSS Modules Interface): Document
23413         NSS_STATUS_NOTFOUND and SUCCESS.
23415 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23417         [BZ 18568]
23418         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23419         201505L, for Unicode 8.
23421 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
23423         * locale/C-translit.h: Regenerate.
23425 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23427         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
23428         and U+0153.
23430 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
23432         [BZ #19351]
23433         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
23434         expanding log(1+z), compare z rather than its square with epsilon
23435         to determine when to avoid evaluating the expansion.
23437         [BZ #19350]
23438         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23439         Increase overflow threshold.
23441         [BZ #19349]
23442         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
23443         when small.
23445         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23446         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23447         New macro.
23448         [__LINUX_KERNEL_VERSION >= 0x040300]
23449         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23450         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23451         Likewise.
23452         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23453         Likewise.
23454         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23455         Likewise.
23456         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23457         Likewise.
23458         [__LINUX_KERNEL_VERSION >= 0x040300]
23459         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23460         [__LINUX_KERNEL_VERSION >= 0x040300]
23461         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23462         [__LINUX_KERNEL_VERSION >= 0x040300]
23463         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23464         [__LINUX_KERNEL_VERSION >= 0x040300]
23465         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23466         [__LINUX_KERNEL_VERSION >= 0x040300]
23467         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23468         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23469         Likewise.
23470         [__LINUX_KERNEL_VERSION >= 0x040300]
23471         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23472         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23473         Likewise.
23474         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23475         Likewise.
23476         [__LINUX_KERNEL_VERSION >= 0x040300]
23477         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23478         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23479         Likewise.
23480         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23481         Likewise.
23482         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23483         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
23484         Likewise.
23485         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
23486         Likewise.
23487         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23488         Likewise.
23489         [__LINUX_KERNEL_VERSION >= 0x040300]
23490         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23491         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23492         Likewise.
23493         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23494         Likewise.
23495         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23496         Likewise.
23497         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23498         Likewise.
23499         [__LINUX_KERNEL_VERSION >= 0x040300]
23500         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23501         [__LINUX_KERNEL_VERSION >= 0x040300]
23502         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23503         [__LINUX_KERNEL_VERSION >= 0x040300]
23504         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23505         [__LINUX_KERNEL_VERSION >= 0x040300]
23506         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23507         [__LINUX_KERNEL_VERSION >= 0x040300]
23508         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23509         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23510         Likewise.
23511         [__LINUX_KERNEL_VERSION >= 0x040300]
23512         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23513         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23514         Likewise.
23515         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23516         Likewise.
23517         [__LINUX_KERNEL_VERSION >= 0x040300]
23518         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23519         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23520         Likewise.
23521         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23522         Likewise.
23523         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23524         (__ASSUME_SOCKET_SYSCALL): Likewise.
23525         (__ASSUME_BIND_SYSCALL): Likewise.
23526         (__ASSUME_CONNECT_SYSCALL): Likewise.
23527         (__ASSUME_LISTEN_SYSCALL): Likewise.
23528         (__ASSUME_ACCEPT_SYSCALL): Likewise.
23529         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23530         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23531         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23532         (__ASSUME_SEND_SYSCALL): Likewise.
23533         (__ASSUME_SENDTO_SYSCALL): Likewise.
23534         (__ASSUME_RECV_SYSCALL): Likewise.
23535         (__ASSUME_RECVFROM_SYSCALL): Likewise.
23536         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
23537         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23538         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23539         (__ASSUME_SENDMSG_SYSCALL): Likewise.
23540         (__ASSUME_RECVMSG_SYSCALL): Likewise.
23541         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23542         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
23543         Likewise.
23544         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
23545         Likewise.
23546         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
23547         Likewise.
23548         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
23549         Likewise.
23550         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
23551         Likewise.
23552         [__LINUX_KERNEL_VERSION >= 0x020625]
23553         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23554         [__LINUX_KERNEL_VERSION >= 0x020625]
23555         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23556         [__LINUX_KERNEL_VERSION >= 0x020625]
23557         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23558         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
23559         Likewise.
23560         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
23561         Likewise.
23562         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
23563         Likewise.
23564         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
23565         Likewise.
23566         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
23567         Likewise.
23568         [__LINUX_KERNEL_VERSION >= 0x020625]
23569         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23570         [__LINUX_KERNEL_VERSION >= 0x020625]
23571         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23572         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
23573         Likewise.
23574         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
23575         Likewise.
23577 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
23579         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
23580         record the current if the current ABI and CPU support the FP64
23581         extension.
23582         (has-modd-spreg): Define to record the current if the current ABI and
23583         CPU support 32-bit floating point values in odd FPU registers.
23584         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23585         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
23586         $(has-modd-spreg) equals yes.
23587         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
23588         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
23589         $(has-modd-spreg) equal yes.
23591 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
23593         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
23594         basename.
23596 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
23598         * benchtests/Makefile (bench-math): Move ffs and ffsll...
23599         (bench-string): ... here.
23600         (bench): Add bench-string.
23601         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
23602         to *-benchset to reflect what they are.
23603         (benchset): Adjust.
23605         * benchtests/sincos-inputs: Add inputs from sin-inputs and
23606         cos-inputs.
23608 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
23610         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
23611         __attribute__ ((__simd__)) for vector math function declarations.
23613 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23615         Fix typo in strncat, wcsncat manual entries
23616         * manual/string.texi (Copying and Concatenation): Fix typos in
23617         sample implementations of strncat and wcsncat, by having them use
23618         the old value of the destination length, not the new one.
23620 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
23622         [BZ #16961]
23623         [BZ #16962]
23624         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
23625         string on the stack for strtod.
23626         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
23627         a string on the stack for strtof.
23628         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
23629         constructing a string on the stack for strtold.
23630         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
23631         __strtold_nan to GLIBC_PRIVATE.
23632         * math/test-nan-overflow.c: New file.
23633         * math/test-nan-payload.c: Likewise.
23634         * math/Makefile (tests): Add test-nan-overflow and
23635         test-nan-payload.
23637 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23639         Consistency about byte vs character in string.texi
23640         * manual/string.texi (String and Array Utilities):
23641         Distinguish more carefully among bytes, multibyte characters,
23642         and wide characters.  Use "byte" when talking about C 'char',
23643         to distinguish it more clearly from multibyte characters.
23644         Say "wide character" or "multibyte character" instead of
23645         "character", when a wide or multibyte character is intended.
23646         Similarly for "multibyte string" versus "string".
23647         Define these terms more carefully.
23649 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
23651         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
23652         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
23653         Likewise.
23654         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
23655         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
23656         * sysdeps/sh/math_private.h: New file.
23657         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
23658         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
23659         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
23660         long double function name.
23661         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23662         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23663         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23664         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23665         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23667         Remove __finitel, __isinfl, and __isnanl.
23668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23669         Likewise.
23670         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23672         Remove __finitel.
23673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23674         Likewise.
23675         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23677 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
23679         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
23680         installed libmvec_nonshared.a.
23682 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23684         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
23685         (sysdep_routines): Likewise.
23686         (sysdep-rtld-routines): Likewise.
23687         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
23688         [$(subdir) = nptl](tests-static): test-get_hwcap-static
23689         * sysdeps/powerpc/Versions: Added new
23690         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
23691         * sysdeps/powerpc/hwcapinfo.c: New file.
23692         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
23693         and parse hwcap, hwcap2 and platform number information.
23694         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
23695         to store HWCAP+HWCAP2 and platform number.
23696         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
23697         for HWCAP+HWCAP2 and platform number in the TCB.
23698         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
23699         the HWCAP, HWCAP2 and platform number in the TCB.
23700         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
23701         (TLS_INIT_TP): Included calls to add the hwcap and
23702         at_platform values in the TCB in TP initialization.
23703         (TLS_DEFINE_INIT_TP): Likewise.
23704         (THREAD_GET_HWCAP): New macro.
23705         (THREAD_SET_HWCAP): Likewise.
23706         (THREAD_GET_AT_PLATFORM): Likewise.
23707         (THREAD_SET_AT_PLATFORM): Likewise.
23708         * sysdeps/powerpc/powerpc32/dl-machine.h:
23709         (dl_platform_init): New function that calls
23710         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
23711         powerpc32.
23712         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
23713         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
23714         this functionality, static linking case.
23715         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
23716         linking case.
23717         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
23718         __parse_hwcap_and_convert_at_platform for the static linking case.
23719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
23720         Included the new __parse_hwcap_and_convert_at_platform symbol in the
23721         ABI list for GLIBC 2.23.
23722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
23723         Likewise.
23724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
23725         Likewise.
23727 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
23729         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
23730         * configure: Regenerate.
23731         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
23732         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
23734 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
23736         * iconvdata/ibm930.c: Add comment explaining encoding uses.
23737         * iconvdata/ibm933.c: Likewise.
23738         * iconvdata/ibm935.c: Likewise.
23739         * iconvdata/ibm937.c: Likewise.
23740         * iconvdata/ibm939.c: Likewise.
23742 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23744         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
23745         pthread_join.
23746         * nptl/tst-cancel21.c (tf): Likewise.
23748 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
23750         [BZ #19313]
23751         * bits/typesizes.h (__CPU_MASK_TYPE): New.
23752         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
23753         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
23754         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
23755         Likewise.
23756         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
23757         Likewise.
23758         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
23759         Likewise.
23760         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
23761         Likewise.
23762         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
23763         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
23764         unsigned long int with __CPU_MASK_TYPE.
23766 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23768         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23770 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
23772         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
23773         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
23774         t512.x.
23775         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
23777 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
23779         [BZ #19214]
23780         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
23781         argument to return extended model.  Update family and model
23782         with extended family and model when family == 0x0f.
23783         (init_cpu_features): Updated.
23785 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23787         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
23788         signed off_t, so 32bit bigger than 2GiB values are fine actually.
23790         * sysdeps/mach/hurd/mmap64.c: New file.
23792 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
23794         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
23795         rights for its main user thread in NEWTASK.
23797 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
23799         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
23800         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
23802 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
23804         [BZ #14259]
23805         * Makeconfig: Rename localedir to complocaledir.
23806         Rename inst_localedir to inst_complocaledir.
23807         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
23808         * config.make.in: Use complocaledir and libc_cv_complocaledir.
23809         * configure.ac: Use libc_cv_complocaledir.
23810         * configure: Regenerate.
23811         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
23812         -DCOMPLOCALEDIR.
23813         * locale/findlocale.c: Use COMPLOCALEDIR.
23814         * locale/loadarchive.c: Likewise.
23815         * locale/programs/locale.c: Likewise.
23816         * locale/programs/localedef.c: Likewise.
23817         * locale/programs/locarchive.c: Likewise.
23818         * localedata/Makefile: Use inst_complocaledir.
23819         * sysdeps/gnu/configure: Regenerate.
23820         * sysdeps/hppa/configure: Regenerate.
23821         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23822         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23824         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23825         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23826         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23827         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23829 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
23831         [BZ #19058]
23832         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
23833         AS_NEEDED.
23834         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
23835         workaround.
23836         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
23837         libmvec-static-only-routines): Added new file.
23838         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
23840 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23842         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
23843         of interrupted RPC instead of restoring it.
23845         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
23846         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
23847         libc_hidden_def.
23848         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
23849         into initialized data instead of common. Define rtld_hidden_data_def.
23850         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
23851         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
23852         libc_hidden_def.
23853         (if_freenameindex): Add libc_hidden_weak.
23854         (if_nameindex): Add libc_hidden_weak.
23855         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
23856         __open64.
23857         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
23858         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
23859         * sysdeps/mach/nanosleep.c: Include <time.h>
23860         (__nanosleep): Rename to __libc_nanosleep.
23861         (__nanosleep): Add weak_alias.
23862         (nanosleep): Update alias.
23864 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
23866         * stdlib/strtod_nan.c: New file.
23867         * stdlib/strtod_nan_double.h: Likewise.
23868         * stdlib/strtod_nan_float.h: Likewise.
23869         * stdlib/strtod_nan_main.c: Likewise.
23870         * stdlib/strtod_nan_narrow.h: Likewise.
23871         * stdlib/strtod_nan_wide.h: Likewise.
23872         * stdlib/strtof_nan.c: Likewise.
23873         * stdlib/strtold_nan.c: Likewise.
23874         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
23875         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
23876         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
23877         * wcsmbs/wcstod_nan.c: Likewise.
23878         * wcsmbs/wcstof_nan.c: Likewise.
23879         * wcsmbs/wcstold_nan.c: Likewise.
23880         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
23881         strtold_nan.
23882         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
23883         wcstof_nan.
23884         * include/stdlib.h (__strtof_nan): Declare and use
23885         libc_hidden_proto.
23886         (__strtod_nan): Likewise.
23887         (__strtold_nan): Likewise.
23888         (__wcstof_nan): Likewise.
23889         (__wcstod_nan): Likewise.
23890         (__wcstold_nan): Likewise.
23891         * include/wchar.h (____wcstoull_l_internal): Declare.
23892         * stdlib/strtod_l.c: Do not include <ieee754.h>.
23893         (____strtoull_l_internal): Remove declaration.
23894         (STRTOF_NAN): Define macro.
23895         (SET_MANTISSA): Remove macro.
23896         (STRTOULL): Likewise.
23897         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
23898         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
23899         (STRTOF_NAN): Define macro.
23900         (SET_MANTISSA): Remove macro.
23901         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
23902         (SET_MANTISSA): Remove macro.
23903         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
23904         macro.
23905         (SET_MANTISSA): Remove macro.
23906         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
23907         macro.
23908         (SET_MANTISSA): Remove macro.
23909         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
23910         (SET_MANTISSA): Remove macro.
23911         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
23912         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
23913         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
23915         [BZ #19266]
23916         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
23917         upper case and lower case letters inside NAN(), not using TOLOWER.
23918         * stdlib/tst-strtod-nan-locale-main.c: New file.
23919         * stdlib/tst-strtod-nan-locale.c: Likewise.
23920         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
23921         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
23922         Depend on $(gen-locales).
23923         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
23924         * wcsmbs/tst-wcstod-nan-locale.c: New file.
23925         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
23926         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
23927         Depend on $(gen-locales).
23928         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
23930 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
23932         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
23934         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
23936         __finitel, __isinfl, and __isnanl.
23937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23938         Likewise.
23939         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
23941         __finitel.
23942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23943         Likewise.
23944         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23946 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23948         * malloc/memusage.c (me): Remove redundant getenv call.
23950 2015-10-24  Florian Weimer  <fweimer@redhat.com>
23952         [BZ #19143]
23953         [BZ #19164]
23954         * nptl/check-cpuset.h: Remove.
23955         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23956         Remove CPU set size check.
23957         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23958         Likewise.
23959         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
23960         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23961         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
23962         (__pthread_setaffinity_new): Remove CPU set size check.
23963         * sysdeps/unix/sysv/linux/sched_setaffinity.c
23964         (__kernel_cpumask_size): Remove.
23965         (__sched_setaffinity_new): Remove CPU set size check.
23966         * manual/threads.texi (Default Thread Attributes): Remove stale
23967         reference to check_cpuset_attr, determine_cpumask_size in comment.
23968         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
23969         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
23970         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
23971         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
23972         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
23973         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
23974         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
23975         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
23976         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
23977         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
23978         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
23979         skeleton test file.
23980         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
23981         tst-affinity-pid.
23983 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23985         * scripts/update-abilist.sh: New file.
23986         * Makefile (+subdir_targets): Add subdir_update-all-abi.
23987         * Makerules (update-all-abi-%, update-all-abi)
23988         (subdir_update-all-abi): New targets.
23989         * elf/Makefile (update-all-abi): New target.
23991 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23993         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
23994         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
23995         (__libc_lock_define_initialized): Use it.
23996         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
23997         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
23998         * malloc/malloc.c (main_arena): Likewise.
23999         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24000         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24002 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
24004         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24005         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
24006         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24007         (PTRACE_O_MASK): Update value.
24008         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
24009         New value in enum __ptrace_setoptions.
24010         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24011         (PTRACE_O_MASK): Update value.
24012         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24013         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24014         (PTRACE_O_MASK): Update value.
24015         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
24016         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24017         (PTRACE_O_MASK): Update value.
24018         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
24019         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24020         (PTRACE_O_MASK): Update value.
24021         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
24022         New value in enum __ptrace_setoptions.
24023         (PTRACE_O_MASK): Update value.
24024         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
24025         New value in enum __ptrace_setoptions.
24026         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24027         (PTRACE_O_MASK): Update value.
24029         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
24030         New macro.
24031         (PACKET_AUXDATA): Likewise.
24032         (PACKET_ORIGDEV): Likewise.
24033         (PACKET_VERSION): Likewise.
24034         (PACKET_HDRLEN): Likewise.
24035         (PACKET_RESERVE): Likewise.
24036         (PACKET_TX_RING): Likewise.
24037         (PACKET_LOSS): Likewise.
24038         (PACKET_VNET_HDR): Likewise.
24039         (PACKET_TX_TIMESTAMP): Likewise.
24040         (PACKET_TIMESTAMP): Likewise.
24041         (PACKET_FANOUT): Likewise.
24042         (PACKET_TX_HAS_OFF): Likewise.
24043         (PACKET_QDISC_BYPASS): Likewise.
24044         (PACKET_ROLLOVER_STATS): Likewise.
24045         (PACKET_FANOUT_DATA): Likewise.
24046         (PACKET_MR_UNICAST): Likewise.
24048         [BZ #19242]
24049         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
24050         (TOUPPER): Likewise.
24051         * stdlib/tst-strtol-locale-main.c: New file.
24052         * stdlib/tst-strtol-locale.c: Likewise.
24053         * stdlib/Makefile (tests): Add tst-strtol-locale.
24054         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
24055         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
24056         Depend on $(gen-locales).
24057         * wcsmbs/tst-wcstol-locale.c: New file.
24058         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
24059         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
24060         tr_TR.ISO-8859-9.
24061         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
24062         Depend on $(gen-locales).
24064 2015-11-20  Roland McGrath  <roland@hack.frob.com>
24066         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
24067         __glibc_likely instead of __builtin_expect.  After falling back to
24068         dyncode_create in a non-ET_DYN case, use the allocate_code_data
24069         system interface to register the code pages as occupied.
24071 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
24073         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24074         [!ARM_MATH_PRIVATE_H].
24075         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
24076         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24077         [!HPPA_MATH_PRIVATE_H].
24078         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
24079         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
24080         to [!I386_MATH_PRIVATE_H].
24081         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
24082         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
24083         Change guard to [!M68K_MATH_PRIVATE_H].
24084         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
24085         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
24086         guard to [!MICROBLAZE_MATH_PRIVATE_H].
24087         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
24088         macro.
24089         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24090         [!MIPS_MATH_PRIVATE_H].
24091         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
24092         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24093         [!NIO2_MATH_PRIVATE_H].
24094         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
24095         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24096         [!TILE_MATH_PRIVATE_H].
24097         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
24099         [BZ #15421]
24100         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
24101         initialize with 0 and define as weak alias of __signgam.
24102         * include/math.h [!_ISOMAC] (__signgam): Declare.
24103         * math/Makefile (libm-calls): Add w_lgamma_compat.
24104         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
24105         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
24106         test-signgam-ullong-init.
24107         (tests-static): Add test-signgam-uchar-static,
24108         test-signgam-uchar-init-static, test-signgam-uint-static,
24109         test-signgam-uint-init-static, test-signgam-ullong-static and
24110         test-signgam-ullong-init-static.
24111         (CFLAGS-test-signgam-uchar.c): New variable.
24112         (CFLAGS-test-signgam-uchar-init.c): Likewise.
24113         (CFLAGS-test-signgam-uchar-static.c): Likewise.
24114         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24115         (CFLAGS-test-signgam-uint.c): Likewise.
24116         (CFLAGS-test-signgam-uint-init.c): Likewise.
24117         (CFLAGS-test-signgam-uint-static.c): Likewise.
24118         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24119         (CFLAGS-test-signgam-ullong.c): Likewise.
24120         (CFLAGS-test-signgam-ullong-init.c): Likewise.
24121         (CFLAGS-test-signgam-ullong-static.c): Likewise.
24122         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24123         * math/Versions (libm): Add GLIBC_2.23.
24124         * math/lgamma-compat.h: New file.
24125         * math/test-signgam-main.c: Likewise.
24126         * math/test-signgam-uchar-init-static.c: Likewise.
24127         * math/test-signgam-uchar-init.c: Likewise.
24128         * math/test-signgam-uchar-static.c: Likewise.
24129         * math/test-signgam-uchar.c: Likewise.
24130         * math/test-signgam-uint-init-static.c: Likewise.
24131         * math/test-signgam-uint-init.c: Likewise.
24132         * math/test-signgam-uint-static.c: Likewise.
24133         * math/test-signgam-uint.c: Likewise.
24134         * math/test-signgam-ullong-init-static.c: Likewise.
24135         * math/test-signgam-ullong-init.c: Likewise.
24136         * math/test-signgam-ullong-static.c: Likewise.
24137         * math/test-signgam-ullong.c: Likewise.
24138         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
24139         wrapper of w_lgamma_main.c.
24140         * math/w_lgamma_compat.c: New file.
24141         * math/w_lgamma_compatf.c: Likewise.
24142         * math/w_lgamma_compatl.c: Likewise.
24143         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
24144         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24145         defining compatibility symbols.
24146         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
24147         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
24148         wrapper of w_lgammaf_main.c.
24149         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
24150         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24151         defining compatibility symbols.
24152         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
24153         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
24154         wrapper of w_lgammal_main.c.
24155         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
24156         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24157         defining compatibility symbols.
24158         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
24159         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
24160         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
24161         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
24162         <lgamma-compat.h>.
24163         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
24164         (__ieee754_gamma): Define as alias.
24165         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
24166         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
24167         <lgamma-compat.h>.
24168         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
24169         (__ieee754_gammaf): Define as alias.
24170         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
24171         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
24172         <lgamma-compat.h>.
24173         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
24174         (__ieee754_gammal): Define as alias.
24175         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
24176         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
24177         <math/w_lgamma_compat.c>.
24178         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
24179         Define as alias of __lgamma_compat and use in defining lgammal.
24180         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
24181         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
24182         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
24183         (USE_AS_COMPAT): New macro.
24184         (LGAMMA_OLD_VER): Undefine and redefine.
24185         (lgammal): Do not define here.
24186         (gammal): Only define here if [GAMMA_ALIAS].
24187         * conform/linknamespace.pl (@whitelist): Remove signgam.
24188         * sysdeps/nacl/libm.abilist: Update.
24189         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24190         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24191         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24192         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24193         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24194         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24195         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24196         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24197         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24198         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24199         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24200         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24202         Likewise.
24203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24204         Likewise.
24205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24206         Likewise.
24207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24208         Likewise.
24209         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24210         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24211         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24212         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24213         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24215         Likewise.
24216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24217         Likewise.
24218         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24219         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24220         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24222 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24224         [BZ #16364]
24225         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
24226         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
24228 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24230         * sysdeps/s390/fpu/bits/mathinline.h:
24231         Use __asm__ [__volatile__] instead of asm [volatile].
24232         * sysdeps/s390/abort-instr.h: Likewise.
24233         * sysdeps/s390/atomic-machine.h: Likewise.
24234         * sysdeps/s390/bits/string.h: Likewise.
24235         * sysdeps/s390/dl-tls.h: Likewise.
24236         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24237         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24238         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24239         * sysdeps/s390/fpu/fesetround.c: Likewise.
24240         * sysdeps/s390/fpu/fpu_control.h: Likewise.
24241         * sysdeps/s390/fpu/s_fma.c: Likewise.
24242         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
24243         * sysdeps/s390/memusage.h: Likewise.
24244         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
24245         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
24246         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
24247         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
24248         * sysdeps/s390/nptl/tls.h: Likewise.
24249         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
24250         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24251         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24252         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
24253         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24254         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24255         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
24256         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24257         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24258         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
24259         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
24260         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24261         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24262         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
24263         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24264         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24265         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
24266         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
24267         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
24268         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24269         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
24270         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24271         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
24273 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24274             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24276         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24277         Add lwarx hint, and use macro for acquire instruction.
24278         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24279         Likewise.
24280         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
24281         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
24282         update to use new atomic macros.
24284 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24286         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24287         (__lll_trylock_elision): Fix setting of adapt_count.
24288         * sysdeps/unix/sysv/linux/powerpc/htm.h
24289         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
24290         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
24291         (_ABORT_SYSCALL): Renumber, and clarify definition.
24292         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
24294 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24296         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
24297         after system headers to prevent MIN/MAX redefinition.  Define
24298         HAVE_ALLOCA to preserve builtin alloca usage.
24300 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
24302         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
24303         static and don't set or restore rounding.
24304         (__cos)[IN_SINCOS]: Likewise.
24305         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
24306         (__sincos): Set and restore rounding mode.  Remove check for infinite
24307         or NaN input.
24309         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
24311         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
24312         as used.
24314 2015-11-16  Florian Weimer  <fweimer@redhat.com>
24316         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
24318 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24320         * config.make.in (have-glob-dat-reloc): New.
24321         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
24322         target supports GLOB_DAT relocaton. AC_SUBST.
24323         * configure: Regenerated.
24324         * elf/Makefile (tests): Add tst-prelink.
24325         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24326         (tst-prelink-ENV): New.
24327         ($(objpfx)tst-prelink-conflict.out): Likewise.
24328         ($(objpfx)tst-prelink-cmp.out): Likewise.
24329         * sysdeps/x86/tst-prelink.c: Moved to ...
24330         * elf/tst-prelink.c: Here.
24331         * sysdeps/x86/tst-prelink.exp: Moved to ...
24332         * elf/tst-prelink.exp: Here.
24333         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
24334         (tst-prelink-ENV): Removed.
24335         ($(objpfx)tst-prelink-conflict.out): Likewise.
24336         ($(objpfx)tst-prelink-cmp.out): Likewise.
24337         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
24339 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
24341         [BZ #14551]
24342         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
24343         (__mpn_construct_long_double): If high part overflows to infinity,
24344         set errno and recompute overflowed result of the correct sign.
24345         * sysdeps/ieee754/ldbl-128ibm/Makefile
24346         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
24347         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
24348         $(libm).
24349         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
24351 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
24353         [BZ #15479]
24354         [BZ #19238]
24355         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
24356         floating-point state after first operation on input.  Restore full
24357         state rather than just rounding mode.
24358         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
24359         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
24360         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
24362         [BZ #19235]
24363         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
24364         add 0.5 to integer arguments.
24365         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
24366         Likewise.
24367         (.LC2): New object.
24369 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
24371         * scripts/pylintrc (reports): Set to no.
24373 2015-11-10  Roland McGrath  <roland@hack.frob.com>
24375         * elf/dl-load.c (open_verify): Take new argument FD.
24376         Skip __open call if passed FD is not -1.
24377         (_dl_map_object, open_path): Update callers.
24378         * elf/dl-sysdep-open.h: New file.
24379         * elf/dl-load.c: Include it.
24380         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
24381         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
24382         * sysdeps/nacl/dl-sysdep-open.h: New file.
24383         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
24384         from libc to rtld.
24386 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24388         [BZ #19228]
24389         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
24390         and restore full floating-point state.
24391         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24392         Likewise.
24393         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
24394         Likewise.
24395         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
24396         Likewise.
24397         * math/test-nearbyint-except-2.c: New file.
24398         * math/Makefile (tests): Add test-nearbyint-except-2.
24400 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
24402         [BZ #19178]
24403         * sysdeps/x86/Makefile (tests): Add tst-prelink.
24404         (tst-prelink-ENV): New.
24405         ($(objpfx)tst-prelink-conflict.out): Likewise.
24406         ($(objpfx)tst-prelink-cmp.out): Likewise.
24407         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24408         * sysdeps/x86/tst-prelink.c: New file.
24409         * sysdeps/x86/tst-prelink.exp: Likewise.
24411 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24413         * math/auto-libm-test-in: Add another test of pow.
24414         * math/auto-libm-test-out: Regenerated.
24415         * math/libm-test.inc (pow_test_data): Add another test.
24417 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24419         [BZ #19219]
24420         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
24421         weak_alias to nearbyintl.
24423 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
24425         * sysdeps/aarch64/bits/string.h: New file.
24426         (_STRING_ARCH_unaligned): Define.
24428 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
24430         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
24431         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24432         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24433         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
24434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
24436 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
24438         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
24439         for original name of the DSO.  Add it to the name list of the DSO
24440         if it is actually given.
24441         (_dl_map_object): Keep track of whether an audit module rewrote
24442         the file name.  If yes, pass the original name to
24443         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
24444         debugging is enabled, log the change of the file name.
24445         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
24446         _dl_map_object_from_fd.
24447         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
24448         * elf/tst-audit11.c: New file
24449         * elf/tst-auditmod11.c: New file.
24450         * elf/tst-audit11mod1.c: New file.
24451         * elf/tst-audit11mod2.c: New file.
24452         * elf/tst-audit11mod2.map: New file.
24453         * elf/tst-audit12.c: New file
24454         * elf/tst-auditmod12.c: New file.
24455         * elf/tst-audit12mod1.c: New file.
24456         * elf/tst-audit12mod2.c: New file.
24457         * elf/tst-audit12mod2.map: New file.
24458         * elf/tst-audit12mod3.c: New file.
24460 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
24462         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
24463         Don't create weak aliases,
24464         because versioned symbols are created later.
24465         * sysdeps/s390/s390-32/setjmp.S
24466         (setjmp, _setjmp): Remove weak and rename to an unique name
24467         in SHARED case due to existing versioned symbols.
24468         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24469         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
24470         (getcontext): Create weak alias only in non SHARED case.
24471         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24473 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
24475         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
24476         (__ASSUME_*_SYSCALL) Define new macros.
24477         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
24478         Remove socketcall syscalls.
24479         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
24480         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
24481         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
24482         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
24483         * sysdeps/unix/sysv/linux/send.c (__libc_send):
24484         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
24486 2015-11-09  Florian Weimer  <fweimer@redhat.com>
24488         [BZ #12926]
24489         Terminate process on invalid netlink response.
24490         * sysdeps/unix/sysv/linux/netlinkaccess.h
24491         (__netlink_assert_response): Declare.
24492         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
24493         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
24494         (sysdep_routines): Add netlink_assert_response.
24495         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
24496         __netlink_assert_response.
24497         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
24498         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
24499         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
24500         __netlink_assert_response.
24502 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24504         [BZ #19178]
24505         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
24506         (RTYPE_CLASS_PLT): Likewise.
24507         (RTYPE_CLASS_COPY): Likewise.
24508         (RTYPE_CLASS_TLS): Likewise.
24509         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
24510         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
24511         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
24512         DL_DEBUG_PRELINK.
24514 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
24516         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
24517         calls with argument -0.5.
24518         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
24520         * configure.ac (libc_cv_z_nodelete): Remove configure test.
24521         (libc_cv_z_nodlopen): Likewise.
24522         (libc_cv_z_initfirst): Likewise.
24523         * configure: Regenerated.
24525 2015-11-06  Florian Weimer  <fweimer@redhat.com>
24527         Simplify abilist format to be line-based.
24528         * scripts/abilist.awk: Collect descriptors in the descs variable.
24529         (emit): Write descs variable and sort it
24530         externally, with sort.
24531         * sysdeps/**/*.abilist: Convert to new format.
24533 2015-11-06  Mark Wielaard  <mjw@redhat.com>
24535         [BZ #11460]
24536         * io/Makefile (routines): Add fts64.
24537         (tests): Add tst-fts and tst-fts-lfs.
24538         (CFLAGS-fts64.c): New.
24539         * io/Versions (GLIBC_2.23): New.
24540         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
24541         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
24542         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
24543         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
24544         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
24545         (FTSENT64): Likewise.
24546         (fts64_children): Likewise.
24547         (fts64_close): Likewise.
24548         (fts64_open): Likewise.
24549         (fts64_read): Likewise.
24550         (fts64_set): Likewise.
24551         * io/fts64.c: New file.
24552         * io/tst-fts.c: New test.
24553         * io/tst-fts-lfs.c: Likewise.
24554         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
24555         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
24556         fts64_set.
24557         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24558         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24559         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24560         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24561         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24562         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24563         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24564         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24565         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24566         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
24567         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24568         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24569         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24571         Likewise.
24572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24573         Likewise.
24574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
24575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
24576         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24577         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24578         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24579         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24580         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
24582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
24583         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24584         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24585         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24586         * sysdeps/wordsize-64/fts.c: New file.
24587         * sysdeps/wordsize-64/fts64.c: Likewise.
24588         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
24589         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
24590         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
24591         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
24593 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
24595         * math/libm-test.inc (NON_FINITE): New macro.
24596         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
24597         * math/gen-libm-test.pl (show_exceptions): Add argument
24598         $non_finite.
24599         (parse_args): Update call to show_exceptions.
24600         * math/test-math-finite.h: New file.
24601         * math/test-math-no-finite.h: Likewise.
24602         * math/test-double-finite.c: Likewise.
24603         * math/test-float-finite.c: Likewise.
24604         * math/test-ldouble-finite.c: Likewise.
24605         * math/test-double.c: Include "test-math-no-finite.h".
24606         * math/test-float.c: Include "test-math-no-finite.h".
24607         * math/test-ldouble.c: Include "test-math-no-finite.h".
24608         * math/test-math-inline.h (TEST_FINITE): New macro.
24609         * math/test-math-vector.h (TEST_FINITE): Likewise.
24610         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
24611         (libm-tests): Add test-float-finite and test-double-finite.
24612         ($(objpfx)test-float-finite.o): New dependency on
24613         $(objpfx)libm-test.stmp.
24614         ($(objpfx)test-double-finite.o): Likewise.
24615         ($(objpfx)test-ldouble-finite.o): Likewise.
24616         (libm-test-no-inline-cflags): New variable.
24617         (libm-test-finite-cflags): Likewise.
24618         (CFLAGS-test-float-finite.c): Likewise.
24619         (CFLAGS-test-double-finite.c): Likewise.
24620         (CFLAGS-test-ldouble-finite.c): Likewise.
24621         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
24622         (CFLAGS-test-double.c): Likewise.
24623         (CFLAGS-test-ldouble.c): Likewise.
24625 2015-11-05  Roland McGrath  <roland@hack.frob.com>
24627         * io/fcntl.c (__fcntl): Add ... to prototype.
24628         * misc/ioctl.c (__ioctl): Likewise.
24629         * misc/syscall.c (syscall): Likewise.
24631 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
24633         * scripts/list-fixed-bugs.py: New file.
24635         [BZ #19213]
24636         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
24637         returned for argument 1.
24638         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
24639         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
24640         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
24641         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
24642         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
24643         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
24645         [BZ #19211]
24646         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
24647         __USE_XOPEN], not if [!__USE_ISOC99].
24648         (lgammaf): Likewise.
24649         (lgammal): Likewise.
24650         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
24651         (gammaf): Likewise.
24652         (gammal): Likewise.
24653         * math/test-signgam-finite-c11.c: New file.
24654         * math/test-signgam-finite-c99.c: Likewise.
24655         * math/test-signgam-finite.c: Likewise.
24656         * math/Makefile (tests): Add test-signgam-finite,
24657         test-signgam-finite-c99 and test-signgam-finite-c11.
24658         (CFLAGS-test-signgam-finite.c): New variable.
24659         (CFLAGS-test-signgam-finite-c99.c): Likewise.
24660         (CFLAGS-test-signgam-finite-c11.c): Likewise.
24662         [BZ #19212]
24663         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
24664         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
24665         500].
24666         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
24667         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
24668         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
24669         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
24670         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
24671         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
24672         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
24673         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
24674         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
24675         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
24677         [BZ #19209]
24678         * math/bits/math-finite.h (ldexp): Remove declaration.
24679         (ldexpf): Likewise.
24680         (ldexpl): Likewise.
24682         [BZ #19205]
24683         * math/bits/math-finite.h (acosf): Condition declaration on
24684         [__USE_ISOC99].
24685         (acosl): Likewise.
24686         (acoshf): Likewise.
24687         (acoshl): Likewise.
24688         (asinf): Likewise.
24689         (asinl): Likewise.
24690         (atan2f): Likewise.
24691         (atan2l): Likewise.
24692         (atanhf): Likewise.
24693         (atanhl): Likewise.
24694         (coshf): Likewise.
24695         (coshl): Likewise.
24696         (expf): Likewise.
24697         (expl): Likewise.
24698         (fmodf): Likewise.
24699         (fmodl): Likewise.
24700         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
24701         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
24702         (j0l): Likewise.
24703         (y0f): Likewise.
24704         (y0l): Likewise.
24705         (j1f): Likewise.
24706         (j1l): Likewise.
24707         (y1f): Likewise.
24708         (y1l): Likewise.
24709         (jnf): Likewise.
24710         (jnl): Likewise.
24711         (ynf): Likewise.
24712         (ynl): Likewise.
24713         (lgammaf_r): Condition declaration on [__USE_ISOC99].
24714         (lgammal_r): Likewise.
24715         (__lgamma_r_finite): New declaration.
24716         (__lgammaf_r_finite): Likewise.
24717         (__lgammal_r_finite): Likewise.
24718         (lgamma): Use __lgamma_r_finite.
24719         (lgammaf): Condition definition on [__USE_ISOC99].  Use
24720         __lgammaf_r_finite.
24721         (lgammal): Condition definition on [__USE_ISOC99].  Use
24722         __lgammal_r_finite.
24723         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
24724         __lgamma_r_finite.
24725         (gammaf): Condition definition on [__USE_ISOC99].  Use
24726         __lgammaf_r_finite.
24727         (gammal): Condition definition on [__USE_ISOC99].  Use
24728         __lgammal_r_finite.
24729         (logf): Condition declaration on [__USE_ISOC99].
24730         (logl): Likewise.
24731         (log10f): Likewise.
24732         (log10l): Likewise.
24733         (ldexpf): Likewise.
24734         (ldexpl): Likewise.
24735         (powf): Likewise.
24736         (powl): Likewise.
24737         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
24738         __USE_ISOC99].
24739         (remainderf): Condition declaration on [__USE_ISOC99].
24740         (remainderl): Likewise.
24741         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
24742         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
24743         (scalbl): Likewise.
24744         (sinhf): Condition declaration on [__USE_ISOC99].
24745         (sinhl): Likewise.
24746         (sqrtf): Likewise.
24747         (sqrtl): Likewise.
24749 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
24751         * sysdeps/arm/atomic-machine.h
24752         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
24753         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
24754         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
24755         Remove conditional code.
24756         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
24757         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
24758         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
24759         Change conditional to [__ASSEMBLER__].
24760         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
24761         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
24762         [!__ASSEMBLER__].
24763         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
24764         code.
24765         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
24766         conditional macro definitions.
24767         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
24768         (__arch_compare_and_exchange_val_16_acq): Likewise.
24769         (__arch_compare_and_exchange_val_32_acq): Likewise.
24770         (atomic_exchange_and_add): Likewise.
24771         (atomic_add): Likewise.
24772         (atomic_add_negative): Likewise.
24773         (atomic_add_zero): Likewise.
24774         (atomic_bit_set): Likewise.
24775         (atomic_bit_test_set): Likewise.
24776         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
24777         code unconditional.
24778         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24780         * math/test-math-errno.h: New file.
24781         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
24782         empty.
24783         (TEST_ERRNO): New macro.
24784         (TEST_EXCEPTIONS): Likewise.
24785         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
24786         (TEST_EXCEPTIONS): Likewise.
24787         * math/test-math-vector.h (TEST_ERRNO): Likewise.
24788         * math/test-double.c: Include "test-math-errno.h".
24789         * math/test-float.c: Likewise.
24790         * math/test-ldouble.c: Likewise.
24791         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
24792         code unconditional.
24793         (test_exceptions): Only run code if TEST_EXCEPTIONS.
24794         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
24795         unconditional.
24796         (test_errno): Only run code if TEST_ERRNO.
24797         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
24799 2015-11-04  Florian Weimer  <fweimer@redhat.com>
24801         * nptl/tst-once5.cc: Remove attribution.
24803 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
24805         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
24806         sqrt, tan, tanh, y0, y1 and yn.
24807         * math/auto-libm-test-out: Regenerated.
24808         * math/libm-test.inc (scalb_test_data): Add more tests.
24809         (scalbn_test_data): Likewise.
24810         (scalbln_test_data): Likewise.
24811         (signbit_test_data): Likewise.
24812         (sin_test_data): Likewise.
24813         (sincos_test_data): Likewise.
24814         (sinh_test_data): Likewise.
24815         (sqrt_test_data): Likewise.
24816         (tan_test_data): Likewise.
24817         (tanh_test_data): Likewise.
24818         (tgamma_test_data): Likewise.
24819         (y0_test_data): Likewise.
24820         (y1_test_data): Likewise.
24821         (yn_test_data): Likewise.
24822         (significand_test_data): Likewise.
24823         * sysdeps/i386/fpu/libm-test-ulps: Update.
24825 2015-11-03  David Kastrup  <dak@gnu.org>
24827         [BZ #18604]
24828         * assert/assert.h (assert): Don't macro-expand failed assertion
24829         expression in error message.
24830         * malloc/malloc.c (assert): Likewise.
24832 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
24834         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
24835         test.
24836         * configure: Regenerated.
24838 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
24840         * math/libm-test.inc (modf_test_data): Add more tests.
24841         (nearbyint_test_data): Likewise.
24842         (nextafter_test_data): Likewise.
24843         (nexttoward_test_data): Likewise.
24844         (pow_test_data): Likewise.
24845         (remainder_test_data): Likewise.
24846         (remquo_test_data): Likewise.
24847         (rint_test_data): Likewise.
24849         [BZ #19201]
24850         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24851         Check for zero remainder in case of large exponents and ensure
24852         correct sign of result in that case.
24853         * math/libm-test.inc (remainder_test_data): Add more tests.
24855         [BZ #6799]
24856         * math/s_nextafter.c: Include <errno.h>.
24857         (__nextafter): Set errno on overflow and underflow.
24858         * math/s_nexttowardf.c: Include <errno.h>.
24859         (__nexttowardf): Set errno on overflow and underflow.
24860         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
24861         (__nextafterl): Set errno on overflow and underflow.
24862         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
24863         (__nexttoward): Set errno on overflow and underflow.
24864         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
24865         (__nexttowardf): Set errno on overflow and underflow.
24866         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
24867         (__nextafterf): Set errno on overflow and underflow.
24868         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
24869         (__nextafterl): Set errno on overflow and underflow.
24870         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
24871         (__nexttoward): Set errno on overflow and underflow.
24872         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
24873         (__nexttowardf): Set errno on overflow and underflow.
24874         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
24875         (__nextafterl): Set errno on overflow and underflow.
24876         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
24877         (__nexttoward): Set errno on overflow and underflow.
24878         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
24879         (__nexttowardf): Set errno on overflow and underflow.
24880         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
24881         (__nexttoward): Set errno on overflow and underflow.
24882         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
24883         (__nexttowardf): Set errno on overflow and underflow.
24884         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
24885         (__nldbl_nexttowardf): Set errno on overflow and underflow.
24886         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
24887         (__nextafterl): Set errno on overflow and underflow.
24888         * math/libm-test.inc (nextafter_test_data): Do not allow errno
24889         setting to be missing on overflow.  Add more tests.
24890         (nexttoward_test_data): Likewise.
24892         * configure.ac (libc_cv_initfini_array): Remove configure test.
24893         * configure: Regenerated.
24895 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
24897         [BZ #19189]
24898         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
24899         non-finite argument handle arguments with negative sign.
24901         * math/libm-test.inc (j0_test_data): Do not test sign of zero
24902         result from infinite argument.
24903         (j1_test_data): Likewise.
24904         (jn_test_data): Likewise.
24905         (y0_test_data): Likewise.
24906         (y1_test_data): Likewise.
24907         (yn_test_data): Likewise.
24909         [BZ #16171]
24910         * math/w_remainder.c (drem): Define as weak alias of __remainder.
24911         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
24912         * math/w_remainderf.c (dremf): Define as weak alias of
24913         __remainderf.
24914         * math/w_remainderl.c (dreml): Define as weak alias of
24915         __remainderl.
24916         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
24917         __remainder.
24918         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
24919         __remainderf.
24920         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
24921         __remainderl.
24922         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
24923         weak alias of remainderl.
24924         * sysdeps/ieee754/ldbl-opt/w_remainder.c
24925         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
24926         alias of __remainder.
24927         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
24928         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
24929         strong alias of __remainderl.
24930         (dreml): Use long_double_symbol.
24931         * math/Makefile (libm-calls): Remove w_drem.
24932         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
24933         (CFLAGS-nldbl-drem.c): Remove variable.
24934         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
24935         * math/w_drem.c: Remove file.
24936         * math/w_dremf.c: Likewise.
24937         * math/w_dreml.c: Likewise.
24938         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
24939         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
24940         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
24942         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
24943         * sysdeps/i386/configure: Regenerated.
24944         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
24945         * sysdeps/x86_64/configure: Regenerated.
24947         * configure.ac (libc_cv_asm_protected_directive): Remove configure
24948         test.
24949         (libc_cv_visibility_attribute): Likewise.
24950         (libc_cv_protected_data): Test unconditionally.
24951         (libc_cv_broken_visibility_attribute): Remove configure test.
24952         (libc_cv_have_sdata_section): Test unconditionally.
24953         * configure: Regenerated.
24955         * include/libc-internal.h (libc_max_align_t): Remove typedef.
24956         * include/scratch_buffer.h: Include <stddef.h> instead of
24957         <libc-internal.h>.
24958         (struct scratch_buffer): Use max_align_t instead of
24959         libc_max_align_t.
24961 2015-10-29  Florian Weimer  <fweimer@redhat.com>
24963         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
24964         instead of extend_alloca.  Change control flow to avoid a goto.
24965         Remove assert which is trivially always true.
24967 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24969         [BZ #16068]
24970         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
24971         (FE_ALL_EXCEPT_X86): New macro.
24972         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24973         FE_ALL_EXCEPT.  Ensure precision control is included in
24974         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24975         handle "denormal operand exception" and clear FZ and DAZ bits.
24976         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
24977         (FE_ALL_EXCEPT_X86): New macro.
24978         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24979         FE_ALL_EXCEPT.  Ensure precision control is included in
24980         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24981         handle "denormal operand exception" and clear FZ and DAZ bits.
24982         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
24983         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
24984         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24985         test-fenv-x87 and test-fenv-sse-2.
24986         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
24988         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
24989         * math/test-double.h (BUILD_COMPLEX): New macro.
24990         * math/test-float.h (BUILD_COMPLEX): Likewise.
24991         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
24993         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
24994         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
24995         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
24996         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
24997         instead of DBL_DENORM_MIN in comment.
24998         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
24999         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25000         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
25001         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
25002         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
25003         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25005 2015-10-28  Florian Weimer  <fweimer@redhat.com>
25007         [BZ #19048]
25008         * malloc/malloc.c (struct malloc_state): Update comment.  Add
25009         attached_threads member.
25010         (main_arena): Initialize attached_threads.
25011         * malloc/arena.c (list_lock): Update comment.
25012         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
25013         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
25014         (deattach_arena): New function.
25015         (_int_new_arena): Initialize arena reference count and deattach
25016         replaced arena.
25017         (get_free_list, reused_arena): Update reference count and deattach
25018         replaced arena.
25019         (arena_thread_freeres): Update arena reference count and only put
25020         unreferenced arenas on the free list.
25022 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25024         [BZ #19181]
25025         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
25026         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
25027         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
25028         * math/test-fenv-clear-main.c: New file.
25029         * math/test-fenv-clear.c: Likewise.
25030         * math/Makefile (tests): Add test-fenv-clear.
25031         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
25032         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25033         test-fenv-clear-sse.
25034         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
25036         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
25037         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
25038         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
25040 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25042         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
25043         static libc.
25045 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25047         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
25048         test.
25049         * sysdeps/i386/configure: Regenerated.
25050         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
25051         test.
25052         * sysdeps/x86_64/configure: Regenerated.
25053         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
25054         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25055         memset-avx2 unconditionally instead of conditionally on
25056         [$(config-cflags-avx2) = yes].
25057         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25058         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
25059         unconditional.
25060         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
25061         * sysdeps/x86_64/multiarch/memset_chk.S
25062         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
25063         to [IS_IN (libc) && SHARED].
25065 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25067         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
25068         configure test.
25069         * sysdeps/arm/configure: Regenerated.
25070         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
25071         Define variable if not already defined.
25073         [BZ #17404]
25074         * sysdeps/mips/atomic-machine.h
25075         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
25076         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
25077         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25079         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
25080         unconditional.
25081         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
25082         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25083         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
25084         unconditional.
25085         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25086         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
25087         unconditional.
25088         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25089         * stdlib/setenv.c
25090         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
25091         code unconditional.
25092         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
25093         Remove conditional code.
25094         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25095         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
25096         unconditional.
25097         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25098         code.
25099         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25100         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
25101         unconditional.
25102         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25103         code.
25104         * sysdeps/ieee754/ldbl-128/k_tanl.c
25105         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25106         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25107         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
25108         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25109         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25110         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
25111         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
25112         unconditional.
25113         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25114         code.
25115         * sysdeps/ieee754/ldbl-96/k_tanl.c
25116         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25117         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25119         * nptl/tst-initializers1-c11.c: New file.
25120         * nptl/tst-initializers1-gnu11.c: Likewise.
25121         * nptl/Makefile (tests): Add these new tests.
25122         (CFLAGS-tst-initializers1-c11.c): New variable.
25123         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25125         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
25126         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
25127         instead of -std=gnu99.
25128         * configure.ac (systemtap): Test with -std=gnu11 instead of
25129         -std=gnu99.
25130         * configure: Regenerated.
25131         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
25132         in compilation command in comment.
25134         * sysdeps/nptl/configure.ac: Remove file.
25135         * sysdeps/nptl/configure: Remove generated file.
25136         * configure.ac (libc_cv_forced_unwind): Do not substitute.
25137         * configure: Regenerated.
25138         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
25139         * config.make.in (have-forced-unwind): Remove variable.
25140         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25141         unconditional.
25142         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
25143         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
25144         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
25145         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
25146         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25147         unconditional.
25149 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25151         [BZ #19174]
25152         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
25153         .skip_lock_out_of_tbegin_retries.
25154         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25155         (__lll_lock_elision): Likewise, and respect a value of
25156         try_tbegin <= 0.
25158 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25160         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
25161         statement.
25163 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25165         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
25166         variable.
25167         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25168         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25170         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
25171         of -std=c1x -D_ISOC11_SOURCE.
25173         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
25174         * configure: Regenerated.
25175         * manual/install.texi (Tools for Compilation): Document
25176         requirement for GCC 4.7 or later.
25177         * INSTALL: Regenerated.
25179 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
25181         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
25182         on CNT to a conditional jump to 'puntdata'.
25184 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25186         * configure.ac (libc_cv_gcc___thread): Remove configure test.
25187         (libc_cv_gcc_tls_model_attr): Likewise.
25188         * configure: Regenerated.
25190         * configure.ac (libc_cv_need_minus_P): Remove configure test.
25191         * configure: Regenerated.
25192         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
25194 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
25196         * configure.ac (old_glibc_headers): Remove configure test.
25197         * configure: Regenerated.
25198         * config.make.in (old-glibc-headers): Remove variable.
25199         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
25200         (install): Remove dependency on remove-old-headers.
25201         (headers2_0): Remove variable.
25202         (remove-old-headers): Remove rule.
25204         * configure.ac (libc_cv_dot_text): Remove configure test.
25205         (libc_cv_asm_set_directive): Use .text instead of
25206         ${libc_cv_dot_text} in configure test.
25207         * configure: Regenerated.
25209 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25211         [BZ #19168]
25212         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25214 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25216         * configure.ac (CXX): Clear the variable if the C++ toolchain does
25217         not support static linking.
25218         * configure: Regenerate.
25220 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
25222         * math/libm-test.inc (check_float_internal): Do not special-case
25223         errors up to 0.5 ulp.
25225         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25226         log2.
25227         * math/auto-libm-test-out: Regenerated.
25228         * math/libm-test.inc (MAX_EXP): New macro.
25229         (ilogb_test_data): Add more tests.
25230         (isfinite_test_data): Likewise.
25231         (isgreater_test_data): Likewise.
25232         (isgreaterequal_test_data): Likewise.
25233         (isinf_test_data): Likewise.
25234         (isless_test_data): Likewise.
25235         (islessequal_test_data): Likewise.
25236         (islessgreater_test_data): Likewise.
25237         (isnan_test_data): Likewise.
25238         (isnormal_test_data): Likewise.
25239         (issignaling_test_data): Likewise.
25240         (isunordered_test_data): Likewise.
25241         (j0_test_data): Likewise.
25242         (j1_test_data): Likewise.
25243         (jn_test_data): Likewise.
25244         (lgamma_test_data): Likewise.
25245         (log_test_data): Likewise.
25246         (log10_test_data): Likewise.
25247         (log1p_test_data): Likewise.
25248         (log2_test_data): Likewise.
25249         (logb_test_data): Likewise.
25250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25252         [BZ #18611]
25253         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
25254         avoid excess range and precision on underflow.
25255         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25256         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
25257         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25258         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
25259         underflow.
25260         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25261         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25262         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25263         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25264         * math/auto-libm-test-in: Do not allow missing errno setting for
25265         tests of j1 and jn.
25266         * math/auto-libm-test-out: Regenerated.
25268 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
25270         [BZ #15491]
25271         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
25272         floating-point environment instead of clearing all exceptions.
25273         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
25274         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
25275         merging in "invalid" exceptions from frndint.
25276         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
25277         * math/test-nearbyint-except.c: New file.
25278         * math/Makefile (tests): Add test-nearbyint-except.
25280 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
25282         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
25284         * sysdeps/tile/libm-test-ulps: Regenerated.
25286 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
25289         (__NR_sync_file_range2): Assume it is always defined.
25290         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25291         (__NR_sync_file_range): Assume it is always defined.
25293 2015-10-22  Andreas Schwab  <schwab@suse.de>
25295         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25296         INTERNAL_SYSCALL_ERRNO.
25297         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25298         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25299         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25300         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25301         Likewise.
25302         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25304 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25306         * io/tst-fcntl.c (fd): New static variable.
25307         (do_prepare): Open temporary file here....
25308         (do_test): ...not here.
25310         * io/ftwtest-sh: Also trap on exit to remove temporary files.
25312 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25314         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
25315         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25316         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25317         Moved before "#ifdef __ASSEMBLER__".
25319 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25321         [BZ #19156]
25322         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
25323         arguments very close to 0.
25325 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
25327         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
25328         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
25330 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25332         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25333         New.  Defined for GCC 5 and above when not compiling for
25334         profiling.
25335         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25337         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25338         Renamed to ...
25339         (CFLAGS-epoll_pwait.o): This.
25340         (CFLAGS-mmap.c): Renamed to ...
25341         (CFLAGS-mmap.o): This.
25342         (CFLAGS-mmap64.c): Renamed to ...
25343         (CFLAGS-mmap64.o): This.
25344         (CFLAGS-epoll_pwait.os): New.
25345         (CFLAGS-mmap.os): Likewise.
25346         (CFLAGS-mmap64.os): Likewise.
25347         (CFLAGS-semtimedop.os): Likewise.
25348         (CFLAGS-semtimedop.c): Renamed to ...
25349         (CFLAGS-semtimedop.o): This.
25351 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25353         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
25354         warning message.
25356 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25358         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
25359         * Makefile ($(objpfx)c++-types-check.out): Filter out
25360         $(+gccwarn-c) instead of -Wstrict-prototypes.
25362         * io/fts.c (fts_open): Convert to prototype-style function
25363         definition.
25364         * malloc/mcheck.c (mcheck): Likewise.
25365         (mcheck_pedantic): Likewise.
25366         * posix/regexec.c (re_search_2_stub): Likewise.  Use
25367         internal_function.
25368         (re_search_internal): Likewise.
25369         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
25370         prototype-style function definition.
25371         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25372         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
25373         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
25374         (xdr_utmpptr): Likewise.
25375         (xdr_utmparr): Likewise.
25376         (xdr_utmpidle): Likewise.
25377         (xdr_utmpidleptr): Likewise.
25378         (xdr_utmpidlearr): Likewise.
25380         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
25381         log, log10 and log2.
25382         * math/auto-libm-test-out: Regenerated.
25383         * math/libm-test.inc (fmod_test_data): Add more tests.
25384         (fpclassify_test_data): Likewise.
25385         (frexp_test_data): Likewise.
25386         (hypot_test_data): Likewise.
25387         (ilogb_test_data): Likewise.
25389 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
25391         * debug/fortify_fail.c (__fortify_fail): Convert to
25392         prototype-style function definition.  Use internal_function.
25393         * libio/genops.c (save_for_backup): Convert to prototype-style
25394         function definition.
25395         * libio/wgenops.c (save_for_wbackup): Likewise.
25396         * login/grantpt.c (grantpt): Likewise.
25397         * login/ptsname.c (ptsname): Likewise.
25398         (__ptsname_r): Likewise.
25399         * login/unlockpt.c (unlockpt): Likewise.
25400         * mach/msgserver.c (__mach_msg_server): Likewise.
25401         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
25402         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
25403         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
25404         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
25405         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
25406         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
25407         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
25408         Likewise.
25409         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
25410         internal_function.
25411         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
25412         prototype-style function definition.
25413         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
25414         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
25415         (__pthread_create_2_0): Likewise.
25416         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
25417         * nptl/register-atfork.c (__register_atfork): Likewise.
25418         * posix/glob.c (glob): Likewise.
25419         * posix/regcomp.c (re_comp): Likewise.
25420         * posix/regexec.c (re_exec): Likewise.
25421         * stdlib/add_n.c [__STDC__]: Make code unconditional.
25422         [!__STDC__]: Remove conditional code.
25423         * stdlib/cmp.c [__STDC__]: Make code unconditional.
25424         [!__STDC__]: Remove conditional code.
25425         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
25426         [!__STDC__]: Remove conditional code.
25427         * stdlib/divrem.c [__STDC__]: Make code unconditional.
25428         [!__STDC__]: Remove conditional code.
25429         * stdlib/lshift.c [__STDC__]: Make code unconditional.
25430         [!__STDC__]: Remove conditional code.
25431         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
25432         [!__STDC__]: Remove conditional code.
25433         * stdlib/mul.c [__STDC__]: Make code unconditional.
25434         [!__STDC__]: Remove conditional code.
25435         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
25436         [!__STDC__]: Remove conditional code.
25437         * stdlib/rshift.c [__STDC__]: Make code unconditional.
25438         [!__STDC__]: Remove conditional code.
25439         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
25440         function definition.
25441         (STRTOF): Likewise.
25442         * stdlib/strtod_l.c (__STRTOF): Likewise.
25443         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
25444         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
25445         (__strtol_l): Likewise.
25446         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
25447         [!__STDC__]: Remove conditional code.
25448         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
25449         definition.
25450         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25451         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25452         type.
25453         (__strcasecmp): Convert to prototype-style function definition.
25454         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
25455         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25456         type.
25457         (__strncasecmp): Convert to prototype-style function definition.
25458         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
25459         * sunrpc/xdr.c (xdr_union): Likewise.
25460         * sunrpc/xdr_array.c (xdr_array): Likewise.
25461         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
25462         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
25463         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
25464         Likewise.
25465         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
25466         Likewise.
25467         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
25468         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25469         Likewise.
25470         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
25471         (LOCALE_PARAM_PROTO): Likewise.
25472         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
25473         argument type.
25474         (ut_argument_spec): Remove macro.
25475         (ut_argument_spec_iso): Rename to ut_argument_spec.
25476         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
25477         prototype-style function definition.
25478         (memcpy_uppcase): Likewise.
25479         (__strftime_internal): Likewise.
25480         (my_strftime): Likewise.
25481         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
25482         (LOCALE_PARAM_DECL): Likewise.
25483         [_LIBC] (LOCALE_PARAM): Include argument type.
25484         (__strptime_internal): Convert to prototype-style function
25485         definition.
25486         (strptime): Likewise.
25487         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25488         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25489         type.
25490         (__wcscasecmp): Convert to prototype-style function definition.
25491         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
25492         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25493         type.
25494         (__wcsncasecmp): Convert to prototype-style function definition.
25496         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
25497         function definition.
25498         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25499         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25500         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
25501         * elf/dl-minimal.c (_itoa): Likewise.
25502         * hurd/hurdmalloc.c (malloc): Likewise.
25503         (free): Likewise.
25504         (realloc): Likewise.
25505         * inet/inet6_option.c (inet6_option_space): Likewise.
25506         (inet6_option_init): Likewise.
25507         (inet6_option_append): Likewise.
25508         (inet6_option_alloc): Likewise.
25509         (inet6_option_next): Likewise.
25510         (inet6_option_find): Likewise.
25511         * io/ftw.c (FTW_NAME): Likewise.
25512         (NFTW_NAME): Likewise.
25513         (NFTW_NEW_NAME): Likewise.
25514         (NFTW_OLD_NAME): Likewise.
25515         * libio/iofwide.c (_IO_fwide): Likewise.
25516         * libio/strops.c (_IO_str_init_static_internal): Likewise.
25517         (_IO_str_init_static): Likewise.
25518         (_IO_str_init_readonly): Likewise.
25519         (_IO_str_overflow): Likewise.
25520         (_IO_str_underflow): Likewise.
25521         (_IO_str_count): Likewise.
25522         (_IO_str_seekoff): Likewise.
25523         (_IO_str_pbackfail): Likewise.
25524         (_IO_str_finish): Likewise.
25525         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
25526         (_IO_wstr_overflow): Likewise.
25527         (_IO_wstr_underflow): Likewise.
25528         (_IO_wstr_count): Likewise.
25529         (_IO_wstr_seekoff): Likewise.
25530         (_IO_wstr_pbackfail): Likewise.
25531         (_IO_wstr_finish): Likewise.
25532         * locale/programs/localedef.c (normalize_codeset): Likewise.
25533         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25534         (add_locales_to_archive): Likewise.
25535         (delete_locales_from_archive): Likewise.
25536         * malloc/malloc.c (__libc_mallinfo): Likewise.
25537         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
25538         * misc/tsearch.c (__tfind): Likewise.
25539         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
25540         * nptl/pthread_attr_getdetachstate.c
25541         (__pthread_attr_getdetachstate): Likewise.
25542         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25543         Likewise.
25544         * nptl/pthread_attr_getinheritsched.c
25545         (__pthread_attr_getinheritsched): Likewise.
25546         * nptl/pthread_attr_getschedparam.c
25547         (__pthread_attr_getschedparam): Likewise.
25548         * nptl/pthread_attr_getschedpolicy.c
25549         (__pthread_attr_getschedpolicy): Likewise.
25550         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
25551         Likewise.
25552         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
25553         Likewise.
25554         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25555         Likewise.
25556         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25557         Likewise.
25558         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
25559         (__pthread_attr_init_2_0): Likewise.
25560         * nptl/pthread_attr_setdetachstate.c
25561         (__pthread_attr_setdetachstate): Likewise.
25562         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25563         Likewise.
25564         * nptl/pthread_attr_setinheritsched.c
25565         (__pthread_attr_setinheritsched): Likewise.
25566         * nptl/pthread_attr_setschedparam.c
25567         (__pthread_attr_setschedparam): Likewise.
25568         * nptl/pthread_attr_setschedpolicy.c
25569         (__pthread_attr_setschedpolicy): Likewise.
25570         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
25571         Likewise.
25572         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
25573         Likewise.
25574         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25575         Likewise.
25576         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25577         Likewise.
25578         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
25579         Likewise.
25580         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
25581         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
25582         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
25583         use internal_function.
25584         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
25585         prototype-style function definition.
25586         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25587         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
25588         internal_function.
25589         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
25590         Convert to prototype-style function definition.
25591         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25592         Likewise.
25593         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
25594         Likewise.
25595         (__pthread_mutex_unlock): Likewise.
25596         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
25597         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
25598         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
25599         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
25600         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
25601         * nss/makedb.c (process_input): Likewise.
25602         * posix/fnmatch.c (__strchrnul): Likewise.
25603         (__wcschrnul): Likewise.
25604         (fnmatch): Likewise.
25605         * posix/fnmatch_loop.c (FCT): Likewise.
25606         * posix/glob.c (globfree): Likewise.
25607         (__glob_pattern_type): Likewise.
25608         (__glob_pattern_p): Likewise.
25609         * posix/regcomp.c (re_compile_pattern): Likewise.
25610         (re_set_syntax): Likewise.
25611         (re_compile_fastmap): Likewise.
25612         (regcomp): Likewise.
25613         (regerror): Likewise.
25614         (regfree): Likewise.
25615         * posix/regexec.c (regexec): Likewise.
25616         (re_match): Likewise.
25617         (re_search): Likewise.
25618         (re_match_2): Likewise.
25619         (re_search_2): Likewise.
25620         (re_search_stub): Likewise.  Use internal_function
25621         (re_copy_regs): Likewise.
25622         (re_set_registers): Convert to prototype-style function
25623         definition.
25624         (prune_impossible_nodes): Likewise.  Use internal_function.
25625         * resolv/inet_net_pton.c (inet_net_pton): Convert to
25626         prototype-style function definition.
25627         (inet_net_pton_ipv4): Likewise.
25628         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25629         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
25630         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
25631         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
25632         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25633         Make variadic.
25634         * time/strptime_l.c (localtime_r): Convert to prototype-style
25635         function definition.
25636         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25637         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25638         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25639         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25641         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
25642         definition.
25643         (_ufc_doit_r): Likewise.
25644         * crypt/crypt_util.c (_ufc_copymem): Likewise.
25645         (_ufc_output_conversion_r): Likewise.
25646         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
25647         * inet/rcmd.c (rcmd_af): Likewise.
25648         (rcmd): Likewise.
25649         (ruserok_af): Likewise.
25650         (ruserok): Likewise.
25651         (ruserok2_sa): Likewise.
25652         (ruserok_sa): Likewise.
25653         (iruserok_af): Likewise.
25654         (iruserok): Likewise.
25655         (__ivaliduser): Likewise.
25656         (__validuser2_sa): Likewise.
25657         * inet/rexec.c (rexec_af): Likewise.
25658         (rexec): Likewise.
25659         * inet/ruserpass.c (ruserpass): Likewise.
25660         * locale/programs/xmalloc.c (xcalloc): Likewise.
25661         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
25662         * math/w_drem.c (__drem): Likewise.
25663         * math/w_dremf.c (__dremf): Likewise.
25664         * math/w_dreml.c (__dreml): Likewise.
25665         * misc/daemon.c (daemon): Likewise.
25666         * resolv/res_debug.c (p_fqnname): Likewise.
25667         * stdlib/div.c (div): Likewise.
25668         * string/memcmp.c (memcmp_bytes): Likewise.
25669         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
25670         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
25672         * crypt/cert.c (main): Convert to prototype-style function
25673         definition.
25674         * io/pipe.c (__pipe): Likewise.
25675         * io/pipe2.c (__pipe2): Likewise.
25676         * misc/futimesat.c (futimesat): Likewise.
25677         * misc/utimes.c (__utimes): Likewise.
25678         * posix/execve.c (__execve): Likewise.
25679         * posix/execvp.c (execvp): Likewise.
25680         * posix/execvpe.c (__execvpe): Likewise.
25681         * posix/fexecve.c (fexecve): Likewise.
25682         * socket/socketpair.c (socketpair): Likewise.
25683         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25684         * stdlib/erand48.c (erand48): Likewise.
25685         * stdlib/erand48_r.c (__erand48_r): Likewise.
25686         * stdlib/jrand48.c (jrand48): Likewise.
25687         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
25688         * stdlib/lcong48.c (lcong48): Likewise.
25689         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
25690         * stdlib/nrand48.c (nrand48): Likewise.
25691         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
25692         * stdlib/seed48.c (seed48): Likewise.
25693         * stdlib/seed48_r.c (__seed48_r): Likewise.
25694         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
25695         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
25696         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
25698 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
25700         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
25701         * configure: Regenerated.
25702         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
25703         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
25704         unconditional.
25705         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25706         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25707         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25708         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
25709         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
25710         unconditional.
25711         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25713         * posix/Makefile (CFLAGS-regex.c): Remove variable.
25714         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
25716         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
25717         function definition.
25718         * crypt/crypt_util.c (__encrypt_r): Likewise.
25719         * libio/genops.c (_IO_no_init): Likewise.
25720         * libio/iofopncook.c (_IO_fopencookie): Likewise.
25721         (_IO_old_fopencookie): Likewise.
25722         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25723         * libio/iogetline.c (_IO_getline): Likewise.
25724         (_IO_getline_info): Likewise.
25725         * libio/iogetwline.c (_IO_getwline): Likewise.
25726         (_IO_getwline_info): Likewise.
25727         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
25728         * libio/vswprintf.c (_IO_vswprintf): Likewise.
25729         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
25730         (find_entry): Likewise.
25731         (iterate_table): Likewise.
25732         (lookup): Likewise.
25733         * login/forkpty.c (forkpty): Likewise.
25734         * misc/hsearch_r.c (__hsearch_r): Likewise.
25735         * misc/select.c (__select): Likewise.
25736         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
25737         Likewise.
25738         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
25739         Likewise.
25740         * nptl/old_pthread_cond_timedwait.c
25741         (__pthread_cond_timedwait_2_0): Likewise.
25742         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25743         * nptl/pthread_barrierattr_getpshared.c
25744         (pthread_barrierattr_getpshared): Likewise.
25745         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
25746         Likewise.
25747         * nptl/pthread_mutex_setprioceiling.c
25748         (pthread_mutex_setprioceiling): Likewise.
25749         * nptl/pthread_mutexattr_getprioceiling.c
25750         (pthread_mutexattr_getprioceiling): Likewise.
25751         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25752         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25753         Likewise.
25754         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25755         Likewise.
25756         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
25757         Likewise.
25758         * socket/recvfrom.c (__recvfrom): Likewise.
25759         * socket/sendto.c (__sendto): Likewise.
25760         * socket/setsockopt.c (__setsockopt): Likewise.
25761         * stdio-common/_itoa.c (_itoa): Likewise.
25762         * stdio-common/_itowa.c (_itowa): Likewise.
25763         * stdio-common/reg-printf.c (__register_printf_specifier):
25764         Likewise.
25765         (__register_printf_function): Likewise.
25766         * stdio-common/tempname.c (__path_search): Likewise.
25767         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
25768         * stdlib/mul_1.c (mpn_mul_1): Likewise.
25769         * stdlib/random_r.c (__initstate_r): Likewise.
25770         * stdlib/setenv.c (__add_to_environ): Likewise.
25771         * stdlib/submul_1.c (mpn_submul_1): Likewise.
25772         * streams/getpmsg.c (getpmsg): Likewise.
25773         * streams/putmsg.c (putmsg): Likewise.
25774         * streams/putpmsg.c (putpmsg): Likewise.
25775         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
25776         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
25777         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
25778         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
25779         * sunrpc/pm_getport.c (pmap_getport): Likewise.
25780         * sunrpc/svc_udp.c (cache_get): Likewise.
25781         * sunrpc/xdr_array.c (xdr_vector): Likewise.
25782         * sysdeps/mach/hurd/getcwd.c
25783         (__canonicalize_directory_name_internal): Likewise.
25784         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
25785         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
25786         * sysdeps/mach/hurd/select.c (__select): Likewise.
25787         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
25788         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
25789         * sysdeps/sparc/nptl/pthread_barrier_init.c
25790         (__pthread_barrier_init): Likewise.
25791         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
25792         (__pthread_cond_timedwait): Likewise.
25793         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
25794         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
25795         Likewise.
25796         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
25797         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
25798         Likewise.
25799         * sysvipc/semtimedop.c (semtimedop): Likewise.
25800         * time/setitimer.c (__setitimer): Likewise.
25801         * time/strftime_l.c (emacs_strftime): Likewise.
25803 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
25805         * config.make.in (have-ssp): Delete.
25806         (stack-protector): New variable.
25807         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
25808         cache test for -fstack-protector-strong.  Export stack_protector to
25809         the best ssp flag.
25810         * configure: Regenerated.
25811         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
25812         * nscd/Makefile (CFLAGS-nscd): Likewise.
25813         * resolv/Makefile (CFLAGS-libresolv): Likewise.
25815 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
25817         [BZ #19122]
25818         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
25819         attribute_hidden.
25821 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25823         [BZ #18743]
25824         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
25825         code to...
25826         (ELIDE_LOCK): ...here.
25827         (__get_new_count): New function with part of the code from
25828         __elide_lock that updates the value of adapt_count after a
25829         transaction abort.
25830         (__elided_trylock): Moved this code to...
25831         (ELIDE_TRYLOCK): ...here.
25833 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
25835         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
25836         * configure: Regenerate.
25837         * INSTALL: Regenerate.
25838         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
25839         and tweak grammar.
25841 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
25843         * login/programs/pt_chown.c: Include signal.h
25844         (main): Clear any signal mask from the parent process.
25846 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
25848         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
25849         * configure: Regenerated.
25850         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
25851         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
25852         $(gnu89-inline-CFLAGS).
25854         * configure.ac (libc_cv_asm_weak_directive): Remove configure
25855         test.
25856         (libc_cv_asm_weakext_directive): Likewise.
25857         * configure: Regenerated.
25858         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
25859         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
25860         * include/libc-symbols.h
25861         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
25862         #error.
25863         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
25864         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
25866         * sysdeps/arm/backtrace.c (__backtrace): Convert to
25867         prototype-style function definition.
25868         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25869         * sysdeps/i386/ffs.c (__ffs): Likewise.
25870         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25871         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
25872         Likewise.
25873         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25874         Likewise.
25875         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25876         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25877         Likewise.
25878         * sysdeps/m68k/ffs.c (__ffs): Likewise.
25879         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
25880         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
25881         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
25882         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
25883         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
25884         * sysdeps/mach/hurd/access.c (__access): Likewise.
25885         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
25886         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
25887         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
25888         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
25889         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
25890         (cthread_getspecific): Likewise.
25891         (cthread_setspecific): Likewise.
25892         (__libc_getspecific): Likewise.
25893         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
25894         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
25895         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
25896         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
25897         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
25898         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
25899         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
25900         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
25901         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
25902         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
25903         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
25904         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
25905         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
25906         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
25907         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
25908         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
25909         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
25910         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
25911         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
25912         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
25913         * sysdeps/mach/hurd/link.c (__link): Likewise.
25914         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
25915         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
25916         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25917         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
25918         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25919         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
25920         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
25921         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
25922         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25923         * sysdeps/mach/hurd/rename.c (rename): Likewise.
25924         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
25925         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25926         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
25927         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
25928         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
25929         * sysdeps/mach/hurd/send.c (__send): Likewise.
25930         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
25931         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
25932         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
25933         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
25934         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
25935         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
25936         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
25937         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
25938         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
25939         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
25940         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
25941         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
25942         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
25943         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
25944         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
25945         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25946         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
25947         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25948         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
25949         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25950         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
25951         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
25952         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
25953         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
25954         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
25955         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
25956         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
25957         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
25958         * sysdeps/posix/alarm.c (alarm): Likewise.
25959         * sysdeps/posix/cuserid.c (cuserid): Likewise.
25960         * sysdeps/posix/dirfd.c (dirfd): Likewise.
25961         * sysdeps/posix/dup.c (__dup): Likewise.
25962         * sysdeps/posix/dup2.c (__dup2): Likewise.
25963         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
25964         (main): Likewise.
25965         * sysdeps/posix/flock.c (__flock): Likewise.
25966         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
25967         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
25968         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
25969         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
25970         * sysdeps/posix/isatty.c (__isatty): Likewise.
25971         * sysdeps/posix/killpg.c (killpg): Likewise.
25972         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25973         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
25974         * sysdeps/posix/raise.c (raise): Likewise.
25975         * sysdeps/posix/remove.c (remove): Likewise.
25976         * sysdeps/posix/rename.c (rename): Likewise.
25977         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
25978         * sysdeps/posix/seekdir.c (seekdir): Likewise.
25979         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25980         * sysdeps/posix/sigignore.c (sigignore): Likewise.
25981         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
25982         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
25983         * sysdeps/posix/sigset.c (sigset): Likewise.
25984         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
25985         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
25986         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
25987         * sysdeps/posix/time.c (time): Likewise.
25988         * sysdeps/posix/ttyname.c (getttyname): Likewise.
25989         (ttyname): Likewise.
25990         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
25991         * sysdeps/posix/utime.c (utime): Likewise.
25992         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
25993         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25994         Likewise.
25995         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
25996         (pthread_spin_trylock): Likewise.
25997         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
25998         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
25999         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
26000         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
26001         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
26002         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
26003         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
26004         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
26005         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
26006         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
26007         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
26008         * sysdeps/s390/ffs.c (__ffs): Likewise.
26009         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
26010         Likewise.
26011         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26012         Likewise.
26013         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
26014         Likewise.
26015         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
26016         (pthread_barrier_destroy): Likewise.
26017         * sysdeps/sparc/nptl/pthread_barrier_wait.c
26018         (__pthread_barrier_wait): Likewise.
26019         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
26020         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26021         (__pthread_barrier_wait): Likewise.
26022         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
26023         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
26024         (memcmp_not_common_alignment): Likewise.
26025         (MEMCMP): Likewise.
26026         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
26027         (_wordcopy_fwd_dest_aligned): Likewise.
26028         (_wordcopy_bwd_aligned): Likewise.
26029         (_wordcopy_bwd_dest_aligned): Likewise.
26030         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
26031         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
26032         * sysdeps/unix/bsd/stty.c (stty): Likewise.
26033         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
26034         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
26035         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
26036         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
26037         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
26038         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
26039         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
26040         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
26041         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
26042         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
26043         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
26044         * sysdeps/unix/stime.c (stime): Likewise.
26045         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
26046         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
26047         Likewise.  Use internal_function.
26048         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
26049         Convert to prototype-style function definition.
26050         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26051         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26052         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
26053         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26054         Likewise.  Use internal_function.
26055         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
26056         prototype-style function definition
26057         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26058         Likewise.
26059         (__getlogin_r): Likewise.
26060         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
26061         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
26062         (__pthread_cond_broadcast): Likewise.
26063         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
26064         (__pthread_cond_destroy): Likewise.
26065         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
26066         (__pthread_cond_init): Likewise.
26067         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
26068         (__pthread_cond_signal): Likewise.
26069         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
26070         (__pthread_cond_wait): Likewise.
26071         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
26072         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26073         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
26074         Likewise.
26075         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
26076         Likewise.
26077         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26078         Likewise.
26079         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
26080         Likewise.
26081         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
26082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
26083         (__ftruncate64): Likewise.
26084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
26085         (truncate64): Likewise.
26086         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
26087         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
26088         (pthread_getcpuclockid): Likewise.
26089         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
26090         Likewise.
26091         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26092         Likewise.
26093         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
26094         Likewise.
26095         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
26096         Likewise.
26097         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
26098         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
26099         (__libc_sigaction): Likewise.
26100         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
26101         Likewise.
26102         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26103         (__sigprocmask): Likewise.
26104         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
26105         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
26106         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
26107         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26108         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26109         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
26110         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26111         Likewise.
26112         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
26113         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
26114         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26115         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
26116         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
26117         Likewise.
26118         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26119         (__sigprocmask): Likewise.
26120         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
26121         (cfgetispeed): Likewise.
26122         (cfsetospeed): Likewise.
26123         (cfsetispeed): Likewise.
26124         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
26125         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
26126         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26127         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26128         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
26129         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
26130         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
26131         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
26132         Likewise.
26133         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
26134         Likewise.
26135         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
26136         Likewise.
26137         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26138         Likewise.
26139         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26141 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26143         sunrpc: Rewrite with explicit TLS access using __thread.
26144         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
26145         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
26146         directly.
26147         (__rpc_thread_variables): Access thread_rpc_vars directly.
26148         Eliminate redundant assignment of the tvp variable.
26150 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26152         malloc: Rewrite with explicit TLS access using __thread.
26153         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
26154         (tsd_setspecific, tsd_getspecific): Remove.
26155         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
26156         (tsd_setspecific, tsd_getspecific): Likewise.
26157         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
26158         (tsd_setspecific, tsd_getspecific): Likewise.
26159         * malloc/arena.c (thread_arena): New TLS variable.
26160         (arena_key): Remove variable.
26161         (arena_get): Use thread_arena.
26162         (arena_lookup): Remove macro.
26163         (malloc_atfork, free_atfork, ptmalloc_lock_all)
26164         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
26165         (_int_new_arena, get_free_list, reused_arena)
26166         (arena_thread_freeres): Use thread_arena.
26167         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
26168         tsd_getspecific, tsd_setspecific from safety annotations.
26169         (Allocating Cleared Space): Remove arena_lookup from safety
26170         annotations.
26172 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26174         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
26175         struct scratch_buffer instead of extend_alloca.
26177 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26179         * sysdeps/unix/sysv/linux/kernel-features.h
26180         (__ASSUME_SOCK_CLOEXEC): Remove.
26181         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
26182         (__have_paccept): Remove unused macro.
26183         * include/unistd.h (__have_sock_cloexec): Remove declaration.
26184         * misc/syslog.c (openlog_internal): Remove fallback code for
26185         !__ASSUME_SOCK_CLOEXEC.
26186         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
26187         missing SOCK_CLOEXEC.
26188         * nscd/connections.c (have_sock_cloexec): Remove definition.
26189         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26190         * nscd/nscd_helper.c (open_socket): Remove fallback code for
26191         !__ASSUME_SOCK_CLOEXEC.
26192         * resolv/res_send.c (__have_o_nonblock): Remove definition.
26193         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26194         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
26195         definition.
26196         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
26197         code for !__ASSUME_SOCK_CLOEXEC.
26199 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26201         [BZ #18982]
26202         * manual/stdio.texi (Variable Arguments Output): Add portability
26203         note, explaining that vfprintf clobbers the va_list pointer.
26205 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26207         * math/libm-test.inc (fabs_test_data): Add more tests.
26208         (fdim_test_data): Likewise.
26209         (fma_test_data): Likewise.
26210         (fmax_test_data): Likewise.
26211         (fmin_test_data): Likewise.
26212         (fmod_test_data): Likewise.
26214 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
26216         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
26217         data.
26219 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26221         * math/libm-test.inc (ceil_test_data): Add more tests and more
26222         expectations for "inexact".
26223         (floor_test_data): Add more tests.
26224         (round_test_data): Likewise.
26225         (trunc_test_data): Likewise.
26227         * crypt/cert.c (good_bye): Convert to prototype-style function
26228         definition.
26229         (get8): Likewise.
26230         (put8): Likewise.
26231         * crypt/crypt-entry.c (crypt): Likewise.
26232         (__fcrypt): Likewise.
26233         * crypt/crypt_util.c (_ufc_prbits): Likewise.
26234         (_ufc_set_bits): Likewise.
26235         (_ufc_clearmem): Likewise.
26236         (__init_des_r): Likewise.
26237         (shuffle_sb): Likewise.
26238         (shuffle_sb): Likewise.
26239         (_ufc_setup_salt_r): Likewise.
26240         (_ufc_mk_keytab_r): Likewise.
26241         (_ufc_dofinalperm_r): Likewise.
26242         (encrypt): Likewise.
26243         (__setkey_r): Likewise.
26244         (setkey): Likewise.
26245         * crypt/md5.c (md5_init_ctx): Likewise.
26246         (md5_read_ctx): Likewise.
26247         (md5_finish_ctx): Likewise.
26248         (md5_stream): Likewise.
26249         (md5_buffer): Likewise.
26250         (md5_process_bytes): Likewise.
26251         * crypt/sha256.c (__sha256_init_ctx): Likewise.
26252         (__sha256_finish_ctx): Likewise.
26253         (__sha256_process_bytes): Likewise.
26254         * crypt/sha512.c (__sha512_init_ctx): Likewise.
26255         (__sha512_finish_ctx): Likewise.
26256         (__sha512_process_bytes): Likewise.
26257         * ctype/isctype.c (__isctype): Likewise.
26258         * debug/backtrace.c (__backtrace): Likewise.
26259         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
26260         * debug/fgets_chk.c (__fgets_chk): Likewise.
26261         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
26262         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
26263         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26264         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26265         * debug/memset_chk.c (__memset_chk): Likewise.
26266         * debug/strcat_chk.c (__strcat_chk): Likewise.
26267         * debug/strncat_chk.c (__strncat_chk): Likewise.
26268         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
26269         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
26270         * dirent/dirfd.c (dirfd): Likewise.
26271         * dirent/getdents.c (__getdirentries): Likewise.
26272         * dirent/getdents64.c (getdirentries64): Likewise.
26273         * dirent/rewinddir.c (__rewinddir): Likewise.
26274         * dirent/seekdir.c (seekdir): Likewise.
26275         * dirent/telldir.c (telldir): Likewise.
26276         * elf/sln.c (makesymlinks): Likewise.
26277         (makesymlink): Likewise.
26278         * gmon/gmon.c (__moncontrol): Likewise.
26279         (__monstartup): Likewise.
26280         (write_hist): Likewise.
26281         (write_call_graph): Likewise.
26282         (write_bb_counts): Likewise.
26283         * grp/setgroups.c (setgroups): Likewise.
26284         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26285         * inet/inet_net.c (inet_network): Likewise.
26286         * inet/inet_netof.c (inet_netof): Likewise.
26287         * inet/rcmd.c (rresvport_af): Likewise.
26288         (rresvport): Likewise.
26289         * io/access.c (__access): Likewise.
26290         * io/chdir.c (__chdir): Likewise.
26291         * io/chmod.c (__chmod): Likewise.
26292         * io/chown.c (__chown): Likewise.
26293         * io/close.c (__close): Likewise.
26294         * io/creat.c (creat): Likewise.
26295         * io/creat64.c (creat64): Likewise.
26296         * io/dup.c (__dup): Likewise.
26297         * io/dup2.c (__dup2): Likewise.
26298         * io/dup3.c (__dup3): Likewise.
26299         * io/euidaccess.c (__euidaccess): Likewise.
26300         * io/faccessat.c (faccessat): Likewise.
26301         * io/fchmod.c (__fchmod): Likewise.
26302         * io/fchmodat.c (fchmodat): Likewise.
26303         * io/fchown.c (__fchown): Likewise.
26304         * io/fchownat.c (fchownat): Likewise.
26305         * io/fcntl.c (__fcntl): Likewise.
26306         * io/flock.c (__flock): Likewise.
26307         * io/fts.c (fts_load): Likewise.
26308         (fts_close): Likewise.
26309         (fts_read): Likewise.
26310         (fts_set): Likewise.
26311         (fts_children): Likewise.
26312         (fts_build): Likewise.
26313         (fts_stat): Likewise.
26314         (fts_sort): Likewise.
26315         (fts_alloc): Likewise.
26316         (fts_lfree): Likewise.
26317         (fts_palloc): Likewise.
26318         (fts_padjust): Likewise.
26319         (fts_maxarglen): Likewise.
26320         (fts_safe_changedir): Likewise.
26321         * io/getwd.c (getwd): Likewise.
26322         * io/isatty.c (__isatty): Likewise.
26323         * io/lchown.c (__lchown): Likewise.
26324         * io/link.c (__link): Likewise.
26325         * io/linkat.c (linkat): Likewise.
26326         * io/lseek.c (__libc_lseek): Likewise.
26327         * io/mkdir.c (__mkdir): Likewise.
26328         * io/mkdirat.c (mkdirat): Likewise.
26329         * io/mkfifo.c (mkfifo): Likewise.
26330         * io/mkfifoat.c (mkfifoat): Likewise.
26331         * io/open.c (__libc_open): Likewise.
26332         * io/open64.c (__libc_open64): Likewise.
26333         * io/readlink.c (__readlink): Likewise.
26334         * io/readlinkat.c (readlinkat): Likewise.
26335         * io/rmdir.c (__rmdir): Likewise.
26336         * io/symlink.c (__symlink): Likewise.
26337         * io/symlinkat.c (symlinkat): Likewise.
26338         * io/ttyname.c (ttyname): Likewise.
26339         * io/ttyname_r.c (__ttyname_r): Likewise.
26340         * io/umask.c (__umask): Likewise.
26341         * io/unlink.c (__unlink): Likewise.
26342         * io/unlinkat.c (unlinkat): Likewise.
26343         * io/utime.c (utime): Likewise.
26344         * libio/clearerr.c (clearerr): Likewise.
26345         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
26346         * libio/feof.c (_IO_feof): Likewise.
26347         * libio/feof_u.c (feof_unlocked): Likewise.
26348         * libio/ferror.c (_IO_ferror): Likewise.
26349         * libio/ferror_u.c (ferror_unlocked): Likewise.
26350         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26351         * libio/fileno.c (__fileno): Likewise.
26352         * libio/fputc.c (fputc): Likewise.
26353         * libio/fputc_u.c (fputc_unlocked): Likewise.
26354         * libio/fputwc.c (fputwc): Likewise.
26355         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
26356         * libio/freopen.c (freopen): Likewise.
26357         * libio/freopen64.c (freopen64): Likewise.
26358         * libio/fseek.c (fseek): Likewise.
26359         * libio/fseeko.c (fseeko): Likewise.
26360         * libio/fseeko64.c (fseeko64): Likewise.
26361         * libio/ftello.c (__ftello): Likewise.
26362         * libio/ftello64.c (ftello64): Likewise.
26363         * libio/fwide.c (fwide): Likewise.
26364         * libio/genops.c (_IO_un_link): Likewise.
26365         (_IO_link_in): Likewise.
26366         (_IO_least_marker): Likewise.
26367         (_IO_switch_to_main_get_area): Likewise.
26368         (_IO_switch_to_backup_area): Likewise.
26369         (_IO_switch_to_get_mode): Likewise.
26370         (_IO_free_backup_area): Likewise.
26371         (_IO_switch_to_put_mode): Likewise.
26372         (__overflow): Likewise.
26373         (__underflow): Likewise.
26374         (__uflow): Likewise.
26375         (_IO_setb): Likewise.
26376         (_IO_doallocbuf): Likewise.
26377         (_IO_default_underflow): Likewise.
26378         (_IO_default_uflow): Likewise.
26379         (_IO_default_xsputn): Likewise.
26380         (_IO_sgetn): Likewise.
26381         (_IO_default_xsgetn): Likewise.
26382         (_IO_sync): Likewise.
26383         (_IO_default_setbuf): Likewise.
26384         (_IO_default_seekpos): Likewise.
26385         (_IO_default_doallocate): Likewise.
26386         (_IO_init): Likewise.
26387         (_IO_old_init): Likewise.
26388         (_IO_default_sync): Likewise.
26389         (_IO_default_finish): Likewise.
26390         (_IO_default_seekoff): Likewise.
26391         (_IO_sputbackc): Likewise.
26392         (_IO_sungetc): Likewise.
26393         (_IO_set_column): Likewise.
26394         (_IO_set_column): Likewise.
26395         (_IO_adjust_column): Likewise.
26396         (_IO_get_column): Likewise.
26397         (_IO_init_marker): Likewise.
26398         (_IO_remove_marker): Likewise.
26399         (_IO_marker_difference): Likewise.
26400         (_IO_marker_delta): Likewise.
26401         (_IO_seekmark): Likewise.
26402         (_IO_unsave_markers): Likewise.
26403         (_IO_nobackup_pbackfail): Likewise.
26404         (_IO_default_pbackfail): Likewise.
26405         (_IO_default_seek): Likewise.
26406         (_IO_default_stat): Likewise.
26407         (_IO_default_read): Likewise.
26408         (_IO_default_write): Likewise.
26409         (_IO_default_showmanyc): Likewise.
26410         (_IO_default_imbue): Likewise.
26411         (_IO_iter_next): Likewise.
26412         (_IO_iter_file): Likewise.
26413         * libio/getc.c (_IO_getc): Likewise.
26414         * libio/getwc.c (_IO_getwc): Likewise.
26415         * libio/iofclose.c (_IO_new_fclose): Likewise.
26416         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26417         * libio/iofflush.c (_IO_fflush): Likewise.
26418         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
26419         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
26420         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
26421         * libio/iofgets.c (_IO_fgets): Likewise.
26422         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
26423         * libio/iofgetws.c (fgetws): Likewise.
26424         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26425         * libio/iofopen64.c (_IO_fopen64): Likewise.
26426         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26427         (_IO_cookie_write): Likewise.
26428         (_IO_cookie_seek): Likewise.
26429         (_IO_cookie_close): Likewise.
26430         (_IO_cookie_seekoff): Likewise.
26431         (_IO_old_cookie_seek): Likewise.
26432         * libio/iofputs.c (_IO_fputs): Likewise.
26433         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
26434         * libio/iofputws.c (fputws): Likewise.
26435         * libio/iofputws_u.c (fputws_unlocked): Likewise.
26436         * libio/iofread.c (_IO_fread): Likewise.
26437         * libio/iofread_u.c (__fread_unlocked): Likewise.
26438         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
26439         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
26440         * libio/ioftell.c (_IO_ftell): Likewise.
26441         * libio/iofwrite.c (_IO_fwrite): Likewise.
26442         * libio/iogetdelim.c (_IO_getdelim): Likewise.
26443         * libio/iogets.c (_IO_gets): Likewise.
26444         * libio/iopadn.c (_IO_padn): Likewise.
26445         * libio/iopopen.c (_IO_new_proc_open): Likewise.
26446         (_IO_new_popen): Likewise.
26447         (_IO_new_proc_close): Likewise.
26448         * libio/ioputs.c (_IO_puts): Likewise.
26449         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
26450         (_IO_seekoff): Likewise.
26451         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
26452         (_IO_seekpos): Likewise.
26453         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
26454         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
26455         * libio/ioungetc.c (_IO_ungetc): Likewise.
26456         * libio/ioungetwc.c (ungetwc): Likewise.
26457         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26458         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
26459         * libio/iowpadn.c (_IO_wpadn): Likewise.
26460         * libio/libc_fatal.c (__libc_fatal): Likewise.
26461         * libio/memstream.c (__open_memstream): Likewise.
26462         (_IO_mem_sync): Likewise.
26463         (_IO_mem_finish): Likewise.
26464         * libio/oldfileops.c (_IO_old_file_init): Likewise.
26465         (_IO_old_file_close_it): Likewise.
26466         (_IO_old_file_finish): Likewise.
26467         (_IO_old_file_fopen): Likewise.
26468         (_IO_old_file_attach): Likewise.
26469         (_IO_old_file_setbuf): Likewise.
26470         (_IO_old_do_write): Likewise.
26471         (old_do_write): Likewise.
26472         (_IO_old_file_underflow): Likewise.
26473         (_IO_old_file_overflow): Likewise.
26474         (_IO_old_file_sync): Likewise.
26475         (_IO_old_file_seekoff): Likewise.
26476         (_IO_old_file_write): Likewise.
26477         (_IO_old_file_xsputn): Likewise.
26478         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
26479         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26480         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
26481         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
26482         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26483         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
26484         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
26485         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
26486         (_IO_old_popen): Likewise.
26487         (_IO_old_proc_close): Likewise.
26488         * libio/oldpclose.c (__old_pclose): Likewise.
26489         * libio/pclose.c (__new_pclose): Likewise.
26490         * libio/peekc.c (_IO_peekc_locked): Likewise.
26491         * libio/putc.c (_IO_putc): Likewise.
26492         * libio/putc_u.c (putc_unlocked): Likewise.
26493         * libio/putchar.c (putchar): Likewise.
26494         * libio/putchar_u.c (putchar_unlocked): Likewise.
26495         * libio/putwc.c (putwc): Likewise.
26496         * libio/putwc_u.c (putwc_unlocked): Likewise.
26497         * libio/putwchar.c (putwchar): Likewise.
26498         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
26499         * libio/rewind.c (rewind): Likewise.
26500         * libio/setbuf.c (setbuf): Likewise.
26501         * libio/setlinebuf.c (setlinebuf): Likewise.
26502         * libio/vasprintf.c (_IO_vasprintf): Likewise.
26503         * libio/vscanf.c (_IO_vscanf): Likewise.
26504         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
26505         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
26506         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26507         * libio/wgenops.c (_IO_least_wmarker): Likewise.
26508         (_IO_switch_to_main_wget_area): Likewise.
26509         (_IO_switch_to_wbackup_area): Likewise.
26510         (_IO_wsetb): Likewise.
26511         (_IO_wdefault_pbackfail): Likewise.
26512         (_IO_wdefault_finish): Likewise.
26513         (_IO_wdefault_uflow): Likewise.
26514         (__woverflow): Likewise.
26515         (__wuflow): Likewise.
26516         (__wunderflow): Likewise.
26517         (_IO_wdefault_xsputn): Likewise.
26518         (_IO_wdefault_xsgetn): Likewise.
26519         (_IO_wdoallocbuf): Likewise.
26520         (_IO_wdefault_doallocate): Likewise.
26521         (_IO_switch_to_wget_mode): Likewise.
26522         (_IO_free_wbackup_area): Likewise.
26523         (_IO_switch_to_wput_mode): Likewise.
26524         (_IO_sputbackwc): Likewise.
26525         (_IO_sungetwc): Likewise.
26526         (_IO_adjust_wcolumn): Likewise.
26527         (_IO_init_wmarker): Likewise.
26528         (_IO_wmarker_delta): Likewise.
26529         (_IO_seekwmark): Likewise.
26530         (_IO_unsave_wmarkers): Likewise.
26531         * libio/wmemstream.c (open_wmemstream): Likewise.
26532         (_IO_wmem_sync): Likewise.
26533         (_IO_wmem_finish): Likewise.
26534         * locale/nl_langinfo.c (nl_langinfo): Likewise.
26535         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
26536         * locale/programs/simple-hash.c (init_hash): Likewise.
26537         (delete_hash): Likewise.
26538         (insert_entry): Likewise.
26539         (set_entry): Likewise.
26540         (next_prime): Likewise.
26541         (is_prime): Likewise.
26542         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
26543         (xmalloc): Likewise.
26544         (xrealloc): Likewise.
26545         * locale/programs/xstrdup.c (xstrdup): Likewise.
26546         * localedata/collate-test.c (xstrcoll): Likewise.
26547         * localedata/xfrm-test.c (xstrcmp): Likewise.
26548         * login/getlogin_r.c (__getlogin_r): Likewise.
26549         * login/getpt.c (__posix_openpt): Likewise.
26550         * login/login_tty.c (login_tty): Likewise.
26551         * login/setlogin.c (setlogin): Likewise.
26552         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
26553         (mach_msg_destroy_port): Likewise.
26554         (mach_msg_destroy_memory): Likewise.
26555         * malloc/mcheck.c (flood): Likewise.
26556         * misc/acct.c (acct): Likewise.
26557         * misc/brk.c (__brk): Likewise.
26558         * misc/chflags.c (chflags): Likewise.
26559         * misc/chroot.c (chroot): Likewise.
26560         * misc/fchflags.c (fchflags): Likewise.
26561         * misc/fstab.c (getfsspec): Likewise.
26562         (getfsfile): Likewise.
26563         * misc/fsync.c (fsync): Likewise.
26564         * misc/ftruncate.c (__ftruncate): Likewise.
26565         * misc/ftruncate64.c (__ftruncate64): Likewise.
26566         * misc/getdomain.c (getdomainname): Likewise.
26567         (getdomainname): Likewise.
26568         * misc/gethostname.c (__gethostname): Likewise.
26569         * misc/getpass.c (getpass): Likewise.
26570         * misc/getttyent.c (skip): Likewise.
26571         (value): Likewise.
26572         * misc/gtty.c (gtty): Likewise.
26573         * misc/hsearch.c (hsearch): Likewise.
26574         (hcreate): Likewise.
26575         * misc/hsearch_r.c (__hcreate_r): Likewise.
26576         (__hdestroy_r): Likewise.
26577         * misc/ioctl.c (__ioctl): Likewise.
26578         * misc/mkdtemp.c (mkdtemp): Likewise.
26579         * misc/mkostemp.c (mkostemp): Likewise.
26580         * misc/mkostemp64.c (mkostemp64): Likewise.
26581         * misc/mkostemps.c (mkostemps): Likewise.
26582         * misc/mkostemps64.c (mkostemps64): Likewise.
26583         * misc/mkstemp.c (mkstemp): Likewise.
26584         * misc/mkstemp64.c (mkstemp64): Likewise.
26585         * misc/mkstemps.c (mkstemps): Likewise.
26586         * misc/mkstemps64.c (mkstemps64): Likewise.
26587         * misc/mktemp.c (__mktemp): Likewise.
26588         * misc/preadv.c (preadv): Likewise.
26589         * misc/preadv64.c (preadv64): Likewise.
26590         * misc/pwritev.c (pwritev): Likewise.
26591         * misc/pwritev64.c (pwritev64): Likewise.
26592         * misc/readv.c (__readv): Likewise.
26593         * misc/revoke.c (revoke): Likewise.
26594         * misc/setdomain.c (setdomainname): Likewise.
26595         * misc/setegid.c (setegid): Likewise.
26596         * misc/seteuid.c (seteuid): Likewise.
26597         * misc/sethostid.c (sethostid): Likewise.
26598         * misc/sethostname.c (sethostname): Likewise.
26599         * misc/setregid.c (__setregid): Likewise.
26600         * misc/setreuid.c (__setreuid): Likewise.
26601         * misc/sstk.c (sstk): Likewise.
26602         * misc/stty.c (stty): Likewise.
26603         * misc/syscall.c (syscall): Likewise.
26604         * misc/syslog.c (setlogmask): Likewise.
26605         * misc/truncate.c (__truncate): Likewise.
26606         * misc/truncate64.c (truncate64): Likewise.
26607         * misc/ualarm.c (ualarm): Likewise.
26608         * misc/usleep.c (usleep): Likewise.
26609         * misc/ustat.c (ustat): Likewise.
26610         * misc/writev.c (__writev): Likewise.
26611         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
26612         * nptl/old_pthread_cond_broadcast.c
26613         (__pthread_cond_broadcast_2_0): Likewise.
26614         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
26615         Likewise.
26616         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
26617         Likewise.
26618         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
26619         Likewise.
26620         * nptl/pt-raise.c (raise): Likewise.
26621         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
26622         Likewise.
26623         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
26624         * nptl/pthread_barrierattr_destroy.c
26625         (pthread_barrierattr_destroy): Likewise.
26626         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26627         Likewise.
26628         * nptl/pthread_barrierattr_setpshared.c
26629         (pthread_barrierattr_setpshared): Likewise.
26630         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
26631         Likewise.
26632         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
26633         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26634         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
26635         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
26636         Likewise.
26637         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
26638         Likewise.
26639         * nptl/pthread_condattr_getpshared.c
26640         (pthread_condattr_getpshared): Likewise.
26641         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
26642         Likewise.
26643         * nptl/pthread_condattr_setpshared.c
26644         (pthread_condattr_setpshared): Likewise.
26645         * nptl/pthread_detach.c (pthread_detach): Likewise.
26646         * nptl/pthread_equal.c (__pthread_equal): Likewise.
26647         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
26648         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
26649         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
26650         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
26651         Likewise.
26652         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
26653         Likewise.
26654         * nptl/pthread_mutex_getprioceiling.c
26655         (pthread_mutex_getprioceiling): Likewise.
26656         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
26657         Likewise.
26658         * nptl/pthread_mutexattr_getprotocol.c
26659         (pthread_mutexattr_getprotocol): Likewise.
26660         * nptl/pthread_mutexattr_getpshared.c
26661         (pthread_mutexattr_getpshared): Likewise.
26662         * nptl/pthread_mutexattr_getrobust.c
26663         (pthread_mutexattr_getrobust): Likewise.
26664         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26665         Likewise.
26666         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
26667         Likewise.
26668         * nptl/pthread_mutexattr_setprioceiling.c
26669         (pthread_mutexattr_setprioceiling): Likewise.
26670         * nptl/pthread_mutexattr_setprotocol.c
26671         (pthread_mutexattr_setprotocol): Likewise.
26672         * nptl/pthread_mutexattr_setpshared.c
26673         (pthread_mutexattr_setpshared): Likewise.
26674         * nptl/pthread_mutexattr_setrobust.c
26675         (pthread_mutexattr_setrobust): Likewise.
26676         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
26677         Likewise.
26678         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
26679         Likewise.
26680         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
26681         Likewise.
26682         * nptl/pthread_rwlockattr_getkind_np.c
26683         (pthread_rwlockattr_getkind_np): Likewise.
26684         * nptl/pthread_rwlockattr_getpshared.c
26685         (pthread_rwlockattr_getpshared): Likewise.
26686         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
26687         Likewise.
26688         * nptl/pthread_rwlockattr_setkind_np.c
26689         (pthread_rwlockattr_setkind_np): Likewise.
26690         * nptl/pthread_rwlockattr_setpshared.c
26691         (pthread_rwlockattr_setpshared): Likewise.
26692         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
26693         Likewise.
26694         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
26695         Likewise.
26696         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
26697         Likewise.
26698         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
26699         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
26700         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
26701         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
26702         * nptl/sem_close.c (sem_close): Likewise.
26703         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
26704         * nptl/sem_init.c (__old_sem_init): Likewise.
26705         * nptl/sigaction.c (__sigaction): Likewise.
26706         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26707         * posix/_exit.c (_exit): Likewise.
26708         * posix/alarm.c (alarm): Likewise.
26709         * posix/confstr.c (confstr): Likewise.
26710         * posix/fpathconf.c (__fpathconf): Likewise.
26711         * posix/getgroups.c (__getgroups): Likewise.
26712         * posix/getpgid.c (__getpgid): Likewise.
26713         * posix/group_member.c (__group_member): Likewise.
26714         * posix/pathconf.c (__pathconf): Likewise.
26715         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
26716         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
26717         * posix/setgid.c (__setgid): Likewise.
26718         * posix/setpgid.c (__setpgid): Likewise.
26719         * posix/setuid.c (__setuid): Likewise.
26720         * posix/sleep.c (__sleep): Likewise.
26721         * posix/sysconf.c (__sysconf): Likewise.
26722         * posix/times.c (__times): Likewise.
26723         * posix/uname.c (__uname): Likewise.
26724         * posix/waitid.c (__waitid): Likewise.
26725         * pwd/getpw.c (__getpw): Likewise.
26726         * resolv/base64.c (b64_pton): Likewise.
26727         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
26728         * resolv/gethnamaddr.c (Dprintf): Likewise.
26729         (gethostbyname): Likewise.
26730         (gethostbyname2): Likewise.
26731         (gethostbyaddr): Likewise.
26732         (_sethtent): Likewise.
26733         (_gethtbyname): Likewise.
26734         (_gethtbyname2): Likewise.
26735         (_gethtbyaddr): Likewise.
26736         (map_v4v6_address): Likewise.
26737         (map_v4v6_hostent): Likewise.
26738         (addrsort): Likewise.
26739         (ht_sethostent): Likewise.
26740         (ht_gethostbyname): Likewise.
26741         (ht_gethostbyaddr): Likewise.
26742         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
26743         (inet_net_ntop_ipv4): Likewise.
26744         * resolv/inet_neta.c (inet_neta): Likewise.
26745         * resolv/inet_ntop.c (inet_ntop): Likewise.
26746         (inet_ntop4): Likewise.
26747         (inet_ntop6): Likewise.
26748         * resolv/inet_pton.c (__inet_pton): Likewise.
26749         (inet_pton4): Likewise.
26750         (inet_pton6): Likewise.
26751         * resolv/res_debug.c (loc_aton): Likewise.
26752         (loc_ntoa): Likewise.
26753         * resource/getpriority.c (__getpriority): Likewise.
26754         * resource/getrusage.c (__getrusage): Likewise.
26755         * resource/nice.c (nice): Likewise.
26756         * resource/setpriority.c (__setpriority): Likewise.
26757         * resource/setrlimit64.c (setrlimit64): Likewise.
26758         * resource/vlimit.c (vlimit): Likewise.
26759         * resource/vtimes.c (vtimes): Likewise.
26760         * rt/aio_error.c (aio_error): Likewise.
26761         * rt/aio_return.c (aio_return): Likewise.
26762         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
26763         * signal/kill.c (__kill): Likewise.
26764         * signal/killpg.c (killpg): Likewise.
26765         * signal/raise.c (raise): Likewise.
26766         * signal/sigaction.c (__sigaction): Likewise.
26767         * signal/sigaddset.c (sigaddset): Likewise.
26768         * signal/sigaltstack.c (sigaltstack): Likewise.
26769         * signal/sigandset.c (sigandset): Likewise.
26770         * signal/sigblock.c (__sigblock): Likewise.
26771         * signal/sigdelset.c (sigdelset): Likewise.
26772         * signal/sigempty.c (sigemptyset): Likewise.
26773         * signal/sigfillset.c (sigfillset): Likewise.
26774         * signal/sighold.c (sighold): Likewise.
26775         * signal/sigignore.c (sigignore): Likewise.
26776         * signal/sigintr.c (siginterrupt): Likewise.
26777         * signal/sigisempty.c (sigisemptyset): Likewise.
26778         * signal/sigismem.c (sigismember): Likewise.
26779         * signal/signal.c (signal): Likewise.
26780         * signal/sigorset.c (sigorset): Likewise.
26781         * signal/sigpause.c (__sigpause): Likewise.
26782         * signal/sigpending.c (sigpending): Likewise.
26783         * signal/sigprocmask.c (__sigprocmask): Likewise.
26784         * signal/sigrelse.c (sigrelse): Likewise.
26785         * signal/sigreturn.c (__sigreturn): Likewise.
26786         * signal/sigset.c (sigset): Likewise.
26787         * signal/sigsetmask.c (__sigsetmask): Likewise.
26788         * signal/sigstack.c (sigstack): Likewise.
26789         * signal/sigsuspend.c (__sigsuspend): Likewise.
26790         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
26791         * signal/sysv_signal.c (__sysv_signal): Likewise.
26792         * socket/accept.c (accept): Likewise.
26793         * socket/accept4.c (__libc_accept4): Likewise.
26794         * socket/bind.c (__bind): Likewise.
26795         * socket/connect.c (__connect): Likewise.
26796         * socket/getpeername.c (getpeername): Likewise.
26797         * socket/getsockname.c (__getsockname): Likewise.
26798         * socket/getsockopt.c (getsockopt): Likewise.
26799         * socket/listen.c (__listen): Likewise.
26800         * socket/recv.c (__recv): Likewise.
26801         * socket/recvmsg.c (__recvmsg): Likewise.
26802         * socket/send.c (__send): Likewise.
26803         * socket/sendmsg.c (__sendmsg): Likewise.
26804         * socket/shutdown.c (shutdown): Likewise.
26805         * socket/sockatmark.c (sockatmark): Likewise.
26806         * socket/socket.c (__socket): Likewise.
26807         * stdio-common/ctermid.c (ctermid): Likewise.
26808         * stdio-common/cuserid.c (cuserid): Likewise.
26809         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
26810         * stdio-common/remove.c (remove): Likewise.
26811         * stdio-common/rename.c (rename): Likewise.
26812         * stdio-common/renameat.c (renameat): Likewise.
26813         * stdio-common/tempname.c (__gen_tempname): Likewise.
26814         * stdio-common/xbug.c (InitBuffer): Likewise.
26815         (AppendToBuffer): Likewise.
26816         (ReadFile): Likewise.
26817         * stdlib/a64l.c (a64l): Likewise.
26818         * stdlib/drand48_r.c (drand48_r): Likewise.
26819         * stdlib/getcontext.c (getcontext): Likewise.
26820         * stdlib/getenv.c (getenv): Likewise.
26821         * stdlib/l64a.c (l64a): Likewise.
26822         * stdlib/llabs.c (llabs): Likewise.
26823         * stdlib/lldiv.c (lldiv): Likewise.
26824         * stdlib/lrand48_r.c (lrand48_r): Likewise.
26825         * stdlib/mrand48_r.c (mrand48_r): Likewise.
26826         * stdlib/putenv.c (putenv): Likewise.
26827         * stdlib/random.c (__srandom): Likewise.
26828         (__initstate): Likewise.
26829         (__setstate): Likewise.
26830         * stdlib/random_r.c (__srandom_r): Likewise.
26831         (__setstate_r): Likewise.
26832         (__random_r): Likewise.
26833         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
26834         * stdlib/setcontext.c (setcontext): Likewise.
26835         * stdlib/setenv.c (setenv): Likewise.
26836         (unsetenv): Likewise.
26837         * stdlib/srand48.c (srand48): Likewise.
26838         * stdlib/srand48_r.c (__srand48_r): Likewise.
26839         * stdlib/swapcontext.c (swapcontext): Likewise.
26840         * stdlib/system.c (__libc_system): Likewise.
26841         * stdlib/tst-strtod.c (expand): Likewise.
26842         * stdlib/tst-strtol.c (expand): Likewise.
26843         * stdlib/tst-strtoll.c (expand): Likewise.
26844         * streams/fattach.c (fattach): Likewise.
26845         * streams/fdetach.c (fdetach): Likewise.
26846         * streams/getmsg.c (getmsg): Likewise.
26847         * streams/isastream.c (isastream): Likewise.
26848         * string/ffs.c (__ffs): Likewise.
26849         * string/ffsll.c (ffsll): Likewise.
26850         * string/memcmp.c (memcmp_common_alignment): Likewise.
26851         (memcmp_not_common_alignment): Likewise.
26852         (MEMCMP): Likewise.
26853         * string/memcpy.c (memcpy): Likewise.
26854         * string/memmove.c (MEMMOVE): Likewise.
26855         * string/memset.c (memset): Likewise.
26856         * string/rawmemchr.c (RAWMEMCHR): Likewise.
26857         * string/strchrnul.c (STRCHRNUL): Likewise.
26858         * string/strerror.c (strerror): Likewise.
26859         * string/strndup.c (__strndup): Likewise.
26860         * string/strverscmp.c (__strverscmp): Likewise.
26861         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
26862         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
26863         (clnttcp_freeres): Likewise.
26864         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
26865         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
26866         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
26867         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
26868         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
26869         (xdr_callhdr): Likewise.
26870         * sunrpc/rpcinfo.c (udpping): Likewise.
26871         (tcpping): Likewise.
26872         (pstatus): Likewise.
26873         (pmapdump): Likewise.
26874         (brdcst): Likewise.
26875         (deletereg): Likewise.
26876         (getprognum): Likewise.
26877         (getvers): Likewise.
26878         (get_inet_address): Likewise.
26879         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
26880         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26881         (svcudp_stat): Likewise.
26882         (svcudp_recv): Likewise.
26883         (svcudp_reply): Likewise.
26884         (svcudp_getargs): Likewise.
26885         (svcudp_freeargs): Likewise.
26886         (svcudp_destroy): Likewise.
26887         * sunrpc/xdr.c (xdr_bytes): Likewise.
26888         (xdr_netobj): Likewise.
26889         (xdr_string): Likewise.
26890         (xdr_wrapstring): Likewise.
26891         * sunrpc/xdr_float.c (xdr_float): Likewise.
26892         (xdr_double): Likewise.
26893         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
26894         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
26895         * sysvipc/ftok.c (ftok): Likewise.
26896         * sysvipc/msgctl.c (msgctl): Likewise.
26897         * sysvipc/msgget.c (msgget): Likewise.
26898         * sysvipc/msgrcv.c (msgrcv): Likewise.
26899         * sysvipc/msgsnd.c (msgsnd): Likewise.
26900         * sysvipc/semget.c (semget): Likewise.
26901         * sysvipc/semop.c (semop): Likewise.
26902         * sysvipc/shmat.c (shmat): Likewise.
26903         * sysvipc/shmctl.c (shmctl): Likewise.
26904         * sysvipc/shmdt.c (shmdt): Likewise.
26905         * sysvipc/shmget.c (shmget): Likewise.
26906         * termios/cfmakeraw.c (cfmakeraw): Likewise.
26907         * termios/speed.c (cfgetospeed): Likewise.
26908         (cfgetispeed): Likewise.
26909         (cfsetospeed): Likewise.
26910         (cfsetispeed): Likewise.
26911         * termios/tcflow.c (tcflow): Likewise.
26912         * termios/tcflush.c (tcflush): Likewise.
26913         * termios/tcgetattr.c (__tcgetattr): Likewise.
26914         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
26915         * termios/tcgetsid.c (tcgetsid): Likewise.
26916         * termios/tcsendbrk.c (tcsendbreak): Likewise.
26917         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
26918         * time/adjtime.c (__adjtime): Likewise.
26919         * time/dysize.c (dysize): Likewise.
26920         * time/ftime.c (ftime): Likewise.
26921         * time/getitimer.c (__getitimer): Likewise.
26922         * time/gettimeofday.c (__gettimeofday): Likewise.
26923         * time/gmtime.c (__gmtime_r): Likewise.
26924         (gmtime): Likewise.
26925         * time/localtime.c (__localtime_r): Likewise.
26926         (localtime): Likewise.
26927         * time/offtime.c (__offtime): Likewise.
26928         * time/settimeofday.c (__settimeofday): Likewise.
26929         * time/stime.c (stime): Likewise.
26930         * time/strftime_l.c (tm_diff): Likewise.
26931         (iso_week_days): Likewise.
26932         * time/strptime.c (strptime): Likewise.
26933         * time/time.c (time): Likewise.
26934         * time/timespec_get.c (timespec_get): Likewise.
26935         * time/tzset.c (tzset_internal): Likewise.
26936         (compute_change): Likewise.
26937         (__tz_compute): Likewise.
26938         * wcsmbs/btowc.c (__btowc): Likewise.
26939         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
26940         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
26941         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
26942         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
26943         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
26944         * wcsmbs/wcscat.c (__wcscat): Likewise.
26945         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26946         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
26947         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
26948         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26949         * wcsmbs/wcsdup.c (wcsdup): Likewise.
26950         * wcsmbs/wcslen.c (__wcslen): Likewise.
26951         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
26952         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
26953         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
26954         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
26955         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26956         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
26957         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26958         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26959         * wcsmbs/wcstok.c (wcstok): Likewise.
26960         * wcsmbs/wctob.c (wctob): Likewise.
26961         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
26962         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26963         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
26964         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
26965         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
26966         * wcsmbs/wmemset.c (__wmemset): Likewise.
26967         * wctype/wcfuncs.c (__towlower): Likewise.
26968         (__towupper): Likewise.
26970         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
26971         (lll_unlock_elision): Add adapt_count parameter.
26973 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26975         * sysdeps/nptl/configure.ac: Do not give errors based on the
26976         results of top-level configure tests.
26977         * sysdeps/nptl/configure: Regenerated.
26979         * configure.ac (libc_cv_Bgroup): Remove configure test.
26980         * configure: Regenerated.
26981         * config.make.in (have-Bgroup): Remove variable.
26983         * configure.ac (sizeof_long_double): Remove configure test.
26984         * configure: Regenerated.
26985         * config.make.in (sizeof-long-double): Remove variable.
26987         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
26988         * configure: Regenerated.
26989         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
26990         variable.
26991         (exceptions): Likewise.
26992         * sysdeps/arm/configure: Regenerated.
26993         * config.make.in (exceptions): Remove variable.
26994         * Makeconfig (uses-callbacks): Use -fexceptions instead of
26995         $(exceptions).
26996         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
26997         (CFLAGS-vdprintf_chk.c): Likewise.
26998         (CFLAGS-printf_chk.c): Likewise.
26999         (CFLAGS-fprintf_chk.c): Likewise.
27000         (CFLAGS-vprintf_chk.c): Likewise.
27001         (CFLAGS-vfprintf_chk.c): Likewise.
27002         (CFLAGS-gets_chk.c): Likewise.
27003         (CFLAGS-fgets_chk.c): Likewise.
27004         (CFLAGS-fgets_u_chk.c): Likewise.
27005         (CFLAGS-fread_chk.c): Likewise.
27006         (CFLAGS-fread_u_chk.c): Likewise.
27007         (CFLAGS-wprintf_chk.c): Likewise.
27008         (CFLAGS-fwprintf_chk.c): Likewise.
27009         (CFLAGS-vwprintf_chk.c): Likewise.
27010         (CFLAGS-vfwprintf_chk.c): Likewise.
27011         (CFLAGS-fgetws_chk.c): Likewise.
27012         (CFLAGS-fgetws_u_chk.c): Likewise.
27013         * libio/Makefile (CFLAGS-fileops.c): Likewise.
27014         (CFLAGS-fputc.c): Likewise.
27015         (CFLAGS-fputwc.c): Likewise.
27016         (CFLAGS-freopen64.c): Likewise.
27017         (CFLAGS-freopen.c): Likewise.
27018         (CFLAGS-fseek.c): Likewise.
27019         (CFLAGS-fseeko64.c): Likewise.
27020         (CFLAGS-fseeko.c): Likewise.
27021         (CFLAGS-ftello64.c): Likewise.
27022         (CFLAGS-ftello.c): Likewise.
27023         (CFLAGS-fwide.c): Likewise.
27024         (CFLAGS-genops.c): Likewise.
27025         (CFLAGS-getc.c): Likewise.
27026         (CFLAGS-getchar.c): Likewise.
27027         (CFLAGS-getwc.c): Likewise.
27028         (CFLAGS-getwchar.c): Likewise.
27029         (CFLAGS-iofclose.c): Likewise.
27030         (CFLAGS-iofflush.c): Likewise.
27031         (CFLAGS-iofgetpos64.c): Likewise.
27032         (CFLAGS-iofgetpos.c): Likewise.
27033         (CFLAGS-iofgets.c): Likewise.
27034         (CFLAGS-iofgetws.c): Likewise.
27035         (CFLAGS-iofputs.c): Likewise.
27036         (CFLAGS-iofputws.c): Likewise.
27037         (CFLAGS-iofread.c): Likewise.
27038         (CFLAGS-iofsetpos64.c): Likewise.
27039         (CFLAGS-iofsetpos.c): Likewise.
27040         (CFLAGS-ioftell.c): Likewise.
27041         (CFLAGS-iofwrite.c): Likewise.
27042         (CFLAGS-iogetdelim.c): Likewise.
27043         (CFLAGS-iogetline.c): Likewise.
27044         (CFLAGS-iogets.c): Likewise.
27045         (CFLAGS-iogetwline.c): Likewise.
27046         (CFLAGS-ioputs.c): Likewise.
27047         (CFLAGS-ioseekoff.c): Likewise.
27048         (CFLAGS-ioseekpos.c): Likewise.
27049         (CFLAGS-iosetbuffer.c): Likewise.
27050         (CFLAGS-iosetvbuf.c): Likewise.
27051         (CFLAGS-ioungetc.c): Likewise.
27052         (CFLAGS-ioungetwc.c): Likewise.
27053         (CFLAGS-oldfileops.c): Likewise.
27054         (CFLAGS-oldiofclose.c): Likewise.
27055         (CFLAGS-oldiofgetpos64.c): Likewise.
27056         (CFLAGS-oldiofgetpos.c): Likewise.
27057         (CFLAGS-oldiofsetpos64.c): Likewise.
27058         (CFLAGS-oldiofsetpos.c): Likewise.
27059         (CFLAGS-peekc.c): Likewise.
27060         (CFLAGS-putc.c): Likewise.
27061         (CFLAGS-putchar.c): Likewise.
27062         (CFLAGS-putwc.c): Likewise.
27063         (CFLAGS-putwchar.c): Likewise.
27064         (CFLAGS-rewind.c): Likewise.
27065         (CFLAGS-wfileops.c): Likewise.
27066         (CFLAGS-wgenops.c): Likewise.
27067         (CFLAGS-oldiofopen.c): Likewise.
27068         (CFLAGS-iofopen.c): Likewise.
27069         (CFLAGS-iofopen64.c): Likewise.
27070         (CFLAGS-oldtmpfile.c): Likewise.
27071         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
27072         (CFLAGS-fprintf.c): Likewise.
27073         (CFLAGS-printf.c): Likewise.
27074         (CFLAGS-vfwprintf.c): Likewise.
27075         (CFLAGS-vfscanf.c): Likewise.
27076         (CFLAGS-vfwscanf.c): Likewise.
27077         (CFLAGS-fscanf.c): Likewise.
27078         (CFLAGS-scanf.c): Likewise.
27079         (CFLAGS-isoc99_vfscanf.c): Likewise.
27080         (CFLAGS-isoc99_vscanf.c): Likewise.
27081         (CFLAGS-isoc99_fscanf.c): Likewise.
27082         (CFLAGS-isoc99_scanf.c): Likewise.
27083         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
27084         (CFLAGS-isoc99_fwscanf.c): Likewise.
27085         (CFLAGS-isoc99_vwscanf.c): Likewise.
27086         (CFLAGS-isoc99_vfwscanf.c): Likewise.
27088         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
27089         after mkstemp64.
27090         * login/tst-utmp.c (do_prepare): Likewise.
27091         * rt/tst-aio.c (do_prepare): Likewise.
27092         * rt/tst-aio64.c (do_prepare): Likewise.
27094 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27096         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27097         (__lll_lock_elision): Remove adapt_count decrement...
27098         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
27099         (__lll_trylock_elision): Likewise.
27100         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
27101         (__lll_unlock_elision): ... to here. And utilize
27102         new adapt_count parameter.
27103         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27104         (__lll_unlock_elision): Update to include adapt_count
27105         parameter.
27106         (lll_unlock_elision): Pass pointer to adapt_count
27107         variable.
27109 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27111         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
27112         Add elision adapt_count parameter to list of arguments.
27113         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27114         (lll_unlock_elision): Update with new parameter list
27115         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
27116         (lll_unlock_elision): Likewise.
27117         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
27118         (lll_unlock_elision): Likewise.
27120 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27122         [BZ #19122]
27123         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
27124         attribute_hidden.
27126         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
27127         attribute_hidden.
27128         [IS_IN (rtld)] (__strdup): Likewise.
27129         [IS_IN (rtld)] (__strerror_r): Likewise.
27130         [IS_IN (rtld)] (__strsep_g): Likewise.
27131         [IS_IN (rtld)] (memchr): Likewise.
27132         [IS_IN (rtld)] (memcmp): Likewise.
27133         [IS_IN (rtld)] (memcpy): Likewise.
27134         [IS_IN (rtld)] (memmove): Likewise.
27135         [IS_IN (rtld)] (memset): Likewise.
27136         [IS_IN (rtld)] (rawmemchr): Likewise.
27137         [IS_IN (rtld)] (stpcpy): Likewise.
27138         [IS_IN (rtld)] (strchr): Likewise.
27139         [IS_IN (rtld)] (strcmp): Likewise.
27140         [IS_IN (rtld)] (strlen): Likewise.
27141         [IS_IN (rtld)] (strnlen): Likewise.
27142         [IS_IN (rtld)] (strsep): Likewise.
27144         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
27145         attribute_hidden.
27146         [IS_IN (rtld)] (__strtoul_internal): Likewise.
27148         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
27149         attribute_hidden.
27150         [IS_IN (rtld)] (__libc_sigaction): Likewise.
27152         * include/setjmp.h (__longjmp): Add attribute_hidden.
27153         [IS_IN (rtld)] (__sigsetjmp): Likewise.
27155         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
27156         Add attribute_hidden.
27158         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
27159         [IS_IN (rtld)] (__open): Likewise.
27160         [IS_IN (rtld)] (__fcntl): Likewise.
27162         * include/dirent.h (__opendirat): Add attribute_hidden.
27163         (__getdents): Likewise.
27164         (__getdents64): Likewise.
27165         (__alloc_dir): Likewise.
27166         [IS_IN (rtld)] (__closedir): Likewise.
27167         [IS_IN (rtld)] (__fdopendir): Likewise.
27168         [IS_IN (rtld)] (__readdir): Likewise.
27169         [IS_IN (rtld)] (__readdir64): Likewise.
27170         [IS_IN (rtld)] (__rewinddir): Likewise.
27172         * include/dlfcn.h (_dl_catch_error): Moved to ...
27173         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
27174         attribute_hidden.
27176         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
27177         (_itoa_word): Likewise.
27179         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
27180         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27181         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27182         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
27183         (_dl_higher_prime_number): Likewise.
27184         (_dl_debug_printf_c): Likewise.
27185         (_dl_signal_cerror): Likewise.
27186         (_dl_receive_error): Likewise.
27187         (_dl_reloc_bad_type): Likewise.
27188         (_dl_resolve_conflicts): Likewise.
27189         (_dl_check_all_versions): Likewise.
27190         (_dl_check_map_versions): Likewise.
27191         (_dl_sort_fini): Likewise.
27192         (_dl_debug_initialize): Likewise.
27193         (_dl_init_paths): Likewise.
27194         (_dl_show_auxv): Likewise.
27195         (_dl_next_ld_env_entry): Likewise.
27196         (_dl_important_hwcaps): Likewise.
27197         (_dl_load_cache_lookup): Likewise.
27198         (_dl_update_slotinfo): Likewise.
27199         (_dl_show_scope): Likewise.
27201         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
27202         attribute_hidden.
27203         (_wordcopy_fwd_dest_aligned): Likewise.
27204         (_wordcopy_bwd_aligned): Likewise.
27205         (_wordcopy_bwd_dest_aligned): Likewise.
27207         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27208         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27209         Likewise.
27210         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27211         Likewise.
27212         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27214 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27216         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
27217         GCC 5 requirement.
27219 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27221         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
27222         test.
27223         * sysdeps/i386/configure: Regenerated.
27224         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
27225         code unconditional.
27227         * configure.ac (libc_cv_asm_previous_directive): Remove configure
27228         test.
27229         (libc_cv_asm_popsection_directive): Likewise.
27230         * configure: Regenerated.
27231         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
27232         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
27233         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
27234         (__make_section_unallocated): Make definition unconditional.
27235         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
27236         Remove conditional definition.
27237         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
27238         (__make_section_unallocated): Likewise.
27240         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
27241         * configure: Regenerated.
27242         * config.make.in (static-libgcc): Remove variable.
27243         * Makerules (build-shlib-helper): Use -static-libgcc instead of
27244         $(static-libgcc).
27245         (build-module-helper): Likewise.
27247         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
27248         * configure: Regenerated.
27250 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27252         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
27253         (struct char_buffer): New type.
27254         (char_buffer_start, char_buffer_size, char_buffer_error)
27255         (char_buffer_rewind, char_buffer_add): New functions.
27256         (ADDW): Remove macro, replaced by the char_buffer_add function.
27257         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
27258         of extend_alloca.  Make control flow more explicit.
27260 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27262         [BZ #19137]
27263         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27264         Add -fomit-frame-pointer.
27265         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
27267 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27269         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
27270         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
27271         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
27272         only if !__GNUC_PREREQ (5,0).
27273         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
27274         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
27275         (INTERNAL_SYSCALL_NCS): Likewise.
27276         (LOADREGS_0): New macro for GCC 5.
27277         (ASMARGS_0): Likewise.
27278         (LOADREGS_1): Likewise.
27279         (ASMARGS_1): Likewise.
27280         (LOADREGS_2): Likewise.
27281         (ASMARGS_2): Likewise.
27282         (LOADREGS_3): Likewise.
27283         (ASMARGS_3): Likewise.
27284         (LOADREGS_4): Likewise.
27285         (ASMARGS_4): Likewise.
27286         (LOADREGS_5): Likewise.
27287         (ASMARGS_5): Likewise.
27288         (LOADREGS_6): Likewise.
27289         (ASMARGS_6): Likewise.
27291 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27293         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
27294         -fomit-frame-pointer.
27295         (CFLAGS-mmap64.c): Likewise.
27296         (CFLAGS-semtimedop.c): Likewise.
27297         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
27298         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
27299         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27300         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27302 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27304         [BZ #18928]
27305         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
27306         _dl_pointer_guard member.
27307         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
27308         initializer.
27309         (security_init): Always set up pointer guard.
27310         (process_envvars): Do not process LD_POINTER_GUARD.
27312 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
27314         [BZ #19134]
27315         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
27316         (.LC2): Likewise.
27317         (.LC3): Likewise.
27318         (__lround): Do not add 0.5 to integer or out-of-range arguments.
27320 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27322         [BZ #19129]
27323         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
27324         r0 and r1.
27326 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
27328         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
27330 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
27332         * include/stap-probe.h: Fix macro definition formatting.
27334 2015-10-14  Florian Weimer  <fweimer@redhat.com>
27336         [BZ #19074]
27337         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
27338         load and store num_ifs.
27340 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27342         [BZ #18822]
27343         * sysdeps/unix/sysv/linux/sched_getaffinity.c
27344         (__sched_getaffinity_new): Add libc_hidden_proto and
27345         libc_hidden_def.
27347 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27349         [BZ #19007]
27350         * scripts/localplt.awk: Also allow GOT references.
27351         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
27352         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
27353         with "+ REL R_386_GLOB_DAT".
27354         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
27355         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
27357 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27359         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
27360         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27361         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
27362         Likewise.
27363         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27364         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
27365         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27366         INTERNAL_SYSCALLINTERNAL_SYSCALL and
27367         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27368         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27369         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27370         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27371         Likewise.
27372         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27374 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
27376         [BZ #19125]
27377         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
27378         <math_private.h> and <stdint.h>.
27379         (__llround): Avoid conversions to and from long long int, and
27380         subtractions, where those might raise spurious exceptions.
27381         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
27382         <math_private.h> and <stdint.h>.
27383         (__llroundf): Avoid conversions to and from long long int, and
27384         subtractions, where those might raise spurious exceptions.
27386 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27388         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
27389         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27390         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27391         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
27392         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27393         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27394         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
27395         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
27396         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
27397         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27398         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27399         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27400         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
27401         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27402         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27403         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
27404         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
27405         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27406         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
27407         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
27408         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27409         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
27410         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
27411         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27412         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
27413         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27414         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
27415         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27416         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27417         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
27418         (__xstat64_conv): Likewise.
27419         (__xstat32_conv): Likewise.
27421 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27423         * sysdeps/unix/sysv/linux/sysdep.h: New file.
27424         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
27425         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
27426         <sysdeps/unix/sysv/linux/sysdep.h>.
27427         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27428         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
27429         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
27430         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27431         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27432         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
27433         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
27434         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
27435         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
27436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27438         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27439         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27440         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27441         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27442         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27443         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
27444         (sysdep-dl-routines): Add sysdep.
27445         [$(subdir) == nptl] (libpthread-routines): Likewise.
27446         [$(subdir) == rt] (librt-routines): Likewise.
27447         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
27448         PIC when branching to SYSCALL_ERROR_LABEL.
27449         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
27450         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
27451         <sysdeps/unix/sysv/linux/sysdep.h>.
27452         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
27453         (SYSCALL_ERROR_ERRNO): Removed.
27454         (SYSCALL_ERROR_HANDLER): Changed to empty.
27455         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
27456         (__syscall_error): New prototype.
27457         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
27458         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
27460 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27462         [BZ #19124]
27463         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
27464         (_dl_runtime_resolve_avx512): Make it a hidden alias of
27465         _dl_runtime_resolve_avx.
27466         (_dl_runtime_profile_avx512): Make it a hidden alias of
27467         _dl_runtime_profile_avx.
27469 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
27471         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
27472         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
27473         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
27474         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
27476         [BZ #16422]
27477         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
27478         New configure test.
27479         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
27480         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
27481         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
27482         <math_private.h> and <stdint.h>.
27483         (__llrint): Avoid conversions to long long int where those might
27484         raise spurious exceptions.
27485         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
27486         <math_private.h> and <stdint.h>.
27487         (__llrintf): Avoid conversions to long long int where those might
27488         raise spurious exceptions.
27490 2015-10-12  Andreas Schwab  <schwab@suse.de>
27492         [BZ #18969]
27493         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
27494         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
27495         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
27496         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
27497         $(gen-locales).
27498         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
27499         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
27500         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
27501         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
27502         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
27503         $(gen-locales).
27504         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
27505         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
27506         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
27507         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
27508         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
27509         ($(objpfx)tst-ftell-active-handler.out)
27510         ($(objpfx)tst-ftell-append.out)
27511         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
27512         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
27513         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
27514         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
27515         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
27516         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
27517         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
27518         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
27519         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
27520         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
27521         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
27522         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
27523         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
27524         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
27525         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
27526         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
27527         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
27528         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
27529         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
27530         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
27531         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
27532         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
27533         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
27534         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
27535         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
27536         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
27537         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
27538         $(gen-locales).
27539         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
27540         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
27541         $(gen-locales).
27542         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
27543         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
27544         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
27545         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
27546         $(gen-locales).
27547         * libio/tst_wprintf2.c (main): Use explicit locale.
27548         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
27550 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27552         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
27553         __msg_sig_post.
27554         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
27556 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
27558         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27559         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27561         * sysdeps/arm/libm-test-ulps: Regenerated.
27563         [BZ #15470]
27564         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
27566         [BZ #16399]
27567         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
27568         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
27569         and <fix-fp-int-convert-overflow.h>.
27570         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27571         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27572         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
27573         and <fix-fp-int-convert-overflow.h>.
27574         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
27575         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27576         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
27577         <fix-fp-int-convert-overflow.h>.
27578         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27579         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27580         * sysdeps/ieee754/dbl-64/s_lround.c: Include
27581         <fix-fp-int-convert-overflow.h>.
27582         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
27583         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27584         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
27585         and <fix-fp-int-convert-overflow.h>.
27586         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27587         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27588         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
27589         <limits.h> and <fix-fp-int-convert-overflow.h>.
27590         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27591         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27592         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
27593         and <fix-fp-int-convert-overflow.h>.
27594         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27595         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27596         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
27597         and <fix-fp-int-convert-overflow.h>.
27598         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27599         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27600         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
27602 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
27604         [BZ #18589]
27605         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
27606         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
27607         $(gen-locales).
27609 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27610             Phil Blundell <pb@pbcl.net>
27612         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
27613         * nptl/tst-cancel26.c: New file.
27614         * nptl/tst-cancel27.c: Likewise.
27616 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
27618         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
27619         __ILP32__ isn't defined.
27620         (lrint): Likewise.
27621         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
27622         (lrintf): Likewise.
27623         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
27624         (lrintl): Likewise.
27625         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
27626         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
27627         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
27629 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27631         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
27632         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
27634         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
27635         file.
27636         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
27637         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
27639 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
27641         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
27642         configure test.
27643         * sysdeps/i386/configure: Regenerated.
27644         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
27645         configure test.
27646         * sysdeps/x86_64/configure: Regenerated.
27647         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
27648         Make code unconditional.
27650         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
27651         test.
27652         * sysdeps/i386/configure: Regenerated.
27653         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
27654         test.
27655         * sysdeps/x86_64/configure: Regenerated.
27656         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
27657         Make code unconditional.
27658         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
27659         Likewise.
27660         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
27661         Likewise.
27662         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27663         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
27664         code unconditional.
27665         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27666         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
27667         code unconditional.
27668         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27669         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
27670         code unconditional.
27671         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
27672         code unconditional.
27673         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27674         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
27675         code unconditional.
27676         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27677         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
27678         code unconditional.
27679         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27680         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
27681         code unconditional.
27682         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27683         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
27684         code unconditional.
27685         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27686         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
27688         [BZ #19095]
27689         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
27690         mantissa to long int before shifting left.
27692 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
27694         [BZ #19094]
27695         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
27696         <limits.h>.
27697         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27698         when result overflows but exception would not result from cast.
27699         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
27700         <limits.h>.
27701         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27702         when result overflows but exception would not result from cast.
27703         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
27704         <limits.h>.
27705         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27706         when result overflows but exception would not result from cast.
27707         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
27708         <limits.h>.
27709         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27710         when result overflows but exception would not result from cast.
27711         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
27712         <limits.h>.
27713         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27714         when result overflows but exception would not result from cast.
27715         * math/libm-test.inc (lrint_test_data): Add more tests.
27716         (llrint_test_data): Likewise.
27718 2015-10-08  Roland McGrath  <roland@hack.frob.com>
27720         [BZ #18872]
27721         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
27722         Move out from under [$(run-built-tests) = yes] conditional.
27723         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
27724         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
27726 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
27728         [BZ #18589]
27729         * string/Makefile (tests): Add bug-strcoll2.
27730         (LOCALES): Add cs_CZ.UTF-8.
27731         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
27733         [BZ #18589]
27734         * string/bug-strcoll2.c: New file.
27735         * locale/categories.def: Revert commit
27736         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
27737         * locale/langinfo.h: Likewise.
27738         * locale/localeinfo.h: Likewise.
27739         * locale/C-collate.c: Likewise.
27740         * locale/programs/ld-collate.c (collate_output): Likewise.
27741         * string/strcoll_l.c (STRDIFF): Likewise.
27742         (STRCOLL): Likewise.
27743         * wcsmbs/wcscoll_l.c: Likewise.
27745 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
27747         * math/libm-test.inc (lround_test_data): Do not expect the absence
27748         of "inexact" for some tests with non-integer arguments.
27749         (llround_test_data): Likewise.
27751         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
27752         test.
27753         (libc_cv_cc_sse2avx): Likewise.
27754         * sysdeps/i386/configure: Regenerated.
27755         * sysdeps/i386/i686/multiarch/Makefile
27756         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
27757         [$(subdir) = math].
27758         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
27759         code unconditional.
27760         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
27761         Likewise.
27762         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
27763         Likewise.
27764         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
27765         Likewise.
27766         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
27767         test.
27768         (libc_cv_cc_sse2avx): Likewise.
27769         * sysdeps/x86_64/configure: Regenerated.
27770         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
27771         unconditional.
27772         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
27773         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
27774         unconditional.
27775         (_dl_runtime_profile)
27776         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
27777         conditional code.
27778         * sysdeps/x86_64/fpu/multiarch/Makefile
27779         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
27780         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
27781         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27782         * sysdeps/x86_64/fpu/multiarch/e_exp.c
27783         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27784         * sysdeps/x86_64/fpu/multiarch/e_log.c
27785         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27786         * sysdeps/x86_64/fpu/multiarch/s_atan.c
27787         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27788         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
27789         Likewise.
27790         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
27791         Likewise.
27792         * sysdeps/x86_64/fpu/multiarch/s_sin.c
27793         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27794         * sysdeps/x86_64/fpu/multiarch/s_tan.c
27795         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27796         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
27797         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
27798         (HAVE_SSE2AVX_SUPPORT): Likewise.
27800 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
27802         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
27803         instead of #pragma optimize.
27805 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
27807         [BZ #17195]
27808         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
27809         as is similarly done in systrim and _int_free already.
27811 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27813         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
27815 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27817         [BZ #19088]
27818         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
27819         <limits.h>.
27820         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27821         overflows but exception would not result from cast.
27822         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
27823         and <limits.h>.
27824         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27825         overflows but exception would not result from cast.
27826         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
27827         <limits.h>.
27828         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27829         overflows but exception would not result from cast.
27830         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
27831         <limits.h>.
27832         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27833         overflows but exception would not result from cast.
27834         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
27835         <limits.h>.
27836         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27837         overflows but exception would not result from cast.
27838         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
27839         <limits.h>.
27840         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27841         overflows but exception would not result from cast.
27842         * math/libm-test.inc (lround_test_data): Add more tests.
27843         (llround_test_data): Likewise.
27845 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
27847         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
27848         (CFLAGS-ialloc.c): Ditto.
27849         (CFLAGS-scheck.c): Ditto.
27851 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
27853         [BZ #19086]
27854         * manual/filesys.texi (Storage Allocation): Fix argument order for
27855         posix_fallocate64.
27857 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27859         [BZ #19085]
27860         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
27861         exponent below 48 inside case for non-overflowing exponent.
27862         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
27864 2015-10-07  Florian Weimer  <fweimer@redhat.com>
27866         * iconvdata/cp737.h (from_idx): Add const.
27867         * iconvdata/cp775.h (from_idx): Likewise.
27869 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27871         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
27872         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
27873         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
27875         [BZ #19079]
27876         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
27877         file, conditioned on [!_LP64].
27878         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
27879         [!_LP64] (__lround): Do not define as function or alias.
27880         [!_LP64] (lround): Likewise.
27881         [!_LP64] (__lroundl): Likewise.
27882         [!_LP64] (lroundl): Likewise.
27883         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
27884         macro.
27885         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27886         Likewise.
27888 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27890         * math/libm-test.inc (lrint_test_data): Add more tests.
27891         (llrint_test_data): Likewise.
27892         (lround_test_data): Likewise.
27893         (llround_test_data): Likewise.
27895         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
27896         (llrint_test_data): Add tests used for lrint.
27898         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
27899         test.
27900         * sysdeps/i386/configure: Regenerated.
27901         * sysdeps/i386/i686/multiarch/Makefile
27902         [$(config-cflags-sse4) = yes]: Make code unconditional.
27903         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27904         Likewise.
27905         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
27906         Likewise.
27907         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
27908         test.
27909         * sysdeps/x86_64/configure: Regenerated.
27910         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
27911         Make code unconditional.
27912         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27913         Likewise.
27914         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
27915         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
27917         * scripts/rpm2dynsym.sh: Remove file.
27919 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27921         * configure.ac (libc_cv_cxx_thread_local): Define.
27922         * configure: Regenerate.
27923         * config.make.in (have-cxx-thread_local): Define.
27924         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
27925         (LDLIBS-tst-thread_local1): Define.
27926         (tests): Add tst-thread_local1.
27927         [have-cxx-thread_local != yes] (tests-unsupported): Add
27928         tst-thread_local1.
27929         * nptl/tst-thread_local1.cc: New file.
27931 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27933         [BZ #19078]
27934         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
27935         (u_thres): Likewise.
27936         (__expl): Determine whether to call __kernel_standard_l based on
27937         value of result, not argument.
27939         * math/libm-test.inc (scalb_test_data): Add more expectations for
27940         the "inexact" exception.
27942         [BZ #19077]
27943         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
27944         0.0L for argument 1.0L.
27946         [BZ #19076]
27947         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
27948         constant 0.0L when computing infinite result.
27950 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27952         [BZ #10432]
27953         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
27954         malloc_usable_size.
27956 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27958         [BZ #19018]
27959         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27960         Mangle function pointer before storing it.
27961         (__call_tls_dtors): Demangle function pointer before calling it.
27963 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27965         [BZ #19012]
27966         * iconv/gconv_db.c (gen_steps): Check for additional errors.
27967         Clean up on failure.
27969 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
27971         [BZ #19071]
27972         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
27973         long int variable to store possibly incremented high part of
27974         mantissa.
27975         * math/libm-test.inc (lround_test_data): Add tests used for
27976         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
27977         for tests requiring 64-bit long.  Do not condition tests on
27978         [TEST_FLOAT] unnecessarily.
27979         (llround_test_data): Add tests used for lround.  Add another
27980         expectation for the "inexact" exception.  Do not condition tests
27981         on [TEST_FLOAT] unnecessarily.
27983         [BZ #887]
27984         [BZ #19049]
27985         [BZ #19050]
27986         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
27987         * sysdeps/ieee754/dbl-64/e_log10.c: Include
27988         <fix-int-fp-convert-zero.h>.
27989         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27990         * sysdeps/ieee754/dbl-64/e_log2.c: Include
27991         <fix-int-fp-convert-zero.h>.
27992         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27993         * sysdeps/ieee754/dbl-64/s_erf.c: Include
27994         <fix-int-fp-convert-zero.h>.
27995         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27996         * sysdeps/ieee754/dbl-64/s_logb.c: Include
27997         <fix-int-fp-convert-zero.h>.
27998         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27999         * sysdeps/ieee754/flt-32/e_log10f.c: Include
28000         <fix-int-fp-convert-zero.h>.
28001         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28002         * sysdeps/ieee754/flt-32/e_log2f.c: Include
28003         <fix-int-fp-convert-zero.h>.
28004         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28005         * sysdeps/ieee754/flt-32/s_erff.c: Include
28006         <fix-int-fp-convert-zero.h>.
28007         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28008         * sysdeps/ieee754/flt-32/s_logbf.c: Include
28009         <fix-int-fp-convert-zero.h>.
28010         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28011         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
28012         <fix-int-fp-convert-zero.h>.
28013         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28014         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
28015         <fix-int-fp-convert-zero.h>.
28016         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28017         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
28018         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
28019         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
28020         file.
28021         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
28023 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
28025         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28027 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
28029         [BZ #19059]
28030         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
28031         overflowing computation.
28032         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28033         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28034         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28035         Likewise.
28036         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28037         Likewise.
28038         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28039         Likewise.
28040         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28041         Likewise.
28042         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28043         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28044         Likewise.
28045         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28046         Likewise.
28047         * math/libm-test.inc (nexttoward_test_data): Add more tests.
28049         * nss/rewrite_field.c (__nss_rewrite_field): Use
28050         internal_function.
28051         * nss/valid_field.c (__nss_valid_field): Likewise.
28052         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28054 2015-10-02  Florian Weimer  <fweimer@redhat.com>
28056         [BZ #18724]
28057         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
28058         (__nss_invalid_field_characters, __nss_valid_field)
28059         (__nss_valid_list_field, __nss_rewrite_field): Declare.
28060         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
28061         tst-field.c: New file.
28062         * nss/Makefile (routines): Add valid_field, rewrite_field.
28063         (tests-static): Define unconditionally.
28064         (tests): Include tests-static.
28065         [build-static-nss] (tests-static): Use append.
28066         [build-static-nss] (tests): Remove modification.
28067         * nss/getent.c (print_group): Call putgrent.  Report error.
28068         (print_gshadow): Call putsgent.  Report error.
28069         (print_passwd): Call putpwent.  Report error.
28070         (print_shadow): Call putspent.  Report error.
28071         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
28072         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
28073         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
28074         name, password, directory, shell fields for valid syntax.  Rewrite
28075         GECOS field to match syntax.
28076         * pwd/Makefile (tests): Add tst-putpwent.
28077         * pwd/tst-putpwent.c: New file.
28078         * grp/putgrent.c (putgrent): Convert to ISO function definition.
28079         Check grName, grpasswd, gr_mem fields for valid syntax.
28080         Change loop variable i to size_t.
28081         * grp/Makefile (tests): Add tst-putgrent.
28082         * grp/tst-putgrent.c: New file.
28083         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
28084         valid syntax.
28085         * shadow/Makefile (tests): Add tst-putspent.
28086         * shadow/tst-putspent.c: New file.
28087         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
28088         sg_mem fields for valid syntax.
28089         * gshadow/Makefile (tests): Add tst-putsgent.
28090         * gshadow/tst-putsgent.c: New file.
28092 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28094         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
28095         assembly instructions.
28097 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28099         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
28100         prefix from operands.
28102 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
28104         [BZ #16347]
28105         [BZ #19046]
28106         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
28107         <libc-internal.h>.
28108         (MAXLGM): Do not use diagnostic control macros.
28109         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
28110         threshold for ldbl-128ibm.
28111         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
28112         instead of multiplying by log then subtracting.
28113         * math/auto-libm-test-in: Add more tests of lgamma.
28114         * math/auto-libm-test-out: Regenerated.
28116         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
28117         (TYPE_HEX_DIG): Likewise.
28118         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
28119         precisions when printing floating-point numbers.
28120         (check_float_internal): Likewise.
28122 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28124         [BZ #16620]
28125         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
28126         of log (10) rounded downward to 48 bits.
28127         (log10_low): Use corresponding low part of log (10).
28129         [BZ #19032]
28130         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
28131         compute result as (x - x) / (x - x) not as 0 / 0.
28132         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28133         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
28135         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28136         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
28137         and expm1.
28138         * math/auto-libm-test-out: Regenerated.
28139         * math/libm-test.inc (acos_test_data): Add more tests.
28140         (asin_test_data): Likewise.
28141         (asinh_test_data): Likewise.
28142         (atan_test_data): Likewise.
28143         (atanh_test_data): Likewise.
28144         (atan2_test_data): Likewise.
28145         (cbrt_test_data): Likewise.
28146         (ceil_test_data): Likewise.
28147         (copysign_test_data): Likewise.
28148         (cos_test_data): Likewise.
28149         (cosh_test_data): Likewise.
28150         (erf_test_data): Likewise.
28151         (erfc_test_data): Likewise.
28152         (exp_test_data): Likewise.
28153         (exp10_test_data): Likewise.
28154         (exp2_test_data): Likewise.
28155         (expm1_test_data): Likewise.
28156         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28158 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
28160         [BZ #19006]
28161         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
28162         to ...
28163         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
28164         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
28165         to ...
28166         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
28167         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
28168         to ...
28169         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
28170         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
28171         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
28172         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
28173         to ...
28174         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
28175         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28176         Moved to ...
28177         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
28178         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28179         Moved to ...
28180         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
28181         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
28182         to ...
28183         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
28184         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28185         Moved to ...
28186         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
28187         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
28188         to ...
28189         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
28190         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
28191         Removed.
28192         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
28193         Likewise.
28194         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
28195         Likewise.
28196         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
28197         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
28198         Likewise.
28199         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28200         Likewise.
28201         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28202         Likewise.
28203         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28204         Likewise.
28205         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28206         Likewise.
28207         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
28208         Likewise.
28209         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
28210         Likewise.
28211         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
28212         Likewise.
28213         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
28214         Likewise.
28215         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
28216         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
28217         Likewise.
28218         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28219         Likewise.
28220         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28221         Likewise.
28222         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28223         Likewise.
28224         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
28225         Likewise.
28226         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28227         Replace ../i486/pthread_cond_timedwait.S with
28228         ../pthread_cond_timedwait.S.
28230 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28232         * math/libm-test.inc (acos_test_data): Refine expectations for
28233         errno and "inexact" exceptions.
28234         (acosh_test_data): Likewise.
28235         (asin_test_data): Likewise.
28236         (asinh_test_data): Likewise.
28237         (atan_test_data): Likewise.
28238         (atanh_test_data): Likewise.
28239         (atan2_test_data): Likewise.
28240         (cbrt_test_data): Likewise.
28241         (ceil_test_data): Likewise.
28242         (copysign_test_data): Likewise.
28243         (cosh_test_data): Likewise.
28244         (erf_test_data): Likewise.
28245         (erfc_test_data): Likewise.
28246         (exp_test_data): Likewise.
28247         (exp10_test_data): Likewise.
28248         (exp2_test_data): Likewise.
28249         (expm1_test_data): Likewise.
28250         (fabs_test_data): Likewise.
28251         (floor_test_data): Likewise.
28252         (fma_test_data): Likewise.
28253         (fmax_test_data): Likewise.
28254         (fmin_test_data): Likewise.
28255         (fmod_test_data): Likewise.
28256         (fpclassify_test_data): Likewise.
28257         (frexp_test_data): Likewise.
28258         (hypot_test_data): Likewise.
28259         (ilogb_test_data): Likewise.
28260         (isgreater_test_data): Likewise.
28261         (isgreaterequal_test_data): Likewise.
28262         (isinf_test_data): Likewise.
28263         (isless_test_data): Likewise.
28264         (islessequal_test_data): Likewise.
28265         (islessgreater_test_data): Likewise.
28266         (isnan_test_data): Likewise.
28267         (isnormal_test_data): Likewise.
28268         (issignaling_test_data): Likewise.
28269         (isunordered_test_data): Likewise.
28270         (j0_test_data): Likewise.
28271         (j1_test_data): Likewise.
28272         (jn_test_data): Likewise.
28273         (lgamma_test_data): Likewise.
28274         (lrint_test_data): Likewise.
28275         (llrint_test_data): Likewise.
28276         (log_test_data): Likewise.
28277         (log10_test_data): Likewise.
28278         (log1p_test_data): Likewise.
28279         (log2_test_data): Likewise.
28280         (logb_test_data): Likewise.
28281         (lround_test_data): Likewise.
28282         (llround_test_data): Likewise.
28283         (modf_test_data): Likewise.
28284         (nearbyint_test_data): Likewise.
28285         (nextafter_test_data): Likewise.
28286         (nexttoward_test_data): Likewise.
28287         (pow_test_data): Likewise.
28288         (remainder_test_data): Likewise.
28289         (remquo_test_data): Likewise.
28290         (rint_test_data): Likewise.
28291         (round_test_data): Likewise.
28292         (signbit_test_data): Likewise.
28293         (sinh_test_data): Likewise.
28294         (sqrt_test_data): Likewise.
28295         (tanh_test_data): Likewise.
28296         (tgamma_test_data): Likewise.
28297         (trunc_test_data): Likewise.
28298         (y0_test_data): Likewise.
28299         (y1_test_data): Likewise.
28300         (yn_test_data): Likewise.
28301         (significand_test_data): Likewise.
28303 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
28305         * manual/filesys.texi (Storage Allocation): Document that
28306         posix_fallocate emulation fails when fd is open with O_WRONLY.
28308 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
28310         [BZ #19016]
28311         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
28312         allow more cases with X^2 + Y^2 >= 0.5.
28313         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
28314         normal element in sum instead of special-casing based on values of
28315         arguments.
28316         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
28317         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
28318         -1 as normal element in sum instead of special-casing based on
28319         values of arguments.
28320         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
28321         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
28322         (__x2y2m1): Update comment.
28323         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
28324         as normal element in sum instead of special-casing based on values
28325         of arguments.
28326         * math/s_clog.c (__clog): Handle more cases using log1p without
28327         hypot.
28328         * math/s_clog10.c (__clog10): Likewise.
28329         * math/s_clog10f.c (__clog10f): Likewise.
28330         * math/s_clog10l.c (__clog10l): Likewise.
28331         * math/s_clogf.c (__clogf): Likewise.
28332         * math/s_clogl.c (__clogl): Likewise.
28333         * math/auto-libm-test-in: Add more tests of clog and clog10.
28334         * math/auto-libm-test-out: Regenerated.
28335         * sysdeps/i386/fpu/libm-test-ulps: Update.
28336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28338 2015-09-28  Martin Sebor  <msebor@redhat.com>
28340         [BZ #18969]
28341         * string/Makefile (LOCALES): Define.
28342         (gen-locales.mk): Include.
28343         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
28344         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
28345         * string/tst-strxfrm2.c (do_test): Print the name of the locale
28346         on setlocale failure.
28348 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28350         [BZ #18985]
28351         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
28352         (__strftime_internal): Likewise.
28353         * time/tst-strftime.c (do_bz18985): New test.
28354         (do_test): Call it.
28356 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
28358         [BZ #18956]
28359         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
28360         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
28361         extracting high part.
28362         * math/auto-libm-test-in: Add another test of pow.
28363         * math/auto-libm-test-out: Regenerated.
28364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28366 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28368         [BZ #18825]
28369         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
28370         New macro.
28371         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
28372         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28373         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
28374         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
28375         DBL_NARROW_EVAL, reloading the PIC register as needed.
28376         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
28377         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
28378         FLT_NARROW_EVAL.  Use separate return path for case when first
28379         argument is NaN.
28380         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
28381         DEFINE_LDBL_MIN.
28382         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
28383         PIC register.
28384         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
28385         math_check_force_underflow_nonneg.
28386         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
28387         underflow for subnormal result.
28388         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
28389         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
28390         math_check_force_underflow_nonneg.
28391         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
28392         math_check_force_underflow.
28393         * sysdeps/x86_64/fpu/x86_64-math-asm.h
28394         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
28395         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
28396         DEFINE_LDBL_MIN.
28397         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
28398         * math/auto-libm-test-in: Add more tests of pow.
28399         * math/auto-libm-test-out: Regenerated.
28401 2015-09-25  Florian Weimer  <fweimer@redhat.com>
28403         * nss/bug17079.c (init_test_items): Add diagnostic for
28404         inconsistent entries.
28405         (test_buffer_size): Skip inconsistent entries.
28407 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28409         [BZ #13304]
28410         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
28411         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
28412         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
28414         [BZ #13304]
28415         * sysdeps/microblaze/s_fma.c: New file.
28416         * sysdeps/microblaze/s_fmaf.c: Likewise.
28417         * sysdeps/microblaze/sfp-machine.h: Likewise.
28419 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
28421         [BZ #17250]
28422         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
28423         member.
28425 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
28427         [BZ #18803]
28428         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
28429         (MO): New macro.
28430         (__ieee754_hypot) [PIC]: Load PIC register.
28431         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
28432         DBL_NARROW_EVAL.
28433         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
28434         math_check_force_underflow_nonneg in case where result might be
28435         tiny.
28436         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28437         Likewise.
28438         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28439         Likewise.
28440         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
28441         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
28442         * math/auto-libm-test-in: Add more tests of hypot.
28443         * math/auto-libm-test-out: Regenerated.
28445 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
28447         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
28449 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
28451         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
28452         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
28453         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28454         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28455         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
28456         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28457         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28459         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
28460         LOAD_PIC_REG.
28462         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
28463         (FLT_CHECK_FORCE_UFLOW): Likewise.
28464         (DBL_CHECK_FORCE_UFLOW): Likewise.
28465         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
28466         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
28467         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
28468         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28469         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28470         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28471         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28472         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28473         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
28474         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28475         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
28476         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
28477         (flt_min): Replace with use of DEFINE_FLT_MIN.
28478         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
28479         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
28480         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28481         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
28482         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
28483         (flt_min): Replace with use of DEFINE_FLT_MIN.
28484         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
28485         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
28486         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28487         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
28488         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
28489         (flt_min): Replace with use of DEFINE_FLT_MIN.
28490         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
28491         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
28492         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28493         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28494         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
28495         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28496         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28497         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
28498         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28499         (__atan): Use DBL_CHECK_FORCE_UFLOW.
28500         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
28501         (flt_min): Replace with use of DEFINE_FLT_MIN.
28502         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
28503         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
28504         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28505         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
28506         main computation.
28507         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
28508         (flt_min): Replace with use of DEFINE_FLT_MIN.
28509         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
28510         main computation.
28511         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
28512         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28513         (MO): New macro.
28514         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
28515         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
28516         (flt_min): Replace with use of DEFINE_FLT_MIN.
28517         (MO): New macro.
28518         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
28519         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
28520         (__log1pl): Use MO.
28522         [BZ #19003]
28523         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
28524         $(config-cflags-nofma).
28526 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28528         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28530 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
28532         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
28533         (TWO127): Likewise.
28535         * sysdeps/generic/math_private.h (fabs_tg): New macro.
28536         (min_of_type): Likewise.
28537         (math_check_force_underflow): Likewise.
28538         (math_check_force_underflow_nonneg): Likewise.
28539         (math_check_force_underflow_complex): Likewise.
28540         * math/e_exp2l.c (__ieee754_exp2l): Use
28541         math_check_force_underflow_nonneg.
28542         * math/k_casinh.c (__kernel_casinh): Likewise.
28543         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28544         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28545         * math/s_catan.c (__catan): Use
28546         math_check_force_underflow_complex.
28547         * math/s_catanf.c (__catanf): Likewise.
28548         * math/s_catanh.c (__catanh): Likewise.
28549         * math/s_catanhf.c (__catanhf): Likewise.
28550         * math/s_catanhl.c (__catanhl): Likewise.
28551         * math/s_catanl.c (__catanl): Likewise.
28552         * math/s_ccosh.c (__ccosh): Likewise.
28553         * math/s_ccoshf.c (__ccoshf): Likewise.
28554         * math/s_ccoshl.c (__ccoshl): Likewise.
28555         * math/s_cexp.c (__cexp): Likewise.
28556         * math/s_cexpf.c (__cexpf): Likewise.
28557         * math/s_cexpl.c (__cexpl): Likewise.
28558         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
28559         * math/s_clog10.c (__clog10): Likewise.
28560         * math/s_clog10f.c (__clog10f): Likewise.
28561         * math/s_clog10l.c (__clog10l): Likewise.
28562         * math/s_clogf.c (__clogf): Likewise.
28563         * math/s_clogl.c (__clogl): Likewise.
28564         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
28565         * math/s_csinf.c (__csinf): Likewise.
28566         * math/s_csinh.c (__csinh): Likewise.
28567         * math/s_csinhf.c (__csinhf): Likewise.
28568         * math/s_csinhl.c (__csinhl): Likewise.
28569         * math/s_csinl.c (__csinl): Likewise.
28570         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
28571         * math/s_csqrtf.c (__csqrtf): Likewise.
28572         * math/s_csqrtl.c (__csqrtl): Likewise.
28573         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
28574         * math/s_ctanf.c (__ctanf): Likewise.
28575         * math/s_ctanh.c (__ctanh): Likewise.
28576         * math/s_ctanhf.c (__ctanhf): Likewise.
28577         * math/s_ctanhl.c (__ctanhl): Likewise.
28578         * math/s_ctanl.c (__ctanl): Likewise.
28579         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
28580         instead of volatile.
28581         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
28582         math_check_force_underflow.
28583         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
28584         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
28585         volatile when forcing underflow.
28586         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28587         math_check_force_underflow_nonneg.
28588         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
28589         Likewise.
28590         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
28591         math_check_force_underflow.
28592         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28593         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28594         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
28595         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
28596         math_check_force_underflow_nonneg.
28597         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
28598         math_check_force_underflow.
28599         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
28600         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
28601         instead of volatile.
28602         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
28603         math_check_force_underflow.
28604         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28605         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28606         math_check_force_underflow_nonneg.
28607         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
28608         math_check_force_underflow.
28609         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
28610         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
28611         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
28612         math_check_force_underflow_nonneg.
28613         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28614         Likewise.
28615         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
28616         math_check_force_underflow.
28617         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28618         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28619         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
28620         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
28621         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
28622         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
28623         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
28624         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
28625         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28626         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
28627         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
28628         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
28629         Likewise.
28630         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
28631         math_check_force_underflow_nonneg.
28632         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28633         Likewise.
28634         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
28635         math_check_force_underflow.
28636         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28637         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
28638         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28639         Likewise.
28640         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
28641         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
28642         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
28643         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
28644         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
28645         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
28646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
28647         instead of volatile.
28648         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
28649         math_check_force_underflow.
28650         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
28651         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
28652         math_check_force_underflow.
28653         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
28654         Likewise.
28655         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28656         Use math_check_force_underflow_nonneg.
28657         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
28658         math_check_force_underflow.
28659         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
28660         Likewise.
28661         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28662         Likewise.
28663         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28664         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28665         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28666         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28667         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
28668         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28669         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
28670         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
28671         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
28672         math_check_force_underflow_nonneg.
28673         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
28674         math_check_force_underflow.
28675         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28676         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
28677         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
28678         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
28679         math_check_force_underflow_nonneg.
28680         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
28681         math_check_force_underflow.
28682         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
28683         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
28684         instead of volatile.
28685         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
28686         math_check_force_underflow.
28688         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
28689         * stdlib/strtod_l.c: Include <math_private.h>.
28690         (overflow_value): Use math_narrow_eval.
28691         (underflow_value): Likewise.
28692         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28693         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28694         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
28695         (__ieee754_gamma_r): Likewise.
28696         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
28697         Likewise.
28698         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
28699         Likewise.
28700         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
28701         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
28702         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
28703         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
28704         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
28705         (__ieee754_gammaf_r): Likewise.
28706         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
28707         Likewise.
28708         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
28709         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
28710         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
28711         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
28712         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
28713         volatile.
28714         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
28715         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
28716         math_narrow_eval.
28717         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28718         Likewise.
28719         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28720         Likewise.
28721         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
28722         Likewise.
28723         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
28724         volatile.
28725         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
28726         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
28727         math_narrow_eval.
28728         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28729         Likewise.
28730         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28731         Likewise.
28733 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
28735         * nptl/Versions: Remove ignored symbols.
28737 2015-09-22  Florian Weimer  <fweimer@redhat.com>
28739         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
28740         * nss/Makefile (tests): Update.
28742 2015-09-22  Florian Weimer  <fweimer@redhat.com>
28744         * nss/bug18287.c: New file.
28745         * nss/Makefile (tests): Add bug18287.
28747 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28749         * mach/Versions (__mach_host_self_): Add symbol.
28751 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28753         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
28754         vm_page_size.
28756 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28758         Really fix sysdeps/i386/fpu/s_scalbn.S build
28760         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
28761         (libc: GLIBC_2_22): Remove unused version set.
28763 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
28765         * config.make.in (enable-timezone-tools): New variable.
28766         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
28767         (enable_timezone_tools): Export to generated files.
28768         * configure: Regenerate.
28769         * INSTALL: Regenerate.
28770         * manual/install.texi (--disable-timezone-tools): Document new flag.
28771         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
28772         ifeq ($(enable-timezone-tools),yes) check.
28774 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28776         * timezone/Makefile: Revert previous change.
28778         [BZ #18980]
28779         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
28780         (DEFINE_DBL_MIN): Likewise.
28781         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
28782         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
28783         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
28784         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
28785         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
28786         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28787         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28788         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
28789         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
28790         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28791         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28792         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
28793         (flt_min): Replace with use of DEFINE_FLT_MIN.
28794         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28795         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
28796         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28797         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28798         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
28799         (flt_min): Replace with use of DEFINE_FLT_MIN.
28800         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28801         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
28802         (flt_min): Replace with use of DEFINE_FLT_MIN.
28803         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28804         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
28805         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
28806         (__ieee754_hypot): Use DBL_NARROW_EVAL.
28807         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
28808         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
28809         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
28810         (__ieee754_pow): Use DBL_NARROW_EVAL.
28811         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
28812         (__ieee754_powf): Use FLT_NARROW_EVAL.
28813         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
28814         (__ieee754_expf_sse2): Convert double-precision result to single
28815         precision.
28816         * sysdeps/i386/fpu/libm-test-ulps: Update.
28818 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28820         * timezone/Makefile: Ignore unused variable errors due to private.h
28821         (time_t_min) and (time_t_max).
28822         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
28823         Likewise.
28825 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28827         [BZ #18981]
28828         * sysdeps/i386/fpu/i386-math-asm.h: New file.
28829         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
28830         (__ieee754_scalb): Use DBL_NARROW_EVAL.
28831         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
28832         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
28833         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
28834         (__scalbn): Use DBL_NARROW_EVAL.
28835         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
28836         (__scalbnf): Use FLT_NARROW_EVAL.
28838 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28840         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
28841         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
28842         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
28843         * stdio-common/printf_fp.c (___printf_fp):
28844         Use signbit to get the sign. Use isinf macro to allow inlining.
28845         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
28846         * stdio-common/printf_size.c (__printf_size): Likewise.
28848 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
28850         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
28852 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28854         [BZ #18980]
28855         * sysdeps/generic/math_private.h: Include <float.h>.
28856         (math_narrow_eval): New macro.
28857         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
28858         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
28859         math_narrow_eval on overflowing return value.
28860         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
28861         Likewise.
28862         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28863         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
28864         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
28865         Likewise.
28866         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28868 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28870         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
28871         * math/Makefile: Remove isinf_ns.c.
28872         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
28873         * math/multc3.c (__multc3): Likewise.
28874         * math/s_casin.c (__casin): Likewise.
28875         * math/s_casinf.c (__casinf): Likewise.
28876         * math/s_casinl.c (__casinl): Likewise.
28877         * math/s_cproj.c (__cproj): Likewise.
28878         * math/s_cprojf.c (__cprojf): Likewise.
28879         * math/s_cprojl.c (__cprofl): Likewise.
28880         * math/s_ctan.c (__ctan): Likewise.
28881         * math/s_ctanf.c (__ctanf): Likewise.
28882         * math/s_ctanh.c (__ctanh): Likewise.
28883         * math/s_ctanhf.c (__ctanhf): Likewise.
28884         * math/s_ctanhl.c (__ctanhl): Likewise.
28885         * math/s_ctanl.c (__ctanl): Likewise.
28886         * math/w_fmod.c (__fmod): Likewise.
28887         * math/w_fmodf.c (__fmodf): Likewise.
28888         * math/w_fmodl.c (_fmodl): Likewise.
28889         * math/w_remainder.c (__remainder): Likewise.
28890         * math/w_remainderf.c (__remainderf): Likewise.
28891         * math/w_remainderl.c (__remainderl): Likewise.
28892         * math/w_scalb.c (__scalb): Likewise.
28893         * math/w_scalbf.c (__scalbf): Likewise.
28894         * math/w_scalbl.c (__scalbl): Likewise.
28895         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
28896         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
28897         with isinf.
28898         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
28899         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
28900         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
28901         __isinf_nsf with isinf.
28902         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
28903         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
28904         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
28905         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
28906         with isinf.
28907         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
28908         __isinf_nsl with isinf.
28909         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
28910         with isinf.
28911         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
28912         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
28913         __isinf_nsl with isinf.
28914         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
28915         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
28916         with isinf.
28918 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28920         * resolv/base64.c (rcsid): Remove unused static.
28921         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
28922         static.  (tqpi1): Likewise.
28923         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
28924         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
28925         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
28926         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
28927         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
28928         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
28929         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
28930         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
28931         Likewise.
28933 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
28935         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
28936         <nptl/pthreadP.h>.
28937         (_longjmp_unwind): Use __libc_ptf_call.
28938         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
28940 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
28942         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
28943         * sysdeps/arm/__longjmp.S: Likewise.
28945 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28947         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
28948         Use __builtin_signbit.
28949         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
28950         Use __builtin_signbitf.
28951         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
28952         Use __builtin_signbitl.
28953         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28954         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
28956 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28958         [BZ #15367]
28959         [BZ #17441]
28961         * math/Makefile: Build test-snan.c with -fsignaling-nans.
28962         * math/math.h (fpclassify): Use __builtin_fpclassify when
28963         available.  (signbit): Use __builtin_signbit(f/l).
28964         (isfinite): Use__builtin_isfinite.  (isnormal): Use
28965         __builtin_isnormal.  (isnan): Use __builtin_isnan.
28966         (isinf): Use __builtin_isinf_sign.
28968 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28970         * benchtests/Makefile: Add bench-math-inlines, link with libm.
28971         * benchtests/bench-math-inlines.c: New benchmark.
28972         * benchtests/bench-util.h: New file.
28973         * benchtests/bench-util.c: New file.
28974         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
28976 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
28978         * elf/tst-dlmopen1.c: Define TEST_SO.
28979         (do_test): Use TEST_SO.
28981         * elf/dl-load.c: Include libc-internal.h.
28982         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
28984 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28986         [BZ #17887]
28987         * time/strptime_l.c (__strptime_internal): Make %z accept
28988         [+-]HH:MM time zones.
28990 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28992         [BZ #17886]
28993         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
28994         valid time zone.
28996 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
28998         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
28999         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
29000         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29001         (__ASSUME_FDATASYNC): Delete.
29003 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29005         * conform/linknamespace.pl: Require weak undefined symbols to be
29006         in the standard namespace.
29007         (%strong_syms): Rename to %seen_syms.
29008         (%strong_seen): Rename to %seen_where.
29010 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
29012         [BZ #18970]
29013         * misc/error.c (error): Replace pthread_setcancelstate with
29014         __pthread_setcancelstate.
29015         (error_at_line): Likewise.
29016         * posix/wordexp.c (parse_comm): Likewise.
29017         * stdlib/fmtmsg.c (fmtmsg): Likewise.
29018         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
29019         (__pthread_setcancelstate): This.
29020         (pthread_setcancelstate): Add an alias.
29021         * nptl/nptl-init.c (pthread_functions): Replace
29022         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
29023         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
29024         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
29025         hidden_proto.
29026         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
29027         it with hidden_def.
29028         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
29029         (pthread_setcancelstate): Renamed to ...
29030         (__pthread_setcancelstate): This.
29031         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
29032         __libc_ptf_call with __pthread_setcancelstate.
29034 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29035             Andreas Schwab  <schwab@suse.de>
29037         [BZ #17118]
29038         * math/s_ctan.c (__ctan): Determine sign of zero real part of
29039         result when imaginary part of argument is infinite using sine and
29040         cosine.
29041         * math/s_ctanf.c (__ctanf): Likewise.
29042         * math/s_ctanl.c (__ctanl): Likewise.
29043         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
29044         of result when real part of argument is infinite using sine and
29045         cosine.
29046         * math/s_ctanhf.c (__ctanhf): Likewise.
29047         * math/s_ctanhl.c (__ctanhl): Likewise.
29048         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
29049         (ctanh_test_data): Add more tests of ctanh.
29051 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29053         [BZ #15384]
29054         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
29055         bit-mask as in subtraction.
29056         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
29057         Likewise.
29058         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
29059         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29060         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
29062         [BZ #18951]
29063         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
29064         underflow exception for small results.
29065         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29066         Likewise.
29067         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29068         Likewise.
29069         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29070         Likewise.
29071         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29072         Likewise.
29073         * math/auto-libm-test-in: Add more tests of tgamma.
29074         * math/auto-libm-test-out: Regenerated.
29076 2015-09-17  Andreas Schwab  <schwab@suse.de>
29078         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
29080 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29082         [BZ #18977]
29083         * math/bits/mathcalls.h
29084         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
29085         not declare.
29086         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
29087         Likewise.
29088         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
29089         Likewise.
29090         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
29091         Likewise.
29092         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
29093         Likewise.
29094         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
29095         Likewise.
29096         * conform/data/math.h-data
29097         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
29098         function.
29099         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
29100         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
29101         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
29102         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
29103         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
29104         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
29105         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
29106         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
29107         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
29108         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
29109         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
29111         [BZ #6803]
29112         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
29113         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
29114         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
29115         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
29116         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
29117         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
29118         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
29119         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
29120         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29121         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
29122         Likewise.
29123         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29124         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
29125         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
29126         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
29127         long_double_symbol calls.
29128         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
29129         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
29130         strong alias of __ldexpl.
29131         (scalbnl): Define using long_double_symbol.
29132         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
29133         Remove alias.
29134         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
29135         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
29136         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
29137         (scalbln_test_data): Add more errno expectations.
29139 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
29141         Cache the host port like we cache the task port.  This way we do not
29142         need to call the kernel just to get the port.  Furthermore, we no
29143         longer increase the reference count on every invocation of
29144         `mach_host_self'.
29146         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
29147         Protect declarations against the macro expansion.
29148         * mach/mach_init.c (__mach_host_self_): New variable.
29149         (mach_init): Initialize `__mach_host_self_'.
29150         * mach/mach_init.h (__mach_host_self_): New declaration.
29151         (__mach_host_self, mach_host_self): New macros.
29152         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
29153         Release reference.
29155 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29157         [BZ #4404]
29158         * po/de.po: Update from Translation Project.
29160         [BZ #16415]
29161         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
29162         (__expm1l): Remove code to handle positive infinity and overflow.
29163         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
29164         variable.
29165         (__expm1l): Remove code to handle positive infinity and overflow.
29167 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
29168             Paul Pluzhnikov  <ppluzhnikov@google.com>
29170         [BZ #18872]
29171         * stdio-common/Makefile (tst-printf-bz18872): New test.
29172         (tst-printf-bz18872-mem.out): Likewise.
29173         * stdio-common/tst-printf-bz18872.sh: Generate new test.
29174         * stdio-common/vfprintf.c: Fix memory leaks.
29176 2015-09-16  Andreas Schwab  <schwab@suse.de>
29178         [BZ #17244]
29179         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
29180         Remove extra va_start/va_end calls.
29182         [BZ #17243]
29183         * posix/execl.c (execl): Add missing va_end.
29184         * posix/execle.c (execle): Likewise.
29185         * posix/execlp.c (execlp): Likewise.
29187 2015-09-15  Roland McGrath  <roland@hack.frob.com>
29189         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
29190         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
29192 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
29194         [BZ #18967]
29195         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
29196         undefine around includes of <bits/mathcalls.h>.
29197         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
29198         not declare function.
29199         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
29200         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
29201         (scalb): Likewise.
29202         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
29203         not define macro.
29204         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
29205         variable.
29206         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29207         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29208         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29210         [BZ #18857]
29211         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
29212         return non-finite argument without doing ordered comparisons on
29213         it.
29215         [BZ #16296]
29216         * math/fenv.h (fegetround): Use __attribute_pure__.
29217         * include/fenv.h (__fegetround): Likewise.
29219         [BZ #18595]
29220         * math/s_ctan.c (__ctan): Force underflow exception for results
29221         whose real or imaginary part has small absolute value.
29222         * math/s_ctanf.c (__ctanf): Likewise.
29223         * math/s_ctanh.c (__ctanh): Likewise.
29224         * math/s_ctanhf.c (__ctanhf): Likewise.
29225         * math/s_ctanhl.c (__ctanhl): Likewise.
29226         * math/s_ctanl.c (__ctanl): Likewise.
29227         * math/auto-libm-test-in: Do not allow missing underflow for ctan
29228         and ctanh.  Add more tests of ctan and ctanh.
29230         [BZ #15918]
29231         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
29232         handling of cases where one argument is an infinity.
29234         [BZ #18875]
29235         [BZ #18966]
29236         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
29237         (MO): New macro.
29238         (__ieee754_exp10): For small results, force underflow exception
29239         and remove excess range and precision from return value.
29240         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
29241         (MO): New macro.
29242         (__ieee754_exp10f): For small results, force underflow exception
29243         and remove excess range and precision from return value.
29244         * math/auto-libm-test-in: Add more tests of exp10.
29245         * math/auto-libm-test-out: Regenerated.
29247 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
29249         [BZ #18875]
29250         [BZ #18961]
29251         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
29252         (MO): New macro.
29253         (__ieee754_exp): For small results, force underflow exception and
29254         remove excess range and precision from return value.
29255         (__exp_finite): Likewise.
29256         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
29257         (MO): New macro.
29258         (__ieee754_expf): For small results, force underflow exception and
29259         remove excess range and precision from return value.
29260         (__expf_finite): Likewise.
29261         * math/auto-libm-test-in: Add more tests of exp.
29262         * math/auto-libm-test-out: Regenerated.
29264         [BZ #16521]
29265         [BZ #18875]
29266         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
29267         small results.
29268         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
29269         (MO): New macro.
29270         (__ieee754_exp2): For small results, force underflow exception and
29271         remove excess range and precision from return value.
29272         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
29273         (MO): New macro.
29274         (__ieee754_exp2f): For small results, force underflow exception
29275         and remove excess range and precision from return value.
29276         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
29277         (MO): New macro.
29278         (__ieee754_exp2l): Force underflow exception for small results.
29279         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29280         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29281         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
29282         (MO): New macro.
29283         (__ieee754_exp2l): Force underflow exception for small results.
29284         * math/auto-libm-test-in: Add more tests or exp2.
29285         * math/auto-libm-test-out: Regenerated.
29287 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
29289         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
29291         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
29292         /dev/null.
29294 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29296         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29297         io fs process)): Drop spurious backslash.
29299 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29301         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
29302         Use sysinfo system call instead of parsing /proc/meminfo.
29303         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
29304         Likewise.
29306 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
29308         [BZ #16985]
29309         * programs/localedef.c (main): Display argv[remaining] when
29310         output_path is NULL.
29312 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29314         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29315         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
29316         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
29317         tanh.
29318         * math/auto-libm-test-out: Regenerated.
29319         * sysdeps/i386/fpu/libm-test-ulps: Update.
29320         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29321         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29324 2015-09-11  Roland McGrath  <roland@hack.frob.com>
29326         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
29327         Use 'override' keyword to freeze the value here, preventing
29328         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
29330 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29332         [BZ #14912]
29333         * sysdeps/aarch64/bits/atomic.h: Move to ...
29334         * sysdeps/aarch64/atomic-machine.h: ...here.
29335         (_AARCH64_BITS_ATOMIC_H): Rename macro to
29336         _AARCH64_ATOMIC_MACHINE_H.
29337         * sysdeps/alpha/bits/atomic.h: Move to ...
29338         * sysdeps/alpha/atomic-machine.h: ...here.
29339         * sysdeps/arm/bits/atomic.h: Move to ...
29340         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
29341         * bits/atomic.h: Move to ...
29342         * sysdeps/generic/atomic-machine.h: ...here.
29343         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29344         * sysdeps/i386/bits/atomic.h: Move to ...
29345         * sysdeps/i386/atomic-machine.h: ...here.
29346         * sysdeps/ia64/bits/atomic.h: Move to ...
29347         * sysdeps/ia64/atomic-machine.h: ...here.
29348         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
29349         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
29350         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29351         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
29352         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
29353         * sysdeps/microblaze/bits/atomic.h: Move to ...
29354         * sysdeps/microblaze/atomic-machine.h: ...here.
29355         * sysdeps/mips/bits/atomic.h: Move to ...
29356         * sysdeps/mips/atomic-machine.h: ...here.
29357         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
29358         * sysdeps/powerpc/bits/atomic.h: Move to ...
29359         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
29360         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
29361         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
29362         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
29363         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
29364         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
29365         <atomic-machine.h> instead of <bits/atomic.h>.
29366         * sysdeps/s390/bits/atomic.h: Move to ...
29367         * sysdeps/s390/atomic-machine.h: ...here.
29368         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
29369         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
29370         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29371         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
29372         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
29373         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
29374         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
29375         * sysdeps/tile/bits/atomic.h: Move to ...
29376         * sysdeps/tile/atomic-machine.h: ...here.
29377         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
29378         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
29379         <sysdeps/tile/atomic-machine.h> instead of
29380         <sysdeps/tile/bits/atomic.h>.
29381         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29382         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
29383         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
29384         <sysdeps/tile/atomic-machine.h> instead of
29385         <sysdeps/tile/bits/atomic.h>.
29386         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29387         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
29388         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
29389         <sysdeps/arm/atomic-machine.h> instead of
29390         <sysdeps/arm/bits/atomic.h>.
29391         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
29392         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
29393         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29394         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
29395         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
29396         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29397         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
29398         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
29399         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
29400         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
29401         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
29402         * sysdeps/x86_64/bits/atomic.h: Move to ...
29403         * sysdeps/x86_64/atomic-machine.h: ...here.
29404         * include/atomic.h: Include <atomic-machine.h> instead of
29405         <bits/atomic.h>.
29407         * sysdeps/mips/mips32/libm-test-ulps: Update.
29408         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29410         [BZ #18952]
29411         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
29412         not convert non-integer negative arguments to int to determine the
29413         value of signgam.
29414         * math/auto-libm-test-in: Add more tests of lgamma.
29415         * math/auto-libm-test-out: Regenerated.
29417         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
29418         cosh, csqrt, erfc, expm1 and lgamma.
29419         * math/auto-libm-test-out: Regenerated.
29420         * sysdeps/i386/fpu/libm-test-ulps: Update.
29421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29423 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
29425         [BZ #2542]
29426         [BZ #2543]
29427         [BZ #2558]
29428         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
29429         __lgamma_neg for arguments from -28.0 to -2.0.
29430         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
29431         __lgamma_negf for arguments from -15.0 to -2.0.
29432         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29433         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
29434         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
29435         Call __lgamma_negl for arguments from -33.0 to -2.0.
29436         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
29437         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
29438         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
29439         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
29440         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
29441         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
29442         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
29443         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
29444         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
29445         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
29446         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
29447         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
29448         (__lgamma_neg): Likewise.
29449         (__lgamma_negl): Likewise.
29450         (__lgamma_product): Likewise.
29451         (__lgamma_productl): Likewise.
29452         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
29453         * math/auto-libm-test-in: Add more tests of lgamma.
29454         * math/auto-libm-test-out: Regenerated.
29455         * sysdeps/i386/fpu/libm-test-ulps: Update.
29456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29458 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
29460         [BZ #18675]
29461         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
29463 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
29465         [BZ #14912]
29466         * bits/libc-lock.h: Move to ...
29467         * sysdeps/generic/libc-lock.h: ...here.
29468         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29469         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
29470         * sysdeps/mach/hurd/libc-lock.h: ...here.
29471         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29472         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
29473         * sysdeps/mach/bits/libc-lock.h: Move to ...
29474         * sysdeps/mach/libc-lock.h: ...here.
29475         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29476         * sysdeps/nptl/bits/libc-lock.h: Move to ...
29477         * sysdeps/nptl/libc-lock.h: ...here.
29478         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29479         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
29480         * sysdeps/nptl/libc-lockP.h: ...here.
29481         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
29482         * crypt/crypt_util.c: Include <libc-lock.h> instead of
29483         <bits/libc-lock.h>.
29484         * dirent/scandir-tail.c: Likewise.
29485         * dlfcn/dlerror.c: Likewise.
29486         * elf/dl-close.c: Likewise.
29487         * elf/dl-iteratephdr.c: Likewise.
29488         * elf/dl-lookup.c: Likewise.
29489         * elf/dl-open.c: Likewise.
29490         * elf/dl-support.c: Likewise.
29491         * elf/dl-writev.h: Likewise.
29492         * elf/rtld.c: Likewise.
29493         * grp/fgetgrent.c: Likewise.
29494         * gshadow/fgetsgent.c: Likewise.
29495         * gshadow/sgetsgent.c: Likewise.
29496         * iconv/gconv_conf.c: Likewise.
29497         * iconv/gconv_db.c: Likewise.
29498         * iconv/gconv_dl.c: Likewise.
29499         * iconv/gconv_int.h: Likewise.
29500         * iconv/gconv_trans.c: Likewise.
29501         * include/link.h: Likewise.
29502         * inet/getnameinfo.c: Likewise.
29503         * inet/getnetgrent.c: Likewise.
29504         * inet/getnetgrent_r.c: Likewise.
29505         * intl/bindtextdom.c: Likewise.
29506         * intl/dcigettext.c: Likewise.
29507         * intl/finddomain.c: Likewise.
29508         * intl/gettextP.h: Likewise.
29509         * intl/loadmsgcat.c: Likewise.
29510         * intl/localealias.c: Likewise.
29511         * intl/textdomain.c: Likewise.
29512         * libidn/idn-stub.c: Likewise.
29513         * libio/libioP.h: Likewise.
29514         * locale/duplocale.c: Likewise.
29515         * locale/freelocale.c: Likewise.
29516         * locale/newlocale.c: Likewise.
29517         * locale/setlocale.c: Likewise.
29518         * login/getutent_r.c: Likewise.
29519         * login/getutid_r.c: Likewise.
29520         * login/getutline_r.c: Likewise.
29521         * login/utmp-private.h: Likewise.
29522         * login/utmpname.c: Likewise.
29523         * malloc/mtrace.c: Likewise.
29524         * misc/efgcvt.c: Likewise.
29525         * misc/error.c: Likewise.
29526         * misc/fstab.c: Likewise.
29527         * misc/getpass.c: Likewise.
29528         * misc/mntent.c: Likewise.
29529         * misc/syslog.c: Likewise.
29530         * nis/nis_call.c: Likewise.
29531         * nis/nis_callback.c: Likewise.
29532         * nis/nss-default.c: Likewise.
29533         * nis/nss_compat/compat-grp.c: Likewise.
29534         * nis/nss_compat/compat-initgroups.c: Likewise.
29535         * nis/nss_compat/compat-pwd.c: Likewise.
29536         * nis/nss_compat/compat-spwd.c: Likewise.
29537         * nis/nss_nis/nis-alias.c: Likewise.
29538         * nis/nss_nis/nis-ethers.c: Likewise.
29539         * nis/nss_nis/nis-grp.c: Likewise.
29540         * nis/nss_nis/nis-hosts.c: Likewise.
29541         * nis/nss_nis/nis-network.c: Likewise.
29542         * nis/nss_nis/nis-proto.c: Likewise.
29543         * nis/nss_nis/nis-pwd.c: Likewise.
29544         * nis/nss_nis/nis-rpc.c: Likewise.
29545         * nis/nss_nis/nis-service.c: Likewise.
29546         * nis/nss_nis/nis-spwd.c: Likewise.
29547         * nis/nss_nisplus/nisplus-alias.c: Likewise.
29548         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
29549         * nis/nss_nisplus/nisplus-grp.c: Likewise.
29550         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
29551         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
29552         * nis/nss_nisplus/nisplus-network.c: Likewise.
29553         * nis/nss_nisplus/nisplus-proto.c: Likewise.
29554         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
29555         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
29556         * nis/nss_nisplus/nisplus-service.c: Likewise.
29557         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
29558         * nis/ypclnt.c: Likewise.
29559         * nptl/libc_pthread_init.c: Likewise.
29560         * nss/getXXbyYY.c: Likewise.
29561         * nss/getXXent.c: Likewise.
29562         * nss/getXXent_r.c: Likewise.
29563         * nss/nss_db/db-XXX.c: Likewise.
29564         * nss/nss_db/db-netgrp.c: Likewise.
29565         * nss/nss_db/nss_db.h: Likewise.
29566         * nss/nss_files/files-XXX.c: Likewise.
29567         * nss/nss_files/files-alias.c: Likewise.
29568         * nss/nsswitch.c: Likewise.
29569         * posix/regex_internal.h: Likewise.
29570         * posix/wordexp.c: Likewise.
29571         * pwd/fgetpwent.c: Likewise.
29572         * resolv/res_hconf.c: Likewise.
29573         * resolv/res_libc.c: Likewise.
29574         * shadow/fgetspent.c: Likewise.
29575         * shadow/lckpwdf.c: Likewise.
29576         * shadow/sgetspent.c: Likewise.
29577         * socket/opensock.c: Likewise.
29578         * stdio-common/reg-modifier.c: Likewise.
29579         * stdio-common/reg-printf.c: Likewise.
29580         * stdio-common/reg-type.c: Likewise.
29581         * stdio-common/vfprintf.c: Likewise.
29582         * stdio-common/vfscanf.c: Likewise.
29583         * stdlib/abort.c: Likewise.
29584         * stdlib/cxa_atexit.c: Likewise.
29585         * stdlib/fmtmsg.c: Likewise.
29586         * stdlib/random.c: Likewise.
29587         * stdlib/setenv.c: Likewise.
29588         * string/strsignal.c: Likewise.
29589         * sunrpc/auth_none.c: Likewise.
29590         * sunrpc/bindrsvprt.c: Likewise.
29591         * sunrpc/create_xid.c: Likewise.
29592         * sunrpc/key_call.c: Likewise.
29593         * sunrpc/rpc_thread.c: Likewise.
29594         * sysdeps/arm/backtrace.c: Likewise.
29595         * sysdeps/generic/ldsodefs.h: Likewise.
29596         * sysdeps/generic/stdio-lock.h: Likewise.
29597         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
29598         * sysdeps/i386/backtrace.c: Likewise.
29599         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29600         * sysdeps/m68k/backtrace.c: Likewise.
29601         * sysdeps/mach/hurd/cthreads.c: Likewise.
29602         * sysdeps/mach/hurd/dirstream.h: Likewise.
29603         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
29604         * sysdeps/nptl/malloc-machine.h: Likewise.
29605         * sysdeps/nptl/stdio-lock.h: Likewise.
29606         * sysdeps/posix/dirstream.h: Likewise.
29607         * sysdeps/posix/getaddrinfo.c: Likewise.
29608         * sysdeps/posix/system.c: Likewise.
29609         * sysdeps/pthread/aio_suspend.c: Likewise.
29610         * sysdeps/s390/s390-32/backtrace.c: Likewise.
29611         * sysdeps/s390/s390-64/backtrace.c: Likewise.
29612         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29613         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29614         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
29615         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
29616         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
29617         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29618         * sysdeps/unix/sysv/linux/system.c: Likewise.
29619         * sysdeps/x86_64/backtrace.c: Likewise.
29620         * time/alt_digit.c: Likewise.
29621         * time/era.c: Likewise.
29622         * time/tzset.c: Likewise.
29623         * wcsmbs/wcsmbsload.c: Likewise.
29624         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
29625         instead of <bits/libc-lock.h> in comment.
29627 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
29629         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
29630         Only use .set mips2 if the current ISA is below mips2.
29631         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
29632         Likewise.
29633         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
29634         mips32r2 if the current ISA is below mips32r2.
29635         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
29636         (TLS_IE): Updated to use the TLD_RDHWR macro.
29637         (TLS_LE): Likewise.
29638         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
29639         __ASSEMBLER__ condition.
29641 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29643         Fix parallel build of before-compile targets.
29645         * sysdeps/mach/Makefile ($(patsubst
29646         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
29647         mach-before-compile target.
29648         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29649         io fs process)): Move rule to dedicated hurd-before-compile target.
29651 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29653         Fix rules generating headers in hurd/ and mach/ when initial make call
29654         has subdir= explicitly set.
29656         * sysdeps/mach/Makefile ($(patsubst
29657         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
29658         calling $(MAKE).
29659         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29660         io fs process)): Force subdir to hurd when calling $(MAKE).
29661         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
29662         subdir to mach when calling $(MAKE).
29664 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
29666         Check sysheaders when looking for Mach and Hurd headers
29668         * sysdeps/mach/configure.ac: Add sysheaders check.
29669         * sysdeps/mach/configure: Regenerate.
29670         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
29671         * sysdeps/mach/hurd/configure: Regenerate.
29673 2015-09-04  Roland McGrath  <roland@hack.frob.com>
29675         [BZ #18921]
29676         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
29677         Fix inverted sense of test of 'o_directory_works' value.
29678         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
29679         Bernhard Voelker <mail@bernhard-voelker.de>.
29681 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
29683         [BZ #14912]
29684         * bits/linkmap.h: Move to ...
29685         * sysdeps/generic/linkmap.h: ...here.
29686         * sysdeps/aarch64/bits/linkmap.h: Move to ...
29687         * sysdeps/aarch64/linkmap.h: ...here.
29688         * sysdeps/arm/bits/linkmap.h: Move to ...
29689         * sysdeps/arm/linkmap.h: ...here.
29690         * sysdeps/hppa/bits/linkmap.h: Move to ...
29691         * sysdeps/hppa/linkmap.h: ...here.
29692         * sysdeps/ia64/bits/linkmap.h: Move to ...
29693         * sysdeps/ia64/linkmap.h: ...here.
29694         * sysdeps/mips/bits/linkmap.h: Move to ...
29695         * sysdeps/mips/linkmap.h: ...here.
29696         * sysdeps/s390/bits/linkmap.h: Move to ...
29697         * sysdeps/s390/linkmap.h: ...here.
29698         * sysdeps/sh/bits/linkmap.h: Move to ...
29699         * sysdeps/sh/linkmap.h: ...here.
29700         * sysdeps/x86/bits/linkmap.h: Move to ...
29701         * sysdeps/x86/linkmap.h: ...here.
29702         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
29704 2015-09-04  Andreas Schwab  <schwab@suse.de>
29706         [BZ #18635]
29707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
29708         (__makecontext): Terminate FDE before return label.
29709         (__novec_makecontext): Likewise.
29711 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29713         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
29714         first member of struct sv in syscall macro.
29716 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
29718         [BZ #14912]
29719         * bits/stdio-lock.h: Move to ...
29720         * sysdeps/generic/stdio-lock.h: ...here.
29721         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
29722         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
29723         * sysdeps/nptl/stdio-lock.h: ...here.
29724         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
29725         * include/libio.h: Include <stdio-lock.h> instead of
29726         <bits/stdio-lock.h>.
29727         * sysdeps/nptl/fork.c: Likewise.
29728         * sysdeps/pthread/flockfile.c: Likewise.
29729         * sysdeps/pthread/ftrylockfile.c: Likewise.
29730         * sysdeps/pthread/funlockfile.c: Likewise.
29732         [BZ #14912]
29733         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
29734         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
29735         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
29736         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
29737         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
29738         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29739         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
29741 2015-09-03  Roland McGrath  <roland@hack.frob.com>
29743         * elf/Makefile (test-xfail-tst-protected1a): New variable.
29744         (test-xfail-tst-protected1b): New variable.
29746 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
29748         [BZ #14912]
29749         * bits/libc-tsd.h: Move to ...
29750         * sysdeps/generic/libc-tsd.h: ...here.
29751         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
29752         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
29753         * sysdeps/mach/hurd/libc-tsd.h: ...here.
29754         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
29755         * include/ctype.h: Include <libc-tsd.h> instead of
29756         <bits/libc-tsd.h>.
29757         * include/rpc/rpc.h: Likewise.
29758         * locale/localeinfo.h: Likewise.
29759         * sunrpc/rpc_thread.c: Likewise.
29760         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
29761         * sysdeps/nptl/malloc-machine.h: Likewise.
29763         * Makefile (headers): Remove bits/libc-lock.h.
29764         * libio/Makefile (headers): Remove bits/stdio-lock.h.
29766         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
29767         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
29768         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
29769         <bits/stdio-lock.h>.
29770         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
29771         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
29773 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
29775         [BZ #18757]
29776         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
29777         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
29778         BZ #18757.
29780 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
29782         * malloc/mtrace.pl: Filter out NULL entries.
29784 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
29786         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
29787         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
29788         macro.
29790         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
29791         (TCP_CC_INFO): Likewise.
29792         (TCP_SAVE_SYN): Likewise.
29793         (TCP_SAVED_SYN): Likewise.
29795 2015-08-31  Brett Neumeier <brett@neumeier.us>
29797         [BZ #18870]
29798         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
29800 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
29802         [BZ #18873]
29803         Fix broken overflow check in posix_fallocate
29804         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
29805         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29806         Fix parenthesization typo.
29808 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
29810         [BZ #18887]
29811         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
29812         tst-mntent-blank-passno.
29813         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
29814         * misc/tst-mntent-blank-corrupt.c: New test.
29815         * misc/tst-mntent-blank-passno.c: New test ripped from ...
29816         * misc/tst-mntent.c (do_test): ... here.
29818 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
29820         [BZ #4404]
29821         * po/de.po: Fix SIGALRM typo.
29823 2015-08-28  James Perkins  <james@loowit.net>
29825         * time/tst-strptime2.c (tests): Replace short list of test
29826         strings for strptime %z specifier with code which exhaustively
29827         tests every combination of sign and 0 to 5 digits. Tests for
29828         rejection of invalid strings.
29830 2015-08-28  James Perkins  <james@loowit.net>
29832         [BZ #16141]
29833         * time/strptime_l.c (__strptime_internal): Fix %z minutes
29834         calculation, removing incorrect decimal time rounding, so that
29835         all minute values result in a valid seconds value.
29836         * time/strptime_l.c (__strptime_internal): Extend %z time zone
29837         offset range limits to UTC-99:59 through UTC+99:59 to parse
29838         current and historical use cases.
29839         * time/tst-strptime2.c (tests): Modify and add tests for the
29840         strptime %z input field descriptor, specifically conversion of
29841         minutes to seconds and validating an offset range of -9959 to
29842         +9959.
29844 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29845             Dmitry V. Levin  <ldv@altlinux.org>
29847         [BZ #18877]
29848         * posix/Makefile (tests): Add tst-mmap-offset.
29849         * posix/tst-mmap.c: New file.
29850         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
29851         offset calculation for negative values.
29853 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29855         * sysdeps/i386/init-arch.h: New file.
29856         * sysdeps/i386/i586/init-arch.h: Likewise.
29857         * sysdeps/i386/i686/init-arch.h: Likewise.
29858         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
29859         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
29860         * sysdeps/x86/cpu-features.h (bit_I586): New.
29861         (bit_I686): Likewise.
29862         (bit_CX8): Likewise.
29863         (bit_CMOV): Likewise.
29864         (index_CX8): Likewise.
29865         (index_CMOV): Likewise.
29866         (index_I586): Likewise.
29867         (index_I686): Likewise.
29868         (reg_CX8): Likewise.
29869         (reg_CMOV): Likewise.
29870         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
29871         available at compile-time.
29872         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
29873         available at compile-time.
29874         * sysdeps/x86/init-arch.h (USE_I586): New macro.
29875         (USE_I686): Likewise.
29877 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29879         * sysdeps/i386/bcopy.S: New file.
29880         * sysdeps/i386/bzero.S: Likewise.
29881         * sysdeps/i386/memcpy.S: Likewise.
29882         * sysdeps/i386/memmove.S: Likewise.
29883         * sysdeps/i386/mempcpy.S: Likewise.
29884         * sysdeps/i386/memset.S: Likewise.
29885         * sysdeps/i386/bzero.c: Removed.
29886         * sysdeps/i386/memset.c: Likewise.
29887         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
29888         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
29889         * sysdeps/i386/i586/memset_chk.S: Likewise.
29890         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
29891         * sysdeps/i386/memcpy_chk.S: Here.
29892         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
29893         * sysdeps/i386/memmove_chk.S: Here.
29894         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
29895         * sysdeps/i386/mempcpy_chk.S: Likewise.
29896         * sysdeps/i386/i686/memset_chk.S: Moved to ...
29897         * sysdeps/i386/memset_chk.S: Likewise.
29899 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
29901         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
29902         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
29903         file, move DIAG_POP_NEEDS_COMMENT to end of file.
29904         * soft-fp/fmadf4.c: Ditto.
29905         * soft-fp/fmatf4.c: Ditto.
29907 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29909         * sysdeps/i386/i586/Implies: Removed.
29910         * sysdeps/i386/i686/Implies: Likewise.
29912 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29914         * sysdeps/i386/i486/strlen.S: Moved to ...
29915         * sysdeps/i386/strlen.S: Here.
29917 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29919         * sysdeps/i386/i486/strcat.S: Moved to ...
29920         * sysdeps/i386/strcat.S: Here.
29922 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29924         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
29925         * sysdeps/i386/pthread_spin_trylock.S: Here.
29926         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
29927         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
29929 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29931         * sysdeps/i386/i486/string-inlines.c: Moved to ...
29932         * sysdeps/i386/string-inlines.c: Here.
29934 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29936         * sysdeps/i386/i486/htonl.S: Moved ...
29937         * sysdeps/i386/htonl.S: here.
29939 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29941         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
29942         * sysdeps/i386/bits/atomic.h: Here.
29944 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29946         * sysdeps/i386/i486/Versions: Removed.
29948 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29950         [BZ #2898]
29951         * misc/mktemp.c: Add mkdtemp to the link_warning message.
29952         Based on patch by Aurelien Jarno.
29954 2015-08-26  Stan Shebs  <stanshebs@google.com>
29956         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
29957         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29959 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29961         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
29962         * sysdeps/powerpc/dl-procinfo.c:
29963         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
29964         feature so it shows when LD_SHOW_AUXV=1.
29966 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29968         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29969         (__arch_compare_and_exchange_val_32_acq): Remove and use common
29970         definition.  ISA 2.07B no longer requires full sync.
29972 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
29974         [BZ #18863]
29975         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
29976         (si_call_addr): Define.
29977         (si_syscall): Define.
29978         (si_arch): Define.
29980 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
29982         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
29983         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
29984         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
29985         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29986         (__memset_zero_constant_len_parameter): New.
29987         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
29988         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29989         (__memset_zero_constant_len_parameter): Don't define if
29990         __memset_chk or USE_AS_BZERO are defined.
29992         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
29993         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
29994         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
29996         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
29997         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
29998         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
29999         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
30000         comments.
30001         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
30002         -mno-mmx for $(all-rtld-routines).
30003         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
30004         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
30005         i386.
30007 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30009         * sysdeps/generic/unwind.h
30010         (_Unwind_Word): Use __mode__(__unwind_word__)
30011         instead of __mode__(__word__).
30012         (_Unwind_Sword): Likewise.
30014         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30015         (MAX_NEEDED_INPUT): New define.
30016         (MAX_NEEDED_OUTPUT): New define.
30018         * NEWS: New item for IBM z13 string optimizations.
30020         * sysdeps/s390/multiarch/memrchr-c.c: New File.
30021         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
30022         * sysdeps/s390/multiarch/memrchr.c: Likewise.
30023         * sysdeps/s390/multiarch/Makefile
30024         (sysdep_routines): Add memrchr functions.
30025         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30026         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
30028         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
30029         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
30030         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
30031         * sysdeps/s390/multiarch/Makefile
30032         (sysdep_routines): Add wmemcmp functions.
30033         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30034         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
30035         * benchtests/bench-wmemcmp.c: New File.
30036         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
30038         * sysdeps/s390/multiarch/wmemset-c.c: New File.
30039         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
30040         * sysdeps/s390/multiarch/wmemset.c: Likewise.
30041         * sysdeps/s390/multiarch/Makefile
30042         (sysdep_routines): Add wmemset functions.
30043         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30044         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
30045         * wcsmbs/wmemset.c: Use WMEMSET if defined.
30046         * string/test-memset.c: Add wmemset support.
30047         * wcsmbs/test-wmemset.c: New File.
30048         * wcsmbs/Makefile (strop-tests): Add wmemset.
30049         * benchtests/bench-memset.c: Add wmemset support.
30050         * benchtests/bench-wmemset.c: New File.
30051         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
30053         * sysdeps/s390/multiarch/memccpy-c.c: New File.
30054         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
30055         * sysdeps/s390/multiarch/memccpy.c: Likewise.
30056         * sysdeps/s390/multiarch/Makefile
30057         (sysdep_routines): Add memccpy functions.
30058         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30059         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
30060         * string/memccpy.c: Use MEMCCPY if defined.
30062         * sysdeps/s390/multiarch/memchr-vx.S: New File.
30063         * sysdeps/s390/multiarch/memchr.c: Likewise.
30064         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
30065         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
30066         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
30067         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
30068         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
30069         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
30070         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
30071         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
30072         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
30073         and rawmemchr functions.
30074         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30075         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
30076         and wmemchr.
30077         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
30078         * string/test-memchr.c: Add wmemchr support.
30079         * wcsmbs/test-wmemchr.c: New File.
30080         * wcsmbs/Makefile (strop-tests): Add wmemchr.
30081         * benchtests/bench-memchr.c: Add wmemchr support.
30082         * benchtests/bench-wmemchr.c: New File.
30083         * benchtests/Makefile (wcsmbs-bench): wmemchr.
30085         * sysdeps/s390/multiarch/strcspn-c.c: New File.
30086         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
30087         * sysdeps/s390/multiarch/strcspn.c: Likewise.
30088         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
30089         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
30090         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
30091         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
30092         wcscspn functions.
30093         * sysdeps/s390/multiarch/ifunc-impl-list.c
30094         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
30095         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
30096         * string/test-strcspn.c: Add wcscspn support.
30097         * wcsmbs/test-wcscspn.c: New File.
30098         * wcsmbs/Makefile (strop-tests): Add wcscspn.
30099         * benchtests/bench-strcspn.c: Add wcscspn support.
30100         * benchtests/bench-wcscspn.c: New File.
30101         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
30103         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
30104         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
30105         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
30106         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
30107         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
30108         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
30109         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
30110         wcspbrk functions.
30111         * sysdeps/s390/multiarch/ifunc-impl-list.c
30112         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
30113         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
30114         * string/test-strpbrk.c: Add wcspbrk support.
30115         * wcsmbs/test-wcspbrk.c: New File.
30116         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
30117         * benchtests/bench-strpbrk.c: Add wcspbrk support.
30118         * benchtests/bench-wcspbrk.c: New File.
30119         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
30121         * sysdeps/s390/multiarch/strspn-c.c: New File.
30122         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
30123         * sysdeps/s390/multiarch/strspn.c: Likewise.
30124         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
30125         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
30126         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
30127         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
30128         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
30129         wcsspn functions.
30130         * sysdeps/s390/multiarch/ifunc-impl-list.c
30131         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
30132         * string/test-strspn.c: Add wcsspn support.
30133         * wcsmbs/test-wcsspn.c: New File.
30134         * wcsmbs/Makefile (strop-tests): Add wcsspn.
30135         * benchtests/bench-strspn.c: Add wcsspn support.
30136         * benchtests/bench-wcsspn.c: New File.
30137         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
30139         * sysdeps/s390/multiarch/strrchr-c.c: New File.
30140         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
30141         * sysdeps/s390/multiarch/strrchr.c: Likewise.
30142         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
30143         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
30144         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
30145         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
30146         wcsrchr functions.
30147         * sysdeps/s390/multiarch/ifunc-impl-list.c
30148         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
30149         * benchtests/bench-wcsrchr.c: New File.
30150         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
30152         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
30153         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
30154         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
30155         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
30156         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
30157         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
30158         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
30159         wcschrnul functions.
30160         * sysdeps/s390/multiarch/ifunc-impl-list.c
30161         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
30162         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
30163         * string/test-strchr.c: Add wcschrnul support.
30164         * wcsmbs/test-wcschrnul.c: New File.
30165         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
30166         * benchtests/bench-strchr.c: Add wcschrnul support.
30167         * benchtests/bench-wcschrnul.c: New File.
30168         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
30170         * sysdeps/s390/multiarch/strchr-c.c: New File.
30171         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
30172         * sysdeps/s390/multiarch/strchr.c: Likewise.
30173         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
30174         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
30175         * sysdeps/s390/multiarch/wcschr.c: Likewise.
30176         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
30177         wcschr functions.
30178         * sysdeps/s390/multiarch/ifunc-impl-list.c
30179         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
30180         * string/strchr.c (STRCHR): Define and use macro.
30181         * benchtests/bench-wcschr.c: New File.
30182         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
30184         * sysdeps/s390/multiarch/strncmp-c.c: New File.
30185         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
30186         * sysdeps/s390/multiarch/strncmp.c: Likewise.
30187         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
30188         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
30189         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
30190         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
30191         wcsncmp functions.
30192         * sysdeps/s390/multiarch/ifunc-impl-list.c
30193         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
30194         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
30195         * benchtests/bench-strncmp.c: Add wcsncmp support.
30196         * benchtests/bench-wcsncmp.c: New File.
30197         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
30199         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
30200         * sysdeps/s390/multiarch/strcmp.c: Likewise.
30201         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
30202         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
30203         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
30204         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
30205         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
30206         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
30207         wcscmp functions.
30208         * sysdeps/s390/multiarch/ifunc-impl-list.c
30209         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
30210         * string/strcmp.c (STRCMP): Define and use macro.
30211         * benchtests/bench-wcscmp.c: New File.
30212         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
30213         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
30214         instead of _HAVE_STRING_ARCH_memchr.
30216         * sysdeps/s390/multiarch/strncat-c.c: New File.
30217         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
30218         * sysdeps/s390/multiarch/strncat.c: Likewise.
30219         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
30220         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
30221         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
30222         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
30223         wcsncat functions.
30224         * sysdeps/s390/multiarch/ifunc-impl-list.c
30225         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
30226         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
30227         * string/test-strncat.c: Add wcsncat support.
30228         * wcsmbs/test-wcsncat.c: New File.
30229         * wcsmbs/Makefile (strop-tests): Add wcsncat.
30230         * benchtests/bench-strncat.c: Add wcsncat support.
30231         * benchtests/bench-wcsncat.c: New File.
30232         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
30234         * sysdeps/s390/multiarch/strcat-c.c: New File.
30235         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
30236         * sysdeps/s390/multiarch/strcat.c: Likewise.
30237         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
30238         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
30239         * sysdeps/s390/multiarch/wcscat.c: Likewise.
30240         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
30241         wcscat functions.
30242         * sysdeps/s390/multiarch/ifunc-impl-list.c
30243         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
30244         * string/strcat.c (STRCAT): Define and use macro.
30245         * wcsmbs/wcscat.c: Use WCSCAT if defined.
30246         * string/test-strcat.c: Add wcscat support.
30247         * wcsmbs/test-wcscat.c: New File.
30248         * wcsmbs/Makefile (strop-tests): Add wcscat.
30249         * benchtests/bench-strcat.c: Add wcscat support.
30250         * benchtests/bench-wcscat.c: New File.
30251         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
30253         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
30254         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
30255         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
30256         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
30257         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
30258         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
30259         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
30260         wcpncpy functions.
30261         * sysdeps/s390/multiarch/ifunc-impl-list.c
30262         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
30263         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
30264         * string/test-stpncpy.c: Add wcpncpy support.
30265         * wcsmbs/test-wcpncpy.c: New File.
30266         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
30267         * benchtests/bench-stpncpy.c: Add wcpncpy support.
30268         * benchtests/bench-wcpncpy.c: New File.
30269         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
30271         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
30272         * sysdeps/s390/multiarch/strncpy.c: Likewise.
30273         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
30274         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
30275         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
30276         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
30277         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
30278         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
30279         wcsncpy functions.
30280         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
30281         * sysdeps/s390/multiarch/ifunc-impl-list.c
30282         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
30283         * string/test-strncpy.c: Add wcsncpy support.
30284         * wcsmbs/test-wcsncpy.c: New File.
30285         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
30286         * benchtests/bench-strncpy.c: Add wcsncpy support.
30287         * benchtests/bench-wcsncpy.c: New File.
30288         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
30290         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
30291         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
30292         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
30293         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
30294         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
30295         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
30296         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
30297         wcpcpy functions.
30298         * string/stpcpy.c: Use STPCPY if defined.
30299         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
30300         * sysdeps/s390/multiarch/ifunc-impl-list.c
30301         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
30302         * string/test-stpcpy.c: Add wcpcpy support.
30303         * wcsmbs/test-wcpcpy.c: New File.
30304         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
30305         * benchtests/bench-stpcpy.c: Add wcpcpy support.
30306         * benchtests/bench-wcpcpy.c: New File.
30307         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
30309         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
30310         * sysdeps/s390/multiarch/strcpy.c: Likewise.
30311         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
30312         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
30313         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
30314         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
30315         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
30316         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
30317         wcscpy functions.
30318         * sysdeps/s390/multiarch/ifunc-impl-list.c
30319         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
30320         * benchtests/bench-wcscpy.c: New File.
30321         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
30323         * sysdeps/s390/multiarch/strnlen-c.c: New File.
30324         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
30325         * sysdeps/s390/multiarch/strnlen.c: Likewise.
30326         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
30327         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
30328         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
30329         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
30330         wcsnlen functions.
30331         * sysdeps/s390/multiarch/ifunc-impl-list.c
30332         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
30333         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
30334         * string/test-strnlen.c: Add wcsnlen support.
30335         * wcsmbs/test-wcsnlen.c: New File.
30336         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
30337         * benchtests/bench-strnlen.c: Add wcsnlen support.
30338         * benchtests/bench-wcsnlen.c: New File.
30339         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
30341         * sysdeps/s390/multiarch/Makefile: New File.
30342         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
30343         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
30344         * sysdeps/s390/multiarch/strlen.c: Likewise.
30345         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
30346         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
30347         * sysdeps/s390/multiarch/wcslen.c: Likewise.
30348         * string/strlen.c (STRLEN): Define and use macro.
30349         * sysdeps/s390/multiarch/ifunc-impl-list.c
30350         (IFUNC_VX_IMPL): New macro function.
30351         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
30352         * benchtests/Makefile (wcsmbs-bench): New variable.
30353         (string-bench-all): Added wcsmbs-bench.
30354         * benchtests/bench-wcslen.c: New File.
30356         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
30357         s390_vx_libc_ifunc2): New macro function.
30359         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
30360         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
30361         assembler support.
30362         * sysdeps/s390/configure: Regenerated.
30364         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
30365         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30367         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
30368         * sysdeps/s390/dl-procinfo.h: Add vector capability.
30369         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
30371         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
30372         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
30373         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
30374         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
30375         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
30376         (memcmp, bcmp): Use __memcmp_default as alias source.
30377         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
30378         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
30379         Rename to __memcmp_default.
30380         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
30381         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
30382         (memcpy): Use __memcpy_default as alias source.
30383         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
30384         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
30385         Rename to __memcpy_default.
30386         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
30387         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
30388         (memset): Use __memset_default as alias source.
30389         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
30390         * sysdeps/s390/s390-32/memset.S (__memset_g5):
30391         Rename to __memset_default.
30392         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
30393         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
30394         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
30395         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
30396         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
30397         (memcmp, bcmp): Use __memcmp_default as alias source.
30398         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
30399         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
30400         Rename to __memcmp_default.
30401         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
30402         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
30403         (memcpy): Use __memcpy_default as alias source.
30404         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
30405         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
30406         Rename to __memcpy_default.
30407         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
30408         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
30409         (memset): Use __memset_default as alias source.
30410         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
30411         * sysdeps/s390/s390-64/memset.S (__memset_z900):
30412         Rename to __memset_default.
30413         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
30414         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
30416         [BZ #18610]
30417         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
30418         __ieee_instruction_pointer to __unused.
30419         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
30420         __ieee_instruction_pointer.
30421         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
30422         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
30423         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30424         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30425         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
30426         Mark dxc-field as reserved.
30428 2015-08-25  Roland McGrath  <roland@hack.frob.com>
30430         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
30431         if the weak reference is not null.
30433 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30435         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
30437         [BZ #11214]
30438         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
30440 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30442         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
30443         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
30444         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
30445         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
30446         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
30447         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
30448         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
30449         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
30450         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
30451         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
30452         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
30453         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
30454         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
30455         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
30456         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
30457         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
30458         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
30459         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
30461 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
30463         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
30464         register other than r0 for tabort, it has special meaning.
30465         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
30466         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
30467         transaction before starting syscall.
30469 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30471         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
30473 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30475         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
30477         * sysdeps/x86_64/rtld-memcmp.c: Removed.
30478         * sysdeps/x86_64/rtld-memset.S: Likewise.
30479         * sysdeps/x86_64/rtld-strchr.S: Likewise.
30480         * sysdeps/x86_64/rtld-strlen.S: Likewise.
30481         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
30482         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30484         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
30486 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
30488         * debug/strcpy_chk.c: Improve performance.
30489         * debug/stpcpy_chk.c: Likewise.
30490         * sysdeps/x86_64/strcpy_chk.S: Remove.
30491         * sysdeps/x86_64/stpcpy_chk.S: Remove.
30493         [BZ #18240]
30494         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
30496 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30498         [BZ #15128]
30499         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
30500         ifuncmain8.
30501         (modules-names): Add ifuncmod8.
30502         ($(objpfx)ifuncmain8): New rule.
30503         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
30504         <cpuid.h>.
30505         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
30506         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
30507         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
30508         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
30509         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
30510         * sysdeps/x86_64/dl-trampoline.h: Likewise.
30511         * sysdeps/x86_64/ifuncmain8.c: New file.
30512         * sysdeps/x86_64/ifuncmod8.c: Likewise.
30513         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
30514         Removed.
30515         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
30516         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
30517         Change rtld_savespace_sse to __glibc_unused2.
30518         (RTLD_CHECK_FOREIGN_CALL): Removed.
30519         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
30520         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
30521         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
30523 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
30525         * sysdeps/aarch64/bzero.S (__bzero): Remove.
30527 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
30529         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
30530         Unconditionally set __fpcr to avoid uninialized warning.
30531         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
30533 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30535         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
30536         is corrupt.
30538         * malloc/arena.c (arena_get2): Drop unused argument.
30539         (arena_lock): Adjust.
30540         (arena_get_retry): Likewise.
30542 2015-08-24  Andreas Schwab  <schwab@suse.de>
30544         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
30545         Don't define.
30546         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
30547         (__ASSUME_IPC64): Don't undef.
30548         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
30549         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30550         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30551         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
30552         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
30553         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
30554         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
30555         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
30556         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
30557         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
30558         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
30559         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
30560         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
30561         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
30562         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
30563         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
30564         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
30565         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
30566         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
30567         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
30568         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
30570 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
30572         * manual/Makefile (install): Only build manual when perl is available.
30574 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30576         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
30577         '#undef memcpy' by '#undef memchr'.
30579 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30581         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
30582         memchr not point to the internal __GI_memchr implementation.
30584 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
30586         * timezone/Makefile (CFLAGS-zdump.c): Remove
30587         -Wno-strict-prototypes.
30588         (CFLAGS-zic.c): Likewise.
30589         (CFLAGS-ialloc.c): Likewise.
30590         (CFLAGS-scheck.c): Likewise.
30592         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
30593         -Wno-error=undef.
30595 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30597         * i386/i686/multiarch/strcasestr-c.c: Removed.
30598         * x86_64/multiarch/strcasestr.c: Likewise.
30599         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30600         Remove strcasestr.
30602 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
30604         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
30606         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
30607         variables for high and low parts before possibly modifying them.
30609 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30611         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
30612         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
30613         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
30614         of "multiarch/init-arch.h".
30615         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
30616         * sysdeps/x86/init-arch.h: This.
30618 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30620         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
30621         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
30623 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
30625         [BZ #17787]
30626         * manual/macros.texi: Add twoexp macro.
30627         * manual/filesys.texi: Fix exponents.
30628         * manual/llio.texi: Likewise.
30629         * manual/stdio.texi: Likewise.
30631 2015-08-20  Florian Weimer  <fweimer@redhat.com>
30633         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
30634         incorrect use.
30636 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
30638         [BZ #18370]
30639         * math/s_csqrt.c (__csqrt): Force underflow exception for results
30640         whose real or imaginary part has small absolute value.
30641         * math/s_csqrtf.c (__csqrtf): Likewise.
30642         * math/s_csqrtl.c (__csqrtl): Likewise.
30643         * math/auto-libm-test-in: Add more tests of csqrt.
30644         * math/auto-libm-test-out: Regenerated.
30645         * sysdeps/i386/fpu/libm-test-ulps: Update.
30647 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30649         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
30650         __ppc_set_ppr_very_low): New functions.
30651         * manual/platform.texi: Add documentation about
30652         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
30654 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
30656         * string/stpncpy.c (stpncpy): Improve performance using
30657         __strnlen/memcpy/memset.
30659 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
30661         [BZ #18796]
30662         * scripts/test-installation.pl: Don't add -lmvec to build options if
30663         libmvec wasn't built.
30665 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
30667         [BZ #14341]
30668         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
30669         case when there is a gap between DT_REL and DT_JMPREL sections.
30670         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
30671         (LDFLAGS-tst-split-dynreloc): New.
30672         (tst-split-dynreloc-ENV): Likewise.
30673         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
30674         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
30676 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30678         [BZ #18822]
30679         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
30680         attribute_hidden.
30681         (__xstat64_conv): Likewise.
30682         (__xstat32_conv): Likewise.
30684 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30686         [BZ #18822]
30687         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
30688         Don't load %ebx when calling __setcontext.  Call __setcontext
30689         with HIDDEN_JUMPTARGET.
30690         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
30691         libc_hidden_def.
30693 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30695         * sysdeps/i386/i686/Makefile
30696         [$(subdir) == string] (sysdep_routines): Moved to ...
30697         * sysdeps/i386/Makefile: Here.
30698         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
30699         * sysdeps/i386/cacheinfo.c: Here.
30700         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
30701         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
30702         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
30703         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
30705 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30707         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
30708         __i586__ is defined.
30709         (HAS_I686): Defined to 1 if __i686__ is defined.
30711 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
30713         * elf/Makefile [$(have-z-execstack) = yes]
30714         (CPPFLAGS-tst-execstack.c): New variable.
30716         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
30717         conditional to [defined UTMPX || _HAVE_UT_TYPE].
30718         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
30719         UTMPX || _HAVE_UT_TV].
30720         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
30721         UTMPX || _HAVE_UT_TV - 0].
30723 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
30725         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
30726         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
30727         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
30729 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30731         * sysdeps/powerpc/dl-procinfo.c:
30732         (_dl_powerpc_cap_flags): Added missing strings for some
30733         hwcap features.
30734         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
30736 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
30738         Port the 0x7efe...feff pattern to GCC 6.
30739         See Steve Ellcey's bug report in:
30740         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
30741         * string/memrchr.c (MEMRCHR):
30742         * string/rawmemchr.c (RAWMEMCHR):
30743         * string/strchr.c (strchr):
30744         * string/strchrnul.c (STRCHRNUL):
30745         Rewrite code to avoid issues with signed shift overflow.
30747 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
30749         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
30750         whether cpuid is available only if HAS_CPUID is 0.
30751         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
30752         (HAS_I586): Likewise.
30753         (HAS_I686): Likewise.
30755 2015-08-18  Zack Weinberg  <zackw@panix.com>
30757         * misc/Versions (libc): Add GLIBC_2.23.
30759 2015-08-18  Alan Modra  <amodra@gmail.com>
30761         [BZ #18421]
30762         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
30763         .Lp__global.
30764         (_start): Load %dp via .Lp__global.
30765         [!SHARED]: Use .section .rodata.
30767 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30769         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
30770         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
30772 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30774         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
30775         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
30777 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30779         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
30780         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
30782 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30784         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
30785         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
30787 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30789         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
30790         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
30792 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30794         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
30795         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
30797 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30799         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
30801 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30803         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
30804         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
30805         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30806         (__ASSUME_LWS_CAS): Delete.
30808 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30810         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
30811         * sysdeps/hppa/configure: Regenerated.
30812         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
30813         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
30814         * sysdeps/hppa/nptl/tls.h: Likewise.
30816 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
30818         [BZ #18823]
30819         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
30820         for scaling up small arguments.
30821         * math/s_csqrtf.c (__csqrtf): Likewise.
30822         * math/s_csqrtl.c (__csqrtl): Likewise.
30823         * math/auto-libm-test-in: Add more tests of csqrt.
30824         * math/auto-libm-test-out: Regenerated.
30826 2015-08-17  Andreas Schwab  <schwab@suse.de>
30828         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
30829         version set GLIBC_2.19.
30831 2015-08-16  Zack Weinberg  <zackw@panix.com>
30833         [BZ #18681]
30834         * misc/regexp.h: This interface is no longer supported.
30835         Remove all contents, leaving only an #error directive.
30836         * misc/regexp.c (loc1, loc2, locs, step, advance):
30837         Demote to compatibility symbols.
30839 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
30841         [BZ #18084]
30842         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
30843         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
30844         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
30845         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
30846         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
30847         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
30848         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
30849         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
30850         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
30852 2015-08-15  Zack Weinberg  <zackw@panix.com>
30854         [BZ #18795]
30855         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
30856         buffer length is known to be too large, not if it's known to be
30857         small enough.
30858         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
30859         overflow at runtime, involving a length parameter, twice: once
30860         with a compile-time constant length parameter, once without.
30862 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
30864         [BZ #18824]
30865         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
30866         scaling x * y up instead of down.
30867         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30868         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30869         * math/auto-libm-test-in: Add more tests of fma.
30870         * math/auto-libm-test-out: Regenerated.
30872 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30874         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30876 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30878         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
30879         unnecessary movq.
30880         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
30881         Likewise.
30883 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
30885         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30886         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
30887         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
30888         and tgamma.
30889         * math/auto-libm-test-out: Regenerated.
30890         * sysdeps/i386/fpu/libm-test-ulps: Update.
30891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30893         [BZ #16520]
30894         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
30895         (__tanh): Force underflow exception for arguments with small
30896         absolute value.
30897         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
30898         (__tanhf): Force underflow exception for arguments with small
30899         absolute value.
30900         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
30901         (__tanhl): Force underflow exception for arguments with small
30902         absolute value.
30903         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
30904         (__tanhl): Force underflow exception for arguments with small
30905         absolute value.
30906         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
30907         (__tanhl): Force underflow exception for arguments with small
30908         absolute value.
30909         * math/auto-libm-test-in: Add more tests of tanh.
30910         * math/auto-libm-test-out: Regenerated.
30911         * sysdeps/i386/fpu/libm-test-ulps: Update.
30913 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30915         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
30916         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
30918 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30920         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
30921         <cpuid.h>.
30923 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30925         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
30926         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
30928 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30930         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
30931         Remove $(objpfx)init-arch.o.
30932         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
30933         init-arch.
30934         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
30935         (INIT_ARCH_EXT): Defined as empty.
30936         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
30937         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
30938         __init_cpu_features call.  Replace HAS_XXX with
30939         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30940         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
30941         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
30942         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
30943         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
30944         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30945         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
30946         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
30947         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30948         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
30949         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
30950         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30951         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
30952         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
30953         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30954         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
30955         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
30956         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30957         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30958         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
30959         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
30960         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30961         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
30962         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
30963         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30964         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
30965         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
30966         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30967         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
30968         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
30969         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30970         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
30971         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
30972         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30973         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
30974         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
30976 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30978         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
30979         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30980         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30981         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30982         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
30983         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
30984         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
30985         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
30986         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
30987         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
30988         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
30989         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
30990         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30991         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30992         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30993         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30994         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30995         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30996         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30997         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30998         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30999         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31000         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31001         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31002         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31003         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31004         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31005         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31006         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31007         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31008         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31009         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31010         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31011         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31012         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31013         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31014         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31015         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31016         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31017         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31018         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31019         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31020         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31022 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31024         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
31025         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31026         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31027         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31028         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31029         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31030         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31031         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
31032         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31033         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31034         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31035         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
31036         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
31037         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
31038         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
31039         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
31040         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
31041         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
31042         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
31043         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
31044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
31045         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
31046         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
31047         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31048         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31049         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
31050         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
31051         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
31052         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31053         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31054         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31055         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31056         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31057         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31058         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31059         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31060         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31061         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31062         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31063         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31064         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31065         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31066         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31068 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31070         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
31071         (dl_platform_init): Call init_cpu_features.
31072         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
31073         * sysdeps/i386/i686/cacheinfo.c
31074         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
31075         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
31076         * sysdeps/i386/i686/multiarch/Versions: Removed.
31077         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
31078         Removed.
31079         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
31080         * sysdeps/unix/sysv/linux/x86/Makefile
31081         (libpthread-sysdep_routines): Remove init-arch.
31082         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
31083         <sysdeps/x86_64/dl-procinfo.c> instead of
31084         sysdeps/generic/dl-procinfo.c>.
31085         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
31086         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
31087         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
31088         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
31089         [$(subdir) == elf] (tests-static): Add
31090         tst-get-cpu-features-static.
31091         * sysdeps/x86/Versions: New file.
31092         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
31093         * sysdeps/x86/cpu-features.c: Likewise.
31094         * sysdeps/x86/cpu-features.h: Likewise.
31095         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
31096         * sysdeps/x86/libc-start.c: Likewise.
31097         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
31098         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
31099         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
31100         * sysdeps/x86_64/dl-procinfo.c: Likewise.
31101         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
31102         Assume USE_MULTIARCH is defined and don't check it.
31103         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
31104         (is_amd): Likewise.
31105         (max_cpuid): Likewise.
31106         (intel_check_word): Likewise.
31107         (__cache_sysconf): Don't call __init_cpu_features.
31108         (__x86_preferred_memory_instruction): Removed.
31109         (init_cacheinfo): Don't call __init_cpu_features. Replace
31110         __cpu_features with GLRO(dl_x86_cpu_features).
31111         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
31112         (dl_platform_init): Call init_cpu_features.
31113         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
31114         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
31115         * sysdeps/x86_64/multiarch/Versions: Removed.
31116         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
31117         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
31118         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
31119         Removed.
31120         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
31122 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31124         [BZ #18820]
31125         * libio/Makefile (test-fmemopen-mem): New test.
31126         * libio/test-fmemopen.c (do_bz18820): New test.
31127         * libio/fmemopen.c (__fmemopen): Fix memory leak.
31128         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
31130 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31132         [BZ #16734]
31133         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
31134         (FREE_BUF): Delete.
31135         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
31136         * libio/genops.c (_IO_setb): Use malloc and free directly.
31137         (_IO_default_doallocate, _IO_default_finish): Likewise.
31138         ( _IO_unbuffer_all): Likewise.
31139         ( libc_freeres_fn): Likewise.
31140         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31141         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
31142         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
31143         (_IO_wdefault_doallocate): Likewise.
31145 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31147         [BZ #18086]
31148         * sysdeps/posix/nice.c (nice): Restore old errno.
31149         * posix/tst-nice.c (do_test): Add test for BZ #18086.
31151 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
31153         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
31155 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31157         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
31158         __bcopy and add a weak_alias to bcopy.
31159         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
31160         for static build.
31162         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
31163         cleanup macro usage.
31164         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
31165         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
31166         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31167         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
31168         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31169         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
31170         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
31171         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31172         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31173         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
31174         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31175         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
31176         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31177         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
31178         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31179         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
31180         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
31181         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
31182         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31184         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
31185         libc_hidden_def.
31186         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
31188         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
31189         (sysdep_routines): Add strstr-ppc64.
31190         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
31192 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
31194         [BZ #18778]
31195         * elf/Makefile (tests): Add Add tst-nodelete2.
31196         (modules-names): Add tst-nodelete2mod.
31197         (tst-nodelete2mod.so-no-z-defs): New.
31198         ($(objpfx)tst-nodelete2): Likewise.
31199         ($(objpfx)tst-nodelete2.out): Likewise.
31200         (LDFLAGS-tst-nodelete2): Likewise.
31201         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
31202         out of loop through all loaded libraries.
31203         * elf/tst-nodelete2.c: New file.
31204         * elf/tst-nodelete2mod.c: Likewise.
31205         * elf/tst-znodelete-zlib.cc: Delete.
31207 2015-08-11  Andreas Schwab  <schwab@suse.de>
31209         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
31210         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
31211         (__openat64_nocancel): Likewise.
31213 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
31215         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
31216         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
31217         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
31218         * math/auto-libm-test-out: Regenerated.
31219         * sysdeps/i386/fpu/libm-test-ulps: Update.
31220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31222 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31224         [BZ #18790]
31225         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
31226         threshold for returning +/- 1.
31227         * math/auto-libm-test-in: Add more tests of tanh.
31228         * math/auto-libm-test-out: Regenerated.
31229         * sysdeps/i386/fpu/libm-test-ulps: Update.
31231 2015-08-10  Andreas Schwab  <schwab@suse.de>
31233         [BZ #18781]
31234         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
31235         MORE_OFLAGS to oflag.
31236         * io/test-lfs.c (do_test): Test openat64.
31238 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31240         [BZ #18789]
31241         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
31242         smaller threshold for returning the argument.
31243         * math/auto-libm-test-in: Add more tests of sinh.
31244         * math/auto-libm-test-out: Regenerated.
31245         * sysdeps/i386/fpu/libm-test-ulps: Update.
31247 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31249         [BZ #18674]
31250         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
31251         break.
31253 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
31255         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
31256         (generated): Don't add $(addprefix z.,$(tzfiles)).
31258 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31260         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
31261         * scripts/sysd-rules.awk: Likewise.
31263 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31265         * iconvdata/tst-tables.sh: Change echo -n to printf.
31266         * nss/db-Makefile: Likewise.
31267         * posix/tst-getconf.sh: Likewise.
31268         * stdio-common/tst-unbputc.sh: Likewise.
31270 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31272         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
31273         MADV_*_PAGES defines behind this feature check.
31275 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
31277         [BZ #18480]
31278         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
31279         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
31280         Define.
31281         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
31282         LOAD_REGS_5, LOAD_REGS_6): Update.
31283         (INTERNAL_SYSCALL): Update using new LOAD defines.
31284         (INTERNAL_SYSCALL_NCS): Likewise.
31285         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
31287 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31289         [BZ #16734]
31290         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
31292 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31294         [BZ #17905]
31295         * catgets/Makefile (tst-catgets-mem): New test.
31296         * catgets/catgets.c (catopen): Don't use unbounded alloca.
31297         * catgets/open_catalog.c (__open_catalog): Likewise.
31298         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
31300 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
31302         [BZ #18787]
31303         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
31304         clobber registers.
31305         (atomic_compare_and_exchange_val_acq): Use register asms to assign
31306         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
31307         Cast return to __typeof (oldval).
31309 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
31311         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
31312         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
31313         and delete sys/syscall.h include.
31315 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
31317         [BZ #16517]
31318         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
31319         (tan): Force underflow exception for arguments with small absolute
31320         value.
31321         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
31322         (__kernel_tanf): Force underflow exception for arguments with
31323         small absolute value.
31324         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
31325         (__kernel_tanl): Force underflow exception for arguments with
31326         small absolute value.
31327         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
31328         (__kernel_tanl): Force underflow exception for arguments with
31329         small absolute value.
31330         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
31331         (__kernel_tanl): Force underflow exception for arguments with
31332         small absolute value.
31333         * math/auto-libm-test-in: Add more tests of tan.
31334         * math/auto-libm-test-out: Regenerated.
31336 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31338         Fix sysdeps/i386/fpu/s_scalbn.S build
31340         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
31342 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
31344         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31346 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31348         Fix gcrt0.o compilation
31350         When static-start-installed-name is different from
31351         start-installed-name, we must not use the shared objects.
31353         * csu/Makefile
31354         (extra-objs): Add gmon-start.o when building shared library and
31355         $(static-start-installed-name) is different from
31356         $(start-installed-name).
31357         $(objpfx)g$(static-start-installed-name): When building shared
31358         library and $(static-start-installed-name) is different from
31359         $(static-start-installed-name), revert to non-shared rule,
31360         i.e. using $(objpfx)% and gmon-start.o.
31362 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
31364         [BZ #16519]
31365         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
31366         (__ieee754_sinh): Force underflow exception for arguments with
31367         small absolute value.
31368         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
31369         (__ieee754_sinhf): Force underflow exception for arguments with
31370         small absolute value.
31371         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
31372         (__ieee754_sinhl): Force underflow exception for arguments with
31373         small absolute value.
31374         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
31375         (__ieee754_sinhl): Force underflow exception for arguments with
31376         small absolute value.
31377         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
31378         (__ieee754_sinhl): Force underflow exception for arguments with
31379         small absolute value.
31380         * math/auto-libm-test-in: Add more tests of sinh.
31381         * math/auto-libm-test-out: Regenerated.
31382         * sysdeps/i386/fpu/libm-test-ulps: Update.
31384 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31386         * libio/oldfileops.c: Include unistd.h.
31388 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
31390         * stdlib/isomac.c: Include ctype.h.
31392 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
31394         * dirent/tst-seekdir.c (main): Converted to ...
31395         (do_test): ... this.
31396         (TEST_FUNCTION): New macro.
31397         Include test-skeleton.c.
31398         * elf/tst-dlmodcount.c (main): Converted to ...
31399         (do_test): ... this.
31400         (TEST_FUNCTION): New macro.
31401         Include test-skeleton.c.
31402         * elf/tst-order-main.c (main): Converted to ...
31403         (do_test): ... this.
31404         (TEST_FUNCTION): New macro.
31405         Include test-skeleton.c.
31406         * elf/tst-pie2.c (main): Converted to ...
31407         (do_test): ... this.
31408         (TEST_FUNCTION): New macro.
31409         Include test-skeleton.c.
31410         * inet/tst-ether_aton.c (main): Converted to ...
31411         (do_test): ... this.
31412         (TEST_FUNCTION): New macro.
31413         Include test-skeleton.c.
31414         * misc/tst-mntent.c (main): Converted to ...
31415         (do_test): ... this.
31416         (TEST_FUNCTION): New macro.
31417         Include test-skeleton.c.
31418         * misc/tst-tsearch.c (main): Converted to ...
31419         (do_test): ... this.
31420         (TEST_FUNCTION): New macro.
31421         Include test-skeleton.c.
31422         * posix/tst-regexloc.c (main): Converted to ...
31423         (do_test): ... this.
31424         (TEST_FUNCTION): New macro.
31425         Include test-skeleton.c.
31426         * resolv/tst-aton.c (main): Converted to ...
31427         (do_test): ... this.
31428         (TEST_FUNCTION): New macro.
31429         Include test-skeleton.c.
31430         * stdio-common/test-fwrite.c (main): Converted to ...
31431         (do_test): ... this.
31432         (TEST_FUNCTION): New macro.
31433         Include test-skeleton.c.
31434         * stdio-common/tst-ferror.c (main): Converted to ...
31435         (do_test): ... this.
31436         (TEST_FUNCTION): New macro.
31437         Include test-skeleton.c.
31438         * stdio-common/tst-printf.c (main): Converted to ...
31439         (do_test): ... this.
31440         (TEST_FUNCTION): New macro.
31441         Include test-skeleton.c.
31442         * stdio-common/tst-printfsz.c (main): Converted to ...
31443         (do_test): ... this.
31444         (TEST_FUNCTION): New macro.
31445         Include test-skeleton.c.
31446         * stdlib/tst-strtod.c (main): Converted to ...
31447         (do_test): ... this.
31448         (TEST_FUNCTION): New macro.
31449         Include test-skeleton.c.
31450         * string/tst-strlen.c (main): Converted to ...
31451         (do_test): ... this.
31452         (TEST_FUNCTION): New macro.
31453         Include test-skeleton.c.
31454         * string/tst-svc.c (main): Converted to ...
31455         (do_test): ... this.
31456         (TEST_FUNCTION): New macro.
31457         Include test-skeleton.c.
31458         * time/tst-strptime.c (main): Converted to ...
31459         (do_test): ... this.
31460         (TEST_FUNCTION): New macro.
31461         Include test-skeleton.c.
31462         * timezone/tst-timezone.c (main): Converted to ...
31463         (do_test): ... this.
31464         (TEST_FUNCTION): New macro.
31465         Include test-skeleton.c.
31467 2015-08-05  Zack Weinberg  <zackw@panix.com>
31469         * misc/regexp.h: Update comments.
31471 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
31473         [BZ #18635]
31474         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
31475         before return label.
31477 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31479         [BZ #18661]
31480         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
31481         when calling __errno_location.
31482         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
31483         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
31485 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31487         [BZ #18661]
31488         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
31489         (__lll_timedwait_tid): Align stack to 16 bytes when calling
31490         __gettimeofday.
31492 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31494         [BZ #18661]
31495         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31496         (__start_context): Don't use pop to restore %rdi so that stack
31497         is aligned to 16 bytes when calling __setcontext.
31499 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31501         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
31502         only for libc.
31503         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31505 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31507         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
31508         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
31509         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
31511 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31513         * string/memccpy.c (memccpy):
31514         Improve performance by using memchr/memcpy/__mempcpy.
31516 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31518         * string/strncpy.c (strncpy):
31519         Improve performance by using __strnlen/memcpy.
31521 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31523         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31524         Optimize to avoid an unnecessary FPCR read.
31526 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31528         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31529         Optimize to reduce FPCR/FPSR accesses.
31531 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31533         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
31534         dead->data[category] != NULL.
31536 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
31538         [BZ #18647]
31539         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
31540         and |x| close to 1, use absolute value of x when computing log.
31541         * math/auto-libm-test-in: Add more tests of pow.
31542         * math/auto-libm-test-out: Regenerated.
31544 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31546         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
31547         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
31548         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
31550 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
31552         [BZ #18525]
31553         * locales/km_KH: Remove timezone definition.
31554         * locales/lo_LA: Likewise.
31555         * locales/my_MM: Likewise.
31556         * locales/nan_TW@latin: Likewise.
31557         * locales/th_TH: Likewise.
31558         * locales/uk_UA: Likewise.
31560 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31562         [BZ #18265]
31563         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
31564         (wcsncat): Likewise.
31565         (wcscmp): Likewise.
31566         (wcsncmp): Likewise.
31568 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31570         * test-skeleton.c (usage): New function.
31571         (main): Call usage when opt is '?'.
31573 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31575         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
31576         before first use.
31578 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31580         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
31581         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
31582         in there too.
31584 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
31586         * version.h (RELEASE): Set to "development".
31587         (VERSION): Set to "2.22.90"
31589         * version.h (RELEASE): Set to "stable".
31590         (VERSION): Set to "2.22"
31591         * include/features.h (__GLIBC_MINOR__): Set to 22.
31593 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
31595         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
31596         Restructure macro to avoid "value computed is not used" warning.
31597         (atomic_compare_and_exchange_val_acq): Likewise.
31599 2015-08-04  Andreas Schwab  <schwab@suse.de>
31601         [BZ #18635]
31602         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
31603         ret.
31604         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
31606 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
31608         * po/pl.po: Updated translation.
31609         * po/uk.po: Likewise.
31610         * po/fi.po: Likewise.
31611         * po/ko.po: Likewise.
31612         * po/ru.po: Likewise.
31613         * po/vi.po: Likewise.
31615 2015-07-31  Zack Weinberg  <zackw@panix.com>
31617         [BZ #18681]
31618         * regexp.h: Add unconditional #warning stating that this header
31619         will be removed soon.  Revise banner comment to match.
31620         (compile): Consistently use ERROR instead of RETURN to report
31621         errors (partial fix for BZ #18681).
31622         * regexp.c: Don't include regexp.h. Remove some unnecessary
31623         declarations.
31625 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
31627         * po/libc.pot: Regenerated.
31629 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31631         [BZ #18740]
31632         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
31633         float-vlen4-arch-ext-cflags): Removed.
31634         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
31635         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
31637 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31639         [BZ #14113]
31640         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
31641         aligned to __aligned__.
31642         (pthread_cond_t, pthread_rwlock_t): Likewise.
31644 2015-07-30  Torvald Riegel  <triegel@redhat.com>
31646         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
31648 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31650         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
31651         (struct sigaction): Change sa_flags from a long to an int, and add
31652         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
31654 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31656         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
31657         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
31658         sysdeps/generic/sysdep.h include.
31659         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
31660         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
31661         sysdeps/hppa/sysdep.h.
31662         (ENTRY, PSEUDO): Undefine before defining.
31664 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31666         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
31667         from scratch to use INTERNAL_SYSCALL.
31669 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
31671         [BZ #18078]
31672         * scripts/check-localplt.awk: Support alternate relocations.
31673         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
31674         sections.
31675         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
31676         malloc entries with + REL R_386_GLOB_DAT.
31677         * sysdeps/x86_64/localplt.data: New file.
31679 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
31681         [BZ #18731]
31682         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
31683         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31684         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31686 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31688         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
31690 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31692         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
31693         directly in terms of __sync_fetch_and_add and delete (int) cast.
31695 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31697         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
31698         the -D_ASM_IA64_CURRENT_H flag.
31700 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31702         [BZ #18641]
31703         * pwd/pwd.h (putpwent): Delete __nonnull markings.
31705 2015-07-27  Andreas Schwab  <schwab@suse.de>
31707         * conform/conformtest.pl (checknamespace): Filter out string
31708         literals while tokenizing.
31710 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
31712         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31713         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
31714         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31716 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
31718         * nptl/tst-join7mod.c: Add #include <string.h>.
31720 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
31722         * sysdeps/nios2/libm-test-ulps: Update.
31724 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
31726         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
31727         Fix order of arguments to the rt_sigprocmask syscall.
31728         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
31729         Likewise.
31731 2015-07-24  Roland McGrath  <roland@hack.frob.com>
31733         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
31735 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31737         [BZ #18457]
31738         * nptl/Makefile (tests): New test case tst-join7.
31739         (modules-names): New test case module tst-join7mod.
31740         * nptl/tst-join7.c: New file.
31741         * nptl/tst-join7mod.c: New file.
31742         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
31743         all translation units in libc.so, libpthread.so and rtld.
31745 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31749 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
31751         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
31752         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31753         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31754         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31755         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31756         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31757         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31758         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31759         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31760         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31761         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31762         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31763         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
31764         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31765         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
31766         implementation.
31768 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31770         [BZ #17711]
31771         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31772         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
31773         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31774         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31775         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
31776         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31778 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31780         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
31781         instead of just saying load lock in the comments.
31783 2015-07-23  Roland McGrath  <roland@hack.frob.com>
31785         * sysdeps/unix/Subdirs: Moved ...
31786         * sysdeps/posix/Subdirs: ... here.
31787         * login/pty.h (struct termios, struct winsize): Add forward decls.
31788         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
31789         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
31790         * sysdeps/arm/nacl/libc.abilist: Updated.
31791         * sysdeps/nacl/libutil.abilist: New file.
31793         * bits/signum.h: Update comments to mention 1003.1-2013 too.
31794         (SIGWINCH): New macro.
31796         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
31797         * sysdeps/arm/nacl/libc.abilist: Add it.
31799 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
31801         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
31803 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
31805         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
31806         Swap __glibc_reserved0 and sa_flags order.
31808 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31810         [BZ #18657]
31811         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
31812         are pending TLS destructor calls.
31813         * include/link.h (struct link_map): Add concurrency note for
31814         L_TLS_DTOR_COUNT.
31815         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31816         Don't touch the link map flag.  Atomically increment
31817         l_tls_dtor_count.
31818         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
31819         Avoid taking the load lock and don't touch the link map flag.
31820         * stdlib/tst-tls-atexit-nodelete.c: New test case.
31821         * stdlib/Makefile (tests): Use it.
31822         * stdlib/tst-tls-atexit.c (do_test): dlopen
31823         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
31824         to allow tst-tls-atexit-nodelete test case to use it.
31826 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31828         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
31829         to bits/types.h.
31830         (msgqnum_t): New typedef.
31831         (msglen_t): Likewise.
31832         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
31833         and msg_qbytes type to msglen_t.
31835 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31837         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
31838         pad0 to __glibc_reserved0.
31839         (struct stat64): Likewise.
31841 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31843         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
31844         Change sa_flags from a long to an int and add __glibc_reserved0 before
31845         it for padding.
31847 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31849         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
31850         anonymous by deleting "siginfo" name.
31852 2015-07-21  Roland McGrath  <roland@hack.frob.com>
31854         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
31855         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
31856         rather than __nacl_irt_filename.
31857         * sysdeps/nacl/xstat.c (__xstat): Likewise.
31859         * NEWS: New item for arm-nacl port.
31860         * sysdeps/arm/nacl/libc.abilist: New file.
31861         * sysdeps/nacl/ld.abilist: New file.
31862         * sysdeps/nacl/libBrokenLocale.abilist: New file.
31863         * sysdeps/nacl/libanl.abilist: New file.
31864         * sysdeps/nacl/libcrypt.abilist: New file.
31865         * sysdeps/nacl/libdl.abilist: New file.
31866         * sysdeps/nacl/libm.abilist: New file.
31867         * sysdeps/nacl/libpthread.abilist: New file.
31868         * sysdeps/nacl/libresolv.abilist: New file.
31869         * sysdeps/nacl/librt.abilist: New file.
31871 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
31873         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
31874         __startcontext to initialize the new context.
31875         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
31876         up CFI directive to forbid further backtracing.
31878 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
31880         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
31881         reference.
31882         * charmaps/ANSI_X3.4-1968: Likewise.
31883         * charmaps/BS_4730: Likewise.
31884         * charmaps/BS_VIEWDATA: Likewise.
31885         * charmaps/CP1250: Likewise.
31886         * charmaps/CP1251: Likewise.
31887         * charmaps/CP1252: Likewise.
31888         * charmaps/CP1253: Likewise.
31889         * charmaps/CP1254: Likewise.
31890         * charmaps/CP1255: Likewise.
31891         * charmaps/CP1256: Likewise.
31892         * charmaps/CSN_369103: Likewise.
31893         * charmaps/EBCDIC-DK-NO: Likewise.
31894         * charmaps/GB_1988-80: Likewise.
31895         * charmaps/GREEK-CCITT: Likewise.
31896         * charmaps/GREEK7: Likewise.
31897         * charmaps/INIS-8: Likewise.
31898         * charmaps/ISIRI-3342: Likewise.
31899         * charmaps/ISO_2033-1983: Likewise.
31900         * charmaps/ISO_5427-EXT: Likewise.
31901         * locales/POSIX: Likewise.
31902         * locales/ar_SA: Likewise.
31903         * locales/be_BY: Likewise.
31904         * locales/be_BY@latin: Likewise.
31905         * locales/ca_ES: Likewise.
31906         * locales/cs_CZ: Likewise.
31907         * locales/da_DK: Likewise.
31908         * locales/de_BE: Likewise.
31909         * locales/de_CH: Likewise.
31910         * locales/de_LU: Likewise.
31911         * locales/en_AU: Likewise.
31912         * locales/en_BW: Likewise.
31913         * locales/en_CA: Likewise.
31914         * locales/en_DK: Likewise.
31915         * locales/en_GB: Likewise.
31916         * locales/en_IE: Likewise.
31917         * locales/en_NZ: Likewise.
31918         * locales/en_ZA: Likewise.
31919         * locales/en_ZW: Likewise.
31920         * locales/es_AR: Likewise.
31921         * locales/es_BO: Likewise.
31922         * locales/es_CL: Likewise.
31923         * locales/es_CO: Likewise.
31924         * locales/es_DO: Likewise.
31925         * locales/es_EC: Likewise.
31926         * locales/es_ES: Likewise.
31927         * locales/es_HN: Likewise.
31928         * locales/es_MX: Likewise.
31929         * locales/es_PA: Likewise.
31930         * locales/es_PE: Likewise.
31931         * locales/es_PY: Likewise.
31932         * locales/es_SV: Likewise.
31933         * locales/es_US: Likewise.
31934         * locales/es_UY: Likewise.
31935         * locales/es_VE: Likewise.
31936         * locales/et_EE: Likewise.
31937         * locales/fa_IR: Likewise.
31938         * locales/fo_FO: Likewise.
31939         * locales/fr_CA: Likewise.
31940         * locales/fr_CH: Likewise.
31941         * locales/gv_GB: Likewise.
31942         * locales/he_IL: Likewise.
31943         * locales/hr_HR: Likewise.
31944         * locales/id_ID: Likewise.
31945         * locales/is_IS: Likewise.
31946         * locales/it_CH: Likewise.
31947         * locales/iw_IL: Likewise.
31948         * locales/kl_GL: Likewise.
31949         * locales/ko_KR: Likewise.
31950         * locales/kw_GB: Likewise.
31951         * locales/lg_UG: Likewise.
31952         * locales/lt_LT: Likewise.
31953         * locales/lv_LV: Likewise.
31954         * locales/mi_NZ: Likewise.
31955         * locales/nhn_MX: Likewise.
31956         * locales/nl_BE: Likewise.
31957         * locales/pl_PL: Likewise.
31958         * locales/sk_SK: Likewise.
31959         * locales/sl_SI: Likewise.
31960         * locales/sv_FI: Likewise.
31961         * locales/tl_PH: Likewise.
31962         * locales/tr_TR: Likewise.
31963         * locales/vi_VN: Likewise.
31965 2015-07-21  Khem Raj  <raj.khem@gmail.com>
31967         [BZ #17475]
31968         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
31969         of tu_IN and bh_IN.
31971 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
31973         [BZ #18694]
31974         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
31975         bits/wordsize.h.
31976         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
31978 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31980         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
31981         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
31982         (spawn_thread): New function.
31983         (load): Rename to reg_dtor_and_close.  Move dlopen to...
31984         (do_test): ... here.  Use IS_LOADED to test for its
31985         availability.
31987 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
31989         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31991 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
31993         [BZ #18696]
31994         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
31995         si_addr_bnd.
31996         (si_lower): New.
31997         (si_upper): Likewise.
31999 2015-07-16  David S. Miller  <davem@davemloft.net>
32001         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
32003 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32005         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
32006         buffer.
32007         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
32008         fail output information.
32010 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
32013         and strstr-ppc64..
32014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32015         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
32016         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
32017         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
32018         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
32020 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32022         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32023         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32024         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32025         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32027 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32029         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32030         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
32031         rtld_hidden_proto.
32032         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
32034 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32036         * tst-nodelete-opened.c (do_test): Add comment to clarify how
32037         the test can fail.
32039         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
32041         [BZ #18676]
32042         * elf/tst-nodelete-opened.c: New test case.
32043         * elf/tst-nodelete-opened-lib.c: New test case module.
32044         * elf/Makefile (tests, modules-names): Use them.
32045         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
32046         early.
32048 2015-07-15  David S. Miller  <davem@davemloft.net>
32050         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
32051         futex-intenal.h
32052         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
32053         * sysdeps/sparc/sparc64/Makefile: Likewise.
32054         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32055         Remove space from macro define.
32056         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
32058 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
32060         [BZ #17475]
32061         * locale/iso-639.def: Update Bhili and Tulu language codes as
32062         per iso639-3.
32064 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
32066         * elf/tst-leaks1.c (main): Converted to ...
32067         (do_test): ... this.
32068         (TEST_FUNCTION): New macro.
32069         Include test-skeleton.c.
32070         * localedata/tst-langinfo.c (main): Converted to ...
32071         (do_test): ... this.
32072         (TEST_FUNCTION): New macro.
32073         Include test-skeleton.c.
32074         * math/test-fpucw.c (main): Converted to ...
32075         (do_test): ... this.
32076         (TEST_FUNCTION): New macro.
32077         Include test-skeleton.c.
32078         * math/test-tgmath.c (main): Converted to ...
32079         (do_test): ... this.
32080         (TEST_FUNCTION): New macro.
32081         Include test-skeleton.c.
32082         * math/test-tgmath2.c (main): Converted to ...
32083         (do_test): ... this.
32084         (TEST_FUNCTION): New macro.
32085         Include test-skeleton.c.
32086         * setjmp/tst-setjmp.c (main): Converted to ...
32087         (do_test): ... this.
32088         (TEST_FUNCTION): New macro.
32089         Include test-skeleton.c.
32090         * stdio-common/tst-sscanf.c (main): Converted to ...
32091         (do_test): ... this.
32092         (TEST_FUNCTION): New macro.
32093         Include test-skeleton.c.
32094         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
32095         (do_test): ... this.
32096         (TEST_FUNCTION): New macro.
32097         Include test-skeleton.c.
32099         * elf/tst-audit9.c (main): Converted to ...
32100         (do_test): ... this.
32101         (TEST_FUNCTION): New macro.
32102         Include test-skeleton.c.
32104 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
32106         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
32108 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32110         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
32111         New variable.
32113 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32115         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32117 2015-07-14  Roland McGrath  <roland@hack.frob.com>
32119         * sysdeps/generic/dl-fileid.h: New file.
32120         * sysdeps/posix/dl-fileid.h: New file.
32121         * sysdeps/nacl/dl-fileid.h: New file.
32122         * include/link.h: Include <dl-fileid.h>.
32123         (struct link_map): Replace l_dev and l_ino with l_file_id.
32124         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
32125         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
32126         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
32128 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32130         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
32132 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32134         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
32135         Add iff $CXX is set.
32136         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
32137         Likewise.
32138         (tst-nodelete-zmodiff): Likewise.
32139         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
32141 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32143         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
32145 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32147         * sysdeps/aarch64/fpu/math_private.h
32148         (define math_opt_barrier): Add AArch64 version.
32149         (math_force_eval): Likewise.
32151 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32153         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
32155 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
32157         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
32158         %ld with %jd and cast to intmax_t.
32159         (do_test_length_zero): Likewise.
32161 2015-07-10  Roland McGrath  <roland@hack.frob.com>
32163         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
32165 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
32167         * sysdeps/tile/libm-test-ulps: Regenerated.
32169         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
32170         Comment out the whole function, not just its body.
32172 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32174         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
32175         locks.
32177         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
32179 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32181         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
32182         (sem_assume_only_signals_cause_futex_EINTR): Remove.
32184 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32186         * sysdeps/nptl/futex-internal.h: New file.
32187         * sysdeps/nacl/futex-internal.h: New file.
32188         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
32189         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
32190         error checking.
32191         (setxid_unmark_thread): Likewise.
32192         (__nptl_setxid): Likewise.
32193         (__wait_lookup_done): Likewise.
32194         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32195         * nptl/nptl-init.c (sighandler_setxid): Likewise.
32196         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
32197         * nptl/pthread_once.c (clear_once_control): Likewise.
32198         (__pthread_once_slow): Likewise.
32199         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
32200         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
32201         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
32202         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
32203         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
32204         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
32205         Likewise.
32206         (__pthread_rwlock_rdlock): Likewise.
32207         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32208         Likewise.
32209         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32210         Likewise.
32211         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32212         Likewise.
32213         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
32214         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
32215         Likewise.
32216         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
32217         __ASSUME_PRIVATE_FUTEX check.
32218         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
32219         Check that shared futexes are supported.
32220         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
32221         wrappers with error checking.
32222         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
32223         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
32224         * nptl/pthread_barrierattr_setpshared.c
32225         (pthread_barrierattr_setpshared): Check that shared futexes are
32226         supported.
32227         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
32228         Likewise.
32229         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
32230         Likewise.
32231         * nptl/sem_init.c (futex_private_if_supported): Remove.
32232         (__new_sem_init): Adapt and check that shared futexes are supported.
32233         * nptl/sem_open.c (sem_open): Likewise.
32234         * nptl/sem_post.c (futex_wake): Remove.
32235         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
32236         (do_futex_wait): Use futex wrappers with error checking.
32237         * nptl/sem_wait.c: Include lowlevellock.h.
32238         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
32239         Use futex_supports_pshared.
32240         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
32241         Use futex wrappers with error checking.
32242         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
32243         Likewise.
32244         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
32245         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
32246         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
32247         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
32248         (futex_wake): Likewise.
32249         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
32250         (do_futex_wait): Use futex wrappers with error checking.
32251         (__new_sem_wait_slow): Update EINTR handling.
32252         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
32254 2015-07-09  Martin Sebor  <msebor@redhat.com>
32256         [BZ #18435]
32257         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32258         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
32259         * nptl/Makefile (test-xfail-tst-once5): Define.
32261 2015-07-09  Roland McGrath  <roland@hack.frob.com>
32263         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
32264         * elf/dl-minimal.c: For readability, reorder some definitions and
32265         introduce more page breaks.  Include <stdio.h>.
32266         (__libc_fatal): New function.
32268         * include/unistd.h: Add rtld_hidden_proto for _exit.
32269         * posix/_exit.c: Add rtld_hidden_def.
32270         * sysdeps/mach/hurd/_exit.c: Likewise.
32271         * sysdeps/nacl/_exit.c: Likewise.
32272         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
32273         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
32275 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
32277         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
32278         bndmov encoding with zero displacement.
32280 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32281             H.J. Lu  <hongjiu.lu@intel.com>
32283         [BZ #18134]
32284         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
32285         * sysdeps/i386/configure: Regenerated.
32286         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32287         (_dl_runtime_profile): Save and restore Intel MPX return bound
32288         registers when calling _dl_call_pltexit.  Add
32289         PRESERVE_BND_REGS_PREFIX before return.
32290         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
32291         (LRV_BND1_OFFSET): Likewise.
32292         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
32293         lrv_bnd1.
32294         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
32295         typo in bndmov encoding.
32296         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
32297         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
32298         branch instructions to preserve bounds.
32300 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
32303         [GLIBC_2.22]: Add fmemopen.
32305 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32307         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
32308         returns an error, also try to use host port from __mach_host_self for
32309         the __vm_wire call.
32310         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
32312 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32314         [BZ #18400]
32315         [BZ #18648]
32316         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
32317         Fix pr_uid and pr_gid members.
32318         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
32319         definition to elf_greg_t.
32321 2015-07-08  Roland McGrath  <roland@hack.frob.com>
32323         [BZ #18383]
32324         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
32325         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
32326         * sysdeps/arm/configure: Regenerated.
32327         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
32328         (test-xfail-tst-tlsalign-static): Variable removed.
32330         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
32331         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
32332         rather than explicit 'ln -s'.
32334         * resolv/rpc/netdb.h: New file.
32335         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
32337 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32339         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
32340         length buffers.
32341         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32342         test-skeleton.c.
32344         [BZ #6544]
32345         [BZ #11216]
32346         [BZ #12836]
32347         [BZ #13151]
32348         [BZ #13152]
32349         [BZ #14292]
32350         * include/stdio.h (fmemopen): Remove hidden prototype.
32351         (__fmemopen): Add new hidden prototype.
32352         * libio/Makefile: Add oldfmemopen object.
32353         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
32354         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
32355         compliance.
32356         * libio/oldfmemopen.c: New file: old fmemopen implementation for
32357         symbol compatibility.
32358         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
32359         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
32360         fmemopen.
32361         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
32362         on append and read mode.
32363         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
32364         fmemopen.
32365         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
32366         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
32367         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
32368         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
32369         Likewise.
32370         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
32371         [GLIBC_2.22]: Likewise.
32372         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
32373         Likewise.
32374         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
32375         Likewise.
32376         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
32377         [GLIBC_2.22]: Likewise.
32378         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
32379         [GLIBC_2.22]: Likewise.
32380         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
32381         [GLIBC_2.22]: Likewise.
32382         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
32383         [GLIBC_2.22]: Likewise.
32384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
32385         [GLIBC_2.22]: Likewise.
32386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
32387         [GLIBC_2.22]: Likewise.
32388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
32389         [GLIBC_2.22]: Likewise.
32390         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
32391         Likewise.
32392         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
32393         Likewise.
32394         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
32395         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
32396         [GLIBC_2.22]: Likewise.
32397         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
32398         [GLIBC_2.22]: Likewise.
32399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
32400         [GLIBC_2.22]: Likewise.
32401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
32402         [GLIBC_2.22]: Likewise.
32403         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
32404         Likewise.
32405         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
32406         Likewise.
32407         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
32408         Likewise.
32409         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
32410         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
32412 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32414         [BZ #18643]
32415         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
32416         IPV6_PATHMTU, and IPV6_DONTFRAG.
32418 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
32420         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
32421         and _IO_UNBUFFERED.
32422         * libio/oldfileops.c: Likewise.
32423         * libio/wfileops.c: Likewise.
32425 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
32427         * nscd/selinux.c: Delete selinux/flask.h include.
32429 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
32431         [BZ #18641]
32432         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
32433         (putpwent): Likewise.
32434         (getpwnam): Likewise.
32435         (getpwent_r): Likewise.
32436         (getpwuid_r): Likewise.
32437         (getpwnam_r): Likewise.
32438         (fgetpwent_r): Likewise.
32440 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32442         [BZ #18557]
32443         * inet/rcmd.c (__validuser2_sa): Check user first to
32444         short-circuit host check.
32446 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
32447             Mikhail Ilin  <m.ilin@samsung.com>
32449         [BZ #17833]
32450         * elf/Makefile (tests): Add tst-nodelete.
32451         (modules-names): Add tst-nodelete-uniquemod.
32452         (tst-nodelete-uniquemod.so-no-z-defs): New.
32453         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
32454         (tst-nodelete-zmod.so-no-z-defs): Likewise.
32455         ($(objpfx)tst-nodelete): Likewise.
32456         ($(objpfx)tst-nodelete.out): Likewise.
32457         (LDFLAGS-tst-nodelete): Likewise.
32458         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
32459         * elf/dl-close.c (_dl_close_worker): Add a parameter to
32460         implement forced object deletion.
32461         (_dl_close): Pass false to _dl_close_worker.
32462         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
32463         * elf/tst-nodelete.cc: New file.
32464         * elf/tst-nodeletelib.cc: Likewise.
32465         * elf/tst-znodeletelib.cc: Likewise.
32466         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
32468 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32470         [BZ #18508]
32471         * stdlib/Makefile ($(objpfx)tst-makecontext3):
32472         Depend on $(libdl).
32473         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
32474         is not called infinitely times.
32475         (backtrace_helper): New function.
32476         (trace_arg): New struct.
32477         (st1): Enlarge stack size.
32478         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32479         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
32480         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32481         Likewise.
32483 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32485         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32487 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32489         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
32490         Include sys/types.h instead of bits/types.h.
32491         Remove inclusion of bits/wordsize.h.
32493 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32495         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
32496         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
32497         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
32498         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
32499         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
32500         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
32502 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32504         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
32505         link-defines.sym.
32506         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
32507         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
32508         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
32509         and LR_SIZE.
32510         * sysdeps/i386/link-defines.sym: New file.
32512 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32514         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
32515         (modules-names): Add tst-auditmod3a tst-auditmod3b.
32516         ($(objpfx)tst-audit3): New rule.
32517         ($(objpfx)tst-audit3.out): Likewise.
32518         * sysdeps/i386/tst-audit3.c: New file.
32519         * sysdeps/i386/tst-audit3.h: Likewise.
32520         * sysdeps/i386/tst-auditmod3a.c: Likewise.
32521         * sysdeps/i386/tst-auditmod3b.c: Likewise.
32523 2015-07-07  Torvald Riegel  <triegel@redhat.com>
32525         [BZ #18633]
32526         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
32527         pointer in C code.
32528         (__strcat_c): Likewise.
32529         (__strcat_g): Likewise.
32531 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
32533         [BZ #18592]
32534         * misc/sbrk.c: Set errno to ENOMEM on overflow.
32536 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
32538         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
32539         New function.  (__ieee754_sqrtf): New function.
32540         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
32541         New function.
32542         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
32543         New function.
32545 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
32547         * sysdeps/ieee754/support.c: Remove unused file.
32549 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32551         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
32552         registers instead of d ones so the layout is kernel abi compatible.
32553         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
32554         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
32555         Likewise.
32557 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32559         * sysdeps/aarch64/libm-test-ulps: Regenerated.
32561 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
32563         [BZ #18619]
32564         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
32565         and return argument in case of subnormal argument.
32567 2015-07-01  Martin Sebor  <msebor@redhat.com>
32569         [BZ #18435]
32570         * nptl/Makefile: Add tst-once5.cc.
32571         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32572         Remove macro redefinitions.
32573         * nptl/tst-once5.cc: New test.
32575 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
32577         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32579         * sysdeps/arm/libm-test-ulps: Regenerated.
32581         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32582         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32584 2015-06-30  Torvald Riegel  <triegel@redhat.com>
32586         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
32587         lll_lock_wait_private and lll_futex_wake probes.
32589         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32590         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
32591         Likewise.
32592         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
32593         atomic_spin_nop.
32594         * sysdeps/x86_64/bits/atomic.h: Likewise.
32595         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
32596         to atomic_spin_nop and move ...
32597         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32598         ... here and ...
32599         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
32600         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
32601         atomic_spin_nop instead of BUSY_WAIT_NOP.
32602         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
32603         Likewise.
32604         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
32605         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32606         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
32607         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
32608         instead of atomic_delay.
32610 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
32612         [BZ #18613]
32613         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
32614         X_ADJ not X when adjusting exponent.
32615         (__ieee754_gamma_r): Do intermediate computations in
32616         round-to-nearest then adjust overflowing and underflowing results
32617         as needed.
32618         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
32619         of X_ADJ not X when adjusting exponent.
32620         (__ieee754_gammaf_r): Do intermediate computations in
32621         round-to-nearest then adjust overflowing and underflowing results
32622         as needed.
32623         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
32624         log of X_ADJ not X when adjusting exponent.
32625         (__ieee754_gammal_r): Do intermediate computations in
32626         round-to-nearest then adjust overflowing and underflowing results
32627         as needed.  Use 1.0L not 1.0f as numerator of division.
32628         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
32629         log of X_ADJ not X when adjusting exponent.
32630         (__ieee754_gammal_r): Do intermediate computations in
32631         round-to-nearest then adjust overflowing and underflowing results
32632         as needed.  Use 1.0L not 1.0f as numerator of division.
32633         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
32634         of X_ADJ not X when adjusting exponent.
32635         (__ieee754_gammal_r): Do intermediate computations in
32636         round-to-nearest then adjust overflowing and underflowing results
32637         as needed.  Use 1.0L not 1.0f as numerator of division.
32638         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
32639         to auto-libm-test-in.
32640         (tgamma_test): Use ALL_RM_TEST.
32641         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
32642         tests of tgamma with spurious-overflow.
32643         * math/auto-libm-test-out: Regenerated.
32644         * math/gen-libm-have-vector-test.sh: Do not check for START.
32645         * sysdeps/i386/fpu/libm-test-ulps: Update.
32646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32648         [BZ #18612]
32649         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
32650         arguments, just return 0.5 times the argument, with underflow
32651         forced as needed.
32652         * math/auto-libm-test-in: Add more tests of j1.
32653         * math/auto-libm-test-out: Regenerated.
32655         [BZ #16559]
32656         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
32657         (__ieee754_j1): Force underflow exception for small results.
32658         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32659         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
32660         (__ieee754_j1f): Force underflow exception for small results.
32661         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
32662         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32663         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32664         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
32665         (__ieee754_j1l): Force underflow exception for small results.
32666         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32667         * math/auto-libm-test-in: Add more tests of j1 and jn.
32668         * math/auto-libm-test-out: Regenerated.
32670         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
32671         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
32672         (PF_MPLS): Likewise.
32673         (AF_IB): Likewise.
32674         (AF_MPLS): Likewise.
32675         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
32676         value and macro.
32677         (MS_RMT_MASK): Include MS_LAZYTIME.
32679 2015-06-26  Mel Gorman  <mgorman@suse.de>
32681         [BZ #18502]
32682         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
32683         already minimal.
32685 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
32687         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
32688         (DT_MIPS_NUM): Update.
32689         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
32690         DT_MIPS_RLD_MAP_REL.
32692 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
32694         [BZ #16559]
32695         [BZ #18602]
32696         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
32697         round-to-nearest internally then recompute results that
32698         underflowed to zero in the original rounding mode.
32699         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
32700         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32701         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32702         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32703         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
32704         * sysdeps/i386/fpu/libm-test-ulps: Update.
32705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32707 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
32709         * NEWS: Fixed description of link with vector math library.
32711 2015-06-25  Andreas Schwab  <schwab@suse.de>
32713         [BZ #18549]
32714         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
32715         * libio/test-fmemopen.c (do_test): Add test for it.
32717 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
32719         [BZ #17841]
32720         * Makeconfig (no-pie-ldflag): New.
32721         (+link): Set to $(+link-pie) if default to PIE.
32722         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
32723         * config.make.in (build-pie-default): New.
32724         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
32725         is default.  AC_SUBST.
32726         * configure: Regenerated.
32727         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
32729 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32731         * nptl/descr.h (struct pthread): Change type of field setxid_futex
32732         to 'unsigned int'.
32734         * resolv/gai_misc.h (struct waitlist): Change type of field
32735         counterp to 'volatile unsigned int *'.
32736         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
32737         FUTEXADDR and OLDVAL.
32738         * resolv/getaddrinfo_a.c (getaddrinfo_a):
32739         Give local variable TOTAL type 'volatile unsigned int'.
32740         (struct async_waitlist): Change type of field counter to 'unsigned int'.
32741         * resolv/gai_suspend.c (gai_suspend):
32742         Give local variable CNTR type 'unsigned int'.
32744         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
32745         counterp to 'volatile unsigned int *'.
32746         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
32747         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
32748         (aio_suspend): Give local variable CNTR type 'unsigned int'.
32749         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
32750         Give local variable TOTAL type 'volatile unsigned int'.
32751         (struct async_waitlist): Change type of field counter to 'unsigned int'.
32753 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32755         [BZ #18383]
32756         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
32757         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
32758         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
32759         comment for i386/x86-64.
32760         (test-xfail-tst-tlsalign-extern-static): Removed.
32762 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32764         * math/test-double.h: New file.
32765         * math/test-float.h: Likewise.
32766         * math/test-ldouble.h: Likewise.
32767         * math/test-math-inline.h: Likewise.
32768         * math/test-math-no-inline.h: Likewise.
32769         * math/test-math-scalar.h: Likewise.
32770         * math/test-math-vector.h: Likewise.
32771         * math/test-vec-loop.h: Remove file.  Contents moved into
32772         test-math-vector.h.
32773         * math/libm-test.inc (MATHCONST): Do not document macro.
32774         * math/test-double.c: Include test-double.h, test-math-no-inline.h
32775         and test-math-scalar.h.
32776         (FUNC): Remove macro.
32777         (FUNC_TEST): Likewise.
32778         (FLOAT): Likewise.
32779         (MATHCONST): Likewise.
32780         (PRINTF_EXPR): Likewise.
32781         (PRINTF_XEXPR): Likewise.
32782         (PRINTF_NEXPR): Likewise.
32783         (TEST_DOUBLE): Likewise.
32784         (TEST_MATHVEC): Likewise.
32785         (__NO_MATH_INLINES): Likewise.
32786         * math/test-float.c: Include test-float.h, test-math-no-inline.h
32787         and test-math-scalar.h.
32788         (FUNC): Remove macro.
32789         (FUNC_TEST): Likewise.
32790         (FLOAT): Likewise.
32791         (MATHCONST): Likewise.
32792         (PRINTF_EXPR): Likewise.
32793         (PRINTF_XEXPR): Likewise.
32794         (PRINTF_NEXPR): Likewise.
32795         (TEST_FLOAT): Likewise.
32796         (TEST_MATHVEC): Likewise.
32797         (__NO_MATH_INLINES): Likewise.
32798         * math/test-idouble.c: Include test-double.h, test-math-inline.h
32799         and test-math-scalar.h.
32800         (FUNC): Remove macro.
32801         (FUNC_TEST): Likewise.
32802         (FLOAT): Likewise.
32803         (MATHCONST): Likewise.
32804         (PRINTF_EXPR): Likewise.
32805         (PRINTF_XEXPR): Likewise.
32806         (PRINTF_NEXPR): Likewise.
32807         (TEST_DOUBLE): Likewise.
32808         (TEST_MATHVEC): Likewise.
32809         (TEST_INLINE): Likewise.
32810         (__NO_MATH_INLINES): Likewise.
32811         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
32812         test-math-scalar.h.
32813         (FUNC): Remove macro.
32814         (FUNC_TEST): Likewise.
32815         (FLOAT): Likewise.
32816         (MATHCONST): Likewise.
32817         (PRINTF_EXPR): Likewise.
32818         (PRINTF_XEXPR): Likewise.
32819         (PRINTF_NEXPR): Likewise.
32820         (TEST_FLOAT): Likewise.
32821         (TEST_MATHVEC): Likewise.
32822         (TEST_INLINE): Likewise.
32823         (__NO_MATH_INLINES): Likewise.
32824         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
32825         and test-math-scalar.h.
32826         (FUNC): Remove macro.
32827         (FUNC_TEST): Likewise.
32828         (FLOAT): Likewise.
32829         (MATHCONST): Likewise.
32830         (PRINTF_EXPR): Likewise.
32831         (PRINTF_XEXPR): Likewise.
32832         (PRINTF_NEXPR): Likewise.
32833         (TEST_LDOUBLE): Likewise.
32834         (TEST_MATHVEC): Likewise.
32835         (TEST_INLINE): Likewise.
32836         (__NO_MATH_INLINES): Likewise.
32837         * math/test-ldouble.c: Include test-ldouble.h,
32838         test-math-no-inline.h and test-math-scalar.h.
32839         (FUNC): Remove macro.
32840         (FUNC_TEST): Likewise.
32841         (FLOAT): Likewise.
32842         (MATHCONST): Likewise.
32843         (PRINTF_EXPR): Likewise.
32844         (PRINTF_XEXPR): Likewise.
32845         (PRINTF_NEXPR): Likewise.
32846         (TEST_LDOUBLE): Likewise.
32847         (TEST_MATHVEC): Likewise.
32848         (__NO_MATH_INLINES): Likewise.
32849         * math/test-double-vlen2.h: Include test-double.h,
32850         test-math-no-inline.h and test-math-vector.h.
32851         (FLOAT): Remove macro.
32852         (FUNC): Likewise.
32853         (MATHCONST): Likewise.
32854         (PRINTF_EXPR): Likewise.
32855         (PRINTF_XEXPR): Likewise.
32856         (PRINTF_NEXPR): Likewise.
32857         (TEST_DOUBLE): Likewise.
32858         (TEST_MATHVEC): Likewise.
32859         (__NO_MATH_INLINES): Likewise.
32860         (CNCT): Likewise.
32861         (CONCAT): Likewise.
32862         (WRAPPER_NAME): Likewise.
32863         (WRAPPER_DECL): Likewise.
32864         (WRAPPER_DECL_ff): Likewise.
32865         (WRAPPER_DECL_fFF): Likewise.
32866         (VECTOR_WRAPPER): Likewise.
32867         (VECTOR_WRAPPER_ff): Likewise.
32868         (VECTOR_WRAPPER_fFF): Likewise.
32869         (VEC_LEN): New macro.
32870         * math/test-double-vlen4.h: Include test-double.h,
32871         test-math-no-inline.h and test-math-vector.h.
32872         (FLOAT): Remove macro.
32873         (FUNC): Likewise.
32874         (MATHCONST): Likewise.
32875         (PRINTF_EXPR): Likewise.
32876         (PRINTF_XEXPR): Likewise.
32877         (PRINTF_NEXPR): Likewise.
32878         (TEST_DOUBLE): Likewise.
32879         (TEST_MATHVEC): Likewise.
32880         (__NO_MATH_INLINES): Likewise.
32881         (CNCT): Likewise.
32882         (CONCAT): Likewise.
32883         (WRAPPER_NAME): Likewise.
32884         (WRAPPER_DECL): Likewise.
32885         (WRAPPER_DECL_ff): Likewise.
32886         (WRAPPER_DECL_fFF): Likewise.
32887         (VECTOR_WRAPPER): Likewise.
32888         (VECTOR_WRAPPER_ff): Likewise.
32889         (VECTOR_WRAPPER_fFF): Likewise.
32890         (VEC_LEN): New macro.
32891         * math/test-double-vlen8.h: Include test-double.h,
32892         test-math-no-inline.h and test-math-vector.h.
32893         (FLOAT): Remove macro.
32894         (FUNC): Likewise.
32895         (MATHCONST): Likewise.
32896         (PRINTF_EXPR): Likewise.
32897         (PRINTF_XEXPR): Likewise.
32898         (PRINTF_NEXPR): Likewise.
32899         (TEST_DOUBLE): Likewise.
32900         (TEST_MATHVEC): Likewise.
32901         (__NO_MATH_INLINES): Likewise.
32902         (CNCT): Likewise.
32903         (CONCAT): Likewise.
32904         (WRAPPER_NAME): Likewise.
32905         (WRAPPER_DECL): Likewise.
32906         (WRAPPER_DECL_ff): Likewise.
32907         (WRAPPER_DECL_fFF): Likewise.
32908         (VECTOR_WRAPPER): Likewise.
32909         (VECTOR_WRAPPER_ff): Likewise.
32910         (VECTOR_WRAPPER_fFF): Likewise.
32911         (VEC_LEN): New macro.
32912         * math/test-float-vlen4.h: Include test-float.h,
32913         test-math-no-inline.h and test-math-vector.h.
32914         (FLOAT): Remove macro.
32915         (FUNC): Likewise.
32916         (MATHCONST): Likewise.
32917         (PRINTF_EXPR): Likewise.
32918         (PRINTF_XEXPR): Likewise.
32919         (PRINTF_NEXPR): Likewise.
32920         (TEST_FLOAT): Likewise.
32921         (TEST_MATHVEC): Likewise.
32922         (__NO_MATH_INLINES): Likewise.
32923         (CNCT): Likewise.
32924         (CONCAT): Likewise.
32925         (WRAPPER_NAME): Likewise.
32926         (WRAPPER_DECL): Likewise.
32927         (WRAPPER_DECL_ff): Likewise.
32928         (WRAPPER_DECL_fFF): Likewise.
32929         (VECTOR_WRAPPER): Likewise.
32930         (VECTOR_WRAPPER_ff): Likewise.
32931         (VECTOR_WRAPPER_fFF): Likewise.
32932         (VEC_LEN): New macro.
32933         * math/test-float-vlen8.h: Include test-float.h,
32934         test-math-no-inline.h and test-math-vector.h.
32935         (FLOAT): Remove macro.
32936         (FUNC): Likewise.
32937         (MATHCONST): Likewise.
32938         (PRINTF_EXPR): Likewise.
32939         (PRINTF_XEXPR): Likewise.
32940         (PRINTF_NEXPR): Likewise.
32941         (TEST_FLOAT): Likewise.
32942         (TEST_MATHVEC): Likewise.
32943         (__NO_MATH_INLINES): Likewise.
32944         (CNCT): Likewise.
32945         (CONCAT): Likewise.
32946         (WRAPPER_NAME): Likewise.
32947         (WRAPPER_DECL): Likewise.
32948         (WRAPPER_DECL_ff): Likewise.
32949         (WRAPPER_DECL_fFF): Likewise.
32950         (VECTOR_WRAPPER): Likewise.
32951         (VECTOR_WRAPPER_ff): Likewise.
32952         (VECTOR_WRAPPER_fFF): Likewise.
32953         (VEC_LEN): New macro.
32954         * math/test-float-vlen16.h: Include test-float.h,
32955         test-math-no-inline.h and test-math-vector.h.
32956         (FLOAT): Remove macro.
32957         (FUNC): Likewise.
32958         (MATHCONST): Likewise.
32959         (PRINTF_EXPR): Likewise.
32960         (PRINTF_XEXPR): Likewise.
32961         (PRINTF_NEXPR): Likewise.
32962         (TEST_FLOAT): Likewise.
32963         (TEST_MATHVEC): Likewise.
32964         (__NO_MATH_INLINES): Likewise.
32965         (CNCT): Likewise.
32966         (CONCAT): Likewise.
32967         (WRAPPER_NAME): Likewise.
32968         (WRAPPER_DECL): Likewise.
32969         (WRAPPER_DECL_ff): Likewise.
32970         (WRAPPER_DECL_fFF): Likewise.
32971         (VECTOR_WRAPPER): Likewise.
32972         (VECTOR_WRAPPER_ff): Likewise.
32973         (VECTOR_WRAPPER_fFF): Likewise.
32974         (VEC_LEN): New macro.
32975         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
32976         test-vec-loop.h.
32977         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32978         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32979         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32980         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32981         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32982         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32983         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32985 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32987         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
32988         (__getlogin_r): ... this.
32990 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32992         [BZ #18594]
32993         * math/s_ccosh.c (__ccosh): Compare with least normal value
32994         instead of comparing class with FP_SUBNORMAL.
32995         * math/s_ccoshf.c (__ccoshf): Likewise.
32996         * math/s_ccoshl.c (__ccoshl): Likewise.
32997         * math/s_cexp.c (__cexp): Likewise.
32998         * math/s_cexpf.c (__cexpf): Likewise.
32999         * math/s_cexpl.c (__cexpl): Likewise.
33000         * math/s_csin.c (__csin): Likewise.
33001         * math/s_csinf.c (__csinf): Likewise.
33002         * math/s_csinh.c (__csinh): Likewise.
33003         * math/s_csinhf.c (__csinhf): Likewise.
33004         * math/s_csinhl.c (__csinhl): Likewise.
33005         * math/s_csinl.c (__csinl): Likewise.
33006         * math/s_ctan.c (__ctan): Likewise.
33007         * math/s_ctanf.c (__ctanf): Likewise.
33008         * math/s_ctanh.c (__ctanh): Likewise.
33009         * math/s_ctanhf.c (__ctanhf): Likewise.
33010         * math/s_ctanhl.c (__ctanhl): Likewise.
33011         * math/s_ctanl.c (__ctanl): Likewise.
33012         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
33013         csin, csinh, ctan and ctanh.
33014         * math/auto-libm-test-out: Regenerated.
33015         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
33016         * sysdeps/i386/fpu/libm-test-ulps: Update.
33017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33019 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33021         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
33022         return value is wrong, print the expected value too.
33024 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33026         [BZ #18585]
33027         * elf/readlib.c (is_gdb_python_file): New.
33028         (process_file): Don't issue errors on filenames with -gdb.py
33029         suffix.
33031 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33033         * math/auto-libm-test-in: Add more tests of csin and csinh.
33034         * math/auto-libm-test-out: Regenerated.
33035         * math/libm-test.inc (csin_test_data): Remove tests moved to
33036         auto-libm-test-in.
33037         (csinh_test_data): Likewise.
33039         [BZ #18593]
33040         * math/s_csin.c (__csin): Negate before rather than after possibly
33041         overflowing multiplication.
33042         * math/s_csinf.c (__csinf): Likewise.
33043         * math/s_csinh.c (__csinh): Likewise.
33044         * math/s_csinhf.c (__csinhf): Likewise.
33045         * math/s_csinhl.c (__csinhl): Likewise.
33046         * math/s_csinl.c (__csinl): Likewise.
33047         * math/auto-libm-test-in: Add some tests of csin and csinh.
33048         * math/auto-libm-test-out: Regenerated.
33049         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
33050         (csinh_test_data): Likewise.
33051         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33053         [BZ #18586]
33054         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
33055         underflow exception for small results.
33057 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33059         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33060         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
33061         variable and included header.
33062         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
33063         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
33064         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
33065         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
33066         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
33067         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
33068         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
33069         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
33070         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
33071         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
33072         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
33073         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
33074         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
33075         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
33076         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
33077         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
33079 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33081         [BZ #16526]
33082         [BZ #16538]
33083         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
33084         (__sin): Force underflow exception for arguments with small
33085         absolute value.
33086         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
33087         (__kernel_sinf): Force underflow exception for arguments with
33088         small absolute value.
33089         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
33090         (__kernel_sincosl): Force underflow exception for arguments with
33091         small absolute value.
33092         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
33093         (__kernel_sinl): Force underflow exception for arguments with
33094         small absolute value.
33095         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
33096         (__kernel_sincosl): Force underflow exception for arguments with
33097         small absolute value.
33098         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
33099         (__kernel_sinl): Force underflow exception for arguments with
33100         small absolute value.
33101         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
33102         (__kernel_sinl): Force underflow exception for arguments with
33103         small absolute value.
33104         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
33105         (__kernel_sinf): Force underflow exception for arguments with
33106         small absolute value.
33107         * math/auto-libm-test-in: Add more tests of sin and sincos.
33108         * math/auto-libm-test-out: Regenerated.
33110         [BZ #18245]
33111         [BZ #18583]
33112         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
33113         (__kernel_standard_l): Use feholdexcept and fesetenv around
33114         conversion to double instead of special-casing overflow and
33115         underflow.
33116         * math/libm-test.inc (fmod_test_data): Add more tests.
33117         (remainder_test_data): Likewise.
33118         (sqrt_test_data): Likewise.
33120 2015-06-23  Torvald Riegel  <triegel@redhat.com>
33122         [BZ #17403]
33123         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
33124         atomic_read_barrier, atomic_write_barrier): Define.
33125         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
33126         atomic_read_barrier, atomic_write_barrier): Define.
33128 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33130         * math/Makefile [$(PERL) != no]
33131         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
33132         dependency on libm-test.stmp below the inclusion of Rules.
33134 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
33136         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33137         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
33138         and included header.
33139         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
33140         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
33141         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
33142         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
33143         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
33144         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
33145         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
33146         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
33147         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
33148         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
33149         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
33150         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
33151         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
33152         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
33153         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
33154         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
33155         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
33156         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
33157         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
33159 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33161         [BZ #18371]
33162         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
33163         intermediate but not final result might underflow.
33164         * math/s_csqrtf.c (__csqrtf): Likewise.
33165         * math/s_csqrtl.c (__csqrtl): Likewise.
33166         * math/auto-libm-test-in: Add more tests of csqrt.
33167         * math/auto-libm-test-out: Regenerated.
33168         * sysdeps/i386/fpu/libm-test-ulps: Update.
33170         [BZ #18219]
33171         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
33172         threshold on absolute value of exponent for which scaling is used.
33173         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33174         * math/auto-libm-test-in: Add more tests of exp2.
33175         * math/auto-libm-test-out: Regenerated.
33177 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
33179         [BZ #17977]
33180         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
33181         when initializing interface list, based on the bug analysis
33182         and the patch proposed by Eric Newton.
33183         * resolv/tst-res_hconf_reorder.c: New test.
33184         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
33185         tst-res_hconf_reorder.
33186         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
33187         and $(shared-thread-library).
33188         (tst-res_hconf_reorder-ENV): New variable.
33190         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
33191         in comment.
33193 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
33195         [BZ #16353]
33196         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
33197         (__expm1): Force underflow exception for arguments with small
33198         absolute value.
33199         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
33200         (__expm1f): Force underflow exception for arguments with small
33201         absolute value.
33202         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
33203         (__expm1): Force underflow exception for arguments with small
33204         absolute value.
33205         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
33206         (__expm1f): Force underflow exception for arguments with small
33207         absolute value.
33208         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33209         Check for small arguments before calling __expm1.
33210         * math/auto-libm-test-in: Do not mark underflow exceptions as
33211         possibly missing for bug 16353.
33212         * math/auto-libm-test-out: Regenerated.
33214 2015-06-22  Andreas Schwab  <schwab@suse.de>
33216         [BZ #18513]
33217         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
33218         PTR queries.
33220 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
33222         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
33224         * string/strcoll_l.c: Remove unused struct element idxnow.
33226 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
33228         [BZ #18569]
33229         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
33230         underflow and return argument in case of subnormal argument.
33231         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33232         Likewise.
33233         * math/auto-libm-test-in: Add more tests of expm1.
33234         * math/auto-libm-test-out: Regenerated.
33236         [BZ #16361]
33237         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33238         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33239         tiny results.
33240         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33241         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33242         tiny results.
33243         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
33244         mark underflow exceptions as possibly missing for bug 16361.
33245         * math/auto-libm-test-out: Regenerated.
33247 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
33249         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
33250         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
33251         Remove variable.
33252         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33253         (test-xfail-XOPEN2K8/utmpx.h/conform).
33255         * conform/conformtest.pl ($xerrors): New variable.
33256         (note_error): New function.
33257         (compiletest): New argument $xfail.  Use not_error.
33258         (runtest): Likewise.
33259         (top level): Handle xfail- lines.  Update calls to compiletest and
33260         runtest.  Handle xfail- and optional- in headers listed with
33261         allow-header.
33262         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
33263         (O_EXEC): Likewise.
33264         (O_SEARCH): Likewise.
33265         * conform/data/stropts.h-data (ioctl): Likewise.
33266         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
33267         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
33268         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
33269         (msghdr.msg_controllen): Likewise.
33270         (cmsghdr.cmsg_len): Likewise.
33271         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
33272         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
33273         variable.
33274         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33275         (test-xfail-XPG4/stropts.h/conform): Likewise.
33276         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33277         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33278         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33279         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33280         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33281         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33282         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33283         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33284         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33285         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33286         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33287         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33288         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33289         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33290         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33291         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33292         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33293         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33294         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33296 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
33298         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
33299         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
33300         definitions for proper unfolding of __MATHDECL_VEC.
33302 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33304         * benchtests/bench-strcoll.c:
33305         Include string.h.
33306         (main): Remove unused variable res.
33308 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33310         * timezone/Makefile (%/UTC %/Universal):
33311         Generate test-result files for UTC and Universal.
33313 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33315         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33317 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
33319         [BZ #16350]
33320         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
33321         for arguments with small absolute value.
33322         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
33323         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
33324         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
33325         (__asinh): Force underflow exception for arguments with small
33326         absolute value.
33327         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
33328         (__asinhf): Force underflow exception for arguments with small
33329         absolute value.
33330         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
33331         (__asinhl): Force underflow exception for arguments with small
33332         absolute value.
33333         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
33334         (__asinhl): Force underflow exception for arguments with small
33335         absolute value.
33336         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
33337         (__asinhl): Force underflow exception for arguments with small
33338         absolute value.
33339         * math/auto-libm-test-in: Do not mark underflow exceptions as
33340         possibly missing for bug 16350.
33341         * math/auto-libm-test-out: Regenerated.
33343         * include/bits/ipc.h: Remove file.
33344         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
33345         variable.
33346         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33347         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33348         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33349         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33350         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33351         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33352         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33353         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33354         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33356         * math/auto-libm-test-in: Remove spurious underflow allowance for
33357         tests of cexp.
33358         * math/auto-libm-test-out: Regenerated.
33360         [BZ #18558]
33361         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
33362         unconditional definition.
33363         (MCAST_BLOCK_SOURCE): Likewise.
33364         (MCAST_UNBLOCK_SOURCE): Likewise.
33365         (MCAST_LEAVE_GROUP): Likewise.
33366         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33367         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33368         (MCAST_MSFILTER): Likewise.
33369         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
33370         Remove variable.
33371         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33372         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33373         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33374         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33375         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33377 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
33379         * NEWS: Mention addition of x86_64 vector sincosf.
33380         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
33381         * math/test-float-vlen4.h: Likewise.
33382         * math/test-float-vlen8.h: Likewise.
33383         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33384         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
33385         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33386         * sysdeps/x86_64/fpu/Versions: New versions added.
33387         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33388         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33389         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33390         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
33391         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
33392         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
33393         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
33394         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
33395         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
33396         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
33397         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
33398         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
33399         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
33400         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
33401         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
33402         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
33403         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
33404         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33405         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33406         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33407         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33408         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33409         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33410         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33412         * NEWS: Mention addition of x86_64 vector sincos.
33413         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
33414         * math/math.h (__MATHDECL_VEC): New macro.
33415         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
33416         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
33417         declaration under condition.
33418         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
33419         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
33420         TEST_VEC_LOOP change.
33421         * math/test-double-vlen4.h: Likewise.
33422         * math/test-double-vlen8.h: Likewise.
33423         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
33424         * math/test-float-vlen4.h: Likewise.
33425         * math/test-float-vlen8.h: Likewise.
33426         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33427         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
33428         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33429         * sysdeps/x86_64/fpu/Versions: New versions added.
33430         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33431         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33432         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33433         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
33434         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
33435         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
33436         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
33437         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
33438         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
33439         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
33440         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
33441         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
33442         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
33443         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
33444         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
33445         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
33446         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
33447         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33448         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33449         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33450         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33451         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33452         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33453         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33455         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33456         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33457         redirections for powf.
33458         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33459         * sysdeps/x86_64/fpu/Versions: New versions added.
33460         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33461         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33462         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33463         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
33464         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
33465         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
33466         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
33467         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
33468         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
33469         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
33470         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
33471         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
33472         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
33473         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
33474         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
33475         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
33476         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
33477         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33478         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33479         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33480         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33481         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33482         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33483         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33484         * math/test-float-vlen16.h: Fixed 2 argument macro.
33485         * math/test-float-vlen4.h: Likewise.
33486         * math/test-float-vlen8.h: Likewise.
33487         * NEWS: Mention addition of x86_64 vector powf.
33489 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
33491         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33492         and redefine.
33493         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33494         and redefine.
33495         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
33496         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33497         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33499         [BZ #18553]
33500         * resource/getpriority.c (getpriority): Rename to __getpriority
33501         and define as weak alias of __getpriority.
33502         * resource/setpriority.c (setpriority): Rename to __setpriority
33503         and define as weak alias of __setpriority.
33504         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
33505         __getpriority and define as weak alias of __getpriority.
33506         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
33507         __setpriority and define as weak alias of __setpriority.
33508         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
33509         strong name.
33510         (setpriority): Use __setpriority as strong name.
33511         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
33512         __getpriority and define as weak alias of __getpriority.
33513         * include/sys/resource.h (__getpriority): Declare.  Use
33514         libc_hidden_proto.
33515         (__setpriority): Likewise.
33516         (getpriority): Don't use libc_hidden_proto.
33517         (setpriority): Likewise.
33518         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
33519         getpriority.  Call __setpriority instead of setpriority.
33520         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
33521         Remove variable.
33523         [BZ #18547]
33524         * misc/getttyent.c (getttynam): Rename to __getttynam and define
33525         as weak alias of __getttynam.  Use prototype function definition.
33526         Call __setttyent, __getttyent and __endttyent instead of
33527         setttyent, getttyent and endttyent.
33528         (getttyent): Rename to __getttyent and define as weak alias of
33529         __getttyent.  Call __setttyent instead of setttyent.  Call
33530         __fgets_unlocked instead of fgets_unlocked.
33531         (setttyent): Rename to __setttyent and define as weak alias of
33532         __setttyent.
33533         (endttyent): Rename to __endttyent and define as weak alias of
33534         __endttyent.
33535         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
33536         (__setttyent): Likewise.
33537         (__endttyent): Likewise.
33538         (getttyent): Don't use libc_hidden_proto.
33539         (setttyent): Likewise.
33540         (endttyent): Likewise.
33541         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
33542         __endttyent instead of setttyent, getttyent and endttyent.
33543         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
33544         Remove variable.
33546         [BZ #18546]
33547         * socket/recv.c (__recv): Use libc_hidden_def.
33548         * socket/socket.c (__socket): Likewise.
33549         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
33550         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
33551         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
33552         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
33553         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
33554         libc_hidden_def.
33555         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
33556         libc_hidden_weak.
33557         * include/sys/socket.h (__socket): Do not use attribute_hidden.
33558         Use libc_hidden_proto.
33559         (__recv): Likewise.
33560         * socket/Versions (libc): Export __recv and __socket at version
33561         GLIBC_PRIVATE.
33562         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
33563         instead of recv.
33564         (init_mq_netlink): Call __socket instead of socket.
33565         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
33566         Remove variable.
33568         [BZ #18545]
33569         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
33570         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
33571         hidden_weak.
33572         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
33573         define as alias of __mq_timedsend.  Use hidden_weak.
33574         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
33575         __mq_timedsend as strong name.
33576         (mq_timedreceive): Use __mq_timedreceive as strong name.
33577         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
33578         (__mq_timedreceive): Likewise.
33579         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
33580         __mq_timedreceive instead of mq_timedreceive.
33581         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
33582         instead of mq_timedsend.
33583         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
33584         Remove variable.
33586         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
33587         hidden_def and hidden_weak instead of libc_hidden_def and
33588         libc_hidden_weak.
33589         (top level): Refer to hidden_def in comment.
33590         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
33591         macro.  Use it instead of libc_hidden_def.
33592         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
33593         specify __GI_* name explicitly.
33594         (mq_timedreceive): Likewise.
33595         (mq_setattr): Likewise.
33597         [BZ #18544]
33598         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
33599         __pthread_barrier_init and define as weak alias of
33600         __pthread_barrier_init.
33601         * sysdeps/sparc/nptl/pthread_barrier_init.c
33602         (pthread_barrier_init): Likewise.
33603         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
33604         __pthread_barrier_wait and define as weak alias of
33605         __pthread_barrier_wait.
33606         * sysdeps/sparc/nptl/pthread_barrier_wait.c
33607         (pthread_barrier_wait): Likewise.
33608         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
33609         (pthread_barrier_wait): Likewise.
33610         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
33611         (pthread_barrier_wait): Likewise.
33612         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
33613         (pthread_barrier_wait): Likewise.
33614         * nptl/Versions (libpthread): Export __pthread_barrier_init and
33615         __pthread_barrier_wait at version GLIBC_PRIVATE.
33616         * include/pthread.h (__pthread_barrier_init): Declare.
33617         (__pthread_barrier_wait): Likewise.
33618         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
33619         Call __pthread_barrier_wait instead of pthread_barrier_wait.
33620         (helper_thread): Likewise.
33621         (init_mq_netlink): Call __pthread_barrier_init instead of
33622         pthread_barrier_init.
33624         [BZ #18542]
33625         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
33626         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
33627         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
33628         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
33629         vswscanf.
33630         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
33631         Remove variable.
33633         [BZ #18540]
33634         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
33635         strong alias of _IO_fflush.  Use libc_hidden_def.
33636         * libio/iofflush_u.c (fflush_unlocked): Rename to
33637         __fflush_unlocked and define as weak alias of __fflush_unlocked.
33638         Use libc_hidden_weak.
33639         * include/stdio.h (__fflush_unlocked): Declare.  Use
33640         libc_hidden_proto.
33641         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
33642         fflush_unlocked.
33643         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
33644         Remove variable.
33646         [BZ #18539]
33647         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
33648         define as weak alias of __addseverity.
33649         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
33650         Remove variable.
33651         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33652         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33653         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33655         [BZ #18536]
33656         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
33657         (__tfind): Likewise.
33658         (__tdelete): Likewise.
33659         (__twalk): Likewise.
33660         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
33661         __twalk to GLIBC_PRIVATE.
33662         * include/search.h (__tsearch): Use libc_hidden_proto.
33663         (__tfind): Likewise.
33664         (__tdelete): Likewise.
33665         (__twalk): Likewise.
33666         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
33667         Call __tdelete instead of tdelete.
33668         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
33669         tfind.  Call __tsearch instead of tsearch.
33670         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
33671         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
33672         Remove variable.
33673         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33675         [BZ #18534]
33676         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
33677         (dprintf): Define as a weak alias of __dprintf, not a strong
33678         alias.
33679         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
33680         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
33681         dprintf.
33682         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
33683         Remove variable.
33684         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33685         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33687         [BZ #18533]
33688         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
33689         not a strong alias.
33690         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
33691         Remove variable.
33693         [BZ #18532]
33694         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
33695         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
33696         (in6addr_loopback): Rename to __in6addr_loopback and define as
33697         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
33698         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
33699         libc_hidden_proto.
33700         (__in6addr_any): Likewise.
33701         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
33702         in6addr_any.
33703         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
33704         variable.
33705         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33707 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
33709         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
33710         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
33711         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33712         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33713         redirections for pow.
33714         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33715         * sysdeps/x86_64/fpu/Versions: New versions added.
33716         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33717         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33718         build of SSE, AVX2 and AVX512 IFUNC versions.
33719         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
33720         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
33721         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
33722         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
33723         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
33724         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
33725         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
33726         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
33727         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
33728         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
33729         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
33730         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
33731         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
33732         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
33733         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33734         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33735         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33736         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33737         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33738         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33739         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33740         * NEWS: Mention addition of x86_64 vector pow.
33742         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33743         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33744         redirections for expf.
33745         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33746         * sysdeps/x86_64/fpu/Versions: New versions added.
33747         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33748         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33749         build of SSE, AVX2 and AVX512 IFUNC versions.
33750         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
33751         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
33752         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
33753         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
33754         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
33755         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
33756         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
33757         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
33758         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
33759         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
33760         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
33761         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
33762         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
33763         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33764         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33765         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33766         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33767         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33768         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33769         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33770         * NEWS: Mention addition of x86_64 vector expf.
33772         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
33773         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
33774         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33775         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33776         redirections for exp.
33777         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33778         * sysdeps/x86_64/fpu/Versions: New versions added.
33779         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33780         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33781         build of SSE, AVX2 and AVX512 IFUNC versions.
33782         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
33783         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
33784         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
33785         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
33786         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
33787         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
33788         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
33789         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
33790         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
33791         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
33792         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
33793         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
33794         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
33795         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33796         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33797         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33798         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33799         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33800         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33801         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33802         * NEWS: Mention addition of x86_64 vector exp.
33804         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33805         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33806         redirections for logf.
33807         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33808         * sysdeps/x86_64/fpu/Versions: New versions added.
33809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33810         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33811         build of SSE, AVX2 and AVX512 IFUNC versions.
33812         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
33813         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
33814         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
33815         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
33816         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
33817         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
33818         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
33819         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
33820         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
33821         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
33822         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
33823         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
33824         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
33825         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33826         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33827         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33828         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33829         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33830         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33831         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33832         * NEWS: Mention addition of x86_64 vector logf.
33834         * bits/libm-simd-decl-stubs.h: Added stubs for log.
33835         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
33836         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33837         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33838         redirections for log.
33839         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33840         * sysdeps/x86_64/fpu/Versions: New versions added.
33841         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33842         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33843         build of SSE, AVX2 and AVX512 IFUNC versions.
33844         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
33845         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
33846         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
33847         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
33848         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
33849         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
33850         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
33851         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
33852         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
33853         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
33854         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
33855         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
33856         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
33857         test.
33858         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33859         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33860         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33861         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33862         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33863         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33864         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33865         * NEWS: Mention addition of x86_64 vector log.
33867 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33869         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
33870         cfi_adjust_cfa_offset argument.
33871         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
33872         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
33874         [BZ #18034]
33875         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
33876         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
33877         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
33878         ordering using ldar.
33879         (_dl_tlsdesc_dynamic): Likewise.
33880         (_dl_tlsdesc_return_lazy): Likewise.
33881         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
33882         relaxed atomics instead of volatile and synchronize with release store.
33883         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
33884         volatile.
33885         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33887 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
33889         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33890         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
33891         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33892         * sysdeps/x86_64/fpu/Versions: New versions added.
33893         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33894         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33895         build of SSE, AVX2 and AVX512 IFUNC versions.
33896         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
33897         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
33898         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
33899         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
33900         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
33901         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
33902         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
33903         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
33904         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
33905         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
33906         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
33907         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
33908         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
33909         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33910         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33911         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33912         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33913         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33914         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33915         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33916         * NEWS: Mention addition of x86_64 vector sinf.
33918 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
33920         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
33921         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
33922         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
33923         Remove variable.
33924         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33925         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33927 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33929         [BZ #18530]
33930         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
33931         strong alias of _IO_fputs.  Use libc_hidden_def.
33932         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
33933         and define as weak alias of __fputs_unlocked.  Use
33934         libc_hidden_weak.
33935         * include/stdio.h (__fputs_unlocked): Declare.  Use
33936         libc_hidden_proto.
33937         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
33938         fputs_unlocked.
33940         [BZ #18529]
33941         * resolv/netdb.h [__USE_POSIX]: Change condition to
33942         [__USE_XOPEN2K].
33943         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
33944         not expect.
33945         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
33946         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
33947         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
33948         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
33949         [XPG4 || UNIX98] (AI_ALL): Likewise.
33950         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
33951         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
33952         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
33953         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
33954         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
33955         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
33956         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
33957         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
33958         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
33959         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
33960         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
33961         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
33962         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
33963         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
33964         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
33965         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33966         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33967         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
33968         [XPG4 || UNIX98] (gai_strerror): Likewise.
33969         [XPG4 || UNIX98] (getaddrinfo): Likewise.
33970         [XPG4 || UNIX98] (getnameinfo): Likewise.
33972         [BZ #18528]
33973         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
33974         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
33975         __USE_XOPEN2K8].
33976         (getgrent): Likewise.
33977         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
33978         expect.
33979         [XPG3 || POSIX2008] (endgrent): Likewise.
33980         [XPG3] (setgrent): Likewise.
33981         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
33982         variable.
33983         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33985         [BZ #18527]
33986         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
33987         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
33988         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
33989         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
33990         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
33991         * include/unistd.h (__getlogin_r): Declare.  Use
33992         libc_hidden_proto.
33993         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
33994         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
33995         variable.
33996         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33997         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33998         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
34000 2015-06-12  Martin Sebor  <msebor@redhat.com>
34002         [BZ #18512]
34003         * Makerules (check-install-supported): New target.
34004         (install): Add check-install-supported as a dependency.
34005         * manual/install.texi (Installing the C Library): Document
34006         that overriding prefix and exec_prefix is not supported.
34007         Mention DESTDIR.
34008         * INSTALL: Regenerate from the above.
34010 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34012         [BZ #18519]
34013         * posix/Versions (libc): Export __libc_pread at version
34014         GLIBC_PRIVATE.
34015         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
34016         instead of pread.
34017         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
34018         variable.
34020         [BZ #18522]
34021         * misc/efgcvt_r.c
34022         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
34023         (cvt_symbol): Use weak_alias instead of strong_alias.
34024         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
34025         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
34026         Remove variable.
34027         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
34028         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34030         [BZ #18520]
34031         * inet/herrno.c (h_errno): Rename to __h_errno.
34032         (__libc_h_errno): Define as alias of __h_errno not h_errno.
34033         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
34034         to __h_errno instead of h_errno.
34035         * nptl/herrno.c (h_errno): Rename to __h_errno.
34036         (__h_errno_location): Refer to __h_errno not h_errno.
34037         * resolv/Versions (h_errno): Rename to __h_errno.
34038         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
34039         Remove variable.
34040         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34042 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
34044         * configure.ac: More strict check for AVX512 assembler support.
34045         * configure: Regenerated.
34047         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
34048         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
34049         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34050         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
34051         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34052         * sysdeps/x86_64/fpu/Versions: New versions added.
34053         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34054         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34055         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34056         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
34057         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
34058         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
34059         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
34060         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
34061         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
34062         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
34063         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
34064         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
34065         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
34066         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
34067         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
34068         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
34069         test.
34070         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34071         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34072         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34073         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34074         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34075         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34076         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34077         * NEWS: Mention addition of x86_64 vector sin.
34079 2015-06-11  Florian Weimer  <fweimer@redhat.com>
34081         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
34082         comment.
34084 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
34086         [BZ #18479]
34087         * nptl/pt-interp.c: New file.
34088         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
34089         Add pt-interp.
34090         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
34091         $(common-objpfx)runtime-linker.h.
34093 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
34095         * Makeconfig (+interp): Remove unused variable.
34096         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
34097         only.  Depend on $(common-objpfx)runtime-linker.h instead of
34098         $(elf-objpfx)runtime-linker.h.
34099         ($(elf-objpfx)runtime-linker.h): Rename to
34100         $(common-objpfx)runtime-linker.h and move ...
34101         * Makerules [$(build-shared) = yes]: ... here.
34102         * elf/interp.c: Include <runtime-linker.h> instead of
34103         <elf/runtime-linker.h>.
34105 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34107         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
34108         (__gettimeofday_syscall): Remove vsyscall fallback.
34109         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
34110         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
34111         Add syscall fallback function.
34112         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
34113         if vDSO is not present.
34114         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
34115         fallback function.
34116         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
34117         present.
34118         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
34119         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34121 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
34123         [BZ #18497]
34124         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
34125         of wcscmp.
34126         (wcscmp): Define as weak alias of WCSCMP.
34127         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
34128         wcscoll.
34129         (USE_HIDDEN_DEF): Define.
34130         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
34131         __wcscoll.  Don't use libc_hidden_weak.
34132         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
34133         wcscmp.
34134         * sysdeps/i386/i686/multiarch/wcscmp-c.c
34135         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
34136         __GI_wcscmp.
34137         (weak_alias): Undefine and redefine.
34138         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
34139         __wcscmp and define as weak alias of __wcscmp.
34140         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
34141         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
34142         (__wcscoll): Likewise.
34143         (wcscmp): Don't use libc_hidden_proto.
34144         (wcscoll): Likewise.
34145         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
34146         wcscoll.
34147         * posix/regexec.c (check_node_accept_bytes): Likewise.
34148         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
34149         variable.
34150         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34151         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34153         [BZ #18507]
34154         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
34155         __fstatvfs and define as weak alias of __fstatvfs.  Use
34156         libc_hidden_weak.
34157         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
34158         and define as weak alias of __statvfs.  Use libc_hidden_weak.
34159         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
34160         Define as alias of __fstatvfs, not fstatvfs.
34161         (fstatvfs64): Likewise.
34162         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
34163         Define as alias of __statvfs, not statvfs.
34164         (statvfs64): Likewise.
34165         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
34166         Remove variable.
34168 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34171         (HAVE_GETCPU_VSYSCALL): Define.
34172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34173         (HAVE_GETCPU_VSYSCALL): Likewise.
34174         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
34175         * sysdeps/unix/sysv/linux/sched_getcpu.c
34176         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
34177         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
34178         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
34179         prototype.
34180         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34181         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
34182         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
34183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
34184         Define.
34185         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
34186         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34187         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
34188         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34190 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
34192         * sysdeps/x86_64/fpu/Makefile: New file.
34193         * sysdeps/x86_64/fpu/Versions: New file.
34194         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
34195         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
34196         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
34197         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
34198         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
34199         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
34200         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
34201         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
34202         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
34203         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
34204         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
34205         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
34206         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
34207         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34208         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34209         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
34210         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
34211         * sysdeps/x86_64/configure.ac: Options for libmvec build.
34212         * sysdeps/x86_64/configure: Regenerated.
34213         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
34214         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
34215         * manual/install.texi (Configuring and compiling): Document
34216         --disable-mathvec.
34217         * INSTALL: Regenerated.
34218         * NEWS: Mention addition of libmvec and x86_64 vector cos.
34220         * math/Makefile: Added rules for vector tests.
34221         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
34222         declaration under condition.
34223         * math/test-double-vlen2.h: New file.
34224         * math/test-double-vlen4.h: New file.
34225         * math/test-double-vlen8.h: New file.
34226         * math/test-vec-loop.h: Added initialization macro.
34227         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
34228         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
34229         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
34230         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
34231         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
34232         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
34233         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
34234         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
34235         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
34236         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
34237         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
34239         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34240         * sysdeps/x86_64/fpu/Versions: New versions added.
34241         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
34242         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
34243         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
34244         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
34245         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
34246         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
34247         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
34248         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
34249         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
34250         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
34251         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
34252         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
34253         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
34254         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34255         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34256         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34257         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
34258         * NEWS: Mention addition of x86_64 vector cosf.
34260         * math/Makefile: Added CFLAGS for new tests.
34261         * math/test-float-vlen16.h: New file.
34262         * math/test-float-vlen4.h: New file.
34263         * math/test-float-vlen8.h: New file.
34264         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
34265         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
34266         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34267         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
34268         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
34269         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
34270         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
34271         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
34272         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
34273         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
34274         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
34276 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
34278         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
34279         * locale/programs/ld-ctype.c: Likewise.
34281 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
34283         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
34284         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
34285         bit_ZMM16_31_state): New macro.
34286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34287         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
34289 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
34291         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
34293 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
34295         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
34297 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
34299         [BZ #18498]
34300         * libio/memstream.c (open_memstream): Rename to __open_memstream
34301         and define as weak alias of __open_memstream.
34302         * include/stdio.h (__open_memstream): Declare.  Use
34303         libc_hidden_proto.
34304         (open_memstream): Don't use libc_hidden_proto.
34305         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
34306         open_memstream.
34307         * posix/getopt.c (_getopt_internal_r): Likewise.
34308         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
34309         variable.
34310         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
34311         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
34312         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34314         [BZ #18496]
34315         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
34316         instead of wcrtomb.
34318         [BZ #18483]
34319         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
34320         [__USE_XOPEN2K8].  Remove redundant #endif.
34321         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
34322         Remove redundant #if.
34323         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
34324         Remove variable.
34325         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34326         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34328         [BZ #18495]
34329         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
34330         (__iswlower): Likewise.
34331         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
34332         (__iswlower): Likewise.
34333         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
34334         instead of towlower.
34335         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
34336         instead of iswlower.  Call __towupper instead of towupper.
34337         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
34338         instead of iswalnum.
34340 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34342         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
34343         errors to stderr.
34345 2015-06-05  Florian Weimer  <fweimer@redhat.com>
34347         [BZ #15661]
34348         [BZ #17322]
34349         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
34350         Check for overflow properly.  Check for O_APPEND.  Ignore large
34351         file system block sizes.  Add comments about problems.
34352         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
34353         * manual/filesys.texi (Storage Allocation): New node.
34355 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34357         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
34358         cancellable syscalls.
34359         (SYS_ify): Add guard to no redefine it.
34360         (INLINE_SYSCALL): Likewise.
34361         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
34362         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
34363         SYSCALL_CANCEL instead.
34364         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
34365         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34366         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34367         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34368         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34369         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
34370         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
34371         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
34372         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34373         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34374         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
34375         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
34376         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
34377         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
34378         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
34379         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34380         Likewise.
34381         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34382         (__libc_pread64): Likewise.
34383         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
34384         (__libc_preadv): Likewise.
34385         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
34386         (__libc_readv64): Likewise.
34387         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34388         (__libc_pwrite): Likewise.
34389         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34390         (__libc_pwrite64): Likewise.
34391         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
34392         (__libc_pwritev): Likewise.
34393         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
34394         (__libc_pwritev64): Likewise.
34395         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
34396         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
34397         (sync_file_range): Likewise.
34398         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
34399         Likewise.
34400         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
34401         Likewise.
34402         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34403         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34404         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34405         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34406         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34407         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34408         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34409         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
34410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34411         Likewise.
34412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34413         (__libc_read64): Likewise.
34414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
34415         Likewise.
34416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
34417         Likewise.
34418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
34419         Likewise.
34420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
34421         Likewise.
34422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34423         (__libc_pread64): Likewise.
34424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
34425         Likewise.
34426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34427         (__libc_pwrite64): Likewise.
34428         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
34429         (sync_file_range): Likewise.
34430         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
34431         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34432         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34433         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
34434         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
34435         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34436         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34437         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
34438         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
34439         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34440         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34441         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34442         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34443         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34444         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
34445         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34446         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34447         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34448         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34449         Likewise.
34450         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
34451         Likewise.
34452         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
34453         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
34454         Likewise.
34455         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
34456         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
34457         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
34458         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
34459         Likewise.
34460         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
34461         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
34462         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
34463         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
34464         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
34466 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
34468         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
34469         Include dl-vdso.
34470         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
34471         Use VDSO routines for gettimeofday, clock_gettime if
34472         available.
34473         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
34474         Declare VDSO symbols.
34475         * sysdeps/unix/sysv/linux/arm/sysdep.h:
34476         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
34477         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34478         * sysdeps/unix/sysv/linux/arm/Versions: Add
34479         __vdso_clock_gettime.
34481 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34483         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
34484         be an inline implementation regardless of library is built within.
34485         (open_not_cancel_2): Likewise.
34486         (__read_nocancel): Likewise.
34487         (__write_nocancel): Likewise.
34488         (openat_not_cancel): Likewise.
34489         (openat_not_cancel_3): Likewise.
34490         (openat64_not_cancel): Likewise.
34491         (openat64_not_cancel_3): Likewise.
34492         (__close_nocancel): Likewise.
34493         (pause_not_cancel): Likewise.
34494         (nanosleep_not_cancel): Likewise.
34495         (sigsuspend_not_cancel): Likewise.
34497 2015-06-04  Torvald Riegel  <triegel@redhat.com>
34499         [BZ #14958]
34500         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
34501         wake-up.
34502         (__pthread_rwlock_rdlock_slow): Likewise.
34503         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34504         Likewise.
34505         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34506         Likewise.
34507         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
34508         * nptl/tst-rwlock16.c: New file.
34509         * nptl/Makefile (tests): Add new test.
34511 2015-06-04  Torvald Riegel  <triegel@redhat.com>
34513         [BZ #18324]
34514         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
34515         missing wake-up of readers.
34516         * nptl/tst-rwlock15.c: New file.
34517         * nptl/Makefile (tests): Add new test.
34519 2015-06-03  Roland McGrath  <roland@hack.frob.com>
34521         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
34522         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
34523         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
34524         and __nacl_supply_interface_rtld.
34525         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
34526         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
34527         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
34528         Add __nacl_supply_interface_rtld.
34529         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
34531 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
34533         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
34534         isfinite.
34535         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34536         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
34538 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
34540         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
34541         __signbit* with standard C99 macros.
34542         * math/e_exp10l.c: Likewise.
34543         * math/e_exp2l.c: Likewise.
34544         * math/e_scalb.c: Likewise.
34545         * math/e_scalbf.c: Likewise.
34546         * math/e_scalbl.c: Likewise.
34547         * math/s_ldexp.c: Likewise.
34548         * math/s_ldexpf.c: Likewise.
34549         * math/s_ldexpl.c: Likewise.
34550         * math/w_atan2.c: Likewise.
34551         * math/w_atan2f.c: Likewise.
34552         * math/w_atan2l.c: Likewise.
34553         * math/w_cosh.c: Likewise.
34554         * math/w_coshf.c: Likewise.
34555         * math/w_coshl.c: Likewise.
34556         * math/w_exp10.c: Likewise.
34557         * math/w_exp10f.c: Likewise.
34558         * math/w_exp10l.c: Likewise.
34559         * math/w_exp2.c: Likewise.
34560         * math/w_exp2f.c: Likewise.
34561         * math/w_exp2l.c: Likewise.
34562         * math/w_fmod.c: Likewise.
34563         * math/w_fmodf.c: Likewise.
34564         * math/w_fmodl.c: Likewise.
34565         * math/w_hypot.c: Likewise.
34566         * math/w_hypotf.c: Likewise.
34567         * math/w_hypotl.c: Likewise.
34568         * math/w_jnl.c: Likewise.
34569         * math/w_lgamma.c: Likewise.
34570         * math/w_lgamma_r.c: Likewise.
34571         * math/w_lgammaf.c: Likewise.
34572         * math/w_lgammaf_r.c: Likewise.
34573         * math/w_lgammal.c: Likewise.
34574         * math/w_lgammal_r.c: Likewise.
34575         * math/w_pow.c: Likewise.
34576         * math/w_powf.c: Likewise.
34577         * math/w_powl.c: Likewise.
34578         * math/w_remainder.c: Likewise.
34579         * math/w_remainderf.c: Likewise.
34580         * math/w_remainderl.c: Likewise.
34581         * math/w_scalb.c: Likewise.
34582         * math/w_scalbf.c: Likewise.
34583         * math/w_scalbl.c: Likewise.
34584         * math/w_scalbln.c: Likewise.
34585         * math/w_scalblnf.c: Likewise.
34586         * math/w_scalblnl.c: Likewise.
34587         * math/w_sinh.c: Likewise.
34588         * math/w_sinhf.c: Likewise.
34589         * math/w_sinhl.c: Likewise.
34590         * math/w_tgamma.c: Likewise.
34591         * math/w_tgammaf.c: Likewise.
34592         * math/w_tgammal.c: Likewise.
34593         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34594         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
34595         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34596         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34597         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34598         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34599         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34600         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34601         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34602         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34603         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34604         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34605         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34606         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34607         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34608         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34609         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34610         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34611         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34612         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34613         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34614         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34615         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34616         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34617         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34618         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34619         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
34620         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34621         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34622         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34623         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
34624         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
34625         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
34626         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
34627         * stdio-common/printf_fp.c: Likewise.
34628         * stdio-common/printf_fphex.c: Likewise.
34629         * stdio-common/printf_size.c: Likewise.
34631 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
34633         [BZ #18470]
34634         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
34635         strnlen.
34636         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
34637         Remove variable.
34638         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
34639         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
34640         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
34641         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
34642         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
34643         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
34644         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
34645         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
34646         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
34647         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
34649         [BZ #18468]
34650         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
34651         weak alias of __wmemchr.  Use libc_hidden_weak.
34652         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
34653         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
34654         instead of wmemchr.
34656 2015-06-02  Roland McGrath  <roland@hack.frob.com>
34658         [BZ #18383]
34659         * elf/tst-tlsalign-extern.c: New file.
34660         * elf/tst-tlsalign-extern-static.c: New file.
34661         * elf/tst-tlsalign-vars.c: New file.
34662         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
34663         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
34664         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
34665         ($(objpfx)tst-tlsalign-extern-static): Likewise.
34666         (test-xfail-tst-tlsalign-extern-static): New variable.
34668 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
34670         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
34671         Use variable name _sc_err instead of err.
34672         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
34673         instead of ret.
34674         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
34675         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
34676         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
34677         (INLINE_SYSCALL): Likewise.
34679         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
34680         * include/string.h (__strnlen): Use libc_hidden_proto.
34681         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
34682         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
34683         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
34684         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
34685         (libc_hidden_def): Undefine and redefine.
34686         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
34687         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
34688         __GI_strnlen.
34689         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
34690         libc_hidden_def.
34691         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
34693         [BZ #18469]
34694         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
34695         weak alias of __towlower.  Use libc_hidden_weak.
34696         (towupper): Rename to __towupper and define as weak alias of
34697         __towupper.  Use libc_hidden_weak.
34698         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
34699         (__towupper): Likewise.
34700         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
34701         __towlower instead of towlower.
34703 2015-06-02  Roland McGrath  <roland@hack.frob.com>
34705         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
34706         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
34708 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34710         * sysdeps/aarch64/libm-test-ulps: Update.
34712 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34714         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
34715         Define.
34716         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34717         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34718         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34719         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34720         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
34721         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
34722         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
34724 2015-06-01  Martin Sebor  <msebor@redhat.com>
34726         [BZ #18116]
34727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34728         (__setcontext): Use extended four-operand version of mtsf whenever
34729         possible.
34730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34731         (__novec_swapcontext): Likewise.
34733 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34735         * benchtests/scripts/compare_bench.py: New file.
34736         * benchtests/scripts/import_bench.py (mean): New function.
34737         (split_list): Likewise.
34738         (do_for_all_timings): Likewise.
34739         (compress_timings): Likewise.
34741         * benchtests/scripts/import_bench.py: New file.
34742         * benchtests/scripts/validate_benchout.py: Import import_bench
34743         instead of jsonschema.
34744         (validate_bench): Remove function.
34745         (main): Use import_bench.
34747 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
34749         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
34750         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
34752 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34756 2015-05-28  Roland McGrath  <roland@hack.frob.com>
34758         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
34759         set THREAD_SELF->tid to a magic value and futex-wake it.
34760         Pass its address to the thread_exit system call.
34761         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
34762         bit is clear.
34763         * sysdeps/nacl/lowlevellock.h: New file.
34764         * sysdeps/nacl/lll_timedwait_tid.c: New file.
34766         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
34767         Add TIMEOUT to current time, don't subtract it.
34769 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
34771         [BZ #2981]
34772         [BZ #18422]
34773         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
34774         ($(objpfx)tst-audit2.out): Also depend on
34775         $(objpfx)tst-auditmod9b.so.
34776         * elf/tst-audit2.c: Include <dlfcn.h>.
34777         (calloc_called): New.
34778         (calloc): Allow to be called more than once.
34779         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
34781 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
34783         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
34784         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
34786 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
34788         * stdlib/monetary.h: Fix comment.
34790 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
34792         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
34793         Avoid using variables in #defines that might cause shadowing.
34794         (INTERNAL_VSYSCALL_CALL): Likewise.
34796 2015-05-26  Roland McGrath  <roland@hack.frob.com>
34798         * sysdeps/nacl/lll_timedlock_wait.c: New file.
34800         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
34801         * nptl/lll_timedlock_wait.c: ... to this new file.
34802         * nptl/Makefile (libpthread-routines): Add it.
34803         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
34804         * nptl/lll_timedwait_tid.c: ... to this new file.
34805         * nptl/Makefile (libpthread-routines): Add it.
34806         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
34807         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
34808         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
34809         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
34810         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
34811         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
34812         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
34813         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
34814         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
34815         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
34817 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34819         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
34820         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34821         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34822         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
34823         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
34824         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34825         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34826         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34827         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34828         * sysdeps/unix/sysv/linux/tile/sysdep.h
34829         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34830         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
34831         using vDSO syscall macro.
34833 2015-05-26  Andriy Rysin  <arysin@gmail.com>
34835         [BZ #17293]
34836         * uk_UA: Fix sorting order for Ukrainian locale
34838 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
34840         * stdlib/monetary.h: Fix comment.
34842 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34844         [BZ #18234]
34845         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
34846         st_mtim and st_ctim members.
34847         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
34848         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
34849         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
34850         (struct stat64): Likewise.
34851         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
34852         (struct stat64): Likewise.
34853         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
34854         (struct stat64): Likewise.
34856 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34858         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
34859         Define and include sysdep-vdso.h.
34860         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
34861         Likewise.
34862         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
34863         Likewise.
34864         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
34865         Define with VDSO_SYMBOL and use PTR_MANGLE.
34866         (__vdso_clock_gettime): Likewise.
34867         (__vdso_clock_getres): Likewise.
34868         (_libc_vdso_platform_setup): Likewise.
34869         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34870         Likewise.
34871         (_libc_vdso_platform_setup): Likewise.
34872         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
34873         Likewise.
34874         (__vdso_clock_gettime): Likewise.
34875         (__vdso_clock_getres): Likewise.
34876         (__vdso_get_tbfreq): Likewise.
34877         (__vdso_getcpu): Likewise.
34878         (__vdso_time): Likewise.
34879         (__vdso_sigtramp_rt64): Likewise.
34880         (__vdso_signtramp32): Likewise.
34881         (__vdso_sigtramp_rt32): Likewise.
34882         (_libc_vdso_platform_setup): Likewise.
34883         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
34884         Likewise.
34885         (__vdso_clock_gettime): Likewise.
34886         (__vdso_clock_getres): Likewise.
34887         (_libc_vdso_platform_setup): Likewise.
34888         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
34889         Likewise.
34890         (__vdso_clock_gettime): Likewise.
34891         (_libc_vdso_platform_setup): Likewise.
34892         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34893         Likewise.
34894         (__vdso_getcpu): Likewise.
34895         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
34896         Use VDSO_SYMBOL macro to define.
34897         (__vdso_clock_gettime): Likewise.
34898         (__vdso_clock_getres): Likewise.
34899         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
34900         Likewise.
34901         (__vdso_clock_gettime): Likewise.
34902         (__vdso_clock_getres): Likewise.
34903         (__vdso_get_tbfreq): Likewise.
34904         (__vdso_getcpu): Likewise.
34905         (__vdso_time): Likewise.
34906         (__vdso_sigtramp_rt64): Likewise.
34907         (__vdso_signtramp32): Likewise.
34908         (__vdso_sigtramp_rt32): Likewise.
34909         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
34910         Likewise.
34911         (__vdso_clock_gettime): Likewise.
34912         (__vdso_clock_getres): Likewise.
34913         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
34914         Likewise.
34915         (__vdso_clock_gettime): Likewise.
34916         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34917         Likewise.
34918         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
34919         macro.
34920         (INTERNAL_VSYSCALL): Likewise.
34921         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
34922         Remove macro.
34923         (INTERNAL_VSYSCALL): Likewise.
34924         (INTERNAL_VSYSCALL_NCS): Likewise.
34925         (INTERNAL_VSYSCALL_CALL): New macro.
34926         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34927         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
34928         Likewise.
34929         (INTERNAL_VSYSCALL): Likewise.
34930         (INTERNAL_VSYSCALL_NCS): Likewise.
34931         (INTERNAL_VSYSCALL_CALL): New macro.
34932         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34934         (INLINE_VSYSCALL): Remove macro.
34935         (INTERNAL_VSYSCALL): Remove macro.
34936         (INTERNAL_VSYSCALL_NCS): Remove macro.
34937         (INTERNAL_VSYSCALL_CALL): New macro.
34938         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
34939         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
34940         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34941         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
34942         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34944         (INLINE_VSYSCALL): Remove macro.
34945         (INTERNAL_VSYSCALL): Likewise.
34946         (INTERNAL_VSYSCALL_NCS): Likewise.
34947         (INTERNAL_VSYSCALL_CALL): New macro.
34948         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
34949         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
34950         PTR_DEMANGLE on vDSO pointer.
34951         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34952         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
34953         macro.
34954         (INTERNAL_SYSCALL): Likewise.
34955         (INTERNAL_VSYSCALL_NCS): Remove macro.
34956         (INTERNAL_VSYSCALL_CALL): New macro.
34957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
34958         Remove macro.
34959         (INTERNAL_VSYSCALL): Likewise.
34960         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
34961         sysdep-vdso.h instead of libc-vdso.h.
34962         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
34963         definition.
34964         (INLINE_VSYSCALL): Likewise.
34965         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
34966         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
34967         definition.
34968         (INLINE_VSYSCALL): Likewise.
34969         (INTERNAL_VSYSCALL): Likewise.
34970         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34971         * sysdeps/unix/sysv/linux/timespec_get.c
34972         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34973         (timespec_get): Use ANSI prototype.
34974         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
34975         and definition for Linux.
34977 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34979         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
34980         * include/libc-symbols.h: libmvec_hidden_* macro series added.
34982 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34984         [BZ #2981]
34985         [BZ #18410]
34986         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
34987         for missing DT_PLTRELSZ.
34989 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34991         Remove obsolete aliases that broke 'locale -a'
34992         [BZ #18412]
34993         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
34994         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
34995         breaking some applications that use 'locale -a' output.
34996         Change the encoding of this file from Latin-1 to ASCII to avoid
34997         other potential problems with people grepping this file.
34999 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35001         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
35002         -fasynchronous-unwind-tables.
35003         (CFLAGS-sendto.c): Likewise.
35004         (CFLAGS-sendmsg.c): Likewise.
35005         (CFLAGS-connect.c): Likewise.
35006         (CFLAGS-recvmsg.c): Likewise.
35007         (CFLAGS-recvfrom.c): Likewise.
35008         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
35009         (SOCKETCALL): New macro: non-cancellable socketcall.
35010         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
35011         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
35012         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
35013         * sysdeps/unix/sysv/linux/accept.c: New file.
35014         * sysdeps/unix/sysv/linux/bind.c: Likewise.
35015         * sysdeps/unix/sysv/linux/connect.c: Likewise.
35016         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
35017         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
35018         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
35019         * sysdeps/unix/sysv/linux/listen.c: Likewise.
35020         * sysdeps/unix/sysv/linux/recv.c: Likewise.
35021         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
35022         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
35023         * sysdeps/unix/sysv/linux/send.c: Likewise.
35024         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
35025         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
35026         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
35027         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
35028         * sysdeps/unix/sysv/linux/socket.c: Likewise.
35029         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
35030         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
35031         prototype.
35032         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
35033         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35034         instead of __internal_xxx function.
35035         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
35036         prototype.
35037         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
35038         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35039         instead of __internal_xxx function.
35040         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
35041         prototype.
35042         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
35043         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35044         instead of __internal_xxx function.
35045         * sysdeps/unix/sysv/linux/accept.S: Remove file.
35046         * sysdeps/unix/sysv/linux/bind.S: Likewise.
35047         * sysdeps/unix/sysv/linux/connect.S: Likewise.
35048         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
35049         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
35050         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
35051         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
35052         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
35053         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
35054         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
35055         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
35056         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35057         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
35058         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
35059         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
35060         * sysdeps/unix/sysv/linux/listen.S: Likewise.
35061         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
35062         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
35063         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
35064         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
35065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
35066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
35067         * sysdeps/unix/sysv/linux/recv.S: Likewise.
35068         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
35069         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
35070         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
35071         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35072         * sysdeps/unix/sysv/linux/send.S: Likewise.
35073         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
35074         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
35075         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
35076         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
35077         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
35078         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
35079         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
35080         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
35081         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
35082         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
35083         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
35084         socketcall is implemented in GLIBC.
35086 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35088         * soft-fp/fmadf4.c: Include <libc-internal.h>.
35089         (__fma): Ignore uninitialized warnings around packing.
35090         * soft-fp/fmasf4.c: Include <libc-internal.h>.
35091         (__fmaf): Ignore uninitialized warnings around packing.
35092         * soft-fp/fmatf4.c: Include <libc-internal.h>.
35093         (__fmal): Ignore uninitialized warnings around packing.
35095         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
35096         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35097         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
35098         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35100         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
35101         switch statement into default case.
35102         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
35104         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
35105         a conditional in forcing "inexact".
35106         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35107         Likewise.
35109 2015-05-22  Roland McGrath  <roland@hack.frob.com>
35111         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35112         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
35113         for each INTERNAL_SYSCALL use.
35115 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35117         [BZ #438]
35118         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
35119         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
35120         variable.
35122         [BZ #18444]
35123         * string/basename.c (basename): Rename to __basename and define as
35124         weak alias of __basename.  Use libc_hidden_weak.
35125         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
35126         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
35127         __basename instead of basename.
35128         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
35129         Remove variable.
35130         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35132 2015-05-18  Florian Weimer  <fweimer@redhat.com>
35134         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
35135         (_IO_JUMPS_FILE_plus): New.
35136         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
35137         _IO_CAST_FIELD_ACCESS.
35138         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
35139         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
35140         * libio/freopen.c (freopen): Likewise.
35141         * libio/freopen64.c (freopen64): Likewise.
35142         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
35143         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
35144         * libio/iofwide.c (_IO_fwide): Likewise.
35145         * libio/memstream.c (open_memstream): Likewise.
35146         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35147         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
35148         * libio/oldiopopen.c (_IO_old_popen): Likewise.
35150 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
35152         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
35153         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
35154         NADJ.
35155         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
35156         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
35157         NADJ.
35158         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
35159         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
35160         NADJ.
35162         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
35163         (p == 4) case.
35165         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
35166         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
35167         Remove variable.
35168         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35169         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35170         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35172 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35174         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
35175         Adjust jump table label generation macros.
35177 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35179         * stdio-common/vfprintf.c (vfprintf): Move local variables
35180         args_malloced, specs, specs_malloced, and the code after
35181         do_positional to the printf_positional function.
35182         (printf_positional): New function.
35184 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35186         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
35187         function.
35188         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
35189         STEP4_TABLE, process_arg): Move macro definitions
35190         out of the vfprintf function.  (Cosmetic change only.)
35192 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
35194         * benchtests/Makefile (stdio-common-bench): Define.
35195         (benchset): Add stdio-common-bench.
35196         * sprintf-inputs: New file.
35197         * sprintf-source.c: New file.
35199 2015-05-21  Andreas Schwab  <schwab@suse.de>
35201         [BZ #13028]
35202         [BZ #17053]
35203         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
35204         of struct __res_state.
35205         * resolv/res_send.c (__libc_res_nsend): Likewise.
35206         (get_nsaddr): New function.
35207         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
35208         statp directly.
35210 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
35212         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
35213         -D_POSIX_C_SOURCE=199506L.
35215         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
35217         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
35218         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
35219         Do not mention otherwise.
35220         [POSIX] (_XOPEN_VERSION): Do not expect.
35221         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
35222         [POSIX] (_POSIX2_C_BIND): Likewise.
35223         [POSIX] (_POSIX2_VERSION): Likewise.
35224         [POSIX] (_XOPEN_XPG2): Likewise.
35225         [POSIX] (_XOPEN_XPG3): Likewise.
35226         [POSIX] (_XOPEN_XPG4): Likewise.
35227         [POSIX] (_XOPEN_UNIX): Likewise.
35228         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
35229         [POSIX] (_POSIX_BARRIERS): Likewise.
35230         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
35231         [POSIX] (_POSIX_CPUTIME): Likewise.
35232         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
35233         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
35234         [POSIX] (_POSIX_SHELL): Likewise.
35235         [POSIX] (_POSIX_SPAWN): Likewise.
35236         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
35237         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
35238         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
35239         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
35240         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
35241         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
35242         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
35243         [POSIX] (_XBS5_LP64_OFF64): Likewise.
35244         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
35245         [POSIX] (_POSIX_TIMEOUTS): Likewise.
35246         [POSIX] (_POSIX2_PBS): Likewise.
35247         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
35248         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
35249         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
35250         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
35251         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
35252         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
35253         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
35254         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
35255         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
35256         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
35257         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
35258         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
35259         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
35260         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
35261         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
35262         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
35263         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
35264         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
35265         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
35266         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
35267         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
35268         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
35269         [POSIX] (_SC_2_C_BIND): Likewise.
35270         [POSIX] (_SC_2_C_VERSION): Likewise.
35271         [POSIX] (_SC_2_PBS): Likewise.
35272         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
35273         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
35274         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
35275         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
35276         [POSIX] (_SC_2_PBS_TRACK): Likewise.
35277         [POSIX] (_SC_ATEXIT_MAX): Likewise.
35278         [POSIX] (_SC_BARRIERS): Likewise.
35279         [POSIX] (_SC_BASE): Likewise.
35280         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
35281         [POSIX] (_SC_DEVICE_IO): Likewise.
35282         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
35283         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
35284         [POSIX] (_SC_FD_MGMT): Likewise.
35285         [POSIX] (_SC_FIFO): Likewise.
35286         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
35287         [POSIX] (_SC_FILE_LOCKING): Likewise.
35288         [POSIX] (_SC_FILE_SYSTEM): Likewise.
35289         [POSIX] (_SC_IOV_MAX): Likewise.
35290         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
35291         [POSIX] (_SC_NETWORKING): Likewise.
35292         [POSIX] (_SC_PAGE_SIZE): Likewise.
35293         [POSIX] (_SC_PASS_MAX): Likewise.
35294         [POSIX] (_SC_PIPE): Likewise.
35295         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
35296         [POSIX] (_SC_REGEXP): Likewise.
35297         [POSIX] (_SC_SHELL): Likewise.
35298         [POSIX] (_SC_SIGNALS): Likewise.
35299         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
35300         [POSIX] (_SC_SPIN_LOCKS): Likewise.
35301         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
35302         [POSIX] (_SC_USER_GROUPS): Likewise.
35303         [POSIX] (_SC_USER_GROUPS_R): Likewise.
35304         [POSIX] (_SC_STREAMS): Likewise.
35305         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
35306         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
35307         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
35308         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
35309         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
35310         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
35311         [POSIX] (_PC_FILESIZEBITS): Likewise.
35312         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
35313         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
35314         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
35315         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
35316         [POSIX] (uid_t): Likewise.
35317         [POSIX] (gid_t): Likewise.
35318         [POSIX] (off_t): Likewise.
35319         [POSIX] (pid_t): Likewise.
35320         [POSIX] (cuserid): Allow.
35321         (_SC_2_CHAR_TERM): Require constant.
35322         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
35323         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
35324         variable.
35326 2015-05-20  Roland McGrath  <roland@hack.frob.com>
35328         * sysdeps/nacl/pthread-pids.h: New file.
35329         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
35330         (create_thread): Use __nacl_get_tid to initialize PD->tid.
35332         * nptl/pthread-pids.h: New file.
35333         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
35334         * nptl/nptl-init.c: Include <pthread-pids.h>.
35335         (__pthread_initialize_minimal_internal):
35336         Call __pthread_initialize_pids instead of set_tid_address syscall.
35338         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
35339         * sysdeps/posix/usleep.c: ... here.
35341 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35343         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
35344         call_pselect6 object.
35345         [$(subdir) = io]: Remove call_sync_file_range object.
35346         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
35347         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
35348         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
35349         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
35351 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
35353         * math/s_cproj.c: Add include "math_private.h".
35354         * math/s_cprojf.c: Likewise.
35355         * math/s_cprojl.c: Likewise.
35357 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
35359         [BZ #18244]
35360         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
35361         high mantissa bit when testing whether P is a NaN.
35362         * math/libm-test.inc (remainder_test_data): Add more tests.
35363         (remquo_test_data): Likewise.
35365         [BZ #18049]
35366         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
35367         below -32, return the argument, with underflow if subnormal.
35368         * math/auto-libm-test-in: Add more tests of atanh.
35369         * math/auto-libm-test-out: Regenerated.
35371 2015-05-19  Roland McGrath  <roland@hack.frob.com>
35373         [BZ #18434]
35374         * nptl/tst-sem15.c: New file.
35375         * nptl/Makefile (tests): Add it.
35376         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
35377         s/<</>>/ to fix typo in EOVERFLOW check.
35378         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
35380 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35382         * manual/strings.texi (envz_remove): Fix typo in safety
35383         annotations.
35385 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
35386             Steve Ellcey  <sellcey@imgtec.com>
35388         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
35389         in order to avoid strict alias warnings.
35390         (iruserok_af): Ditto for ra.
35392 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
35394         [BZ #17581]
35395         * malloc/hooks.c
35396         (magicbyte): Convert to a function and avoid returning 0x01.
35397         (mem2mem_check): Avoid using a length byte equal to the magic byte.
35398         (mem2chunk_check): Fix unsigned comparisons to zero.
35399         Hoist defs of sz and magic.
35401 2015-05-19  Richard Henderson  <rth@redhat.com>
35403         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
35405         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35407 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35409         [BZ #16159]
35410         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
35411         * malloc/arena.c (arena_lock): Check if arena is corrupt.
35412         (reused_arena): Find a non-corrupt arena.
35413         (heap_trim): Pass arena to unlink.
35414         * malloc/hooks.c (malloc_check_get_size): Pass arena to
35415         malloc_printerr.
35416         (top_check): Likewise.
35417         (free_check): Likewise.
35418         (realloc_check): Likewise.
35419         * malloc/malloc.c (malloc_printerr): Add arena argument.
35420         (unlink): Likewise.
35421         (munmap_chunk): Adjust.
35422         (ARENA_CORRUPTION_BIT): New macro.
35423         (arena_is_corrupt): Likewise.
35424         (set_arena_corrupt): Likewise.
35425         (sysmalloc): Use mmap if there are no usable arenas.
35426         (_int_malloc): Likewise.
35427         (__libc_malloc): Don't fail if arena_get returns NULL.
35428         (_mid_memalign): Likewise.
35429         (__libc_calloc): Likewise.
35430         (__libc_realloc): Adjust for additional argument to
35431         malloc_printerr.
35432         (_int_free): Likewise.
35433         (malloc_consolidate): Likewise.
35434         (_int_realloc): Likewise.
35435         (_int_memalign): Don't touch corrupt arenas.
35436         * malloc/tst-malloc-backtrace.c: New test case.
35438         * Makefile (summarize-tests): Fix return value on success.
35440         * manual/string.texi (Envz Functions): Add envz_remove.
35442 2015-05-18  Roland McGrath  <roland@hack.frob.com>
35444         * sysdeps/posix/opendir.c: Include <stdbool.h>.
35445         (invalid_name): New function, broken out of ...
35446         (__opendirat): ... here.  Call it.
35447         (need_isdir_precheck): New function, broken out of ...
35448         (__opendirat): ... here.  Call it.
35449         Use __fxstatat64, not __xstatat64.
35450         (opendir_oflags): New function, broken out of ...
35451         (__opendirat): ... here.  Call it.
35452         (opendir_tail): New function, broken out of ...
35453         (__opendirat): ... here.  Call it.
35454         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
35455         opendir_tail, rather than punting to __opendirat.
35456         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
35458 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35460         * .gitignore: Ignore generated *.pyc.
35462 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
35464         * include/stdio.h: Define __need_wint_t.
35465         * test-skeleton.c: Avoid `for' loop initial declaration.
35466         * nptl/tst-initializers1.c: Use test-skeleton.c.
35468 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35470         [BZ #18418]
35471         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
35473 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
35475         [BZ #16352]
35476         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
35477         (__ieee754_atanh): Force underflow exception for results with
35478         small absolute value.
35479         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
35480         (__ieee754_atanhf): Force underflow exception for results with
35481         small absolute value.
35482         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
35483         (__ieee754_atanh): Force underflow exception for results with
35484         small absolute value.
35485         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
35486         (__ieee754_atanhf): Force underflow exception for results with
35487         small absolute value.
35488         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
35489         (__ieee754_atanhl): Force underflow exception for results with
35490         small absolute value.
35491         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
35492         (__ieee754_atanhl): Force underflow exception for results with
35493         small absolute value.
35494         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
35495         (__ieee754_atanhl): Force underflow exception for results with
35496         small absolute value.
35497         * math/auto-libm-test-in: Do not allow missing underflow
35498         exceptions from atanh.
35499         * math/auto-libm-test-out: Regenerated.
35501         [BZ #18221]
35502         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
35503         2**-28 as threshold for returning x or +/- 1/x.
35504         * math/auto-libm-test-in: Add more tests of tan.
35505         * math/auto-libm-test-out: Regenerated.
35507         [BZ #18220]
35508         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
35509         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
35510         * math/auto-libm-test-in: Add another test of lgamma.
35511         * math/auto-libm-test-out: Regenerated.
35513 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
35515         * stdio-common/printf_fp.c (___printf_fp): Use abs.
35516         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
35517         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
35518         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
35519         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
35520         (ADD2A): Use fabs.  (SUB2A): Use fabs.
35521         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
35522         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
35523         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
35524         (log1): Use fabs.  (my_log2): Use fabs.
35525         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
35526         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
35527         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
35528         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
35529         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
35530         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
35531         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
35532         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
35533         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
35534         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
35535         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
35537 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
35539         [BZ #18217]
35540         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
35541         as threshold for returning 1 - x.
35542         * math/auto-libm-test-in: Add more tests of erfc.
35543         * math/auto-libm-test-out: Regenerated.
35545 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
35547         [BZ #18196]
35548         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
35549         threshold for large arguments.
35550         * math/auto-libm-test-in: Add another test of atan.
35551         * math/auto-libm-test-out: Regenerated.
35553         [BZ #16339]
35554         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
35555         (__log1p): Force underflow exception for results with small
35556         absolute value.
35557         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
35558         (__log1pf): Force underflow exception for results with small
35559         absolute value.
35560         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
35561         (__log1p): Force underflow exception for results with small
35562         absolute value.
35563         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
35564         (__log1pf): Force underflow exception for results with small
35565         absolute value.
35566         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
35567         (__log1pl): Force underflow exception for results with small
35568         absolute value.
35569         * math/auto-libm-test-in: Do not allow missing underflow
35570         exceptions from log1p.
35571         * math/auto-libm-test-out: Regenerated.
35573 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
35574             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35576         [BZ #16704]
35577         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
35579 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
35581         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
35582         (libmvec): New variable.
35583         * configure.ac: Added option for mathvec build.
35584         * configure: Regenerated.
35585         * mathvec/Depend: New file.
35586         * mathvec/Makefile: New file.
35587         * shlib-versions: Added libmvec.
35588         * math/Makefile: Added rule for libm.so installation.
35590         * bits/math-vector.h: New file.
35591         * bits/libm-simd-decl-stubs.h: New header.
35592         * math/Makefile (headers): Added new header
35593         libm-simd-decl-stubs.h.
35594         * math/math.h (__MATHCALL_VEC): New macro.
35596         * math/gen-libm-have-vector-test.sh: Script generates series of macros
35597         for conditions in testing functions.
35598         * math/Makefile: Added call of libm-have-vector-test.sh.
35599         * math/libm-test.inc (HAVE_VECTOR): New macros.
35601         * math/libm-test.inc: START refactored.
35602         * math/test-double.c (TEST_MATHVEC): Add define.
35603         * math/test-float.c: Likewise.
35604         * math/test-idouble.c: Likewise.
35605         * math/test-ifloat.c: Likewise.
35606         * math/test-ildoubl.c: Likewise.
35607         * math/test-ldouble.c: Likewise.
35608         * sysdeps/generic/math-tests-arch.h
35609         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
35610         architecture check.
35612         * math/test-double.c (FUNC_TEST): New macro.
35613         * math/test-float.c: Likewise.
35614         * math/test-idouble.c: Likewise.
35615         * math/test-ifloat.c: Likewise.
35616         * math/test-ildoubl.c: Likewise.
35617         * math/test-ldouble.c: Likewise.
35618         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
35620 2015-05-13  Roland McGrath  <roland@hack.frob.com>
35622         * sysdeps/nacl/fdopendir.c: New file.
35624         * dirent/scandir-tail.c: New file.
35625         * dirent/scandir64-tail.c: New file.
35626         * dirent/Makefile (routines): Add them.
35627         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
35628         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
35629         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
35630         [!SCANDIR] (SCANDIR_TAIL): New macro.
35631         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
35632         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
35633         (SCANDIRAT): Macro removed.
35634         (SCANDIR_TAIL): New macro.
35635         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
35636         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
35637         (SCANDIRAT): Just call __opendirat and __scandir_tail.
35638         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
35639         (READDIR): Macro removed.
35640         (SCANDIR_TAIL): New macro.
35641         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
35642         (SCANDIR_TAIL): New macro.
35644         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
35645         * dirent/scandir-cancel.c: ... to this new file.
35646         * dirent/Makefile (routines): Add it.
35647         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
35648         * sysdeps/unix/sysv/linux/i386/scandir64.c
35649         (SKIP_SCANDIR_CANCEL): Macro removed.
35650         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
35652         * dirent/tst-scandir.c: New file.
35653         * dirent/tst-scandir64.c: New file.
35654         * dirent/Makefile (tests): Add them.
35656 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
35658         [BZ #18409]
35659         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
35661 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35663         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
35664         list.
35666 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
35668         * benchtests/bench-strcoll.c: New benchmark.
35669         * benchtests/Makefile: Generate locales and run benchmark.
35670         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
35671         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
35672         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
35673         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
35674         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
35675         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
35676         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
35677         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
35678         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
35679         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
35680         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
35681         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
35682         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
35683         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
35684         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
35685         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
35686         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
35687         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
35688         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
35689         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
35690         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
35691         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
35692         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
35693         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
35695 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
35697         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
35698         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35700 2015-05-12  Roland McGrath  <roland@hack.frob.com>
35702         * posix/uname-values.h: New file.
35703         * posix/uname.c: Include that instead of <config-name.h>.
35704         * sysdeps/nacl/uname-values.h: New file.
35705         * sysdeps/arm/nacl/uname-values.h: New file.
35707 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
35709         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
35710         splitting into fields.
35712 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
35714         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
35715         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
35716         * locale/localeinfo.h: Add enum collation_encoding_type.
35717         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
35718         * programs/ld-collate.c (collate_output): Add encoding type info.
35719         * string/strcoll_l.c (STRDIFF): New function.
35720         * (STRCOLL): Use STRDIFF to skip over equal prefix.
35721         * wcsmbs/wcscoll_l.c: Define STRDIFF.
35723 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
35725         [BZ #18397]
35726         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
35727         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
35728         <fpu_control.h> instead of <math/fpu_control.c>.
35729         * sysdeps/mips/mips32/fpu/Makefile: New file.
35731 2015-05-11  Andreas Schwab  <schwab@suse.de>
35733         [BZ #18007]
35734         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
35735         nss_endgrent.
35736         (_nss_compat_endgrent): Call nss_endgrent.
35737         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
35738         nss_endpwent.
35739         (_nss_compat_endpwent): Call nss_endpwent.
35740         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
35741         needent, call nss_setspent only if non-zero.
35742         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
35743         (internal_endspent): Don't call nss_endspent.
35744         (_nss_compat_endspent): Call nss_endspent.
35745         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
35746         Remove.  All uses removed.
35747         (internal_setent): Remove parameter stayopen, add parameter
35748         stream.  Use it instead of global variable.
35749         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
35750         (internal_endent, internal_getent): Add parameter stream.  Use it
35751         instead of global variable.
35752         (CONCAT(_nss_files_end,ENTNAME))
35753         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
35754         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
35755         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
35756         uses removed.
35757         (internal_setent, internal_endent): Add parameter stream.  Use it
35758         instead of global variable.
35759         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
35760         stream.
35761         (get_next_alias): Add parameter stream.
35762         (_nss_files_getaliasent_r): Pass global stream.
35763         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
35764         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
35765         (_nss_files_gethostbyname4_r): Pass local stream to
35766         internal_setent, internal_getent and internal_endent.  Remove
35767         locking.
35769 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35771         * tst-strfmon1.c (tests): Update expected currency symbol.
35773 2015-05-08  Roland McGrath  <roland@hack.frob.com>
35775         * sysdeps/nacl/gethostname.c: New file.
35777 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
35779         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
35780         and sinh.
35781         * math/auto-libm-test-out: Regenerated.
35782         * sysdeps/i386/fpu/libm-test-ulps: Update.
35783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35785 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
35787         [BZ #18125]
35788         * stdlib/tst-setcontext3.c: New file.
35789         * stdlib/tst-setcontext3.sh: New file.
35790         * stdlib/Makefile (tests): Add tst-setcontext3.
35791         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
35792         to verify test program created output file.
35793         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
35794         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
35795         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
35796         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
35798 2015-05-06  Roland McGrath  <roland@hack.frob.com>
35800         [BZ #18383]
35801         * elf/tst-tlsalign.c: New file.
35802         * elf/tst-tlsalign-static.c: New file.
35803         * elf/tst-tlsalign-lib.c: New file.
35804         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
35805         (tests-static): Add tst-tlsalign-static.
35806         (modules-names): Add tst-tlsalign-lib.
35807         (test-xfail-tst-tlsalign): New variable.
35808         (test-xfail-tst-tlsalign-static): New variable.
35810         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
35811         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
35813 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
35815         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
35816         csqrt, erfc, sin and sincos.
35817         * math/auto-libm-test-out: Regenerated.
35818         * sysdeps/i386/fpu/libm-test-ulps: Update.
35819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35821 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35823         * sysdeps/aarch64/libm-test-ulps: Update.
35825 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
35827         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
35828         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
35829         * math/auto-libm-test-out: Regenerated.
35830         * sysdeps/i386/fpu/libm-test-ulps: Update.
35831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35833 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
35835         [BZ #18265]
35836         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
35837         (wcsncpy): Likewise.
35839 2015-05-05  Florian Weimer  <fweimer@redhat.com>
35841         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35842         Assume __ASSUME_FALLOCATE is always true.
35843         * sysdeps/unix/sysv/linux/posix_fallocate64.c
35844         (__posix_fallocate64_l64): Likewise.
35845         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
35846         (posix_fallocate): Likewise.
35847         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
35848         (__posix_fallocate64_l64): Likewise.
35849         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35850         [!__ASSUME_FALLOCATE]: Add comment.
35852 2015-05-05  Florian Weimer  <fweimer@redhat.com>
35854         * sysdeps/unix/sysv/linux/i386/Makefile
35855         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
35856         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
35857         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
35858         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35859         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35860         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
35861         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
35863 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
35865         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
35866         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
35867         tgamma.
35868         * math/auto-libm-test-out: Regenerated.
35869         * sysdeps/i386/fpu/libm-test-ulps: Update.
35870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35872 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35874         * math/auto-libm-test-in: Add more tests of tgamma.
35875         * math/auto-libm-test-out: Regenerated.
35876         * sysdeps/i386/fpu/libm-test-ulps: Update.
35877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35879         * math/auto-libm-test-in: Add more tests of tanh.
35880         * math/auto-libm-test-out: Regenerated.
35881         * sysdeps/i386/fpu/libm-test-ulps: Update.
35882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35884         * math/auto-libm-test-in: Add more tests of tan.
35885         * math/auto-libm-test-out: Regenerated.
35886         * sysdeps/i386/fpu/libm-test-ulps: Update.
35887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35889         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
35890         * math/auto-libm-test-out: Regenerated.
35891         * sysdeps/i386/fpu/libm-test-ulps: Update.
35892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35894         * math/auto-libm-test-in: Add another test of pow.
35895         * math/auto-libm-test-out: Regenerated.
35896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35898         * math/auto-libm-test-in: Add more tests of lgamma.
35899         * math/auto-libm-test-out: Regenerated.
35900         * sysdeps/i386/fpu/libm-test-ulps: Update.
35901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35903         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
35904         log1p.
35905         * math/auto-libm-test-out: Regenerated.
35906         * sysdeps/i386/fpu/libm-test-ulps: Update.
35907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35909 2015-05-01  Mark Wielaard  <mjw@redhat.com>
35911         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
35912         Elf64_Chdr structs and ELFCOMPRESS constants.
35914 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35916         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
35917         expm1.
35918         * math/auto-libm-test-out: Regenerated.
35919         * sysdeps/i386/fpu/libm-test-ulps: Update.
35920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35922         * math/auto-libm-test-in: Add more tests of erf and erfc.
35923         * math/auto-libm-test-out: Regenerated.
35924         * sysdeps/i386/fpu/libm-test-ulps: Update.
35925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35927 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35929         * config.h.in (HAVE_AARCH64_BE): Add.
35931 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
35933         * math/auto-libm-test-in: Add more tests of csqrt.
35934         * math/auto-libm-test-out: Regenerated.
35935         * sysdeps/i386/fpu/libm-test-ulps: Update.
35936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35938         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35939         * math/auto-libm-test-out: Regenerated.
35940         * sysdeps/i386/fpu/libm-test-ulps: Update.
35941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35943         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
35945 2015-04-29  Roland McGrath  <roland@hack.frob.com>
35947         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
35948         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
35950         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
35951         (euidaccess, eaccess): Define as weak aliases.
35953         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
35954         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
35955         but __suseconds_t is often 'long int' so some sources assume that
35956         type is being used (e.g. they use %ld to print tv_usec).
35958 2015-04-29  Florian Weimer  <fweimer@redhat.com>
35960         [BZ #18007]
35961         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
35962         (CVE-2014-8121)
35963         * nss/tst-nss-getpwent.c: New file.
35964         * nss/Makefile (tests): Add new test.
35966 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
35968         [BZ #18346]
35969         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
35970         exponents less than 48 as cases where high part of mantissa needs
35971         examining to determine whether argument is integral.
35972         * math/libm-test.inc (round_test_data): Add more tests.
35974 2015-04-28  Mark Wielaard  <mjw@redhat.com>
35976         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
35978 2015-04-27  David S. Miller  <davem@davemloft.net>
35980         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
35981         __tls_get_addr.
35982         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35984 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
35986         [BZ #18333]
35987         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
35989 2015-04-27  Florian Weimer  <fweimer@redhat.com>
35991         [BZ #18333]
35992         * time/tzset.c (parse_tzname): Return error on memory allocation
35993         failure.
35994         * test-skeleton.c (struct temp_name_list): Change type of name
35995         member to non-const.
35996         (add_temp_file): Create a copy of the file name.
35997         (delete_temp_files): Deallocate memory.
35998         (create_temp_file): Add comment.
36000 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36002         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
36003         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
36005 2015-04-24  Roland McGrath  <roland@hack.frob.com>
36007         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
36008         * sysdeps/arm/configure: Regenerated.
36010 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36012         [BZ #17715]
36013         * time/tzfile.c (__tzfile_read): Check for large values of
36014         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
36015         * time/tzset.c (__tzstring_len): New function, based on the old
36016         __tzstring function.
36017         (__tzstring): Call __tzstring_len.
36018         (parse_tzname): New helper function extracted from
36019         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
36020         the input string.
36021         (parse_offset): New helper function extracted from
36022         __tzset_parse_tz.  Replace switch with fallthrough with
36023         initialization before sscanf.
36024         (parse_rule): Likewise.
36025         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
36026         new-style function definition.
36027         * timezone/Makefile (tests): Add tst-tzset.
36028         (tst-tzset.out): Dependencies on time zone files.
36029         (tst-tzset-ENV): Set TZDIR.
36030         (testdata/XT%): Copy crafted time zone files.
36031         * timezone/README: Mention crafted time zone files.
36032         * timezone/testdata/XT1, timezone/testdata/XT2,
36033         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
36034         files.
36035         * timezone/tst-tzset.c: New test.
36037 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36039         * Makeconfig (+gccwarn): Remove -Winline.
36041 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36043         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
36045 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36047         * NEWS: Mention sysconf() cache information support for s390.
36048         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
36050 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
36052         * math/k_casinh.c (__kernel_casinh): Use __copysign.
36053         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
36054         (__nearbyint): Likewise.
36055         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
36056         (copysignl): Likewise.
36058 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
36060         [BZ #18287]
36061         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
36062         based on padding.  (CVE-2015-1781)
36064 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36066         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
36067         libc-vdso.h.
36068         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
36069         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
36070         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
36071         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36072         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36073         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
36074         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
36075         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36076         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36077         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
36078         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36079         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36080         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36081         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
36082         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36083         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
36084         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
36085         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
36086         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
36087         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
36088         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
36089         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
36090         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
36092 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
36094         * stdlib/setenv.c (__add_to_environ):
36095         Dump core quickly if setenv (..., NULL, ...) is called.
36096         This time, do it the right way, and pacify GCC with a pragma.
36098 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36100         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
36101         IMAP->l_prev cannot be null, and #if out the code for the contrary
36102         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
36103         believe that NS (&_dl_ns[NSID]) could point outside the array.
36105         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
36106         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
36107         before using NSID as an index.
36109 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
36111         [BZ #17825]
36112         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
36113         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
36114         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36116 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36118         Add preliminary port to Google Native Client on ARM.
36119         * abi-tags (.*-.*-nacl.*): New entry.
36120         * sysdeps/arm/nacl: New directory.
36121         * sysdeps/nacl: New directory.
36123 2015-04-16  David S. Miller  <davem@davemloft.net>
36125         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
36126         lowlevellock-futex.h
36128 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
36130         * sysdeps/tile/configure.ac: New file.
36131         * sysdeps/tile/configure: Regenerated.
36133 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36135         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
36136         conditionals for weak_alias and libc_hidden_weak.
36137         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
36138         libc_hidden_weak and weak_alias.
36139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
36140         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
36141         and weak_alias for static one.
36143 2015-04-15  David S. Miller  <davem@davemloft.net>
36145         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36147 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36149         [BZ #18206]
36150         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
36151           Use signed comparision instead of substraction to avoid
36152           overflow bug.
36153         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
36154           Take the sign of ret.
36155         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
36156           Do not expect precise return values. Only the sign matters.
36157         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
36158         * wcsmbs/test-wcsncmp.c: New File.
36159         * string/test-strncmp.c: Add wcsncmp support.
36161 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36163         [BZ #6792]
36164         * math/w_log1p.c: New file.
36165         * math/w_log1pf.c: Likewise.
36166         * math/w_log1pl.c: Likewise.
36167         * math/Makefile (libm-calls): Add w_log1p.
36168         * math/s_log1pl.c (log1pl): Remove weak_alias.
36169         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
36170         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
36171         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
36172         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
36173         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
36174         [NO_LONG_DOUBLE] (log1pl): Likewise.
36175         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
36176         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
36177         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
36178         (log1p): Remove long_double_symbol.
36179         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
36180         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
36181         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
36182         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
36183         remove weak_alias for corresponding log1p function.
36184         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
36185         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
36186         * sysdeps/ia64/fpu/w_log1p.c: New file.
36187         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
36188         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
36189         * math/libm-test.inc (log1p_test_data): Add errno expectations.
36191 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
36193         [BZ #18247]
36194         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
36195         decimal exponent by 1.
36196         * stdlib/tst-strtod-round-data: Add more tests.
36197         * stdlib/tst-strtod-round.c (tests): Regenerated.
36199 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
36201         * math/auto-libm-test-in: Add more tests of clog and clog10.
36202         * math/auto-libm-test-out: Regenerated.
36203         * sysdeps/i386/fpu/libm-test-ulps: Update.
36204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36206 2015-04-09  Roland McGrath  <roland@hack.frob.com>
36208         * Makeconfig (module-cppflags): Exclude all .v.i files.
36209         (skip-module-cppflags): Variable removed.
36211         * configure.ac (libc_config_ok): Initialize before reading
36212         preconfigure scripts, not after.
36213         * configure: Regenerated.
36215         * test-skeleton.c (TIMEOUT): Move #define to top level.
36216         (main): Grok environment variable TEST_DIRECT.  If set, print
36217         test expectation details into that file and then behave as if
36218         given --direct.
36220 2015-04-09  Florian Weimer  <fweimer@redhat.com>
36222         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
36223         warning on 32-bit.
36225 2015-04-08  David S. Miller  <davem@davemloft.net>
36227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36229 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36231         * math/auto-libm-test-in: Add more tests of atanh.
36232         * math/auto-libm-test-out: Regenerated.
36233         * sysdeps/i386/fpu/libm-test-ulps: Update.
36234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36236         * math/auto-libm-test-in: Add more tests of atan.
36237         * math/auto-libm-test-out: Regenerated.
36238         * sysdeps/i386/fpu/libm-test-ulps: Update.
36239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36241 2015-04-08  Florian Weimer  <fweimer@redhat.com>
36243         * elf/pldd.c (main): Rewrite to use struct
36244         scratch_buffer instead of extend_alloca.
36245         * elf/pldd-xx.c (find_maps): Likewise.
36246         * grp/initgroups.c: Include <scratch_buffer.h> instead of
36247         <alloca.h>.
36248         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
36249         scratch_buffer instead of extend_alloca.
36250         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
36251         grp/compat-initgroups.c.
36252         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
36253         Rewrite to use struct scratch_buffer instead of extend_alloca.
36254         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
36255         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36257 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36259         * math/auto-libm-test-in: Add more tests of cbrt.
36260         * math/auto-libm-test-out: Regenerated.
36261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36263         * math/auto-libm-test-in: Add more tests of cabs.
36264         * math/auto-libm-test-out: Regenerated.
36265         * sysdeps/i386/fpu/libm-test-ulps: Update.
36266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36268         [BZ #18210]
36269         [BZ #18211]
36270         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
36271         (__ieee754_atan2): Set FE_TONEAREST mode for internal
36272         computations.
36273         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
36274         clog10.
36275         * math/auto-libm-test-out: Regenerated.
36276         * sysdeps/i386/fpu/libm-test-ulps: Update.
36277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36279         [BZ #18197]
36280         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
36281         (atan): Set FE_TONEAREST mode for internal computations.
36282         * math/auto-libm-test-in: Add more tests of atan.
36283         * math/auto-libm-test-out: Regenerated.
36285 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
36287         [BZ #17930]
36288         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
36290 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36292         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
36294 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36296         * include/scratch_buffer.h: New file.
36297         * malloc/scratch_buffer_grow.c: Likewise.
36298         * malloc/scratch_buffer_grow_preserve.c: Likewise.
36299         * malloc/scratch_buffer_set_array_size.c: Likewise.
36300         * malloc/tst-scratch_buffer.c: Likewise.
36301         * malloc/Makefile (routines): Add scratch_buffer_grow.
36302         (tests): Add test case.
36303         * malloc/Versions (GLIBC_PRIVATE): Export
36304         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
36305         __libc_scratch_buffer_set_array_size.
36307 2015-04-06  Richard Henderson  <rth@redhat.com>
36309         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
36310         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36312         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
36313         unsigned int before printing.
36315 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36317         [BZ #17596]
36318         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
36319         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36321 2015-04-02  Florian Weimer  <fweimer@redhat.com>
36323         * include/libc-internal.h (libc_max_align_t): Define.
36325 2015-04-02  Andreas Schwab  <schwab@suse.de>
36327         [BZ #16850]
36328         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
36330 2015-04-02  Mel Gorman  <mgorman@suse.de>
36332         [BZ #17195]
36333         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
36334         as well as the main arena.
36336 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36338         [BZ #18185]
36339         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
36340         sharing L2 cache to 2 for Silvermont/Knights Landing.
36342 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36344         [BZ #17711]
36345         * config.make.in (have-protected-data): New.
36346         * configure.ac: Check linker support for protected data symbol.
36347         * configure: Regenerated.
36348         * elf/Makefile (modules-names): Add tst-protected1moda and
36349         tst-protected1modb if $(have-protected-data) is yes.
36350         (tests): Add tst-protected1a and tst-protected1b if
36351         $(have-protected-data) is yes.
36352         ($(objpfx)tst-protected1a): New.
36353         ($(objpfx)tst-protected1b): Likewise.
36354         (tst-protected1modb.so-no-z-defs): Likewise.
36355         * elf/tst-protected1a.c: New file.
36356         * elf/tst-protected1b.c: Likewise.
36357         * elf/tst-protected1mod.h: Likewise.
36358         * elf/tst-protected1moda.c: Likewise.
36359         * elf/tst-protected1modb.c: Likewise.
36361 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36363         [BZ #17711]
36364         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
36365         indicates it is called from do_lookup_x on relocation against
36366         protected data, skip the data definion in the executable from
36367         copy reloc.
36368         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
36369         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
36370         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
36371         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
36372         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
36373         otherwise to 0.
36374         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36375         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
36376         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
36377         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36378         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
36379         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
36381 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
36383         * sysdeps/nptl/pthread.h: Remove duplicate definition of
36384         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
36386 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
36388         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
36389         THREAD_SETMEM_NC.
36390         * sysdeps/x86_64/nptl/tls.h: Ditto.
36392 2015-03-27  Roland McGrath  <roland@hack.frob.com>
36394         * dlfcn/tststatic.c (main): Converted to ...
36395         (do_test): ... this.
36396         (TEST_FUNCTION): New macro.
36397         Include test-skeleton.c.
36399 2015-03-26  Alan Modra  <amodra@gmail.com>
36401         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
36402         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
36403         zero for undefined weak.
36404         (elf_machine_plt_conflict): Similarly.
36406 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36408         * math/auto-libm-test-in: Add more tests of acosh, asinh and
36409         atanh.
36410         * math/auto-libm-test-out: Regenerated.
36411         * sysdeps/i386/fpu/libm-test-ulps: Update.
36412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36414         * math/auto-libm-test-in: Add another test of asin.
36415         * math/auto-libm-test-out: Regenerated.
36416         * sysdeps/i386/fpu/libm-test-ulps: Update.
36417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36419         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
36420         Remove macro.
36421         (LLL_EBX_REG): Likewise.
36422         (LLL_ENTER_KERNEL): Likewise.
36424         * math/auto-libm-test-in: Add more tests of asin.
36425         * math/auto-libm-test-out: Regenerated.
36426         * sysdeps/i386/fpu/libm-test-ulps: Update.
36427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36429         [BZ #18138]
36430         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
36431         libc_do_syscall_args): New structure.
36432         (INTERNAL_SYSCALL_MAIN_0): New macro.
36433         (INTERNAL_SYSCALL_MAIN_1): Likewise.
36434         (INTERNAL_SYSCALL_MAIN_2): Likewise.
36435         (INTERNAL_SYSCALL_MAIN_3): Likewise.
36436         (INTERNAL_SYSCALL_MAIN_4): Likewise.
36437         (INTERNAL_SYSCALL_MAIN_5): Likewise.
36438         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
36439         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
36440         Replace conditional definitions by conditional definitions of ....
36441         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
36442         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
36443         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
36444         (libpthread-sysdep_routines): Add libc-do-syscall.
36445         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
36446         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
36447         to __NR_futex not 240.
36449 2015-03-25  Alan Modra  <amodra@gmail.com>
36451         * NEWS: Advertise TLS optimization.
36452         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
36453         (DT_PPC_NUM): Increment.
36454         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
36455         (CHECK_STATIC_TLS): Use here.
36456         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
36457         TLS descriptors.
36458         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36459         * sysdeps/powerpc/dl-tls.c: New file.
36460         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
36461         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
36462         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
36463         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
36464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
36465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
36466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
36468 2015-03-25  Alan Modra  <amodra@gmail.com>
36470         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
36471         for overlapping .opd entries" to "support...".
36472         * sysdeps/powerpc/powerpc64/configure: Regenerate
36474 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36476         * math/auto-libm-test-in: Add more tests of acos.
36477         * math/auto-libm-test-out: Regenerated.
36478         * sysdeps/i386/fpu/libm-test-ulps: Update.
36479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36481         * math/auto-libm-test-in: Add more tests of expm1.
36482         * math/auto-libm-test-out: Regenerated.
36483         * sysdeps/i386/fpu/libm-test-ulps: Update.
36484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36486 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
36488         * math/auto-libm-test-in: Add more tests of cosh and sinh.
36489         * math/auto-libm-test-out: Regenerated.
36490         * sysdeps/i386/fpu/libm-test-ulps: Update.
36491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36493         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36496         * math/auto-libm-test-in: Add more tests of log2.
36497         * math/auto-libm-test-out: Regenerated.
36498         * sysdeps/i386/fpu/libm-test-ulps: Update.
36499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36501 2015-03-23  Roland McGrath  <roland@hack.frob.com>
36503         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
36504         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
36505         _IO_IS_APPENDING bit in READ_WRITE instead.
36507 2015-03-23  Florian Weimer  <fweimer@redhat.com>
36509         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
36510         (__determine_cpumask_size): Replace extend_alloca with a
36511         variable-length array.  Do not treat res == 0 as an error.
36513 2015-03-23  Florian Weimer  <fweimer@redhat.com>
36515         [BZ #18100]
36516         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
36517         and integer overflow.
36518         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
36519         (main): Add integer overflow tests.
36520         * manual/pattern.texi (Calling Wordexp): Document additional use
36521         for WRDE_SYNTAX.
36523 2015-03-23  Alan Modra  <amodra@gmail.com>
36525         * config.h.in: Remove HAVE_ASM_PPC_REL16.
36526         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
36527         and false branch of conditional.
36528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36529         Likewise.
36531 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
36533         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
36534         libc-modules.h
36535         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
36536         unused declaration of _hurd_intr_rpc_msg_in_trap.
36537         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
36538         defined instead of whether it is non-zero.
36539         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
36540         input constraint instead of both input and output constraint.  Use ecx
36541         clobber instead of %ecx.
36542         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
36543         mutex_unlock): Use a statement expression instead of an expression list.
36544         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
36545         type to vm_size_t instead of vm_address_t.
36546         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
36547         defined instead of whether it is non-zero.
36548         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
36549         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
36550         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
36551         comparisons with mapaddr.
36552         * nscd/nscd-client.h: Include <time.h>.
36553         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
36554         9th parameter to __vm_region instead of int.
36555         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
36556         * scripts/check-local-headers.sh (exclude): Add device/,
36557         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
36558         cthreads.h.
36560 2015-03-19  Roland McGrath  <roland@hack.frob.com>
36562         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
36563         to account for alignment padding.
36564         * sysdeps/arm/memmove.S: Likewise.
36566 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
36568         * sysdeps/unix/sysv/linux/generic/README: New file.
36570 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
36572         [BZ #18138]
36573         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
36574         (futex_abstimed_wait)
36575         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
36576         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
36577         of lll_futex_timed_wait.
36579 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
36581         [BZ #17542]
36582         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
36584 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
36586         [BZ #17090]
36587         [BZ #17620]
36588         [BZ #17621]
36589         [BZ #17628]
36590         * NEWS: Update.
36591         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
36592         entries with Static TLS too.  Skip entries past the end of the
36593         allocated DTV, from Alan Modra.
36594         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
36595         Static TLS DTV entry set up from...
36596         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
36597         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
36598         * nptl/allocatestack.c (init_one_static_tls): ... and here...
36599         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
36600         for Static TLS.
36601         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
36602         that the slot we find is associated with the given map before
36603         using its generation count.
36604         * nptl_db/db_info.c: Include ldsodefs.h.
36605         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
36606         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
36607         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
36608         (link_map::l_tls_offset): New struct field.
36609         (dtv_t::counter): Likewise.
36610         (rtld_global): New struct.
36611         (_rtld_global): New rtld variable.
36612         (dl_tls_dtv_slotinfo_list): New rtld global field.
36613         (dtv_slotinfo_list): New struct.
36614         (dtv_slotinfo): Likewise.
36615         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
36616         (td_lookup): Rename to...
36617         (td_mod_lookup): ... this.  Use new mod parameter instead of
36618         LIBPTHREAD_SO.
36619         * nptl_db/td_thr_tlsbase.c: Include link.h.
36620         (dtv_slotinfo_list, dtv_slotinfo): New functions.
36621         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
36622         addresses even if the DTV is out of date or missing them.
36623         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
36624         index zero-length arrays.
36625         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
36626         (td_lookup): Make it a macro implemented in terms of...
36627         (td_mod_lookup): ... this declaration.
36628         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
36629         (DB_MAIN_VARIABLE): Likewise.
36631 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36633         [BZ #18134]
36634         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
36636 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
36638         * stdlib/setenv.c (__add_to_environ): Revert previous change.
36640 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
36642         [BZ #18128]
36643         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
36644         (atomic_add, atomic_increment_and_test)
36645         (atomic_decrement_and_test): Fix 64-bit arithmetic.
36647 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
36649         * stdlib/setenv.c (__add_to_environ):
36650         Dump core quickly if setenv (..., NULL, ...) is called.
36652 2015-03-13  Roland McGrath  <roland@hack.frob.com>
36654         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
36655         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
36656         all the necessary asm magic in one place.
36657         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
36658         using those.
36660 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
36662         [BZ #14906]
36663         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
36664         traced file mtime. Use consistent log message.
36665         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
36666         (register_traced_file): Call install_watches. Always set mtime.
36667         (invalidate_cache): Iterate over all trace files. Call install_watches.
36668         (inotify_check_files): Don't inline. Handle watching parent
36669         directories and configuration file movement in and out.
36670         (handle_inotify_events): New function.
36671         (main_loop_poll): Call handle_inotify_events.
36672         (main_loop_epoll): Likewise.
36673         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
36674         (struct traced_file): Use array of inotify fds. Add parent directory,
36675         and basename.
36676         (struct database_dyn): Remove unused file_mtime.
36677         (init_traced_file): New inline function.
36678         (define_traced_file): New macro.
36679         * nss/nss_db/db-init.c: Use define_traced_file.
36680         (_nss_db_init): Use init_traced_file.
36681         * nss/nss_files/files-init.c: Use define_traced_file.
36682         (_nss_files_init): Use init_traced_file.
36684 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
36686         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
36687         [_LIBC]: Do not include <stdlib.h>.
36688         [!_LIBC] (abort): Remove declaration.
36689         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
36690         _FP_STATIC_ASSERT instead of conditionally calling abort.
36691         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
36692         (_FP_EXTEND_CNAN): Likewise.
36693         (FP_TRUNC): Likewise.
36694         (__FP_CLZ): Likewise.
36695         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
36697 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
36699         * manual/string.texi (XPG basename): Fix prototype.
36701 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36703         [BZ #18080]
36704         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
36705         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
36706         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
36707         (__setcontext): Likewise.
36708         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
36709         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
36710         Call rt_sigprocmask syscall one time to set new signal mask
36711         and retrieve the current signal mask instead of two calls.
36712         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
36713         (__swapcontext): Likewise.
36714         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
36715         * stdlib/tst-setcontext2.c: New file.
36717 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36719         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36721 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
36723         [BZ #18093]
36724         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
36725         the wrong size.
36727 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36729         [BZ #18043]
36730         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
36732 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36734         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
36735         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
36736         Remove define.
36737         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
36738         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
36739         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
36740         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
36741         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
36742         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
36743         define.
36744         * nptl_db/td_symbol_list.c (td_lookup): Remove
36745         HAVE_ASM_GLOBAL_DOT_NAME code.
36746         * sysdeps/powerpc/powerpc64/configure.ac: Remove
36747         HAVE_ASM_GLOBAL_DOT_NAME check.
36748         * sysdeps/powerpc/powerpc64/configure: Regenerate.
36749         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
36750         (DOT_LABEL): Remove define.
36751         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
36752         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
36753         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
36754         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
36755         (__TLS_GET_ADDR): Likewise.
36756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
36757         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
36759 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
36761         [BZ #18111]
36762         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
36763         (_FPU_SETCW): Initialize cw from fpsr before storing.
36764         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
36765         (fesetexceptflag): Rewrite using fpu_control.h.
36766         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
36768 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
36770         [BZ #18110]
36771         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
36772         asms.
36773         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
36775 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
36777         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
36778         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
36779         abort.
36780         (_FP_FMA): Likewise.
36781         (_FP_DIV): Likewise.
36783 2015-03-10  Roland McGrath  <roland@hack.frob.com>
36785         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
36786         with 0 in that case.
36787         * Makefile (summarize-tests): New canned sequence, factored out of
36788         commands for targets tests and xtests.  Display summary lines that
36789         don't start with PASS: or XFAIL: rather than ones that do start with
36790         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
36791         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
36792         do start with ERROR: or FAIL:.
36793         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
36794         (except for [$(build-shared) = yes]).
36795         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
36796         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
36797         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
36798         * nptl/Makefile: Revert 2015-03-04 changes.
36799         [$(CXX) empty] (tests-unsupported): New variable.
36800         * debug/Makefile: Likewise.
36802         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
36803         gnulib file.  Replace __attribute with __attribute__ throughout.
36805 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
36807         * sysdeps/hppa/fpu/libm-test-ulps: Update.
36809 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
36811         [BZ #18104]
36812         * math/auto-libm-test-in: Add another test of pow.
36813         * math/auto-libm-test-out: Regenerated.
36815 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36817         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
36818         $(config-cflags-nofma).
36820 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
36822         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
36823         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
36824         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
36825         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
36826         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
36827         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
36828         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
36829         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
36830         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
36831         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
36832         Add comment on closing #endif.
36834 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36836         * posix/wordexp.c (CHAR_IN_SET): New macro.
36837         (parse_param): Use it.
36839 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36841         * sysdeps/powerpc/fpu/libm-test-ulps: update.
36843 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36845         [BZ #18043]
36846         * posix/wordexp.c (parse_param): Fix buffer overflow.
36847         * posix/wordexp-test.c (test_case): Add test case.
36849 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36851         [BZ #18042]
36852         * posix/wordexp.c (parse_backtick): Fix off-by-one.
36853         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
36855 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36857         [BZ #18043]
36858         * posix/wordexp-test.c (test_case): Add test for BZ #18043
36859         (do_bz18043): Delete.
36860         (at_page_end): New.
36861         (testit): Refactor to have words at the edge of unreadable page.
36863 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36865         [BZ #16734]
36866         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
36867         Cleanup read-only streams as well.
36868         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
36870 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36872         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
36873         <bits/libc-lockP.h>
36875 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
36877         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
36878         on [__KERNEL__].
36879         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
36880         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
36881         * soft-fp/op-common.h (_FP_DECL): Likewise.
36883 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
36885         * elf/ifuncdep2.c (global): Replace
36886         __attribute__((visibility("protected"))) with
36887         asm (".protected global").
36888         * elf/ifuncmod1.c (global): Likewise.
36889         * elf/ifuncmod5.c (global): Likewise.
36891 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
36893         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
36894         <asm/sfp-machine.h> instead of <sfp-machine.h>.
36896 2015-03-06  Roland McGrath  <roland@hack.frob.com>
36898         * manual/install.texi (Configuring and compiling):
36899         Document test-wrapper-env-only.
36900         * INSTALL: Regenerated.
36902 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36904         [BZ #18043]
36905         * posix/wordexp.c (parse_param): Fix buffer overflow.
36906         * posix/wordexp-test.c (do_bz18043): Add test case.
36908 2015-03-06  Vincent Bernat  <vincent@bernat.im>
36910         * time/tst-strptime2.c (do_test): Ensure failing tests are
36911         reported correctly.
36912         * time/tst-strptime3.c (do_test): Likewise.
36914 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
36916         Fix aio_error thread-safety.
36917         * sysdeps/pthread/aio_error.c: New file
36918         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
36919         synchronization.
36921 2015-03-06  Florian Weimer  <fweimer@redhat.com>
36923         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
36924         (group_number, vfprintf): Use it.
36925         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
36926         (JUMP, REF): Use it.
36927         (WORK_BUFFER_SIZE): New enum constant.
36928         (process_arg, vfprintf): Use it.
36930 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
36932         * manual/errno.texi (Error Messages): Complete example function
36933         by adding missing #define.
36934         (program_invocation_name): Add statement indicating GNU
36935         extension and reference which header file declares the variable.
36936         (program_invocation_short_name): Likewise.
36938 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
36940         * manual/errno.texi (Error Messages): Delete strerror ISO C89
36941         compatibility note.
36943 2015-03-05  Roland McGrath  <roland@hack.frob.com>
36945         * Makeconfig (test-wrapper-env-only): New variable.
36946         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
36947         then use that with $(test-wrapper-env-only) rather than using
36948         $(test-wrapper-env) $(run-program-env) $($*-ENV).
36950 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36952         [BZ #18082]
36953         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
36954         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
36955         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
36956         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
36957         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
36958         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
36959         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
36960         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
36961         Likewise.
36962         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
36963         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
36964         Likewise.
36965         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
36966         Likewise.
36967         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
36968         Likewise.
36969         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
36970         Likewise.
36971         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
36972         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
36973         Likewise.
36974         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
36975         Likewise.
36976         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
36977         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
36979 2015-03-04  Roland McGrath  <roland@hack.frob.com>
36981         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
36982         (ETH_ALEN): New macro.
36983         (struct ether_addr): Use it for length of ether_addr_octet.
36985         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
36986         (setdb): Don't call __nss_configure_lookup for "rpc".
36987         (do_test): Don't call test_rpc.
36988         (output_rpcent, test_rpc): Functions moved ...
36989         * sunrpc/test-rpcent.c: ... to this new file.
36990         * sunrpc/Makefile (tests): Add it.
36992         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
36993         __xpg_sigpause.
36994         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
36995         * nptl/tst-signal6.c: Likewise.
36996         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
36997         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
36999         * configure.ac (libc_cv_cxx_link_ok): New check.
37000         Reset CXX to empty if it fails to link.
37001         * configure: Regenerated.
37002         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
37003         bug-atexit3-lib only if $(CXX) is nonempty.
37004         * nptl/Makefile (tests): Likewise for tst-cancel24.
37005         (tests, tests-static): Likewise for tst-cancel24-static.
37006         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
37007         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
37008         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
37009         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
37011 2015-03-04  Andreas Schwab  <schwab@suse.de>
37013         [BZ #17631]
37014         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
37015         for non-GCC compilers.
37016         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37017         Likewise.
37019 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37021         [BZ #17776]
37022         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
37023         integer before bitwise and assembly operations.
37024         (feclearexcept): Likewise.
37025         * math/test-fenvinline.c: New file.
37026         * math/Makefile: Add test-fenvinline test.
37028 2015-03-03  Alan Modra  <amodra@gmail.com>
37030         [BZ #16512]
37031         * scripts/localplt.awk: Strip off symbol version.
37032         * NEWS: Mention bug fix.
37034 2015-03-02  Roland McGrath  <roland@hack.frob.com>
37036         * sysdeps/pthread/timer_routines.c
37037         (timer_free_list, thread_free_list, thread_active_list): Make static.
37039 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
37041         [BZ #17779]
37042         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37043         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37044         Undefine.
37045         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37046         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37047         Likewise.
37048         * sysdeps/unix/sysv/linux/sh/kernel-features.h
37049         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37050         Likewise.
37052 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37054         [BZ #18036]
37055         * posix/fnmatch_loop.c (END): Detect invalid pattern.
37056         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
37058 2015-03-02  Andreas Schwab  <schwab@suse.de>
37060         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
37061         variable name.
37063 2015-03-02  Florian Weimer  <fweimer@redhat.com>
37065         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
37066         Return error status.
37068 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
37070         [BZ #15969]
37071         * locale/findlocale.c (_nl_find_locale): Introduce const
37072         version of loc_name and drop unsafe type casts.
37074 2015-02-27  Roland McGrath  <roland@hack.frob.com>
37076         * dlfcn/tststatic2.c (main): Converted to ...
37077         (do_test): ... this.
37078         (TEST_FUNCTION): New macro.
37079         Include test-skeleton.c.
37081 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
37083         [BZ #17711]
37084         * elf/Makefile (tests): Add vismain only if PIE is enabled.
37085         (tests-pie): Add vismain.
37086         (CFLAGS-vismain.c): New.
37087         * elf/vismain.c: Add comments for PIE requirement.
37089 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37091         [BZ #18046]
37092         [BZ #18047]
37093         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
37094         0x1p-56L as threshold for just returning the argument.
37095         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
37096         0x1p-32L as threshold for just returning the argument.
37097         * math/auto-libm-test-in: Add more tests of atanh.
37098         * math/auto-libm-test-out: Regenerated.
37099         * sysdeps/i386/fpu/libm-test-ulps: Update.
37100         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
37102 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37104         * string/bcopy.c (bcopy): Call memmove for performance.
37106 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37108         * string/bzero.c (__bzero): Call memset for performance.
37110 2015-02-27  John David Anglin  <dave.anglin@bell.net>
37112         [BZ #18068]
37113         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
37114         to 00100000.
37116 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37118         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
37120 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37122         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
37123         (__kernel_standard): Use CSTR macro when setting exc.name.
37124         * sysdeps/ieee754/Makefile [$(subdir) = math]
37125         (CFLAGS-k_standard.c): Remove variable.
37127         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
37128         setting p and q from "else if" to "else".
37129         (qzero): Likewise.
37130         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
37131         (qone): Likewise.
37132         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
37133         (qzerof): Likewise.
37134         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
37135         (qonef): Likewise.
37136         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
37137         (qzero): Likewise.
37138         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
37139         (qone): Likewise.
37141         [BZ #18038]
37142         [BZ #18039]
37143         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
37144         return pi/2 for arguments below 0x1p-113L.
37145         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
37146         return pi/2 for arguments below 0x1p-106L.
37147         * math/auto-libm-test-in: Add more tests of acos.
37148         * math/auto-libm-test-out: Regenerated.
37150         [BZ #16351]
37151         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
37152         (MO): New macro.
37153         (__ieee754_asin): Force underflow exception for results with small
37154         absolute value.
37155         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
37156         (MO): New macro.
37157         (__ieee754_asinf): Force underflow exception for results with
37158         small absolute value.
37159         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
37160         (__ieee754_asin): Force underflow exception for results with small
37161         absolute value.
37162         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
37163         (__ieee754_asinf): Force underflow exception for results with
37164         small absolute value.
37165         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
37166         (__ieee754_asinl): Force underflow exception for results with
37167         small absolute value.
37168         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
37169         (__ieee754_asinl): Force underflow exception for results with
37170         small absolute value.
37171         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
37172         (__ieee754_asinl): Force underflow exception for results with
37173         small absolute value.
37174         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
37175         Include <math.h>.
37176         * math/auto-libm-test-in: Do not mark underflow exceptions as
37177         possibly missing for bug 16351.
37178         * math/auto-libm-test-out: Regenerated.
37180         [BZ #18030]
37181         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
37182         of power of 2 down when low part has opposite sign.
37183         * math/libm-test.inc (logb_test_data): Add more tests.
37185 2015-02-26  Andreas Schwab  <schwab@suse.de>
37187         [BZ #18032]
37188         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
37189         over collating symbol inside a bracket expression.  Minor cleanup.
37190         * posix/tst-fnmatch3.c (do_test): Add test case.
37192 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37194         [BZ #18029]
37195         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
37196         Adjust exponent of power of 2 down when low part has opposite
37197         sign.
37198         * math/libm-test.inc (ilogb_test_data): Add more tests.
37200 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
37202         [BZ #15969]
37203         * locale/findlocale.c (_nl_find_locale): Fix constness error in
37204         the previous change.
37206         [BZ #15969]
37207         * locale/findlocale.c (_nl_find_locale): Retry archive search
37208         after alias expansion.
37210 2015-02-25  Roland McGrath  <roland@hack.frob.com>
37212         * iconv/tst-iconv3.c (main): Converted to ...
37213         (do_test): ... this.
37214         (TEST_FUNCTION): New macro.
37215         Include test-skeleton.c.
37217         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
37218         (convert): Make function static.
37219         (test_unalign): Likewise.  Add const to argument pointee types.
37220         (main): Replace with static function do_test.
37221         Print "Succeeded." only if RET is zero.
37222         (TEST_FUNCTION): New macro.
37223         Include test-skeleton.c.
37225         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
37226         returns a null pointer.
37228 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37230         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
37231         to __memcpy_ppc only for static builds.
37233 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
37235         [BZ #18020]
37236         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
37237         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
37238         * math/auto-libm-test-in: Add more tests of asinh.
37239         * math/auto-libm-test-out: Regenerated.
37240         * sysdeps/i386/fpu/libm-test-ulps: Update.
37241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37243 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
37245         [BZ #15850]
37246         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
37247         and ip6_mtuinfo definitions here.
37248         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
37249         in this define too.  Update comment.
37251 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
37253         * elf/sprof.c (load_shobj): Tweak error message to match others.
37255 2015-02-24  Kevin Easton  <kevin@guarana.org>
37257         [BZ #16145] (partial fix)
37258         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
37259         to reduce lock contention.
37261 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
37263         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
37264         (struct timex): Update time comment.
37265         (ADJ_SETOFFSET): Define.
37267 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37269         [BZ #18019]
37270         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37271         2**56 not 2**28 as threshold for log (2x) formula.
37272         * math/auto-libm-test-in: Add more tests of acosh.
37273         * math/auto-libm-test-out: Regenerated.
37274         * sysdeps/i386/fpu/libm-test-ulps: Update.
37275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37277 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37279         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
37280         parenthesis around the buf assignment.
37281         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
37283 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37285         [BZ #16783]
37286         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
37287         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
37288         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
37289         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37290         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37291         * math/libm-test.inc (scalb_test_data): Add more tests.
37293 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37295         [BZ #17916]
37296         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
37297         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
37299 2015-02-24  Eric Rannaud  <e@nanocritical.com>
37301         [BZ #17523]
37302         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
37303         * io/bits/fcntl2.h (open): Use it.
37304         (openat): Likewise.
37305         * io/open.c (__libc_open): Likewise.
37306         * io/open64.c (__libc_open64): Likewise.
37307         * io/open64_2.c (__open64_2): Likewise.
37308         * io/open_2.c (__open_2): Likewise.
37309         * io/openat.c (__openat): Likewise.
37310         * io/openat64.c (__openat64): Likewise.
37311         * io/openat64_2.c (__openat64_2): Likewise.
37312         * io/openat_2.c (__openat_2): Likewise.
37313         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
37314         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
37315         * sysdeps/posix/open64.c (__libc_open64): Likewise.
37316         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
37317         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
37318         (__open_nocancel): Likewise.
37319         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
37320         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
37321         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
37323 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37325         [BZ #14841]
37326         * resolv/gethnamaddr.c (getanswer): Skip logging if
37327         RES_USE_DNSSEC is set.
37328         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37330 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37332         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
37334 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
37336         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
37337         201304L, for Unicode 7.
37339 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
37341         [BZ #17836]
37342         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
37343         shared library.  Add gmon-start.os otherwise.
37344         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
37345         $(objpfx)gmon-start.os if builing shared library.
37346         ($(objpfx)g$(static-start-installed-name)): Likewise.
37348 2015-02-23  Andreas Schwab  <schwab@suse.de>
37350         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
37352 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37354         [BZ #17269]
37355         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
37356         (enlarge_userbuf): Likewise.
37358 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
37360         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
37361         * math/atest-exp.c (TIMEOUT): Adjust to 200.
37362         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
37363         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
37365 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
37367         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
37368         expression inside statement expression.
37370 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37372         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
37373         <sysdeps/nptl/lowlevellock.h> and remove macros and
37374         functions that are now defined there.
37375         (SYS_futex): Remove.
37376         (lll_compare_and_swap): Remove.
37377         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
37379 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
37381         [BZ #17999]
37382         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
37383         instead of scandirat.
37384         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
37385         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
37386         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
37387         __scandirat.
37388         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
37389         (__scandirat): Declare.  Use libc_hidden_proto.
37390         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
37391         Remove variable.
37392         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37394 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37396         [BZ #15319]
37397         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
37398         (MO): New macro.
37399         (__ieee754_atan2): For results with small absolute value, force
37400         underflow exception and remove excess range and precision from
37401         return value.
37402         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
37403         (MO): New macro.
37404         (__ieee754_atan2f): For results with small absolute value, force
37405         underflow exception and remove excess range and precision from
37406         return value.
37407         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
37408         (MO): New macro.
37409         (__atan): For results with small absolute value, force underflow
37410         exception and remove excess range and precision from return value.
37411         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
37412         (MO): New macro.
37413         (__atanf): For results with small absolute value, force underflow
37414         exception and remove excess range and precision from return value.
37415         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
37416         <math.h>.
37417         (__ieee754_atan2): Force underflow exception for results with
37418         small absolute value.
37419         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
37420         <math_private.h>.
37421         (atan): Force underflow exception for results with small absolute
37422         value.
37423         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
37424         (__atanf): Force underflow exception for results with small
37425         absolute value.
37426         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
37427         <math.h>.
37428         (__atanl): Force underflow exception for results with small
37429         absolute value.
37430         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
37431         (__atanl): Force underflow exception for results with small
37432         absolute value.
37433         * sysdeps/x86/fpu/bits/mathinline.h
37434         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
37435         (__ieee754_atan2): Only define inline for long double.
37436         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
37437         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
37438         * math/auto-libm-test-in: Do not mark underflow exceptions as
37439         possibly missing for bug 15319.  Add more tests of atan2.
37440         * math/auto-libm-test-out: Regenerated.
37441         * math/libm-test.inc (casin_test_data): Do not mark underflow
37442         exceptions as possibly missing for bug 15319.
37443         (casinh_test_data): Likewise.
37444         * sysdeps/i386/fpu/libm-test-ulps: Update.
37446 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
37448         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
37449         * sysdeps/mips/bits/endian.h: Fix comments.
37451 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37453         [BZ #17996]
37454         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
37455         (hdestroy_r): Likewise.
37456         (hsearch_r): Likewise.
37457         (__hcreate_r): Declare and use libc_hidden_proto.
37458         (__hdestroy_r): Likewise.
37459         (__hsearch_r): Likewise.
37460         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
37461         (hcreate): Call __hcreate_r instead of hcreate_r.
37462         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
37463         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
37464         as weak alias of __hcreate_r.
37465         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
37466         __hdestroy_r.
37467         (hsearch_r): Rename to __hsearch_r and define as weak alias of
37468         __hsearch_r.
37469         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
37470         Remove variable.
37471         (test-xfail-XPG4/search.h/linknamespace): Likewise.
37472         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37473         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37474         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37476 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37478         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
37479         arena_lock into a single arena_get.
37481 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
37483         * dl-reloc.c: Inlucde libc-internal.h.
37484         (_dl_try_allocate_static_tls): Call ALIGN_UP.
37485         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
37486         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
37487         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
37488         (grow_heap): Likewise.
37489         * malloc/malloc.c: Include libc-internal.h.
37490         (do_check_malloc): Call powerof2.
37491         (sysmalloc): Use pagesize. Call ALIGN_UP.
37492         (systrim): Use pagesize.
37493         (mremap_chunk): Use pagesize. Call ALIGN_UP.
37494         (__libc_valloc): Use pagesize.
37495         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
37497 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
37499         [BZ #17991]
37500         * include/sys/resource.h (__getrlimit64): Declare.  Use
37501         libc_hidden_proto.
37502         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
37503         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
37504         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
37505         getrlimit64.
37506         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
37507         __getrlimit64.
37508         [!getrlimit64] (getrlimit64): Define as weak alias of
37509         __getrlimit64.  Use libc_hidden_weak.
37510         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
37511         using __getrlimit64 not __new_getrlimit64.
37512         (__GI_getrlimit64): Likewise.
37513         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
37514         Likewise.
37515         (__GI_getrlimit64): Likewise.
37516         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
37517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
37518         (getrlimit): Add __getrlimit64 alias.
37519         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
37520         Likewise.
37521         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
37522         Remove variable.
37523         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37524         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37526 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
37528         * libio/fileops.c: Add missing sys/mman.h
37529         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
37531 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
37533         * manual/math.texi (Errors in Math Functions): Clarify goals
37534         regarding inexact and underflow exceptions.
37536 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
37538         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
37539         * sysdeps/mips/memset.S: Ditto.
37541 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
37543         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
37545 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37547         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
37548         (__v1longjmp): Remove versioned symbol.
37549         (__v1siglongjmp): Remove alias and versioned symbol.
37550         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
37551         (__v2siglongjmp): Likewise.
37553 2015-02-16  Torvald Riegel  <triegel@redhat.com>
37555         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
37557 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
37559         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
37561 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
37563         [BZ #17987]
37564         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
37565         zero result does not depend on the sign resulting from
37566         subtraction.
37567         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37568         Likewise.
37569         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37570         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37571         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37572         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37573         * math/libm-test.inc (remquo_test_data): Add more tests.
37575 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
37577         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
37578         Problem reported by J William Piggott.
37580 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
37582         [BZ #17978]
37583         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
37584         products 4 * y and 2 * y where those would overflow.
37585         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37586         Likewise.
37587         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37588         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37589         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37590         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37591         * math/libm-test.inc (remquo_test_data): Add more tests.
37593         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
37595         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
37596         [defined _COMPILING_NEWLIB].
37597         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
37598         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
37600         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
37601         [!defined __mips_isa_rev || __mips_isa_rev < 6].
37603 2015-02-16  Torvald Riegel  <triegel@redhat.com>
37605         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
37606         acquired.
37608 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
37610         [BZ #17792]
37611         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
37612         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
37613         HOST_STACK_END_ADDR): Likewise.
37615 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
37617         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
37618         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
37619         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
37621 2015-02-13  Roland McGrath  <roland@hack.frob.com>
37623         * sysdeps/generic/c++-types.data: New file.
37624         * sysdeps/generic/ld.abilist: New file.
37625         * sysdeps/generic/libBrokenLocale.abilist: New file.
37626         * sysdeps/generic/libanl.abilist: New file.
37627         * sysdeps/generic/libc.abilist: New file.
37628         * sysdeps/generic/libcrypt.abilist: New file.
37629         * sysdeps/generic/libdl.abilist: New file.
37630         * sysdeps/generic/libm.abilist: New file.
37631         * sysdeps/generic/libpthread.abilist: New file.
37632         * sysdeps/generic/libresolv.abilist: New file.
37633         * sysdeps/generic/librt.abilist: New file.
37635 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
37637         [BZ #17569]
37638         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37639         Compute absolute value of x as modified by fmod, not original
37640         value of x.
37641         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
37642         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
37643         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
37644         RUN_TEST_ffI_f1_mod8.
37645         (remquo_test_data): Add more tests.
37647 2015-02-13  Roland McGrath  <roland@hack.frob.com>
37649         * sysdeps/init_array/pt-crti.S: New file.
37651 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
37653         [BZ #17967]
37654         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
37655         __builtin_fmaf instead of relying on contraction of a * b + c.
37657 2015-02-12  J William Piggott  <elseifthen@gmx.com>
37659         [BZ #17969]
37660         * manual/time.texi: correct the zoneinfo path in the TZ Variable
37661         node.
37663 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
37665         [BZ #17964]
37666         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
37667         __builtin_fma instead of relying on contraction of a * b + c.
37669 2015-02-12  Roland McGrath  <roland@hack.frob.com>
37671         * Makeconfig (ASFLAGS): Add -Werror=undef.
37672         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
37673         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
37674         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
37676         * Makeconfig (after-link): New variable.
37677         (+link-pie, +link-pie-tests): Use it.
37678         (+link-static, +link-static-tests): Likewise.
37679         (+link, +link-tests): Likewise.
37680         * Makerules (build-module, build-module-asneeded): Likewise.
37681         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
37682         Likewise.
37683         * elf/Makefile ($(objpfx)ld.so): Likewise.
37685 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
37687         [BZ #17965]
37688         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
37689         both struct timeval and struct timespec.
37691 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
37693         [BZ #16560]
37694         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37695         and redefine.
37696         (__ieee754_exp2l): Do not multiply small fractional parts by
37697         M_LN2l.
37698         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
37699         small argument.
37700         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37701         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
37702         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
37703         * math/auto-libm-test-in: Add more tests of exp2.
37704         * math/auto-libm-test-out: Regenerated.
37706 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37708         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
37709         unaligned path.
37711 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37713         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
37714         little endian.
37716 2015-02-12  Andreas Schwab  <schwab@suse.de>
37718         [BZ #15790]
37719         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
37720         Filter out elision flags from value returned in kind.
37721         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
37722         * nptl/tst-pthread-mutexattr.c: New file.
37724 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37726         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
37727         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
37728         into gnu-gnu, and update comment to refer to abi-tags.
37730 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
37732         [BZ #15467]
37733         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
37734         (__sincos): Set errno to EDOM for infinite argument.
37735         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
37736         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
37737         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
37738         (__sincosl): Set errno to EDOM for infinite argument.
37739         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
37740         (__sincosl): Set errno to EDOM for infinite argument.
37741         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
37742         (__sincosl): Set errno to EDOM for infinite argument.
37743         * math/libm-test.inc (sincos_test_data): Test errno setting.
37745 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
37747         * string/strxfrm_l.c: Remove #define STRCMP.
37748         * string/strcoll_l.c: Remove #define STRLEN.
37749         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
37750         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
37752 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
37754         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
37755         * sysdeps/mips/mips32/sfp-machine.h: ... here.
37756         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
37757         * sysdeps/mips/mips64/Makefile: ... here.
37758         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
37759         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
37760         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
37761         * sysdeps/mips/mips64/sfp-machine.h: ... here.
37762         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
37763         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
37764         * sysdeps/mips/mips64/n64/Implies: Likewise.
37766 2015-02-10  Roland McGrath  <roland@hack.frob.com>
37768         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
37769         <sys/time.h>, <string.h>, and <errno.h>.
37770         (dest_offset, dest_address, value, zero): Remove unused variables.
37771         (ldouble): Remove typedef.
37772         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
37773         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
37774         1).  Fix code style.
37775         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
37776         (check): Function removed.
37777         (CHECK): New macro.
37778         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
37779         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
37780         Don't call set_sigaction_FP and remove_sigaction_FP here.
37781         (ldouble_test): Just use 'long double' as macro argument, no need for
37782         the 'ldouble' typedef.
37783         (do_test): Set up SIGFPE handler at start, using plain signal rather
37784         than sigaction.  Fix code style.
37786 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
37788         [BZ #17949]
37789         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
37790         jump label.
37792 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37794         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
37795         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37797         * sysdeps/powerpc/configure.ac: Remove file.
37798         * sysdeps/powerpc/configure: Likewise.
37800         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
37801         [sysdep_routines]: Remove wordcopy-power6 object.
37802         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37803         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
37804         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
37805         (__memmove_ppc32): Likewise.
37806         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
37807         file.
37808         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
37809         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
37810         Remove preprocessor.
37812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
37813         [sysdep_routines]: Remove wide chars objects.
37814         [wcsmbs]: New rule for wide char objects.
37816         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37817         Remove wordcopy-power6 obejct.
37818         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
37819         Use local call for wordcopy and memcpy symbols.
37820         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
37821         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
37822         implementation for loader.
37823         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
37825         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37826         Remove wordcopy-power7 object.
37827         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
37828         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
37829         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
37830         (_wordcopy_fwd_dest_aligned): Likewise.
37831         (_wordcopy_bwd_aligned): Likewise.
37832         (_wordcopy_bwd_dest_aligned): Likewise.
37834         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
37835         Rewrite to call __memmove_ppc instead of include default
37836         implementation.
37838         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37839         Remove wide chars objects.
37840         [wcsmbs]: New rule for wide char objects.
37842 2015-02-09  Andreas Schwab  <schwab@suse.de>
37844         [BZ #17912]
37845         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37846         in terms of __O_DIRECTORY.
37848 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37850         * time/getdate.c: Include <stdbool.h>.
37851         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
37852         call PTR_MANGLE.
37853         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
37854         PTR_DEMANGLE.
37856 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
37858         Add ersatz _Static_assert on older C hosts
37859         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
37860         pre-C11 C platform that is not known to support _Static_assert.
37862 2015-02-07  Richard Braun  <rbraun@sceen.net>
37864         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
37865         sigstate.
37866         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
37868 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37870         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
37871         priority against unexistent AIO_PRIO_DELTA_MAX.
37872         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
37873         instead of int.
37874         * misc/fchflags.c (fchflags): Likewise.
37875         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
37876         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
37877         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
37878         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
37879         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
37880         Declare macros.
37881         [__USE_MISC] (chflags, fchflags): Declare functions.
37882         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
37883         EINVAL when nfds is greater than FD_SETSIZE.
37884         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
37885         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
37886         45.
37887         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
37888         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
37889         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
37890         MACH_RCV_TIMED_OUT.
37891         * hurd/hurd/signal.h (_hurd_self_sigstate,
37892         _hurd_critical_section_lock, _hurd_critical_section_unlock):
37893         Explicit casts from void *.
37894         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
37895         * abi-tags: Rename gnu-gnu os into gnu.
37897         [BZ #4719]
37898         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
37899         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
37900         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
37901         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
37902         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
37903         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
37905         [BZ #17944]
37906         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
37907         duplicates ADDR->sun_path with sockaddr LEN limitation.
37908         * sysdeps/mach/hurd/connect.c: Include <string.h>
37909         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
37910         * sysdeps/mach/hurd/sendmsg.c: Likewise.
37911         * sysdeps/mach/hurd/sendto.c: Likewise.
37912         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
37913         implementing it by hand.
37915 2015-02-06  Roland McGrath  <roland@hack.frob.com>
37917         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
37918         Use sfi_breg on ldr.
37919         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
37920         Likewise.
37922         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
37923         it's defined.
37924         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
37925         Test SIGSETXID only if it's defined.
37927         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
37929         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
37930         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
37932         * nptl/tst-align2.c: Moved ...
37933         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
37934         * nptl/Makefile (tests): Remove tst-align2.
37935         * sysdeps/unix/sysv/linux/Makefile
37936         [$(subdir) = nptl] (tests): Add tst-align-clone.
37937         * nptl/tst-getpid1.c: Moved ...
37938         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
37939         * nptl/tst-getpid2.c: Moved ...
37940         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
37941         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
37942         * sysdeps/unix/sysv/linux/Makefile
37943         [$(subdir) = nptl] (tests): ... here.
37944         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
37945         * sysdeps/unix/sysv/linux/Makefile
37946         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
37948         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
37949         Drop trailing \n from perror argument.  Use return rather than exit.
37951         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
37952         on [SA_SIGINFO].
37953         * nptl/tst-cancel21.c (do_test): Likewise.
37954         * debug/tst-backtrace6.c: Include <signal.h> first thing.
37955         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
37956         [!SA_SIGINFO]: Make it a stub test.
37958         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
37959         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
37961         * posix/tst-getlogin.c: Move to ...
37962         * login/tst-getlogin.c: ... here.
37963         * posix/Makefile (tests): Move tst-getlogin to ...
37964         * login/Makefile (tests): ... here.
37966         * libio/tst-atime.c (do_test): Move local variables SV and E
37967         inside [ST_NOATIME] conditional.
37969         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
37971         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
37973         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
37974         (wait_code): New function replaces macro.
37975         Call nanosleep rather than syscall.
37977         * nptl/pt-system.c: Rewritten.  Put everything under
37978         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37979         Use IFUNC to redirect when possible.
37981         * nptl/pt-longjmp.c: Rewritten.  Put everything under
37982         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37983         Use IFUNC to redirect when possible.
37985         * nptl/pt-fork.c: Rewritten.  Put everything under
37986         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37987         Use IFUNC to redirect when possible.
37988         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
37990         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
37991         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
37992         unconditionally nowadays.  This included the only reference to
37993         __vdso_clock_gettime that appears outside libc proper.
37994         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
37995         Remove version set (containing only __vdso_clock_gettime).
37996         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37997         Add attribute_hidden.
37998         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37999         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
38000         libc_hidden_data_def.
38001         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38002         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38004         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
38005         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
38006         setrpcent, and getrpcport to ...
38007         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
38008         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
38009         getrpcbynumber_r, and getrpcent_r to ...
38010         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
38011         * inet/getrpcbyname.c: Moved ...
38012         * sunrpc/getrpcbyname.c: ... here.
38013         * inet/getrpcbyname_r.c: Moved ...
38014         * sunrpc/getrpcbyname_r.c: ... here.
38015         * inet/getrpcbynumber.c: Moved ...
38016         * sunrpc/getrpcbynumber.c: ... here.
38017         * inet/getrpcbynumber_r.c: Moved ...
38018         * sunrpc/getrpcbynumber_r.c: ... here.
38019         * inet/getrpcent.c: Moved ...
38020         * sunrpc/getrpcent.c: ... here.
38021         * inet/getrpcent_r.c: Moved ...
38022         * sunrpc/getrpcent_r.c: ... here.
38023         * inet/Makefile (routines): Move those to ...
38024         * sunrpc/Makefile (routines): ... here.
38025         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
38026         the $(subdirs) list.
38027         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
38028         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
38029         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
38030         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
38032         * elf/Makefile (routines): Include $(all-dl-routines), not just
38033         $(dl-routines).
38034         (rtld-routines): Likewise.  Use = rather than :=.
38035         * sysdeps/aarch64/Makefile [$(subdir) = elf]
38036         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
38037         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
38038         * sysdeps/arm/Makefile: Likewise.
38039         * sysdeps/i386/Makefile: Likewise.
38040         * sysdeps/x86_64/Makefile: Likewise.
38041         * sysdeps/hppa/Makefile [$(subdir) = elf]
38042         (sysdep_routines, sysdep-rtld-routines): Don't add
38043         $(sysdep-dl-routines) to these.
38044         * sysdeps/ia64/Makefile: Likewise.
38045         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
38046         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
38047         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
38048         Don't add dl-static to these; sysdep-dl-routines alone is enough.
38049         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
38050         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
38051         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
38052         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
38053         * sysdeps/powerpc/Makefile [$(subdir) = elf]
38054         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
38055         these; sysdep-dl-routines alone is enough.
38057 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
38059         [BZ #17932]
38060         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
38061         where multiplication results in zero and third argument is finite
38062         and nonzero.
38063         * math/auto-libm-test-in: Add more tests of fma.
38064         * math/auto-libm-test-out: Regenerated.
38066         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
38067         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
38068         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
38069         (_FP_CMP_EQ): Likewise.
38070         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
38072         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
38073         extra argument CHECK_NAN.  Redefine as wrapper around
38074         _FP_EXTEND_CNAN.
38076 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
38078         * version.h (RELEASE): Set to "stable".
38079         (VERSION): Set to "2.21"
38080         * include/features.h (__GLIBC_MINOR__): Set to 21.
38082         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
38084 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38085             Paul Eggert  <eggert@cs.ucla.edu>
38087         [BZ #16618]
38088         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
38089         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
38090         size in bytes. Store needed elements in wpmax. Use needed size
38091         in bytes for extend_alloca.
38093 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
38095         * manual/install.texi: Latest tested versions are GCC 4.9.2,
38096         binutls 2.25, and texinfo 5.2.
38097         * INSTALL: Regenerate.
38098         * sysdeps/nios2/configure: Regenerate.
38099         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
38100         * manual/contrib.texi: Update.
38101         * po/be.po: Update.
38102         * po/bg.po: Update.
38103         * po/ca.po: Update.
38104         * po/cs.po: Update.
38105         * po/da.po: Update.
38106         * po/de.po: Update.
38107         * po/el.po: Update.
38108         * po/eo.po: Update.
38109         * po/es.po: Update.
38110         * po/fi.po: Update.
38111         * po/fr.po: Update.
38112         * po/gl.po: Update.
38113         * po/hr.po: Update.
38114         * po/hu.po: Update.
38115         * po/ia.po: Update.
38116         * po/id.po: Update.
38117         * po/it.po: Update.
38118         * po/ja.po: Update.
38119         * po/ko.po: Update.
38120         * po/lt.po: Update.
38121         * po/nb.po: Update.
38122         * po/nl.po: Update.
38123         * po/pl.po: Update.
38124         * po/pt_BR.po: Update.
38125         * po/ru.po: Update.
38126         * po/rw.po: Update.
38127         * po/sk.po: Update.
38128         * po/sl.po: Update.
38129         * po/sv.po: Update.
38130         * po/tr.po: Update.
38131         * po/uk.po: Update.
38132         * po/vi.po: Update.
38133         * po/zh_CN.po: Update.
38134         * po/zh_TW.po: Update.
38136         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
38137         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
38138         * sysdeps/hppa/dl-irel.h: Remove #warning.
38139         * sysdeps/hppa/entry.h: Provide prototype for
38140         __canonicalize_funcptr_for_compare and cast argument.
38141         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
38142         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
38143         * sysdeps/hppa/sotruss-lib.c: New file.
38144         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
38145         (atomic_compare_and_exchange_val_acq): Use __typeof__.
38146         (atomic_compare_and_exchange_bool_acq): Likewise.
38147         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
38148         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
38150         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
38151         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
38152         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
38154 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
38156         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
38157         called function in non-PIC case.
38159 2015-01-31  David S. Miller  <davem@davemloft.net>
38161         * sysdeps/sparc/sparc32/bits/atomic.h
38162         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
38163         unlock not after it.
38164         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
38165         volatile register usage warnings from the compiler.
38167         * sysdeps/sparc/nptl/sem_init.c: Delete.
38168         * sysdeps/sparc/nptl/sem_post.c: Delete.
38169         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
38170         * sysdeps/sparc/nptl/sem_wait.c: Delete.
38171         * sysdeps/sparc/sparc32/sem_init.c: New file.
38172         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
38173         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
38174         padding explicitly initialized.
38175         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
38176         padding for in-semaphore spinlock.
38177         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
38178         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
38179         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
38180         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
38181         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
38182         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
38183         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
38184         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
38185         version.
38186         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
38187         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
38189 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
38191         [BZ #17801]
38192         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38193         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
38194         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
38195         New.
38196         (index_AVX_Fast_Unaligned_Load): Likewise.
38197         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
38198         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
38199         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
38200         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
38201         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
38202         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
38203         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
38204         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
38205         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
38207 2015-01-29  Andreas Schwab  <schwab@suse.de>
38209         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
38211 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
38213         [BZ #17892]
38214         * nscd/nscd_stat.c (send_stats): Initialize DATA.
38216 2015-01-28  Martin Sebor  <msebor@redhat.com>
38218         * math/README.libm-test: Clarify. Add "How to read the test output."
38220 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
38222         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
38223         Define to 0.
38225 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
38227         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
38228         (__HAVE_64B_ATOMICS): Define to 0.
38230 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38232         [BZ #17885]
38233         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
38234         value to set as new flag.
38236         [BZ #16576]
38237         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
38238         and use _ARCH_PPCSQ instead.
38239         (__ieee754_sqrt): Likewise.
38240         (__ieee754_sqrtf): Likewise.
38241         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
38242         _ARCH_PPCSQ is defined.
38243         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
38244         fsqrt instruction.
38245         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
38246         _ARCH_PPCSQ is defined.
38247         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
38248         fsqrts instruction.
38249         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
38251 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38253         * iconv/loop.c: Suppress array out of bound warning caused by GCC
38254         bug (GCC BZ #64739).
38256 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
38258         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
38259         Mark _retval as used.
38260         (lll_futex_wake_unlock): Likewise.
38261         (lll_futex_timed_wait_requeue_pi): Likewise.
38263         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38264         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
38265         register variables.
38267         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
38268         libm_hidden_def.
38270         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
38271         (__bswap_64): Mark as __always_inline.
38273 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
38275         [BZ #15378]
38276         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
38277         when none of the search directories exist.
38279 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38281         [BZ #17869]
38282         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
38283         power8 in .machine directive.
38285         [BZ #17868]
38286         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
38287         set dependency from opd value.
38289 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38292         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
38293         architecture.
38295 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38297         [BZ #17870]
38298         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
38299         with uint64_t.
38300         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
38301         (uint64_t) 1.
38302         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
38303         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
38304         Replace 1UL with (uint64_t) 1.
38305         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
38306         int with uint64_t.
38308 2015-01-23  Roland McGrath  <roland@hack.frob.com>
38310         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
38311         (if_freenameindex): Likewise.
38313         * resource/getrlimit64.c: Add missing libc_hidden_def.
38315 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
38317         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
38318         __label__.
38319         (_FP_FMA): Likewise.
38320         (_FP_TO_INT_ROUND): Likewise.
38321         (_FP_FROM_INT): Likewise.
38323 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38325         [BZ #16418]
38326         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
38327         Make code racy and cancel safe.
38329 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
38331         * sysdeps/arm/unwind-resume.h: Fix copyright year.
38332         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
38333         attribution.
38335         * pwd/tst-getpw.c: Rewrite.
38337         [BZ #17702]
38338         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
38339         (modules-names): Add moddummy1 and moddummy2.
38340         ($(objpfx)tst-rec-dlopen): Define.
38341         * dlfcn/moddummy1.c: New file.
38342         * dlfcn/moddummy2.c: New file.
38343         * dlfcn/tst-rec-dlopen.c: New file.
38344         * elf/dl-cache.c (_dl_load_cache_lookup):
38345         Return char*. Copy result with alloca/strcpy/strdup.
38346         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
38347         returns char*. Free cached. If not saving realname
38348         free cached.
38349         * elf/dl-open.c (dl_open_worker): Do not assert that
38350         _r_debug->r_state is RT_CONSISTENT.
38351         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
38352         returns char*.
38354 2015-01-21  Torvald Riegel  <triegel@redhat.com>
38355             Carlos O'Donell  <carlos@redhat.com>
38357         [BZ #12674]
38358         * nptl/sem_waitcommon.c: New file.
38359         * nptl/sem_wait.c: Include sem_waitcommon.c.
38360         (__sem_wait_cleanup, do_futex_wait): Remove.
38361         (__new_sem_wait): Adapt.
38362         (__new_sem_trywait): New function.
38363         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
38364         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
38365         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
38366         (sem_timedwait): Adapt.
38367         * nptl/sem_post.c (__new_sem_post): Adapt.
38368         (futex_wake): New function.
38369         (__old_sem_post): Add release MO fence.
38370         * nptl/sem_open.c (sem_open): Adapt.
38371         * nptl/sem_init.c (__new_sem_init): Adapt.
38372         (futex_private_if_supported): New function.
38373         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
38374         (__old_sem_getvalue): Add using previous code.
38375         * sysdeps/nptl/internaltypes.h: Adapt.
38376         * nptl/tst-sem13.c (do_test): Adapt.
38377         * nptl/tst-sem11.c (main): Adapt.
38378         * nptl/sem_trywait.c: Remove.
38379         * nptl/DESIGN-sem.txt: Remove.
38380         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
38381         (gen-as-const-headers): Remove structsem.sym.
38382         * nptl/structsem.sym: Remove.
38383         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
38384         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
38385         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
38386         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
38387         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
38388         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
38389         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
38390         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
38391         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
38392         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
38393         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
38394         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
38395         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
38396         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
38397         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
38398         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
38399         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
38400         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
38401         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
38402         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
38403         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
38404         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
38406 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
38408         * INSTALL: Regenerated.
38410         * po/libc.pot: Regenerated.
38412 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
38413             Sandra Loosemore  <sandra@codesourcery.com>
38414             Andrew Jenner  <andrew@codesourcery.com>
38415             Joseph Myers  <joseph@codesourcery.com>
38416             Nathan Sidwell  <nathan@codesourcery.com>
38418         * NEWS: Mention new Nios II port.
38419         * sysdeps/nios2/Implies: New file.
38420         * sysdeps/nios2/Makefile: New file.
38421         * sysdeps/nios2/Subdirs: New file.
38422         * sysdeps/nios2/Versions: New file.
38423         * sysdeps/nios2/__longjmp.S: New file.
38424         * sysdeps/nios2/abort-instr.h: New file.
38425         * sysdeps/nios2/backtrace.c: New file.
38426         * sysdeps/nios2/bits/endian.h: New file.
38427         * sysdeps/nios2/bits/fenv.h: New file.
38428         * sysdeps/nios2/bits/link.h: New file.
38429         * sysdeps/nios2/bits/setjmp.h: New file.
38430         * sysdeps/nios2/bsd-_setjmp.S: New file.
38431         * sysdeps/nios2/bsd-setjmp.S: New file.
38432         * sysdeps/nios2/configure: New generated file.
38433         * sysdeps/nios2/configure.ac: New file.
38434         * sysdeps/nios2/crti.S: New file.
38435         * sysdeps/nios2/crtn.S: New file.
38436         * sysdeps/nios2/dl-init.c: New file.
38437         * sysdeps/nios2/dl-machine.h: New file.
38438         * sysdeps/nios2/dl-sysdep.h: New file.
38439         * sysdeps/nios2/dl-tls.h: New file.
38440         * sysdeps/nios2/dl-trampoline.S: New file.
38441         * sysdeps/nios2/gccframe.h: New file.
38442         * sysdeps/nios2/gmp-mparam.h: New file.
38443         * sysdeps/nios2/jmpbuf-offsets.h: New file.
38444         * sysdeps/nios2/jmpbuf-unwind.h: New file.
38445         * sysdeps/nios2/ldsodefs.h: New file.
38446         * sysdeps/nios2/libc-tls.c: New file.
38447         * sysdeps/nios2/libm-test-ulps: New file.
38448         * sysdeps/nios2/machine-gmon.h: New file.
38449         * sysdeps/nios2/math-tests.h: New file.
38450         * sysdeps/nios2/math_private.h: New file.
38451         * sysdeps/nios2/memusage.h: New file.
38452         * sysdeps/nios2/nptl/Makefile: New file.
38453         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
38454         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
38455         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
38456         * sysdeps/nios2/nptl/pthreaddef.h: New file.
38457         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
38458         * sysdeps/nios2/nptl/tls.h: New file.
38459         * sysdeps/nios2/preconfigure: New file.
38460         * sysdeps/nios2/s_fma.c: New file.
38461         * sysdeps/nios2/s_fmaf.c: New file.
38462         * sysdeps/nios2/setjmp.S: New file.
38463         * sysdeps/nios2/sfp-machine.h: New file.
38464         * sysdeps/nios2/sotruss-lib.c: New file.
38465         * sysdeps/nios2/stackguard-macros.h: New file.
38466         * sysdeps/nios2/stackinfo.h: New file.
38467         * sysdeps/nios2/start.S: New file.
38468         * sysdeps/nios2/sysdep.h: New file.
38469         * sysdeps/nios2/tls-macros.h: New file.
38470         * sysdeps/nios2/tst-audit.h: New file.
38471         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
38472         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
38473         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
38474         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
38475         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
38476         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
38477         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
38478         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
38479         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
38480         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
38481         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
38482         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
38483         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
38484         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
38485         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
38486         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
38487         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
38488         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
38489         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
38490         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
38491         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
38492         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
38493         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
38494         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
38495         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
38496         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
38497         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
38498         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
38499         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
38500         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
38501         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
38502         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
38503         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
38504         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
38505         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
38506         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
38507         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
38508         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
38509         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
38510         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
38511         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
38512         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
38513         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
38514         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
38516 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38518         [BZ #17844]
38519         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
38520         (getutent): Use weak_alias in non SHARED case
38521         and default_symbol_version in SHARED case.
38522         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
38523         (getutent_r, pututline): Likewise.
38524         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
38525         (getutid): Likewise.
38526         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
38527         (getutid_r): Likewise.
38528         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
38529         (getutline): Likewise.
38530         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
38531         (getutline_r): Likewise.
38532         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
38533         (updwtmp): Likewise.
38535 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38537         [BZ #17848]
38538         * sysdeps/s390/s390-32/memcmp.S
38539         (memcmp_g5): Rename to __memcmp_g5.
38540         * sysdeps/s390/s390-32/memcpy.S
38541         (memcpy_g5): Rename to __memcpy_g5.
38542         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38543         (memcpy_mvcle) Rename to __memcpy_mvcle.
38544         * sysdeps/s390/s390-32/memset.S
38545         (memset_g5): Rename to __memset_g5.
38546         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38547         (IFUNC_RESOLVE): Prefix ifunc-resolve function
38548         and use prefixed functions.
38549         * sysdeps/s390/s390-32/multiarch/memcmp.S
38550         (memcmp_z196): Rename to __memcmp_z196.
38551         (memcmp_z10): Rename to __memcmp_z10.
38552         (memcmp): Set alias to __memcmp_g5.
38553         (bcmp): Set alias to __memcmp_g5.
38554         * sysdeps/s390/s390-32/multiarch/memcpy.S
38555         (memcpy_z196): Rename to __memcpy_z196.
38556         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38557         (memcpy_z10): Rename to __memcpy_z10.
38558         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38559         (memcpy): Set alias to __memcpy_g5.
38560         * sysdeps/s390/s390-32/multiarch/memset.S
38561         (memset_z196): Rename to __memset_z196.
38562         Jump to __memset_mvcle instead of memset_mvcle.
38563         (memset_z10): Rename to __memset_z10.
38564         Jump to __memset_mvcle instead of memset_mvcle.
38565         (memset_mvcle) Rename to __memset_mvcle.
38566         (memset): Set alias to __memset_g5.
38567         * sysdeps/s390/s390-64/memcmp.S
38568         (memcmp_z900): Rename to __memcmp_z900.
38569         * sysdeps/s390/s390-64/memcpy.S
38570         (memcpy_z900): Rename to __memcpy_z900.
38571         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38572         (memcpy_mvcle) Rename to __memcpy_mvcle.
38573         * sysdeps/s390/s390-64/memset.S
38574         (memset_z900): Rename to __memset_z900.
38575         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
38576         (IFUNC_RESOLVE): Prefix ifunc-resolve function
38577         and use prefixed functions.
38578         * sysdeps/s390/s390-64/multiarch/memcmp.S
38579         (memcmp_z196): Rename to __memcmp_z196.
38580         (memcmp_z10): Rename to __memcmp_z10.
38581         (memcmp): Set alias to __memcmp_z900.
38582         (bcmp): Set alias to __memcmp_z900.
38583         * sysdeps/s390/s390-64/multiarch/memcpy.S
38584         (memcpy_z196): Rename to __memcpy_z196.
38585         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38586         (memcpy_z10): Rename to __memcpy_z10.
38587         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38588         (memcpy): Set alias to __memcpy_z900.
38589         * sysdeps/s390/s390-64/multiarch/memset.S
38590         (memset_z196): Rename to __memset_z196.
38591         Jump to __memset_mvcle instead of memset_mvcle.
38592         (memset_z10): Rename to __memset_z10.
38593         Jump to __memset_mvcle instead of memset_mvcle.
38594         (memset_mvcle) Rename to __memset_mvcle.
38595         (memset): Set alias to __memset_z900.
38597 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
38599         [BZ #17748]
38600         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
38601         __fesetenv instead of fesetenv.
38603 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38605         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
38606         macro.
38608 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38610         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
38611         regression on LE.
38613         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
38614         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
38615         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38616         strncmp-power8 object.
38617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38618         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
38619         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
38620         * NEWS: Update.
38622 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38623             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38625         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
38626         trailing byte check.
38628 2015-01-13  David S. Miller  <davem@davemloft.net>
38630         * include/signal.h (__sigreturn): Guard with __USE_MISC.
38632 2015-01-13  Roland McGrath  <roland@hack.frob.com>
38634         * login/logout.c (logout): Use memset rather than bzero.
38635         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
38636         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
38637         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
38638         (_gethtbyaddr): Likewise.
38639         * locale/programs/simple-hash.c (bcopy): Macro removed.
38641 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38643         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38644         Add strcmp-power8 object.
38645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38646         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
38647         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
38648         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
38649         __strcmp_power8 implementation.
38650         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
38651         * NEWS: Update.
38653         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38654         Add strncpy-power8 and stpncpy-power8 objects.
38655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38656         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
38657         implementations.
38658         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
38659         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
38660         __stpncpy_power8 implementation.
38661         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
38662         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
38663         __strncpy_power8 implementation.
38664         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
38665         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
38666         * NEWS: Update.
38668         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
38669         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
38670         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
38672         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38673         strncat-power8 object.
38674         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
38675         __strcat_power8 implementation.
38676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38677         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
38678         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
38679         optimized strcat for power8.
38681         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38682         strcpy-power8 and stpcpy-power8 objects.
38683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38684         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
38685         implementations.
38686         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
38687         multiarch stpcpy implementation for POWER8.
38688         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
38689         multiarch strcpy implementation for POWER8.
38690         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
38691         __strcpy_power8 function.
38692         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
38693         stpcpy for POWER8.
38694         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
38695         strcpy for POWER8.
38696         * NEWS: Update.
38698 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
38700         [BZ #16009]
38701         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
38702         weights and rules. Use do_xfrm_cached if data fits in cache,
38703         do_xfrm otherwise.  Moved former main loop to...
38704         * (do_xfrm_cached): New function.
38705         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
38706         find_idx, find_position and stack_push.
38707         * (find_idx): New function.
38708         * (find_position): Likewise.
38709         * localedata/sort-test.sh: Added test run for do_xfrm.
38710         * localedata/xfrm-test.c (main): Added command line option
38711         -nocache to run the test with strings that are too large for
38712         the STRXFRM cache.
38714 2015-01-13  Torvald Riegel  <triegel@redhat.com>
38716         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
38717         variable to lll_futex_wake call, not the value itself.
38719 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
38721         [BZ #17803]
38722         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
38723         twom64.  Adjust value to 0x1p-64L.
38724         (__scalblnl): Only return standard underflowing result for K <=
38725         -64 not K <= -63; adjust exponent for underflowing result by 64
38726         not 63.
38727         * math/libm-test.inc (scalbn_test_data): Add more tests.
38728         (scalbln_test_data): Likewise.
38730         [BZ #17834]
38731         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
38732         0x1p63L.
38733         (__scalblnl): Get new exponent of adjusted subnormal value from ES
38734         not HX.
38735         * math/libm-test.inc (scalbn_test_data): Add more tests.
38736         (scalbln_test_data): Likewise.
38738 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38739             Stefani Seibold  <stefani@seibold.net>
38741         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
38742         (sysdep_routines): Add dl-vdso here, ...
38743         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
38744         (sysdep_routines): ... not here.
38745         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
38746         fallback when vDSO is not presented.
38747         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
38748         Define with libc_hidden_proto/libc_hidden_data_def definitions.
38749         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
38750         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
38751         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
38752         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
38753         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
38754         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
38755         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
38756         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
38757         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
38758         fallback configurable symbol when vDSO is not available.
38759         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
38760         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
38761         be able to redefine fallback symbol when vDSO is not available.
38762         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
38763         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
38765 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38767         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
38768         (TLS_INIT_TP): Add tm_capable initialization.
38769         (TLS_DEFINE_INIT_TP): Likewise.
38770         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
38771         TCB.
38772         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
38773         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
38774         calculation.
38775         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
38776         transactoion is lock elision is built and TCB tm_capable is set.
38777         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
38778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38779         (INTERNAL_SYSCALL_NCS): Likewise.
38780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38781         (INTERNAL_SYSCALL_NCS): Likewise.
38782         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
38784         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
38785         for powerpc.
38786         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38787         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
38788         and remove it for 32 bits case.
38789         [pthread_rwlock_t] (__rwelision): New field for lock elision.
38790         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
38791         initialization.
38792         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
38793         Disable lock elision with rdlocks if elision is not available.
38795         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
38796         (sysdep_routines): Add lock elision objects.
38797         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38798         [pthread_mutex_t] (__spins): Rework to add lock elision field.
38799         [pthread_mutex_t] (__elision): Add field.
38800         [__PTHREAD_SPINS]: Adjust to init lock elision field.
38801         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
38802         elision definitions for powerpc.
38803         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
38804         implementation of lock elision for powerpc.
38805         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
38806         implementation of timed lock elision for powerpc.
38807         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
38808         implementation of trylock with lock elision for powerpc.
38809         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
38810         implementaion of unlock for lock elision for powerpc.
38811         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
38812         automatic enable lock elision for mutexes.
38813         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
38814         transaction execution definitions for powerpc.
38815         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
38816         definitions.
38817         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
38818         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
38819         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
38820         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
38821         * NEWS: Update.
38823 2015-01-09  Roland McGrath  <roland@hack.frob.com>
38825         * sysdeps/posix/shm-directory.c: Use <> rather than ""
38826         for #include of <shm-directory.h>.
38828 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
38830         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
38831         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
38833 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
38835         [BZ #17791]
38836         * NEWS: Mention bug fix.
38837         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
38838         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
38839         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
38841 2015-01-09  Torvald Riegel <triegel@redhat.com>
38843         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
38845 2015-01-09  Torvald Riegel <triegel@redhat.com>
38847         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
38849 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38851         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
38852         pointer and cast to uintptr_t.
38854 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38856         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
38857         removed.
38858         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
38860 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38862         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
38863         of 0.
38865 2015-01-08  Roland McGrath  <roland@hack.frob.com>
38867         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
38868         <nptl/pthreadP.h> instead.
38869         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
38871         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
38872         already defined.
38873         [__SIGRTMIN] (init): Function removed.
38874         [__SIGRTMIN] (initialized): Variable removed.
38875         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
38876         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
38877         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
38878         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
38879         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
38880         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
38881         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
38882         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
38883         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
38884         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
38885         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
38886         * sysdeps/nptl/allocrtsig.c: New file.
38887         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
38888         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
38889         * sysdeps/generic/testrtsig.h: File removed.
38891         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
38892         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
38894         * nptl/nptl-init.c (pthread_functions): Conditionalize
38895         .ptr__nptl_setxid initialization on [SIGSETXID].
38897         * sysdeps/nptl/sys/procfs.h: New file.
38898         * nptl_db/Makefile (headers): Add it.
38899         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
38901         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
38902         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
38903         * nptl/pthread_attr_setaffinity.c: Include it.
38904         * nptl/pthread_setattr_default_np.c: Likewise.
38905         * nptl/check-cpuset.h: New file.
38907 2015-01-08  Richard Henderson  <rth@redhat.com>
38909         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
38910         (CFLAGS-tst-execstack-prog.c): Likewise.
38911         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
38913 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
38914             Sandra Loosemore  <sandra@codesourcery.com>
38915             Andrew Jenner  <andrew@codesourcery.com>
38916             Joseph Myers  <joseph@codesourcery.com>
38917             Nathan Sidwell  <nathan@codesourcery.com>
38919         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
38920         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
38921         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
38922         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
38923         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
38924         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
38925         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
38926         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
38927         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
38928         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
38929         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
38930         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
38931         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
38932         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
38933         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
38934         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
38935         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
38937 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38939         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
38940         timespec struct member in syscall macro.
38941         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
38942         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
38943         first timeval struct member in syscall macro.
38944         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
38946 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
38948         [BZ #17748]
38949         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
38950         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
38951         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
38952         __feupdateenv and define as weak alias of __feupdateenv.  Use
38953         libm_hidden_weak.
38954         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
38955         libm_hidden_def.
38956         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
38957         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
38958         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38959         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
38960         libm_hidden_def.
38961         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
38962         __feupdateenv and define as weak alias of __feupdateenv.  Use
38963         libm_hidden_weak.
38964         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
38965         libm_hidden_def.
38966         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
38967         __feupdateenv and define as weak alias of __feupdateenv.  Use
38968         libm_hidden_weak.
38969         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
38970         libm_hidden_def.
38971         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38972         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38973         (__feupdateenv): Likewise.
38974         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
38975         __feupdateenv and define as weak alias of __feupdateenv.  Use
38976         libm_hidden_weak.
38977         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38978         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
38979         libm_hidden_def.
38980         * sysdeps/tile/math_private.h (__feupdateenv): New inline
38981         function.
38982         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
38983         libm_hidden_def.
38984         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
38985         __feupdateenv instead of feupdateenv.
38986         (default_libc_feupdateenv_test): Likewise.
38987         (libc_feresetround_ctx): Likewise.
38989 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38991         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
38992         prototype.
38994 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
38996         * posix/regcomp.c (parse_bracket_exp): Initialize type to
38997         COLL_SYM in a couple of places to avoid uninitialized variable
38998         wanings on tilegx gcc 4.8.2.
39000 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39002         * sysdeps/aarch64/strcpy.S: New file.
39003         * sysdeps/aarch64/stpcpy.S: New file.
39004         * NEWS: Updated.
39006 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39008         * sysdeps/aarch64/strrchr.S: New file.
39009         * NEWS: Updated.
39011 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
39013         [BZ #17658]
39014         * stdlib/setenv.c: Fix memory leak when setting large,
39015         duplicate string.
39017 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
39019         [BZ #17273]
39020         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
39021         and tabs from buffer before parsing fstab entry.
39022         * misc/tst-mntent.c (main): Add test for mount entry with
39023         trailing spaces and tabs.
39025 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
39027         [BZ #17748]
39028         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
39029         * math/fesetround.c (fesetround): Rename to __fesetround and
39030         define as weak alias of __fesetround.  Use libm_hidden_weak.
39031         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
39032         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
39033         * sysdeps/arm/fesetround.c (fesetround): Likewise.
39034         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
39035         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
39036         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
39037         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
39038         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
39039         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
39040         __fesetround_inline.
39041         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
39042         __fesetround_inline instead of __fesetround.
39043         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
39044         __fesetround and define as weak alias of __fesetround.  Use
39045         libm_hidden_weak.  Call __fesetround_inline instead of
39046         __fesetround.
39047         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
39048         __fesetround and define as weak alias of __fesetround.  Use
39049         libm_hidden_weak.
39050         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
39051         Likewise.
39052         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
39053         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39054         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
39055         * sysdeps/tile/math_private.h (__fesetround): New inline function.
39056         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
39057         __fesetround and define as weak alias of __fesetround.  Use
39058         libm_hidden_weak.
39059         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
39060         __fesetround instead of fesetround.
39061         (default_libc_feholdexcept_setround): Likewise.
39062         (libc_feholdsetround_ctx): Likewise.
39063         (libc_feholdsetround_noex_ctx): Likewise.
39065         [BZ #17748]
39066         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
39067         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
39068         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39069         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39070         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39071         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
39072         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39073         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39074         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39075         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39076         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39077         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39078         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39079         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39080         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
39081         libm_hidden_def.
39082         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
39083         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
39084         Likewise.
39085         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39086         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39087         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39088         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39089         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
39090         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39091         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39092         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
39093         __fesetenv instead of fesetenv.
39094         (libc_feresetround_noex_ctx): Likewise.
39095         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39096         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39097         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
39098         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39099         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39100         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39101         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39102         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39103         (__feupdateenv): Likewise.
39104         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39105         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39106         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39107         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
39109 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39111         [BZ #17806]
39112         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
39113         addresses have been freed.
39115 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39117         * resolv/res_init.c (__res_vinit): Improve comments about nserv
39118         and nservall.
39120 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
39122         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
39123         Clean up check_pf allocation pattern. addresses
39125 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39127         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
39128         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
39129         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
39130         * nptl/pthread_exit.c (__pthread_exit): Likewise.
39131         * nptl/pthread_join.c (pthread_join): Likewise.
39132         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
39133         * sysdeps/posix/waitid.c (__waitid): Likewise.
39134         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
39135         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
39136         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
39137         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
39138         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
39139         Likewise.
39140         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
39141         (__libc_pread64): Likewise.
39142         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
39143         (__libc_pwrite): Likewise.
39144         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
39145         (__libc_pwrite64): Likewsie.
39146         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
39147         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
39148         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
39149         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
39150         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
39151         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
39152         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
39154         Likewise.
39155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39156         (__libc_pread64): Likewise.
39157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
39158         Likewise.
39159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39160         (__libc_pwrite64): Likewise.
39161         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
39162         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
39163         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
39164         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
39165         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
39166         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
39167         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
39168         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
39169         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
39170         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
39171         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
39172         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
39173         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
39174         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
39175         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
39176         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
39177         Likewise.
39179 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39181         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
39182         (CFLAGS-test-double.c): Likewise.
39183         (CFLAGS-test-ldouble.c): Likewise.
39184         (CPPFLAGS-test-ifloat.c): Likewise.
39185         (CPPFLAGS-test-idouble.c): Likewise.
39186         (CPPFLAGS-test-ildoubl.c): Likewise.
39187         (CFLAGS-test-test-fenv.c): Remove variable.
39188         (CFLAGS-test-misc.c): Likewise.
39190 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
39192         [BZ #17797]
39193         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
39194         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
39195         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
39196         CLOCKS_PER_SEC == 1000000.
39197         * time/clocktest.c (main): Replace %ld with %jd and cast to
39198         intmax_t.
39200 2015-01-05  Roland McGrath  <roland@hack.frob.com>
39202         * sysdeps/generic/unwind-resume.h: New file.
39203         * sysdeps/gnu/unwind-resume.c: Include it.
39204         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
39205         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
39206         argument list.
39207         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
39208         global rather than static.
39209         (_Unwind_Resume): Update user.
39210         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
39211         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
39212         rather than static.  Add __attribute__ ((cold)).
39213         (_Unwind_Resume, __gcc_personality_v0): Update callers.
39214         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
39215         * sysdeps/arm/arm-unwind-resume.S: New file.
39216         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
39217         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
39218         * sysdeps/arm/Makefile [$(subdir) = csu]
39219         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
39220         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39221         Add rt-arm-unwind-resume.
39222         [$(subdir) = nptl]
39223         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39224         Add pt-arm-unwind-resume.
39225         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
39226         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
39228 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39230         [BZ #17748]
39231         * include/fenv.h (__feholdexcept): Declare.  Use
39232         libm_hidden_proto.
39233         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
39234         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
39235         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39236         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
39237         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
39238         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
39239         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
39240         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39241         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
39242         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
39243         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39244         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
39245         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
39246         (feholdexcept): Likewise.
39247         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39248         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39249         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39250         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39251         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
39252         __feholdexcept instead of feholdexcept.
39253         (default_libc_feholdexcept_setround): Likewise.
39255 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39257         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
39258         to avoid using stl/str to align destination.
39260 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39262         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
39264 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39266         [BZ #17796]
39267         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
39268         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
39269         Define as weak alias not strong alias.
39271 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39273         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
39274         bltzal with addiupc.
39275         (RTLD_START): Ditto.
39277 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
39279         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
39280         for __vdso_* functions in declarations.
39281         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
39282         definitions.
39283         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
39284         INTERNAL_VSYSCALL): Use struct return types to check for error.
39286         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
39287         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
39288         function with cast from llround().
39289         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
39290         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
39291         Define.
39293 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39295         [BZ #17793]
39296         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
39297         Define as weak alias not strong alias.
39299         [BZ #17635]
39300         * ctype/ctype-c99.c: New file.  isblank implementation moved from
39301         ...
39302         * ctype/ctype-extn.c: ... here.
39303         (__isblank_l): Move to ...
39304         * ctype/ctype-c99_l.c: ... here.  New file.
39305         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
39306         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
39307         Remove variable.
39308         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
39309         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
39310         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
39311         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
39312         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39314         [BZ #17777]
39315         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
39316         (posix_fadvise64): Define as weak alias not strong alias.
39317         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39318         (posix_fallocate64): Likewise.
39319         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
39320         Remove variable.
39321         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39322         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39323         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39324         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39325         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39327 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
39329         [BZ #16191]
39330         * NEWS: Mention bug fix.
39331         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
39332         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
39333         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
39334         (HOST_STACK_END_ADDR): Likewise.
39336 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39338         [BZ #17748]
39339         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
39340         * math/fegetround.c (fegetround): Rename to __fegetround and
39341         define as weak alias of __fegetround.  Use libm_hidden_weak.
39342         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
39343         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
39344         * sysdeps/arm/fegetround.c (fegetround): Likewise.
39345         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
39346         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39347         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
39348         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
39349         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
39350         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39351         Undefine after rather than before function definition; use
39352         parentheses around function name in definition.
39353         (__fegetround): Also undefine macro after function definition.
39354         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
39355         __fegetround and define as weak alias of __fegetround.  Use
39356         libm_hidden_weak.  Do not undefine as macro.
39357         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39358         Likewise.
39359         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
39360         __fegetround and define as weak alias of __fegetround.  Use
39361         libm_hidden_weak.
39362         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39363         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39364         * sysdeps/tile/math_private.h (__fegetround): New inline function.
39365         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
39366         __fegetround and define as weak alias of __fegetround.  Use
39367         libm_hidden_weak.
39368         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
39369         __fegetround instead of fegetround.
39371         [BZ #17782]
39372         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
39373         Condition macro definition on [__USE_MISC].
39375         [BZ #17781]
39376         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
39377         (struct sigaction): Change type of sa_flags field to int.
39379         [BZ #17780]
39380         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
39381         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
39382         __glibc_reserved0.
39384         * nptl/version.c (banner): Use single year in copyright notice.
39386         * NEWS: Update copyright dates.
39387         * catgets/gencat.c (print_version): Likewise.
39388         * csu/version.c (banner): Likewise.
39389         * debug/catchsegv.sh: Likewise.
39390         * debug/pcprofiledump.c (print_version): Likewise.
39391         * debug/xtrace.sh (do_version): Likewise.
39392         * elf/ldconfig.c (print_version): Likewise.
39393         * elf/ldd.bash.in: Likewise.
39394         * elf/pldd.c (print_version): Likewise.
39395         * elf/sotruss.sh: Likewise.
39396         * elf/sprof.c (print_version): Likewise.
39397         * iconv/iconv_prog.c (print_version): Likewise.
39398         * iconv/iconvconfig.c (print_version): Likewise.
39399         * locale/programs/locale.c (print_version): Likewise.
39400         * locale/programs/localedef.c (print_version): Likewise.
39401         * login/programs/pt_chown.c (print_version): Likewise.
39402         * malloc/memusage.sh (do_version): Likewise.
39403         * malloc/memusagestat.c (print_version): Likewise.
39404         * malloc/mtrace.pl: Likewise.
39405         * manual/libc.texinfo: Likewise.
39406         * nptl/version.c (banner): Likewise.
39407         * nscd/nscd.c (print_version): Likewise.
39408         * nss/getent.c (print_version): Likewise.
39409         * nss/makedb.c (print_version): Likewise.
39410         * posix/getconf.c (main): Likewise.
39411         * scripts/test-installation.pl: Likewise.
39412         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
39414 2015-01-02  Will Newton  <will.newton@linaro.org>
39416         * sysdeps/arm/armv7/configure: Removed.
39417         * sysdeps/arm/armv7/configure.ac: Likewise.
39419 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39421         * All files with FSF copyright notices: Update copyright dates
39422         using scripts/update-copyrights.
39423         * intl/plural.c: Regenerated.
39424         * locale/programs/charmap-kw.h: Likewise.
39425         * locale/programs/locfile-kw.h: Likewise.
39427 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39429         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
39431 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
39433         [BZ #17748]
39434         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
39435         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
39436         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39437         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
39438         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39439         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
39440         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39441         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
39442         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39443         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39444         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39445         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39446         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39447         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39448         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
39449         libm_hidden_def.
39450         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
39451         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
39452         Likewise.
39453         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39454         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39455         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39456         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39457         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
39458         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39459         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
39460         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
39461         __fegetenv instead of fegetenv.
39462         (libc_feholdsetround_noex_ctx): Likewise.
39464 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
39466         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
39467         (Elf_MIPS_ABIFlags_v0): New structure.
39468         (EF_MIPS_FP64): Define.
39469         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
39470         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
39471         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
39472         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
39473         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
39474         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
39475         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
39476         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
39477         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
39478         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
39479         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
39480         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
39481         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
39482         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
39483         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
39484         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
39485         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
39486         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
39487         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
39488         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
39489         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
39490         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
39491         field.
39492         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
39493         EF_MIPS_FP64.
39494         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
39495         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
39496         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
39497         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
39498         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
39499         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
39500         * sysdeps/mips/tst-abi-interlink.c: Likewise.
39501         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
39502         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
39503         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
39504         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
39505         record the current FP ABI extension.
39506         (mips-mode-switch): Define to show if kernel headers support mode
39507         switching.
39508         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
39509         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
39510         supported SYSV ABI version to 3.
39511         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
39512         feature.
39514 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39515             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39517         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
39518         path.
39519         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
39521 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
39523         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
39524         __fegetround and redefine to call __fegetround.  Remove condition
39525         on [!__NO_MATH_INLINES].
39526         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
39527         function.
39528         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
39529         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39530         Remove macro.
39531         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
39532         instead of <fenv_libc.h>.
39533         (__llrintl): Call fegetround instead of __fegetround.
39534         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
39535         instead of <fenv_libc.h>.
39536         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39537         (__lrintl): Call fegetround instead of __fegetround.
39538         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
39539         instead of <fenv_libc.h>.
39540         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39541         (__rintl): Call fegetround instead of __fegetround.
39543 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39545         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
39546         arrays.
39548 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
39550         [BZ #17775]
39551         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
39552         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
39553         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
39555 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
39557         * sysdeps/i386/tls-macros.h: Include <features.h>.
39558         (TLS_LE): Use non-PIC version for GCC >= 5.0.
39559         (TLS_IE): Likewise.
39560         (TLS_LD): Likewise.
39561         (TLS_GD): Likewise.
39562         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
39563         define for GCC >= 5.0.
39565 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
39567         * math/test-fenv.c (test_single_exception, set_single_exc,
39568         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
39569         feexcp_mask_test, feenable_test, fe_single_test): Add
39570         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
39571         case where they are not used.
39572         * math/libm-test.inc: Likewise.
39573         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
39574         unused in the absence of FP rounding/exception support.
39575         * stdio-common/tst-printf-round.c: Likewise.
39576         * stdlib/tst-strtod-round.c: Likewise.
39577         * stdlib/tst-strtod-underflow.c: Likewise.
39579 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
39581         [BZ #17723]
39582         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
39583         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
39584         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39585         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39586         libm_hidden_weak.
39587         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
39588         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39589         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
39590         libm_hidden_def.
39591         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39592         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39593         libm_hidden_weak.
39594         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
39595         Likewise.
39596         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
39597         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39598         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39599         libm_hidden_weak.
39600         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39601         libm_hidden_def.
39602         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39603         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
39604         (__feraiseexcept): Likewise.
39605         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39606         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39607         libm_hidden_weak.
39608         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39609         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39610         libm_hidden_def.
39611         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
39612         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
39613         Use libm_hidden_def.
39614         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
39615         libm_hidden_def.
39616         (feraiseexcept): Define as weak not strong alias.  Use
39617         libm_hidden_weak.
39618         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
39619         New inline function.  Factored out of ...
39620         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
39621         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
39622         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
39623         feraiseexcept.
39624         * math/w_acos.c (__acos): Likewise.
39625         * math/w_asin.c (__asin): Likewise.
39626         * math/w_ilogb.c (__ilogb): Likewise.
39627         * math/w_j0.c (y0): Likewise.
39628         * math/w_j1.c (y1): Likewise.
39629         * math/w_jn.c (yn): Likewise.
39630         * math/w_log.c (__log): Likewise.
39631         * math/w_log10.c (__log10): Likewise.
39632         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
39633         * sysdeps/aarch64/fpu/math_private.h
39634         (libc_feupdateenv_test_aarch64): Likewise.
39635         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39636         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
39637         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
39638         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39639         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39640         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39641         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
39642         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39643         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39644         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39646 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
39648         [BZ #17732]
39649         * io/test-utime.c (main): Replace %ld with %jd and cast to
39650         intmax_t.
39651         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
39652         * nptl/tst-mutex5.c: Include <stdint.h>.
39653         (do_test): Replace %ld with %jd and cast to intmax_t.
39654         * posix/tst-regex.c (run_test): Likewise.
39655         (run_test_backwards): Likewise.
39656         * rt/tst-clock.c: Include <stdint.h>.
39657         (clock_test): Replace %ld with %jd and cast to intmax_t.
39658         * rt/tst-cpuclock1.c: Include <stdint.h>.
39659         (do_test): Replace %lu with %ju and cast to uintmax_t.
39660         * rt/tst-cpuclock2.c: Include <stdint.h>.
39661         (do_test): Replace %lu with %ju and cast to uintmax_t.
39662         * rt/tst-mqueue1.c: Include <stdint.h>.
39663         (check_attrs): Replace %ld with %jd and cast to intmax_t.
39664         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
39665         intmax_t.
39666         * rt/tst-mqueue4.c (do_test): Likewise.
39667         * rt/tst-timer4.c: Include <stdint.h>.
39668         (check_ts): Replace %ld with %jd and cast to intmax_t.
39669         (do_test): Likewise.
39670         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
39671         and cast to intmax_t.
39672         * sysdeps/pthread/tst-timer.c (main): Likewise.
39673         * time/clocktest.c (main): Likewise.
39674         * time/tst-posixtz.c (do_test): Likewise.
39675         * timezone/tst-timezone.c (main): Likewise.
39677 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
39678             H.J. Lu  <hongjiu.lu@intel.com>
39680         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
39681         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
39682         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
39683         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
39684         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
39685         version if bit_Fast_Unaligned_Load is set.
39686         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39687         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39688         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39689         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39690         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39691         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39692         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39693         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
39694         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
39695         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
39696         to 4.
39697         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
39698         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
39699         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
39700         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
39702 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
39704         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
39705         instead of #if to avoid a Wundef warning.
39706         * stdlib/tst-limits.c (do_test): Likewise.
39708         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
39709         parallel other exception macros.
39710         (fegetenv): Convert from macro to extern inline so that it applies
39711         retroactively to inline functions already seen by the compiler.
39712         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
39714         * posix/Makefile (before-compile): Use $(objpfx) for
39715         posix-conf-vars-def.h.
39717 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39719         * posix/getconf.c (main): Use size_t for type of I.
39720         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
39721         NSPEC.
39723         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
39724         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
39725         * posix/posix-envs.def: Likewise.
39726         * sysdeps/posix/sysconf.c: Likewise.
39727         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
39728         (specs): Remove array.
39729         * scripts/gen-posix-conf-vars.awk: Support generation of specs
39730         array.
39732         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
39733         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
39734         (__sysconf): Use CONF_IS_* macros.
39736         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
39737         ($(objpfx)posix-conf-vars-def.h): New target.
39738         * posix/posix-conf-vars.list: New file.
39739         * posix/posix-conf-vars.h: New file.
39740         * posix/confstr.c: Include posix-conf-vars.h.
39741         (confstr): Use CONF_IS_* macros.
39742         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
39743         CONF_IS_* macros.
39744         * scripts/gen-posix-conf-vars.awk: New file.
39746 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
39748         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
39749         fegetround): Add no-op macros to avoid linknamespace issues.
39751         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
39752         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
39754         * sysdeps/unix/sysv/linux/tile/sysdep.h
39755         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
39756         assembly-specific section to avoid a redefinition warning.
39758         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
39759         long before casting to pointer to avoid a cast warning.
39761 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
39763         * sysdeps/tile/tilegx/Implies: New file.
39765 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
39767         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
39769 2014-12-23  Florian Weimer  <fweimer@redhat.com>
39771         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
39773 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39775         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
39776         not define.
39777         * sysdeps/unix/sysv/linux/utimes.c: Do not include
39778         <kernel-features.h>.
39779         (__utimes) [__NR_utimes]: Make code unconditional.
39780         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
39781         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39782         (__ASSUME_UTIMES): Do not undefine.
39783         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39784         (__ASSUME_UTIMES): Likewise.
39785         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39786         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
39787         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
39788         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
39790 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
39792         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
39794 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
39796         [BZ #17747]
39797         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
39798         alias to weak alias for j0l, y0l.
39799         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
39800         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
39802         [BZ #17746]
39803         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
39804         conversion.
39806 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
39808         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
39809         to zero if not already defined.
39811 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39813         [BZ #17724]
39814         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
39815         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
39816         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
39817         (char *) casts added.
39818         * sysdeps/ieee754/k_standardf.c: New file.
39819         * sysdeps/ieee754/k_standardl.c: Likewise.
39820         * math/Makefile (libm-support): Remove k_standard.
39821         (libm-calls): Add k_standard.
39823 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39825         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39826         Optimize to avoid an unnecessary FPCR read.
39828 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39830         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
39831         Optimize to reduce FPCR/FPSR accesses.
39833 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39835         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
39836         Call libc_fetestexcept_aarch64.
39838 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39840         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
39841         Call libc_fesetround_aarch64.
39843 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39845         [BZ #17733]
39846         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
39847         (__bind): Do not define as weak alias.
39848         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
39849         define.
39850         (__getsockname): Do not define as weak alias.
39852 2014-12-22  Will Newton  <will.newton@linaro.org>
39854         * manual/install.texi: Document that we require bison 2.7
39855         or above.
39856         * INSTALL: Regenerate.
39857         * configure.ac: Use AC_CHECK_PROG_VER instead of
39858         AC_PATH_PROG when checking for bison and check for
39859         version 2.7 or above.
39860         * configure: Regenerate.
39862 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
39864         [BZ #17745]
39865         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
39866         * sysdeps/tile/ffsll.c (ffsll): To here.
39868         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
39870 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
39872         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
39873         if not defined.
39874         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
39875         definition.
39876         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39877         hidden ___tls_get_addr.
39878         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39879         hidden __tls_get_addr.
39880         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
39881         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
39882         Likewise.
39884 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39886         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
39887         _dl_init call.
39889 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
39891         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
39892         from "call _dl_init@PLT".
39893         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
39895 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
39897         * manual/search.texi: (Array Sort Function): Clarify stable sorting
39898         guarantees.
39900 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
39902         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
39904 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39906         [BZ #17744]
39907         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
39908         strnlen.
39910 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39912         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
39913         of multu on MIPSr6.
39914         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
39915         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
39916         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
39917         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
39918         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
39920 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39922         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
39923         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
39924         (PTR_SUBU): Use subu for mips32r6/mips64r6.
39925         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
39926         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
39927         mips32r6/mips64r6.
39928         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
39930 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
39932         * string/strncat.c (STRNCAT): Simplify implementation.
39934 2014-12-19  David S. Miller  <davem@davemloft.net>
39936         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
39937         access the quad as both a long double and as a series of 4 words.
39939         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
39940         link_map->l_info array access.
39942 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39944         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
39946         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
39947         * math/atest-exp2.c (TIMEOUT): Likewise.
39948         * math/atest-sincos.c (TIMEOUT): Likewise.
39950 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39952         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
39953         -Wno-error with -fno-builtin-lround.
39955 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39957         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
39958         Contains futex constants and functions moved over from ...
39959         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
39960         <lowlevellock-futex.h>.
39961         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39962         (lll_timedwait_tid): Add comments and parentheses around macro
39963         arguments.
39965 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39967         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
39968         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
39969         (__lll_private_flag): Remove.
39970         (lll_futex_wait): Likewise.
39971         (lll_futex_timed_wait): Likewise.
39972         (lll_futex_wake): Likewise.
39973         (lll_futex_requeue): Likewise.
39974         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39975         (__lll_timedwait_tid): Spell out argument names.
39976         (lll_timedwait_tid): Add comments and parentheses around macro
39977         arguments.
39978         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
39979         LLL_SHARED and LLL_PRIVATE usable from assembly code.
39981 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39983         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
39984         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39985         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39986         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
39987         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
39988         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
39989         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
39990         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
39991         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
39992         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
39993         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
39994         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
39995         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
39996         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
39997         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
39998         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
39999         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
40000         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
40001         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
40003 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40005         * sysdeps/x86_64/x32/Makefile: New file.
40007 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40009         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
40010         1L with (mp_limb_t) 1.
40012 2014-12-17  Roland McGrath  <roland@hack.frob.com>
40014         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
40015         * nptl/libc_pthread_init.c: ... here.
40016         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
40017         * nptl/register-atfork.c: ... here.
40019         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
40020         Use pthread_sigmask rather than INTERNAL_SYSCALL.
40021         Use assert_perror to check its return value.
40022         (__gai_create_helper_thread): Likewise.
40024         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
40026         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
40028 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
40030         [BZ #17725]
40031         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
40032         __profil_counter.
40033         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
40034         Likewise.
40035         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
40036         Likewise.
40037         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
40038         Likewise.
40039         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
40040         (profil_counter): Likewise.
40041         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
40042         (profil_counter): Likewise.
40043         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
40044         Likewise.
40045         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
40046         Likewise.
40047         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
40048         (profil_counter): Likewise.
40049         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
40050         Likewise.
40051         [!__profil_counter] (profil_counter): Define as weak alias of
40052         __profil_counter.
40053         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
40054         (profil_counter): Rename to __profil_counter.
40055         [!__profil_counter] (profil_counter): Define as weak alias of
40056         __profil_counter.
40057         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
40058         (profil_counter): Rename to __profil_counter.
40059         [!__profil_counter] (profil_counter): Define as weak alias of
40060         __profil_counter.
40061         * sysdeps/posix/profil.c: Update comment referring to
40062         profil_counter.
40063         (__profil): Use __profil_counter instead of profil_counter.
40064         * sysdeps/posix/sprofil.c (profil_counter): Rename to
40065         __profil_counter.  Use __profil_counter_ushort and
40066         __profil_counter_uint in definitions.
40067         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
40068         instead of profil_counter_uint and profil_counter_ushort.
40070         [BZ #17722]
40071         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
40072         define as weak alias of __inet_makeaddr.
40073         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
40074         as weak alias of __inet_addr.
40075         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
40076         as weak alias of __inet_pton.  Use libc_hidden_weak.
40077         * include/arpa/inet.h (__inet_pton): Declare.  Use
40078         libc_hidden_proto.
40079         (inet_makeaddr): Don't use libc_hidden_proto.
40080         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
40081         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
40082         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
40083         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
40084         Remove variable.
40085         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40086         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40088 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
40090         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
40092 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40094         * stdio-common/bug-vfprintf-nargs.c (do_test):
40095         Cast value to intptr_t to avoid format warning
40096         for usage with PRIdPTR printing macro.
40098 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40100         * libio/tst-widetext.c (do_test):
40101         Use format type %td instead of %Zd for ptrdiff_t
40102         in order to avoid format warning.
40104 2014-12-17  Andreas Schwab  <schwab@suse.de>
40106         * nscd/mem.c (gc): Add size_t cast to match printf format.
40108 2014-12-16  Roland McGrath  <roland@hack.frob.com>
40110         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
40111         (init): Apply PTR_MANGLE to pointers before storing them.
40112         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
40113         before using them.
40115 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
40117         [BZ #17719]
40118         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
40119         define as weak alias of __memrchr.
40120         (__memrchr): Do not define as strong alias of memrchr.
40121         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
40122         Remove variable.
40123         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40124         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40125         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40127         [BZ #17717]
40128         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
40129         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
40130         (if_indextoname): Rename to __if_indextoname and define as weak
40131         alias of __if_indextoname.  Use libc_hidden_weak.
40132         (if_freenameindex): Rename to __if_freenameindex and define as
40133         weak alias of __if_freenameindex.
40134         (if_nameindex): Rename to __if_nameindex and define as weak alias
40135         of __if_nameindex.
40136         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
40137         __if_nametoindex and define as weak alias of __if_nametoindex.
40138         Use libc_hidden_weak.
40139         (if_freenameindex): Rename to __if_freenameindex and define as
40140         weak alias of __if_freenameindex.
40141         (if_nameindex): Rename to __if_nameindex and define as weak alias
40142         of __if_nameindex.
40143         (if_indextoname): Rename to __if_indextoname and define as weak
40144         alias of __if_indextoname.  Use libc_hidden_weak.
40145         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
40146         __if_nametoindex and define as weak alias of __if_nametoindex.
40147         Use libc_hidden_weak.
40148         (if_freenameindex): Rename to __if_freenameindex and define as
40149         weak alias of __if_freenameindex.  Use libc_hidden_weak.
40150         (if_nameindex_netlink): Use __if_freenameindex instead of
40151         if_freenameindex.
40152         (if_nameindex): Rename to __if_nameindex and define as weak alias
40153         of __if_nameindex.  Use libc_hidden_weak.
40154         (if_indextoname): Rename to __if_indextoname and define as weak
40155         alias of __if_indextoname.  Use libc_hidden_weak.
40156         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
40157         libc_hidden_proto.
40158         [!_ISOMAC] (__if_freenameindex): Likewise.
40159         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
40160         if_nametoindex.
40161         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
40162         variable.
40163         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40164         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40165         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40166         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40167         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40168         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40169         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40171         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
40172         Remove variable.
40173         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40174         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40176 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40178         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
40179         subscript above bounds'
40181         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
40182         bounds.
40184 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
40186         * libio/tst-fopenloc.c: Use test-skeleton.c.
40188         * stdlib/tst-bsearch.c: Use test-skeleton.c.
40189         (entry): Rename to ITEM.
40190         (do_test, comp): Adjust.
40192         * stdio-common/tst-fseek.c: Use test-skeleton.c.
40194 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40196         * string/tester.c: Include <libc-internal.h>.
40197         (test_memset): Ignore -Wmemset-transposed-args.
40199 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40201         * misc/tst-mntent2.c (do_test): Fix warning.
40203 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40205         * elf/tst-unique4lib.cc(a): Mark as used.
40207 2014-12-16  Florian Weimer  <fweimer@redhat.com>
40209         [BZ #17630]
40210         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
40211         names.
40213 2014-12-16  Allan McRae  <allan@archlinux.org>
40215         * stdio-common/Makefile (tests): Re-add bug26.
40217 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
40219         [BZ #17657]
40220         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
40221         static array.
40223 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
40225         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
40226         (__lll_lock_wait): Likewise.
40227         (__lll_timedlock_wait): Likewise.
40228         (__lll_timedwait_tid): Likewise.
40229         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
40230         (__lll_robust_timedlock_wait): Likewise.
40231         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
40232         (lll_cond_trylock): Likewise.
40233         (__lll_lock): Likewise.
40234         (__lll_robust_lock): Likewise.
40235         (__lll_cond_lock): Likewise.
40236         (lll_robust_cond_lock): Likewise.
40237         (__lll_timedlock): Likewise.
40238         (__lll_robust_timedlock): Likewise.
40239         (__lll_unlock): Likewise.
40240         (__lll_robust_unlock): Likewise.
40241         (lll_wait_tid): Likewise.
40242         (lll_timedwait_tid): Likewise.
40244 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40246         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
40248 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40250         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
40252 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40254         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
40255         * stdio-common/tst-sprintf.c: Likewise.
40257 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40259         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
40261 2014-12-15  Jeff Law  <law@redhat.com>
40263         [BZ #16617]
40264         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
40265         on the heap.  (CVE-2012-3406)
40266         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
40267         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
40268         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
40270 2014-12-15  Will Newton  <will.newton@linaro.org>
40272         * manual/install.texi: Bump required version of texinfo
40273         to 4.7 from 4.5.
40274         * INSTALL: Regenerated.
40275         * configure.ac: Check for makeinfo version 4.7 and above.
40276         * configure: Regenerated.
40278 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40280         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
40281         PREFIX, string constant to insert between directory and name.
40282         * sysdeps/posix/shm_open.c: Update caller.
40283         * sysdeps/posix/shm_unlink.c: Likewise.
40284         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
40285         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
40286         (SEM_SHM_PREFIX): New macro.
40287         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
40288         [$(have-thread-library) = no].
40289         * nptl/Makefile (libpthread-routines): Add shm-directory.
40290         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
40291         * sysdeps/nptl/shm-directory.h: New file.
40292         * sysdeps/posix/shm-directory.c
40293         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
40294         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
40295         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
40296         INTERNAL_SYSCALL.
40297         (__where_is_shmfs): Function removed.
40298         (mountpoint, defaultmount, defaultdir, __namedsem_once):
40299         Variables removed.
40300         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
40301         Use SHM_GET_NAME.
40302         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
40304         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
40305         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
40306         unconditional for use inside libpthread.
40307         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
40309 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40311         * nptl/pthread_getaffinity.c: New file.
40312         * nptl/pthread_setaffinity.c: New file.
40313         * nptl/pthread_getname.c: New file.
40314         * nptl/pthread_setname.c: New file.
40316         * nptl/pthread_create.c (START_THREAD_DEFN)
40317         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
40319 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40320             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40322         * resolv/res_send.c (send_vc): Disable warning resplen may
40323         be used uninitialized.
40325 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40327         * nptl/tst-mutex6.c
40328         (ATTR_NULL): New define checks ATTR against NULL.
40329         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
40330         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
40332 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
40334         [BZ #17581]
40335         * malloc/hooks.c
40336         (mem2mem_check): Revert my previous change.
40337         (malloc_check_get_size): Revert my previous change.
40338         (mem2chunk_check): Revert my previous change.
40340 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40342         * sysdeps/posix/shm-directory.c: New file.
40343         * sysdeps/posix/shm-directory.h: New file.
40344         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
40345         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
40346         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
40347         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
40348         Transmute EPERM to EACCES.
40349         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
40350         from ...
40351         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
40352         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
40354 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40356         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
40357         pointer and cast to uintptr_t.
40358         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
40359         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
40360         Add cast to avoid warning.
40361         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
40363 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40365         * nptl/semaphore.h: Move to ...
40366         * sysdeps/pthread/semaphore.h: ... here.
40367         * Makefile (installed-headers): Change nptl/semaphore.h to
40368         sysdeps/pthread/semaphore.h.
40370 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40372         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
40373         generated error format strings.
40375         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
40376         -Wformat-extra-args warnings for scanf formats.
40377         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
40378         test of zero-length format (duh).
40379         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
40380         corner-case scanf format test.
40381         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
40382         generated fprintf format string.
40383         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
40384         corner-case sprintf format tests.
40385         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
40386         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
40387         -Wformat-extra-args warnings throughout.
40388         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
40389         (CFLAGS-scanf4.c): Likewise.
40390         (CFLAGS-scanf7.c): Likewise.
40391         (CFLAGS-tst-sprintf.c): Likewise.
40392         (CFLAGS-tst-printf.c): Likewise.
40393         (CFLAGS-tst-printfsz.c): Likewise.
40395 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40397         * include/cpio.h: New file.
40398         * include/fmtmsg.h: Likewise.
40400         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
40401         corresponding format argument to size_t.
40402         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
40403         arguments.
40404         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
40405         corresponding format argument to size_t.
40406         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
40407         arguments.
40408         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
40409         corresponding format argument to size_t.
40410         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
40411         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
40412         (CFLAGS-tst-mbswcs2.c): Likewise.
40413         (CFLAGS-tst-mbswcs3.c): Likewise.
40414         (CFLAGS-tst-mbswcs4.c): Likewise.
40415         (CFLAGS-tst-mbswcs5.c): Likewise.
40416         (CFLAGS-tst-trans.c): Likewise.
40418 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40420         * posix/regexbug1.c (main): Use "%s" format with regerror results,
40421         rather than assuming they won't contain any '%'s.
40423 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
40425         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
40426         inhibit_loop_to_libcall to avoid recursive calls.
40427         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
40428         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
40430 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40432         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
40433         prototype.
40435 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
40437         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
40438         integer value instead of boolean.
40440 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
40442         * malloc/malloc.c: Fix powerof2 check.
40444 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40446         * locale/programs/locfile.h (maybe_swap_uint32):
40447         Remove inline and add unused attribute.
40449 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40451         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40452         Truncating assembler expression to a .long expression.
40454 2014-12-11  Andreas Schwab  <schwab@suse.de>
40456         * elf/rtld.c (struct map_args): Constify str member.
40457         (do_preload): Constify fname argument.
40459 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40461         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
40462         constants definition.
40464 2014-12-11  Andreas Schwab  <schwab@suse.de>
40466         [BZ #16657]
40467         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
40468         FORCE_ELISION instead of DO_ELISION.
40469         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
40470         Remove.
40471         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
40472         Likewise.
40474         * iconvdata/gconv-modules: Remove duplicate entry.
40476 2014-12-11  Will Newton  <will.newton@linaro.org>
40478         Merge gettext 0.19.3 into intl/.
40480         This involves a number of cosmetic changes to comments
40481         and ANSI function definitions and prototypes throughout
40482         all the files. The gettext copyright header is used but
40483         with the date ranges taken from the glibc copy.
40485         * NEWS: Add gettext merge to 2.21.
40486         * intl/bindtextdom.c: Switch to gettext copyright.
40487         Use ANSI definitions and prototypes.
40488         Use gl_* locking primitives rather than __libc_* ones.
40489         Use __builtin_expect rather than __glibc_likely/unlikely.
40490         * intl/dcgettext.c: Switch to gettext copyright.
40491         Use ANSI definitions and prototypes.
40492         * intl/dcigettext.c: Switch to gettext copyright.
40493         Use ANSI definitions and prototypes.
40494         (INTDIV0_RAISES_SIGFPE): New define.
40495         Use gl_* locking primitives rather than __libc_* ones.
40496         Include eval-plural.h instead of plural-eval.c.
40497         Use __builtin_expect rather than __glibc_likely/unlikely.
40498         * intl/dcngettext.c: Switch to gettext copyright.
40499         Use ANSI definitions and prototypes.
40500         * intl/dgettext.c: Likewise.
40501         * intl/dngettext.c: Likewise.
40502         * intl/plural-eval.c: Renamed to...
40503         * intl/eval-plural.h: ...this.
40504         * intl/explodename.c: Switch to gettext copyright.
40505         Use ANSI definitions and prototypes.
40506         (_nl_explode_name): Use strchr instead of __rawmemchr.
40507         * intl/finddomain.c: Switch to gettext copyright.
40508         Use ANSI definitions and prototypes.
40509         Use gl_* locking primitives rather than __libc_* ones.
40510         (_nl_find_domain): Use malloc rather than alloca for
40511         allocation of temporary locale name.
40512         * intl/gettext.c: Switch to gettext copyright.
40513         Use ANSI definitions and prototypes.
40514         * intl/gettextP.h: Switch to gettext copyright.
40515         Use ANSI definitions and prototypes.
40516         Use gl_* locking primitives rather than __libc_* ones.
40517         * intl/gmo.h: Switch to gettext copyright.
40518         (struct sysdep_string): Move struct segment_pair outside of
40519         struct definition.
40520         * intl/hash-string.c: Use ANSI definitions and prototypes.
40521         * intl/hash-string.h: Switch to gettext copyright.
40522         Use ANSI definitions and prototypes.
40523         * intl/l10nflist.c: Switch to gettext copyright.
40524         Use ANSI definitions and prototypes.
40525         (_nl_normalize_codeset): Avoid integer overflow.
40526         * intl/loadinfo.h: Switch to gettext copyright.
40527         Use ANSI definitions and prototypes.
40528         (LIBINTL_DLL_EXPORTED): New define.
40529         (PATH_SEPARATOR): New define.
40530         * intl/loadmsgcat.c: Switch to gettext copyright.
40531         * intl/localealias.c: Switch to gettext copyright.
40532         Use ANSI definitions and prototypes.
40533         (_nl_expand_alias): Use PATH_SEPARATOR.
40534         * intl/ngettext.c: Switch to gettext copyright.
40535         Use ANSI definitions and prototypes.
40536         * intl/plural-exp.c: Likewise.
40537         * intl/plural-exp.h: Switch to gettext copyright.
40538         Use ANSI definitions and prototypes.
40539         (struct expression): Move definition of enum operator outside
40540         of struct definition.
40541         * intl/plural.c: Regenerate.
40542         * intl/plural.y: Switch to gettext copyright.
40543         Use ANSI definitions and prototypes.
40544         Port to bison 3.0.
40545         * intl/textdomain.c: Switch to gettext copyright.
40546         Use ANSI definitions and prototypes.
40547         Use gl_* locking primitives rather than __libc_* ones.
40549 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
40551         * debug/warning-nop.c: Add used atrribute.
40553 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40555         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
40557         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
40558         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
40559         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
40561 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40562             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40564         [BZ #17634]
40565         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
40566         Undefine after defining function.  Define as weak alias of
40567         __wcschr.  Use libc_hidden_weak.
40568         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
40569         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
40570         (libc_hidden_def): Also define __GI___wcschr alias.
40571         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
40572         __wcschr and define as weak alias of __wcschr.
40573         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
40574         __wcschr.
40575         [!WCSCHR] (DEFAULT_WCSCHR): Define.
40576         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
40577         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
40578         libc_hidden_weak.  Do not use libc_hidden_def.
40579         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
40580         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
40581         __GI___wcschr alias.
40582         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
40583         [IS_IN (libc)] (wcschr): Define as macro expanding to
40584         __redirect_wcschr.
40585         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
40586         [IS_IN (libc)] (__wcschr_power6): Likewise.
40587         [IS_IN (libc)] (__wcschr_power7): Likewise.
40588         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
40589         instead of wcschr.
40590         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
40591         __libc_wcschr.
40592         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
40593         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
40594         __wcschr and define as weak alias of __wcschr.  Use
40595         libc_hidden_builtin_def.
40596         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
40597         as weak alias of __wcschr.  Use libc_hidden_weak.
40598         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
40599         wcschr.
40600         * time/era.c (_nl_init_era_entries): Likewise.
40601         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
40602         variable.
40603         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40604         (test-xfail-XPG4/time.h/linknamespace): Likewise.
40606 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40608         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
40609         format for long int variable.
40611 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
40613         [BZ #10672]
40614         * manual/search.texi: (Array Sort Function): Remove claim how to make
40615         qsort stable.
40617 2014-12-10  Andreas Schwab  <schwab@suse.de>
40619         [BZ #12847]
40620         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
40621         user-controlled locks.
40623 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
40625         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
40626         register.
40628 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40630         * configure.ac (--disable-werror): New configure option.
40631         (enable_werror): New AC_SUBST.
40632         * configure: Regenerated.
40633         * config.make.in (enable-werror): New variable.
40634         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
40635         -Wno-error=undef.
40636         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
40637         * manual/install.texi (Configuring and compiling): Document
40638         --disable-werror.
40639         * INSTALL: Regenerated.
40640         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
40641         (CFLAGS-tst-chk2.c): Likewise.
40642         (CFLAGS-tst-chk3.c): Likewise.
40643         (CFLAGS-tst-chk4.cc): Likewise.
40644         (CFLAGS-tst-chk5.cc): Likewise.
40645         (CFLAGS-tst-chk6.cc): Likewise.
40646         (CFLAGS-tst-lfschk1.c): Likewise.
40647         (CFLAGS-tst-lfschk2.c): Likewise.
40648         (CFLAGS-tst-lfschk3.c): Likewise.
40649         (CFLAGS-tst-lfschk4.cc): Likewise.
40650         (CFLAGS-tst-lfschk5.cc): Likewise.
40651         (CFLAGS-tst-lfschk6.cc): Likewise.
40653         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
40654         (main): Disable -Wdeprecated-declarations around calls to
40655         register_printf_function.
40657         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
40658         (do_test): Disable -Wdiv-by-zero around some calls to
40659         fwrite_unlocked and fread_unlocked.
40661         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
40662         (DIAG_POP_NEEDS_COMMENT): Likewise.
40663         (_DIAG_STR1): Likewise.
40664         (_DIAG_STR): Likewise.
40665         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
40666         * stdio-common/bug21.c: Include <libc-internal.h>.
40667         (do_test): Disable -Wformat around call to sscanf.
40668         * stdio-common/scanf14.c: Include <libc-internal.h>.
40669         (main): Disable -Wformat around some calls to scanf functions.
40671 2014-12-09  Torvald Riegel  <triegel@redhat.com>
40673         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
40675 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40677         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
40678         stack variable alignment.
40680 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
40682         [BZ #17682]
40683         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
40684         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
40685         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
40686         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
40687         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
40688         __getrlimit instead of getrlimit.
40689         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
40690         __gettimeofday instead of gettimeofday.
40691         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
40692         Likewise.
40693         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
40694         Likewise.
40695         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40696         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
40697         Remove variable.
40698         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40699         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40701 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40703         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
40704         for wide-character tests.
40706 2014-12-04  Roland McGrath  <roland@hack.frob.com>
40708         * io/openat64.c: #include <libc-internal.h>
40709         (__openat64): Prototypify.  Use ignore_value on MODE.
40710         * io/openat.c: Likewise.
40711         * misc/reboot.c: #include <libc-internal.h>
40712         (reboot): Prototypify.  Use ignore_value on HOWTO.
40713         * misc/ptrace.c: #include <libc-internal.h>
40714         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
40716 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
40718         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
40719         XPG4, UNIX98 and XOPEN2K.
40720         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
40721         Remove variable.
40722         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40724 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40726         * libio/fileops.c: Use ISO C style for function definitions.
40727         * libio/iofopen.c: Likewise.
40728         * libio/wfileops.c: Likewise.
40730         [BZ #17653]
40731         * libio/fileops.c (_IO_new_file_underflow): Unset cached
40732         offset on EOF.
40733         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
40734         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
40735         (fgets_func): Function pointer to fgets and fgetws.
40736         (do_ftell_test): Add test to verify ftell value after read
40737         EOF.
40738         (do_test): Set fgets_func.
40740         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
40741         O_TRUNC flag for w and w+ modes.
40742         (do_rewind_test): Likewise.
40743         (do_ftell_test): Likewise.
40744         (do_write_test): Likewise.
40746         [BZ #17647]
40747         * libio/fileops.c (do_ftell): Seek only when there are
40748         unflushed writes.
40749         * libio/wfileops.c (do_ftell_wide): Likewise.
40750         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
40751         test case.
40752         (do_one_test): Call it.
40754 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
40756         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
40757         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
40758         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
40759         Remove variable.
40760         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40761         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40762         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40764 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
40766         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
40767         Remove variable.
40768         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40770         [BZ #17668]
40771         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
40772         as weak alias of __getifaddrs.  Use libc_hidden_weak.
40773         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40774         __freeifaddrs.  Use libc_hidden_weak.
40775         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
40776         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
40777         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40778         __freeifaddrs.  Use libc_hidden_weak.
40779         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
40780         __getifaddrs and define as weak alias of __getifaddrs.  Use
40781         libc_hidden_weak.
40782         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40783         __freeifaddrs.  Use libc_hidden_weak.
40784         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
40785         Remove variable.
40786         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40787         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40789 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
40791         [BZ #17601]
40792         * sysdeps/mips/start.S (__start): Use indirect jump to call
40793         __libc_start_main.
40795 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
40797         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
40799         * nptl/tst-mutex1.c: Include <stdbool.h>.
40800         [!ATTR] (ATTR_NULL): New macro.
40801         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
40802         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
40803         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
40805         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
40806         to char *.
40808         [BZ #17665]
40809         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
40810         Change conditional to [__USE_MISC].
40812         [BZ #17664]
40813         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
40814         fgets_unlocked.
40815         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
40816         __fgets_unlocked.
40817         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
40818         fgets_unlocked.
40819         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
40820         Remove variable.
40821         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40822         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40823         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40824         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40825         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40826         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40827         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40828         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40829         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40831         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
40833 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40835         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40836         Remove strpbrk objects.
40837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40838         (__libc_ifunc_impl_list): Remove strpbrk implementation.
40839         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
40840         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
40841         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
40842         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
40844         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40845         Remove strcspn objects.
40846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40847         (__libc_ifunc_impl_list): Remove strcspn implementation.
40848         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
40849         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
40850         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
40851         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
40853         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40854         Remove strspn objetcs.
40855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40856         (__libc_ifunc_impl_list): Remove strspn implementation.
40857         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
40858         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40859         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
40860         * sysdeps/powerpc/powerpc64/strspn.S: New file.
40862 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
40864         [BZ #17581]
40865         * malloc/hooks.c
40866         (mem2mem_check): Add a terminator to the chain of checking blocks.
40867         (malloc_check_get_size): Use it here.
40868         (mem2chunk_check): Ditto.
40870 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40872         * sysdeps/powerpc/powerpc64/strtok.S: New file.
40873         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
40875 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
40877         * bits/ioctl-types.h: Indent preprocessor directives correctly.
40879         * nptl/nptl-init.c: Include libc-internal.h.
40880         (__pthread_initialize_minimal_internal): Use ROUND_UP.
40882         * elf/ldconfig.c (search_dir): Expand comment.
40884 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
40886         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
40887         variable.
40888         (linknamespace-symlist-stdlibs-tests): Likewise.
40889         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
40890         instead of $(objpfx)symlist-stdlibs.
40891         (linknamespace-libs-isoc): New variable.
40892         (linknamespace-libs): Use $(linknamespace-libs-isoc).
40893         (linknamespace-libs-ISO): New variable.
40894         (linknamespace-libs-ISO99): Likewise.
40895         (linknamespace-libs-ISO11): Likewise.
40896         (linknamespace-libs-XPG3): Likewise.
40897         (linknamespace-libs-XPG4): Likewise.
40898         (linknamespace-libs-POSIX): Likewise.
40899         (linknamespace-libs-UNIX98): Likewise.
40900         (linknamespace-libs-XOPEN2K): Likewise.
40901         (linknamespace-libs-POSIX2008): Likewise.
40902         (linknamespace-libs-XOPEN2K8): Likewise.
40903         ($(objpfx)symlist-stdlibs): Replace by
40904         $(linknamespace-symlist-stdlibs-tests).  Use
40905         $(linknamespace-libs-$*) as set of libraries.
40906         ($(linknamespace-header-tests)): Update dependencies.  Use
40907         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
40908         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
40909         * conform/linknamespace.pl: Remove comment about considering
40910         definitions of symbols from irrelevant libraries.
40912 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
40914         [BZ #13862]
40915         * elf/dl-tls.c: Include <atomic.h>.
40916         (oom): Remove #ifdef SHARED/#endif.
40917         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
40918         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
40919         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
40920         big enough.
40921         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
40922         * nptl/Makefile (tests): Add tst-stack4.
40923         (modules-names): Add tst-stack4mod.
40924         ($(objpfx)tst-stack4): New.
40925         (tst-stack4mod.sos): Likewise.
40926         ($(objpfx)tst-stack4.out): Likewise.
40927         ($(tst-stack4mod.sos)): Likewise.
40928         (clean): Likewise.
40929         * nptl/tst-stack4.c: New file.
40930         * nptl/tst-stack4mod.c: Likewise.
40932 2014-11-27  J. Brown  <jb999@gmx.de>
40934         * sysdeps/x86/bits/string.h: Add recent CPUs.
40936 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40938         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
40939         sigblock.
40941         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
40942         feof.
40944         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
40945         variable.
40947 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
40949         * nscd/connections.c: Include libc-internal.h because of macro
40950         usage ignore_value.
40952 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40954         * string/bits/string3.h (__warn_memset_zero_len): Don't
40955         declare for gcc newer than 5.0.
40956         (memset): Don't test for zero-length __LEN for gcc newer than
40957         5.0.
40959 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40961         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
40962         size_t for %zu format.
40964         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
40965         difference, not %ju.
40967 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40969         * include/libc-internal.h (ignore_value): New macro.
40970         * nscd/connections.c (restart): Wrap calls to setuid and setgid
40971         with ignore_value.
40973         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
40974         definition.
40976         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
40977         pthread_cleanup_push to void *.
40979         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
40980         Undefine.
40982         [BZ #16619]
40983         [BZ #16740]
40984         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
40985         instead of 1L << 52.
40987         * libio/bug-rewind.c (do_test): Check fwscanf return values.
40988         * libio/bug-rewind2.c (do_test): Likewise.
40990         * debug/test-stpcpy_chk-ifunc.c: Remove file.
40991         * debug/test-strcpy_chk-ifunc.c: Likewise.
40992         * wcsmbs/test-wcschr-ifunc.c: Likewise.
40993         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40994         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40995         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40996         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40997         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40998         * Rules [$(multi-arch) = no] (tests): Do not filter out
40999         $(tests-ifunc).
41000         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
41001         * debug/Makefile (tests-ifunc): Remove variable.
41002         (tests): Do not add $(tests-ifunc).
41003         * wcsmbs/Makefile (tests-ifunc): Remove variable.
41004         (tests): Do not add $(tests-ifunc).
41005         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
41006         [TEST_IFUNC]: Remove conditionals.
41007         * string/test-string.h (TEST_IFUNC): Remove macro.
41008         [TEST_IFUNC]: Remove conditionals.
41010         * string/test-strchr.c [!WIDE] (L): New macro.
41011         [WIDE] (L): Likewise.
41012         (check1): Use CHAR instead of char.  Use L on string and character
41013         constants.
41015 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
41017         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
41018         tests.
41019         * sysdeps/powerpc/bits/atomic.h
41020         (__arch_atomic_exchange_and_add_32_acq): Add definition.
41021         (__arch_atomic_exchange_and_add_32_rel): Likewise.
41022         (atomic_exchange_and_add_acq): Likewise.
41023         (atomic_exchange_and_add_rel): Likewise.
41024         * sysdeps/powerpc/powerpc32/bits/atomic.h
41025         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41026         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41027         * sysdeps/powerpc/powerpc64/bits/atomic.h
41028         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41029         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41031 2014-11-26  Torvald Riegel  <triegel@redhat.com>
41033         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
41034         Change synchronization of __sched_fifo_min_prio and
41035         __sched_fifo_max_prio.
41036         * nptl/pthread_mutexattr_getprioceiling.c
41037         (pthread_mutexattr_getprioceiling): Likewise.
41038         * nptl/pthread_mutexattr_setprioceiling.c
41039         (pthread_mutexattr_setprioceiling): Likewise.
41040         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
41041         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
41042         Likewise.
41044 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41046         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
41047         void.
41049 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41051         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
41052         third argument const.
41054 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
41056         fnmatch: work around GCC compiler warning bug with uninit var
41057         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
41058         This works around a bug with x86-64 GCC 4.9.2 and earlier
41059         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
41060         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
41061         used uninitialized in this function [-Wmaybe-uninitialized]".
41063 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41065         * posix/bug-regex31.c (main): Return RES not 0.
41067 2014-11-25  Anton Blanchard <anton@samba.org>
41069         * sysdeps/powerpc/bits/atomic.h
41070         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
41072 2014-11-24  Sterling Augustine  <saugustine@google.com>
41074         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
41076 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
41078         [BZ #17608]
41079         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
41081 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
41083         [BZ #17633]
41084         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
41085         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
41086         variable.
41087         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41088         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41090 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41092         * string/strncpy.c (strncpy): Improve performance by using memset.
41094 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41096         * string/strcpy.c (strcpy):
41097         Improve performance by using strlen and memcpy.
41099 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
41101         * string/strcoll_l.c (get_next_seq): __always_inline.
41102         * string/strcoll_l.c (do_compare): __always_inline.
41104 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41106         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
41107         defined.
41108         * include/mqueue.h: Likewise.
41109         * include/stdlib.h: Likewise.
41111         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
41112         (get_null_defines): Adjust.
41113         * sunrpc/Makefile: Adjust comment.
41114         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
41115         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
41116         (CFLAGS-interp.c): Likewise.
41117         (CFLAGS-ldconfig.c): Likewise.
41118         (CPPFLAGS-.os): Likewise.
41119         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41120         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41121         * extra-modules.mk (extra-modules.mk): Likewise.
41122         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
41123         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
41124         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
41125         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
41126         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
41127         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
41128         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
41129         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
41130         * iconvdata/Makefile (CPPFLAGS): Likewise.
41131         (cpp-srcs-left): Add libof for all iconvdata routines.
41132         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
41133         * include/assert.h: Likewise.
41134         * include/ctype.h: Likewise.
41135         * include/errno.h: Likewise.
41136         * include/libc-symbols.h: Likewise.
41137         * include/math.h: Likewise.
41138         * include/netdb.h: Likewise.
41139         * include/resolv.h: Likewise.
41140         * include/stdio.h: Likewise.
41141         * include/stdlib.h: Likewise.
41142         * include/string.h: Likewise.
41143         * include/sys/stat.h: Likewise.
41144         * include/wctype.h: Likewise.
41145         * intl/l10nflist.c: Likewise.
41146         * libidn/idn-stub.c: Likewise.
41147         * libio/libioP.h: Likewise.
41148         * nptl/libc_multiple_threads.c: Likewise.
41149         * nptl/pthreadP.h: Likewise.
41150         * posix/regex_internal.h: Likewise.
41151         * resolv/res_hconf.c: Likewise.
41152         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
41153         * sysdeps/arm/memmove.S: Likewise.
41154         * sysdeps/arm/sysdep.h: Likewise.
41155         * sysdeps/generic/_itoa.h: Likewise.
41156         * sysdeps/generic/symbol-hacks.h: Likewise.
41157         * sysdeps/gnu/errlist.awk: Likewise.
41158         * sysdeps/gnu/errlist.c: Likewise.
41159         * sysdeps/i386/i586/memcpy.S: Likewise.
41160         * sysdeps/i386/i586/memset.S: Likewise.
41161         * sysdeps/i386/i686/memcpy.S: Likewise.
41162         * sysdeps/i386/i686/memmove.S: Likewise.
41163         * sysdeps/i386/i686/mempcpy.S: Likewise.
41164         * sysdeps/i386/i686/memset.S: Likewise.
41165         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41166         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41167         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
41168         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
41169         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41170         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41171         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
41172         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41173         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41174         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41175         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41176         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41177         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41178         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41179         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41180         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41181         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
41182         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
41183         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
41184         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41185         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41186         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41187         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41188         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41189         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41190         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41191         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
41192         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41193         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
41194         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41195         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41196         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41197         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41198         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41199         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41200         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41201         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41202         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41203         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41204         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41205         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41206         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41207         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41208         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41209         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41210         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41211         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
41212         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
41213         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41214         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41215         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41216         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
41217         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
41218         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41219         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41220         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
41221         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41222         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
41223         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
41224         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41225         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41226         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41227         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
41228         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41229         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41230         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
41231         * sysdeps/posix/closedir.c: Likewise.
41232         * sysdeps/posix/opendir.c: Likewise.
41233         * sysdeps/posix/readdir.c: Likewise.
41234         * sysdeps/posix/rewinddir.c: Likewise.
41235         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
41236         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
41237         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41238         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41239         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41240         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
41241         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
41242         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
41243         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
41244         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
41245         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
41246         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
41247         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
41248         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
41249         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
41250         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
41251         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
41252         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
41253         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
41254         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
41255         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
41256         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
41257         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
41258         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
41259         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
41260         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
41261         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
41262         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
41263         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
41264         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
41265         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
41266         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
41267         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
41268         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
41269         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
41270         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
41271         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41272         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41273         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
41274         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
41275         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
41276         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
41277         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
41278         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
41279         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
41280         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
41281         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
41282         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
41283         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
41284         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
41285         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
41286         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
41287         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
41288         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
41289         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
41290         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
41291         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
41292         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
41293         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
41294         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
41295         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
41296         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
41297         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
41298         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
41299         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
41300         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
41301         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
41302         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
41303         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
41304         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
41305         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
41306         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
41307         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
41308         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
41309         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
41310         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
41311         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
41312         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
41313         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41314         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
41315         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
41316         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41317         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
41318         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
41319         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41320         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
41321         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
41322         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41323         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41324         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41325         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
41326         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
41327         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
41328         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41329         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41330         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
41331         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41332         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41333         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
41334         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
41335         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41336         * sysdeps/unix/alpha/sysdep.S: Likewise.
41337         * sysdeps/unix/alpha/sysdep.h: Likewise.
41338         * sysdeps/unix/make-syscalls.sh: Likewise.
41339         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41340         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41341         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41342         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
41343         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41344         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
41345         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
41346         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41347         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41348         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
41349         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41350         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41351         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41352         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41353         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41354         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41355         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41356         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41357         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41358         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41359         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
41360         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41361         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41362         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41363         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41364         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41365         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41368         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
41369         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41370         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41371         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41372         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41373         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41374         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41375         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41376         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41377         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41378         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41379         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41380         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41381         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41382         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41383         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41384         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41385         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41386         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41387         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41388         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41389         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41390         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41391         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41392         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41393         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
41394         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41395         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41397         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
41398         * sysdeps/x86_64/memcpy.S: Likewise.
41399         * sysdeps/x86_64/memmove.c: Likewise.
41400         * sysdeps/x86_64/memset.S: Likewise.
41401         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
41402         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41403         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41404         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
41405         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
41406         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41407         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41408         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41409         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41410         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41411         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41412         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41413         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
41414         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41415         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41416         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
41417         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41418         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41419         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41420         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41421         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
41422         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41423         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41424         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41425         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41426         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41427         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41428         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
41429         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41430         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41431         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
41432         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41433         * sysdeps/x86_64/strcmp.S: Likewise.
41435         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
41437         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
41438         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
41439         * elf/rtld-Rules: Likewise.
41440         * elf/setup-vdso.h: Likewise.
41441         * include/assert.h: Likewise.
41442         * include/bits/stdlib-float.h: Likewise.
41443         * include/errno.h: Likewise.
41444         * include/sys/stat.h: Likewise.
41445         * include/unistd.h: Likewise.
41446         * sysdeps/aarch64/setjmp.S: Likewise.
41447         * sysdeps/alpha/setjmp.S: Likewise.
41448         * sysdeps/arm/__longjmp.S: Likewise.
41449         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
41450         * sysdeps/arm/setjmp.S: Likewise.
41451         * sysdeps/arm/sysdep.h: Likewise.
41452         * sysdeps/generic/_itoa.h: Likewise.
41453         * sysdeps/generic/dl-sysdep.h: Likewise.
41454         * sysdeps/generic/ldsodefs.h: Likewise.
41455         * sysdeps/i386/dl-tls.h: Likewise.
41456         * sysdeps/i386/setjmp.S: Likewise.
41457         * sysdeps/m68k/setjmp.c: Likewise.
41458         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
41459         * sysdeps/mach/hurd/opendir.c: Likewise.
41460         * sysdeps/posix/getcwd.c: Likewise.
41461         * sysdeps/posix/opendir.c: Likewise.
41462         * sysdeps/posix/profil.c: Likewise.
41463         * sysdeps/powerpc/dl-procinfo.h: Likewise.
41464         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41465         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41466         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41467         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41468         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
41469         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41470         * sysdeps/s390/dl-tls.h: Likewise.
41471         * sysdeps/s390/s390-32/setjmp.S: Likewise.
41472         * sysdeps/s390/s390-64/setjmp.S: Likewise.
41473         * sysdeps/sh/sh3/setjmp.S: Likewise.
41474         * sysdeps/sh/sh4/setjmp.S: Likewise.
41475         * sysdeps/unix/alpha/sysdep.h: Likewise.
41476         * sysdeps/unix/arm/sysdep.S: Likewise.
41477         * sysdeps/unix/i386/sysdep.S: Likewise.
41478         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41479         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41480         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41481         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41482         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41483         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41484         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41485         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41486         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41487         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41488         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
41489         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41490         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41493         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41494         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41495         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41496         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41497         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41498         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41499         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41500         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41501         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41502         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41503         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41504         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41505         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41506         * sysdeps/x86_64/setjmp.S: Likewise.
41508         * include/math.h: Use IS_IN instead of IS_IN_libm.
41509         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
41510         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41511         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41512         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
41513         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41514         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41515         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41516         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41517         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41518         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41519         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
41520         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
41521         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
41522         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
41523         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
41524         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
41525         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
41526         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
41527         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
41528         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
41529         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
41530         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
41531         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
41532         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
41533         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
41534         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
41535         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
41536         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
41537         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
41538         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
41539         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
41540         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41541         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
41543         Likewise.
41544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
41545         Likewise.
41546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
41547         Likewise.
41548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
41549         Likewise.
41550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
41551         Likewise.
41552         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41553         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
41554         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41555         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41556         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41557         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
41559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
41560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
41561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
41562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
41563         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
41564         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
41565         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41566         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41567         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41568         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41569         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41570         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41571         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41572         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
41573         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
41574         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
41575         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
41576         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
41577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41578         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
41580         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
41581         * nptl/pthreadP.h: Likewise.
41582         * nptl_db/structs.def: Likewise.
41583         * sysdeps/arm/sysdep.h: Likewise.
41584         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41585         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41586         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
41587         * sysdeps/unix/alpha/sysdep.h: Likewise.
41588         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41589         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41590         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41591         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41592         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41593         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41594         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41595         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41596         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41597         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41598         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41599         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41600         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41601         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41604         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41605         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41606         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41607         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41608         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41609         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41610         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41611         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41612         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
41613         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41615         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
41616         * nptl/pthreadP.h: Likewise.
41617         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41618         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41619         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41620         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41621         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41622         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41623         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41624         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41625         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41626         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41627         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41628         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
41630         Likewise.
41631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
41632         Likewise.
41633         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41634         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41635         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41636         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41637         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41638         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41639         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41640         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41642         * dlfcn/dladdr.c: Use IS_IN.
41643         * dlfcn/dladdr1.c: Likewise.
41644         * dlfcn/dlclose.c: Likewise.
41645         * dlfcn/dlerror.c: Likewise.
41646         * dlfcn/dlinfo.c: Likewise.
41647         * dlfcn/dlmopen.c: Likewise.
41648         * dlfcn/dlopen.c: Likewise.
41649         * dlfcn/dlsym.c: Likewise.
41650         * dlfcn/dlvsym.c: Likewise.
41652         * include/ifaddrs.h: Use IS_IN.
41653         * inet/check_pf.c: Likewise.
41654         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41655         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
41657         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
41658         IS_IN_ldconfig.
41659         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
41660         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
41662         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
41663         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
41664         IS_IN (libc).
41666         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
41668         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
41669         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41670         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41671         * include/libc-symbols.h (IS_IN_LIB): New macro.
41672         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
41673         * include/netdb.h: Likewise.
41674         * include/stap-probe.h: Remove all uses of IN_LIB.
41676         * Makeconfig (module-cppflags-real): Define MODULE_NAME
41677         instead of IN_MODULE.
41678         * include/libc-symbols.h (IN_MODULE): Define using
41679         MODULE_NAME.
41680         (PASTE_NAME, PASTE_NAME1): New macros.
41681         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
41682         of IN_LIB.
41683         (STAP_PROBE_ASM): Likewise.
41685 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41687         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
41688         __mach_init in dlopened libc.
41690 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
41692         * sysdeps/arm/preconfigure.ac: Delete EABI check.
41693         * sysdeps/arm/preconfigure: Regenerate.
41695 2014-11-21  Roland McGrath  <roland@hack.frob.com>
41697         * nptl/pthread_create.c (__pthread_create_2_1): Set
41698         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
41699         when copying values from IATTR into PD.
41701 2014-11-21  Will Newton  <will.newton@linaro.org>
41702             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
41704         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
41705         Refactor inline-asm.  Also add comment.
41707         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
41708         ElfW macro instead of hardcoded Elf64 types.
41709         (la_aarch64_gnu_pltenter): Likewise.
41710         * sysdeps/aarch64/dl-machine.h
41711         (elf_machine_runtime_setup): Use ElfW(Addr).
41713         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
41714         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
41715         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
41716         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
41717         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
41718         (R_AARCH64_TLS_DTPMOD64): Rename to ..
41719         (R_AARCH64_TLS_DTPMOD): This.
41720         (R_AARCH64_TLS_DTPREL64): Rename to ...
41721         (R_AARCH64_TLS_DTPREL): This.
41722         (R_AARCH64_TLS_TPREL64): Rename to ...
41723         (R_AARCH64_TLS_TPREL): This.
41724         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
41725         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
41726         R_AARCH64_TLS_TPREL64.
41727         (elf_machine_rela): Likewise.
41729 2014-11-21  Torvald Riegel  <triegel@redhat.com>
41731         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
41732         by setting it to 0.  64b atomics are not supported currently.
41734 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41736         [BZ #16469]
41737         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
41738         search domain names.
41740 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41742         [BZ #16469]
41743         * NEWS: Update.
41744         * resolv/res_query.c (__libc_res_nquerydomain): Retain
41745         trailing dot.
41746         * posix/tst-getaddrinfo5.c: New.
41747         * posix/Makefile (tests): Add it.
41749 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41751         [BZ #14498]
41752         * NEWS: Fixed.
41753         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
41754         after parsing line but before break_if_match.
41755         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
41756         if there is a protocol mismatch.
41758 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
41760         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
41761         because the potential race is on the user-supplied stream.
41763 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41765         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
41766         string literal if not passed a buffer.
41767         * manual/job.texi (ctermid): Update reasoning, note deviation
41768         from posix, suggest mtasurace when not passed a buffer, for
41769         future non-preliminary safety notes.
41771 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41773         * manual/users.texi (cuserid): Fix MT-Safety note for the case
41774         of not passing it a buffer.
41775         Reported by Peng Haitao.
41777 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41779         * manual/Makefile ($(objpfx)stamp-summary): Require
41780         check-safety.sh to pass.
41781         * manual/check-safety.sh: Wish for verification that every
41782         @deftypefn and @deftypefun is followed by a @safety remark.
41784 2014-11-20  Roland McGrath  <roland@hack.frob.com>
41786         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
41788         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
41789         PTHREAD_CANCEL_ASYNCHRONOUS.
41790         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
41791         send SIGCANCEL.
41793         * nptl/default-sched.h: New file.
41794         * sysdeps/unix/sysv/linux/default-sched.h: New file.
41795         * nptl/pthread_create.c: Include it.
41796         (__pthread_create_2_1): Use collect_default_sched instead of making
41797         Linux syscalls here directly.
41799 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41801         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
41802         __pthread_once): Use C11 atomics.
41804 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41806         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
41808 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41810         * include/atomic.h (__atomic_link_error, __atomic_check_size,
41811         atomic_thread_fence_acquire, atomic_thread_fence_release,
41812         atomic_thread_fence_seq_cst, atomic_load_relaxed,
41813         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
41814         atomic_compare_exchange_weak_relaxed,
41815         atomic_compare_exchange_weak_acquire,
41816         atomic_compare_exchange_weak_release,
41817         atomic_exchange_acquire, atomic_exchange_release,
41818         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
41819         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
41820         atomic_fetch_and_acquire,
41821         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
41823 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41825         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
41826         USE_ATOMIC_COMPILER_BUILTINS): Define.
41827         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
41828         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41829         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
41830         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41831         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
41832         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41833         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
41834         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41835         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
41836         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41837         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
41838         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41839         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
41840         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41841         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
41842         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41843         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41844         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41845         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41846         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41847         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
41848         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41849         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41850         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41851         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
41852         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41853         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41854         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41855         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
41856         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41857         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
41858         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41859         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
41860         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41861         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
41862         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41863         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
41864         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41865         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
41866         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41868 2014-11-19  Roland McGrath  <roland@hack.frob.com>
41870         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
41871         the sched_priority value here.  It was already checked when the user
41872         called pthread_attr_setschedparam.
41874         * nptl/tst-bad-schedattr.c: New file.
41875         * nptl/Makefile (tests): Add it.
41877 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
41878             Florian Weimer  <fweimer@redhat.com>
41879             Joseph Myers  <joseph@codesourcery.com>
41880             Adam Conrad  <adconrad@0c3.net>
41881             Andreas Schwab  <schwab@suse.de>
41882             Brooks  <bmoses@google.com>
41884         [BZ #17625]
41885         * wordexp-test.c (__dso_handle): Add prototype.
41886         (__register_atfork): Likewise.
41887         (__app_register_atfork): New function.
41888         (registered_forks): New global.
41889         (register_fork): New function.
41890         (test_case): Add 3 new tests for WRDE_CMDSUB.
41891         (main): Call __app_register_atfork.
41892         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
41893         fork count is non-zero fail the test.
41894         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
41895         is set.
41896         (parse_dollars): Remove check for WRDE_NOCMD.
41897         (parse_dquote): Likewise.
41899 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41901         * Makeconfig (built-modules): List non-library modules to be
41902         built.
41903         (module-cppflags): Include libc-modules.h for
41904         everything except shlib-versions.v.i.
41905         (CPPFLAGS): Use it.
41906         (before-compile): Add libc-modules.h.
41907         ($(common-objpfx)libc-modules.h,
41908         $(common-objpfx)libc-modules.stmp): New targets.
41909         (common-generated): Add libc-modules.h and libc-modules.stmp.
41910         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
41911         * include/libc-symbols.h: Don't include libc-modules.h.
41912         * include/libc-modules.h: Remove file.
41913         * scripts/gen-libc-modules.awk: New script to generate
41914         libc-modules.h.
41915         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
41916         Depend on libc-modules.stmp.
41918         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
41920         * Makeconfig (in-module): Get value of libof set for the
41921         translation unit.
41922         (CPPFLAGS): Use $(in-module).
41923         * Makerules: Don't suffix routine names for nonlib.
41924         * include/libc-modules.h: New file.
41925         * include/libc-symbols.h: Include libc-modules.h
41926         (IS_IN): New macro to replace IS_IN_* macros.
41927         * elf/Makefile: Set libof-* for each routine.
41928         * elf/rtld-Rules: Likewise.
41929         * extra-modules.mk: Likewise.
41930         * iconv/Makefile: Likewise.
41931         * iconvdata/Makefile: Likewise.
41932         * locale/Makefile: Likewise.
41933         * malloc/Makefile: Likewise.
41934         * nss/Makefile: Likewise.
41935         * sysdeps/gnu/Makefile: Likewise.
41936         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
41937         * sysdeps/unix/sysv/linux/Makefile: Likewise.
41938         * sysdeps/s390/s390-64/Makefile: Likewise.
41939         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
41940         CPPFLAGS for nscd instead of nonlib.
41942 2014-11-18  Roland McGrath  <roland@hack.frob.com>
41944         * nptl/createthread.c: New file.
41946         * nptl/createthread.c: Moved ...
41947         * sysdeps/unix/sysv/linux/createthread.c: ... here.
41949         * nptl/createthread.c: Add proper top-line comment.
41950         (do_clone): Folded into ...
41951         (create_thread): ... here.  Take new arguments STOPPED_START and
41952         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
41953         increment __nptl_threads, do event-reporting logic, do
41954         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
41955         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
41956         resource cleanup if sched_setaffinity or sched_setscheduler fails,
41957         just send SIGCANCEL.
41958         * nptl/pthread_create.c: Forward-declare create_thread before
41959         including createthread.c.
41960         (start_thread): Use new macro START_THREAD_DEFN to replace defining
41961         declaration, and new macro START_THREAD_SELF to replace argument.
41962         Remove return statement.
41963         (report_thread_creation): New function.
41964         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
41965         synchronization logic, and __nptl_nthreads increment here, around
41966         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
41967         PD->parent_cancelhandling here, before create_thread.  When
41968         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
41969         __deallocate_stack, and ENOMEM translation here.
41971 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
41973         [BZ #17616]
41974         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
41975         (mptwo): Rename to __mptwo.
41976         (__inv): Use __mptwo instead of mptwo.
41977         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
41978         (mptwo): Rename to __mptwo.
41979         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
41980         of mpone and __mptwo instead of mptwo.
41981         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
41982         instead of mpone.
41983         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41984         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
41985         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
41986         of mpone and __mptwo instead of mptwo.
41987         (__mpranred): Use __mpone instead of mpone.
41988         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
41989         variable.
41990         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41991         (test-xfail-ISO99/math.h/linknamespace): Likewise.
41992         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41993         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41994         (test-xfail-ISO11/math.h/linknamespace): Likewise.
41995         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41996         (test-xfail-XPG3/math.h/linknamespace): Likewise.
41997         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41998         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41999         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42000         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42001         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42002         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42003         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42004         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42005         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42006         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42007         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42008         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42010 2014-11-18  Tom de Vries  <tom@codesoucery.com>
42012         * manual/signal.texi (Primitives Interrupted by Signals): In section,
42013         replace BSD Handler xref with BSD Signal Handling.
42015 2014-11-17  Richard Henderson  <rth@redhat.com>
42017         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
42018         (_FP_PACK_RAW_2): Remove.
42019         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
42020         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
42021         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
42022         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
42023         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
42024         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
42025         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
42026         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
42027         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
42028         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
42029         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
42030         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
42031         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
42032         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
42033         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
42034         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
42036 2014-11-14  Roland McGrath  <roland@hack.frob.com>
42038         * signal/signal.h [__USE_MISC]
42039         (struct sigvec): Remove type.
42040         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
42041         (sigvec): Remove declaration.
42042         * sysdeps/posix/sigvec.c: Moved ...
42043         * signal/sigvec.c: ... here, replacing old file.
42044         (struct sigvec): New type, copied from old signal.h definition.
42045         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
42046         (__sigvec): Convert definition to prototype.
42047         (sigvec): Replace weak_alias with compat_symbol.
42048         * signal/Versions (libc: GLIBC_2.21): New version set.
42049         * include/signal.h: Remove __sigvec declaration.
42050         * sysdeps/unix/bsd/sigvec.c: Remove file.
42051         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
42052         * manual/signal.texi (BSD Handler): Remove subsection.
42053         Move siginterrupt up to ...
42054         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
42055         (Blocking in BSD): Fold subsection into its parent.
42056         * NEWS: Mention sigvec removal.
42058 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42060         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
42061         (DLA_FMS): Make definition conditional only on [__FMA4__].
42062         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
42063         definition.
42065         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
42066         Make definition conditional only on [PROF].
42067         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
42068         definition.
42069         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
42070         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
42072         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
42073         !__GNUC__].
42074         * include/signal.h (__sigpause): Move declaration above call to
42075         libc_hidden_proto.
42076         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
42077         variable.
42078         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42079         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42081 2014-11-14  David S. Miller  <davem@davemloft.net>
42083         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
42084         Define before including <string/memcpy.c> and <string/mempcpy.c>.
42086 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42088         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
42089         * configure: Regenerated.
42090         * manual/install.texi (Tools for Compilation): Document a
42091         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
42092         compiler verified to work.
42093         * INSTALL: Regenerated.
42095         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
42096         redeclare with asm name.
42097         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
42098         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
42099         including <string.h>.
42100         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42101         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
42102         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42103         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
42104         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42105         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
42106         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42108 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
42110         * stdlib/strtol.c (__strtol): Use prototype definition.
42112         [BZ #17594]
42113         * stdlib/strtol.c (SYM__): New macro.
42114         (SYM__1): Likewise.
42115         (__strtol): Likewise.
42116         (strtol): Rename to __strtol and define as weak alias of
42117         __strtol.  Use libc_hidden_weak.
42119 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42121         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
42122         Use numbered labels in inline assembly.
42124 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42126         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
42127         Add setjmp LIBC_PROBE.
42128         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
42129         Likewise.
42130         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
42131         Add longjmp, longjmp_target LIBC_PROBE.
42132         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
42133         Likewise.
42135 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42137         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42138         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
42139         to get rid of unused variable warning.
42141 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42143         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
42144         Check for unwind_backtrace ==  NULL only in SHARED case.
42145         (__backchain_backtrace): Compile only in SHARED case.
42146         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
42147         Likewise.
42148         (__backchain_backtrace): Declare as static.
42150 2014-11-12  Roland McGrath  <roland@hack.frob.com>
42152         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
42153         (__libc_multiple_threads_ptr): Variable moved ...
42154         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
42156 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
42158         * conform/GlibcConform.pm: New file.
42159         * conform/conformtest.pl: Use GlibcConform module.
42160         * conform/linknamespace.pl: New file.
42161         * conform/list-header-symbols.pl: Likewise.
42162         * conform/Makefile (linknamespace-symlists-base): New variable.
42163         (linknamespace-symlists-tests): Likewise.
42164         (linknamespace-header-base): Likewise.
42165         (linknamespace-header-tests): Likewise.
42166         (tests-special): Add new tests.
42167         ($(linknamespace-symlists-tests)): New rule.
42168         (linknamespace-libs): New variable.
42169         ($(objpfx)symlist-stdlibs): New rule.
42170         ($(linknamespace-header-tests)): Likewise.
42171         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
42172         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
42173         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
42174         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
42175         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
42176         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
42177         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
42178         (test-xfail-ISO/math.h/linknamespace): Likewise.
42179         (test-xfail-ISO/signal.h/linknamespace): Likewise.
42180         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
42181         (test-xfail-ISO/time.h/linknamespace): Likewise.
42182         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42183         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
42184         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42185         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42186         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42187         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42188         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42189         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
42190         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42191         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42192         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42193         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42194         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
42195         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
42196         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
42197         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42198         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
42199         (test-xfail-XPG3/search.h/linknamespace): Likewise.
42200         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
42201         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42202         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
42203         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
42204         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
42205         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
42206         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
42207         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
42208         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
42209         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
42210         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42211         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
42212         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42213         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
42214         (test-xfail-XPG4/search.h/linknamespace): Likewise.
42215         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
42216         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
42217         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
42218         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
42219         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
42220         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42221         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
42222         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
42223         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
42224         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
42225         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
42226         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42227         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
42228         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
42229         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
42230         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42231         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
42232         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42233         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42234         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
42235         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
42236         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42237         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
42238         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
42239         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
42240         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
42241         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42242         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42243         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42244         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
42245         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
42246         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42247         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42248         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
42249         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42250         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
42251         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
42252         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
42253         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
42254         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42255         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42256         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
42257         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42258         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
42259         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
42260         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
42261         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
42262         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42263         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
42264         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
42265         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
42266         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
42267         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
42268         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42269         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42270         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
42271         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
42272         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
42273         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
42274         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42275         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
42276         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
42277         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42278         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
42279         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
42280         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
42281         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42282         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42283         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
42284         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
42285         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42286         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42287         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
42288         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
42289         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
42290         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
42291         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42292         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
42293         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
42294         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
42295         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
42296         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42297         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
42298         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42299         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
42300         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42301         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
42302         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
42303         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
42304         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42305         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42306         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42307         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42308         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
42309         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42310         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42311         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
42312         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
42313         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
42314         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
42315         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42316         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42317         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
42318         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42319         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
42320         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42321         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
42322         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
42323         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
42324         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42325         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
42326         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42327         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42328         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
42329         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42330         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42331         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
42333         [BZ #17589]
42334         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
42335         of fgets_unlocked.
42337         [BZ #17585]
42338         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
42339         (memmem): Rename to __memmem and define as weak alias of
42340         __memmem.  Use libc_hidden_weak.
42341         (__memmem): Use libc_hidden_def.
42342         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
42343         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
42344         memmem.
42346         [BZ #17582]
42347         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
42348         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
42349         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
42350         and define as weak alias of __fgets_unlocked.  Use
42351         libc_hidden_weak.
42352         (__fgets_unlocked): Use libc_hidden_def.
42353         * include/stdio.h (__fgets_unlocked): Declare.  Use
42354         libc_hidden_proto.
42355         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
42356         __fgets_unlocked instead of fgets_unlocked.
42357         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
42358         (GET_NPROCS_CONF_PARSER): Likewise.
42359         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
42360         (GET_NPROCS_CONF_PARSER): Likewise.
42362         [BZ #17574]
42363         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
42364         weak alias of __wmemset.  Use libc_hidden_weak.
42365         (__wmemset): Use libc_hidden_def.
42366         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
42367         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
42368         of wmemset.
42370         [BZ #17573]
42371         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
42372         with asm name __mempcpy.
42373         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
42375         [BZ #17572]
42376         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
42377         and define as weak alias of __rawmemchr.
42378         (__rawmemchr): Do not define as strong alias of rawmemchr.
42380         [BZ #17571]
42381         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
42382         alias of __qsort_r.
42383         (qsort): Call __qsort_r instead of qsort_r.
42384         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
42385         (__qsort_r): Declare.  Call libc_hidden_proto.
42386         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
42387         instead of qsort_r.
42388         * nscd/gai.c (__qsort_r): Define to qsort_r.
42389         * posix/tst-rfc3484.c (__qsort_r): Likewise.
42390         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
42391         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
42393         [BZ #17570]
42394         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
42395         define as weak alias of __malloc_info.
42397         [BZ #17584]
42398         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
42399         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42400         (__rewinddir): Use libc_hidden_def.
42401         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
42402         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42403         (__rewinddir): Use libc_hidden_def.
42404         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
42405         weak alias of __rewinddir.  Don't use libc_hidden_def.
42406         (__rewinddir): Use libc_hidden_def.
42407         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
42408         (__rewinddir): Use libc_hidden_proto.
42409         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
42410         rewinddir.
42411         (__getcwd): Use __rewinddir instead of rewinddir.
42413         [BZ #17583]
42414         * libio/fileno.c (fileno): Rename to __fileno and define as weak
42415         alias of __fileno.  Use libc_hidden_weak.
42416         (__fileno): Use libc_hidden_def.
42417         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
42418         * libio/ftello.c (ftello): Rename to __ftello and define as weak
42419         alias of __ftello.
42420         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
42421         __ftello.
42422         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
42423         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
42424         libc_hidden_def.
42425         (fread_unlocked): Don't use libc_hidden_ver.
42426         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
42427         and define as weak alias of __fread_unlocked.  Don't use
42428         libc_hidden_def.
42429         (__fread_unlocked): Use libc_hidden_def.
42430         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
42431         (ftello): Don't use libc_hidden_proto.
42432         (__ftello): Declare.  Use libc_hidden_proto.
42433         (fread_unlocked): Don't use libc_hidden_proto.
42434         (__fread_unlocked): Declare.  Use libc_hidden_proto.
42435         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
42436         and __ftello instead of fileno, fread_unlocked and ftello.
42438 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42440         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
42441         GOT12.
42442         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42443         Likewise.
42444         (_dl_start_user): Likewise.
42445         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
42447 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
42448             Siddhesh Poyarekar  <siddhesh@redhat.com>
42450         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
42451         Move argv and envp down instead of moving argc up.
42452         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
42454 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
42456         [BZ #17506]
42457         * test-skeleton.c (main): Return successful if one of
42458         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
42459         * string/tst-strcoll-overflow.c: Define expected status.
42461 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
42463         [BZ #17475]
42464         * locale/iso-639.def: Define Bhili and Tulu language codes.
42466 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
42468         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
42470 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
42472         [BZ #17555]
42473         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
42475 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
42477         * configure.ac: Updated check of minimal required version to
42478         2.22.
42479         * manual/install.texi (Tools for Compilation): Updated version
42480         number.
42481         * configure: Regenerated.
42482         * INSTALL: Likewise.
42484 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
42486         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
42487         __tls_get_addr.
42489 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
42491         * include/sys/wait.h (__libc_waitpid): Remove declaration.
42492         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
42493         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42494         libc_hidden_weak.
42495         (waitpid): Define as alias of __waitpid.
42496         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
42497         __waitpid.
42498         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42499         libc_hidden_weak.
42500         (waitpid): Define as alias of __waitpid.
42501         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
42502         __libc_waitpid alias.
42503         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
42504         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
42505         Likewise.
42506         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
42507         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
42508         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
42509         alias.
42510         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
42511         __waitpid.
42512         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42513         libc_hidden_weak.
42514         (waitpid): Define as alias of __waitpid.
42516 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
42518         * manual/llio.texi: Add comment that write safety has been
42519         fixed in Linux.
42521         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
42522         (localplt-build-dso): Add elf/ld.so.
42523         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
42524         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
42525         and free for ld.so.
42526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
42527         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
42528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
42529         Likewise.
42530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42531         Likewise.
42532         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
42533         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
42534         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
42535         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
42536         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
42537         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
42538         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
42539         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
42540         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
42541         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
42542         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
42544 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
42546         [BZ #14132]
42547         * include/libc-symbols.h (INTUSE): Remove macro.
42548         (INTDEF): Likewise.
42549         (INTVARDEF): Likewise.
42550         (_INTVARDEF): Likewise.
42551         (INTDEF2): Likewise.
42552         (INTVARDEF2): Likewise.
42553         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
42554         rtld_hidden_def instead of INTVARDEF.
42555         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
42556         (_dl_starting_up_internal): Remove declaration.
42557         (_dl_starting_up): Use rtld_hidden_proto.
42558         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
42559         declaration.
42560         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
42561         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
42562         _dl_starting_up.
42563         * elf/dl-writev.h (_dl_writev): Likewise.
42564         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
42565         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
42566         _dl_starting_up_internal.
42568 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42570         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
42571         test-skeleton.c.
42573 2014-11-05  Will Newton  <will.newton@linaro.org>
42575         * benchtests/Makefile: (bench-malloc): Add malloc thread
42576         scalability benchmark.
42577         * benchtests/bench-malloc-threads.c: New file.
42579 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
42581         * sysdeps/aarch64/strchrnul.S: New file.
42583 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42585         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
42586         definition.
42587         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42588         Likewise.
42589         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42590         Likewise.
42591         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42592         Likewise.
42593         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42594         Likewise.
42595         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42596         Likewise.
42598 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
42600         * catgets/test-gencat.c: Use test-skeleton.c.
42601         * catgets/tst-catgets.c: Likewise.
42602         * csu/tst-empty.c: Likewise.
42603         * elf/tst-audit2.c: Likewise.
42604         * elf/tst-global1.c: Likewise.
42605         * elf/tst-pathopt.c: Likewise.
42606         * elf/tst-piemod1.c: Likewise.
42607         * elf/tst-tls10.c: Likewise.
42608         * elf/tst-tls11.c: Likewise.
42609         * elf/tst-tls12.c: Likewise.
42610         * gnulib/tst-gcc.c: Likewise.
42611         * iconvdata/tst-e2big.c: Likewise.
42612         * iconvdata/tst-loading.c: Likewise.
42613         * iconv/tst-iconv1.c: Likewise.
42614         * iconv/tst-iconv2.c: Likewise.
42615         * inet/test-inet6_opt.c: Likewise.
42616         * inet/tst-gethnm.c: Likewise.
42617         * inet/tst-network.c: Likewise.
42618         * inet/tst-ntoa.c: Likewise.
42619         * intl/tst-codeset.c: Likewise.
42620         * intl/tst-gettext2.c: Likewise.
42621         * intl/tst-gettext3.c: Likewise.
42622         * intl/tst-ngettext.c: Likewise.
42623         * intl/tst-translit.c: Likewise.
42624         * io/test-stat.c: Likewise.
42625         * libio/test-fmemopen.c: Likewise.
42626         * libio/tst-freopen.c: Likewise.
42627         * libio/tst-sscanf.c: Likewise.
42628         * libio/tst-ungetwc1.c: Likewise.
42629         * libio/tst-ungetwc2.c: Likewise.
42630         * libio/tst-widetext.c: Likewise.
42631         * localedata/tst-ctype.c: Likewise.
42632         * localedata/tst-digits.c: Likewise.
42633         * localedata/tst-leaks.c: Likewise.
42634         * localedata/tst-mbswcs1.c: Likewise.
42635         * localedata/tst-mbswcs2.c: Likewise.
42636         * localedata/tst-mbswcs3.c: Likewise.
42637         * localedata/tst-mbswcs4.c: Likewise.
42638         * localedata/tst-mbswcs5.c: Likewise.
42639         * localedata/tst-setlocale.c: Likewise.
42640         * localedata/tst-trans.c: Likewise.
42641         * localedata/tst-wctype.c: Likewise.
42642         * localedata/tst-xlocale1.c: Likewise.
42643         * login/tst-grantpt.c: Likewise.
42644         * malloc/tst-calloc.c: Likewise.
42645         * malloc/tst-malloc.c: Likewise.
42646         * malloc/tst-mallocstate.c: Likewise.
42647         * malloc/tst-mcheck.c: Likewise.
42648         * malloc/tst-mtrace.c: Likewise.
42649         * malloc/tst-obstack.c: Likewise.
42650         * math/atest-exp2.c: Likewise.
42651         * math/atest-exp.c: Likewise.
42652         * math/atest-sincos.c: Likewise.
42653         * math/test-matherr.c: Likewise.
42654         * math/test-misc.c: Likewise.
42655         * math/test-powl.c: Likewise.
42656         * math/tst-definitions.c: Likewise.
42657         * misc/tst-dirname.c: Likewise.
42658         * misc/tst-efgcvt.c: Likewise.
42659         * misc/tst-fdset.c: Likewise.
42660         * misc/tst-hsearch.c: Likewise.
42661         * misc/tst-mntent2.c: Likewise.
42662         * nptl/tst-sem7.c: Likewise.
42663         * nptl/tst-sem8.c: Likewise.
42664         * nptl/tst-sem9.c: Likewise.
42665         * nss/test-netdb.c: Likewise.
42666         * posix/tst-fnmatch.c: Likewise.
42667         * posix/tst-getlogin.c: Likewise.
42668         * posix/tst-gnuglob.c: Likewise.
42669         * posix/tst-mmap.c: Likewise.
42670         * pwd/tst-getpw.c: Likewise.
42671         * resolv/tst-inet_ntop.c: Likewise.
42672         * rt/tst-timer.c: Likewise.
42673         * stdio-common/test-fseek.c: Likewise.
42674         * stdio-common/test-popen.c: Likewise.
42675         * stdio-common/test-vfprintf.c: Likewise.
42676         * stdio-common/tst-cookie.c: Likewise.
42677         * stdio-common/tst-fileno.c: Likewise.
42678         * stdio-common/tst-gets.c: Likewise.
42679         * stdio-common/tst-obprintf.c: Likewise.
42680         * stdio-common/tst-perror.c: Likewise.
42681         * stdio-common/tst-sprintf2.c: Likewise.
42682         * stdio-common/tst-sprintf3.c: Likewise.
42683         * stdio-common/tst-sprintf.c: Likewise.
42684         * stdio-common/tst-swprintf.c: Likewise.
42685         * stdio-common/tst-tmpnam.c: Likewise.
42686         * stdio-common/tst-unbputc.c: Likewise.
42687         * stdio-common/tst-wc-printf.c: Likewise.
42688         * stdlib/tst-environ.c: Likewise.
42689         * stdlib/tst-fmtmsg.c: Likewise.
42690         * stdlib/tst-limits.c: Likewise.
42691         * stdlib/tst-rand48-2.c: Likewise.
42692         * stdlib/tst-rand48.c: Likewise.
42693         * stdlib/tst-random2.c: Likewise.
42694         * stdlib/tst-random.c: Likewise.
42695         * stdlib/tst-strtol.c: Likewise.
42696         * stdlib/tst-strtoll.c: Likewise.
42697         * stdlib/tst-tls-atexit.c: Likewise.
42698         * stdlib/tst-xpg-basename.c: Likewise.
42699         * string/test-ffs.c: Likewise.
42700         * string/tst-bswap.c: Likewise.
42701         * string/tst-inlcall.c: Likewise.
42702         * string/tst-strtok.c: Likewise.
42703         * string/tst-strxfrm.c: Likewise.
42704         * sysdeps/x86_64/tst-audit10.c: Likewise.
42705         * sysdeps/x86_64/tst-audit3.c: Likewise.
42706         * sysdeps/x86_64/tst-audit4.c: Likewise.
42707         * sysdeps/x86_64/tst-audit5.c: Likewise.
42708         * time/tst-ftime_l.c: Likewise.
42709         * time/tst-getdate.c: Likewise.
42710         * time/tst-mktime3.c: Likewise.
42711         * time/tst-mktime.c: Likewise.
42712         * time/tst-posixtz.c: Likewise.
42713         * time/tst-strptime2.c: Likewise.
42714         * time/tst-strptime3.c: Likewise.
42715         * wcsmbs/tst-btowc.c: Likewise.
42716         * wcsmbs/tst-mbrtowc.c: Likewise.
42717         * wcsmbs/tst-mbsrtowcs.c: Likewise.
42718         * wcsmbs/tst-wchar-h.c: Likewise.
42719         * wcsmbs/tst-wcpncpy.c: Likewise.
42720         * wcsmbs/tst-wcrtomb.c: Likewise.
42721         * wcsmbs/tst-wcsnlen.c: Likewise.
42722         * wcsmbs/tst-wcstof.c: Likewise.
42724 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
42726         [BZ #14132]
42727         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
42728         INTDEF.
42729         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
42730         declaration.
42731         (_dl_mcount): Use rtld_hidden_proto.
42732         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
42733         _dl_mcount.
42734         * elf/rtld.c (_rtld_global_ro): Likewise.
42736         [BZ #14132]
42737         * elf/dl-init.c (_dl_init): Don't use INTDEF.
42738         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
42739         of _dl_init_internal.
42740         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
42741         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
42742         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
42743         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
42744         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
42745         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
42746         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
42747         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
42748         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
42749         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
42750         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
42751         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
42752         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42753         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42754         * sysdeps/tile/dl-start.S (_start): Likewise.
42755         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
42756         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
42758         [BZ #14132]
42759         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
42760         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
42761         (rtld_progname): Make macro definition unconditional.
42762         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
42763         INTDEF.
42764         (dlmopen_doit): Do not use INTUSE with _dl_argv.
42765         (dl_main): Likewise.
42766         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42767         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
42768         instead of _dl_argv_internal.
42769         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42770         __GI__dl_argv instead of INTUSE(_dl_argv).
42771         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
42772         __GI__dl_argv instead of _dl_argv_internal.
42774         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
42775         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
42776         macro.
42777         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
42778         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
42779         New macro.
42780         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
42781         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
42782         macro.
42783         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
42784         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
42786 2014-11-04  Andreas Schwab  <schwab@suse.de>
42788         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
42790 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42792         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
42793         mtvsrd instruction in binary form.
42795 2014-11-03  Andreas Schwab  <schwab@suse.de>
42797         [BZ #17522]
42798         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
42799         for less than MB_LEN_MAX use a local buffer of that size.
42800         * libio/tst-fputws.c: New file.
42801         * libio/Makefile (tests): Add tst-fputws.
42803 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
42805         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
42806         the size of the fpu_fr.fpu_dregs[] array.
42808 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
42810         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
42811         (__nanosleep): Do not define as alias.
42812         (nanosleep): Define as alias of __nanosleep.
42813         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
42814         __libc_nanosleep name.
42816 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
42818         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
42819         install.texi in comment.
42821 2014-10-31  Torvald Riegel  <triegel@redhat.com>
42823         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
42824         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
42825         ... add here and use lwsync or sync ...
42826         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
42827         ... and add here using lwsync.
42829 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
42831         * elf/dl-machine-reject-phdr.h: New file.
42832         * elf/dl-load.c: #include that.
42833         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
42834         if that returned true.
42836 2014-10-31  Roland McGrath  <roland@hack.frob.com>
42838         [BZ #17496]
42839         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
42840         gen-as-const-headers chunk.  Add a big scare comment after the last
42841         safe place to touch before-compile.
42843 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
42845         * manual/install.texi (Tools for Compilation): Update autoconf
42846         version requirements.
42847         * INSTALL: Regenerated.
42849         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
42850         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
42851         (__libc_pselect): Likewise.
42853         [BZ #14138]
42854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
42855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42859 2014-10-31  Torvald Riegel  <triegel@redhat.com>
42861         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
42862         correct barrier instruction.
42863         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
42864         Likewise.
42865         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
42866         Likewise.
42868 2014-10-30  Roland McGrath  <roland@hack.frob.com>
42870         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
42871         after defining inlines.  Instead, just use parens to defeat macro
42872         expansion of __isctype in its declaration.
42874 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
42876         * include/sys/uio.h (__libc_readv): Remove declaration.
42877         (__libc_writev): Likewise.
42878         * misc/readv.c (__libc_readv): Rename to __readv.
42879         (__readv): Do not define as alias.
42880         (readv): Define as alias of __readv.
42881         * misc/writev.c (__libc_writev): Rename to __writev.
42882         (__writev): Do not define as alias.
42883         (writev): Define as alias of __writev.
42884         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
42885         (__readv): Do not define as alias.
42886         (readv): Define unconditionally as alias of __readv.
42887         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
42888         (__writev): Do not define as alias.
42889         (writev): Define unconditionally as alias of __writev.
42890         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
42891         name.
42892         (writev): Do not define __libc_writev name.
42894 2014-10-30  Roland McGrath  <roland@hack.frob.com>
42896         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
42897         (convert_charseq): New function, broken out of ...
42898         (use_from_charmap): ... here.  Call it.
42899         (use_to_charmap): Use convert_charseq and free instead of duplicating
42900         its code with a variable-length stack struct.
42902 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
42904         * include/fcntl.h (__libc_creat): Remove declaration.
42905         * io/creat.c (__libc_creat): Rename to creat.
42906         (creat): Do not define as alias.
42907         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
42908         of creat instead of __libc_creat.
42909         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
42910         to creat.
42911         (creat): Do not define as alias.
42912         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
42913         __libc_creat.
42914         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
42915         __libc_creat name.
42916         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
42917         Likewise.
42919 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
42921         * manual/llio.texi: Add comments discussing why write() may be
42922         considered MT-unsafe on Linux.
42924 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
42926         * dl-load.c (local_strdup): Remove.
42927         (expand_dynamic_string_token): Use __strdup.
42928         (decompose_rpath): Likewise.
42929         (_dl_map_object): Likewise.
42931 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
42933         [BZ #14132]
42934         * sysdeps/generic/unwind-dw2-fde.c
42935         (__register_frame_info_bases_internal): Do not declare.
42936         (__register_frame_info_table_bases_internal): Likewise.
42937         (__deregister_frame_info_bases_internal): Likewise.
42938         (__register_frame_info_bases): Declare and use hidden_proto before
42939         definition.  Use hidden_def instead of INTDEF.
42940         (__register_frame_info_table_bases): Likewise.
42941         (__deregister_frame_info_bases): Likewise.
42942         (__register_frame_info): Do not use INTUSE.
42943         (__register_frame): Likewise.
42944         (__register_frame_info_table): Likewise.
42945         (__register_frame_table): Likewise.
42946         (__deregister_frame_info): Likewise.
42947         (__deregister_frame): Likewise.
42949 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
42951         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42952         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
42953         not undefine.
42954         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
42955         Likewise.
42956         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
42957         Likewise.
42959 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
42961         [BZ #14138]
42962         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
42963         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
42964         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
42965         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
42966         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
42967         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
42968         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
42969         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
42970         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
42971         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
42972         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
42973         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
42974         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
42975         syscall.
42976         (setfsuid): Likewise.
42977         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
42978         (setfsuid): Likewise.
42979         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
42980         (setfsuid): Likewise.
42981         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
42982         Likewise.
42983         (setfsuid): Likewise.
42984         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
42985         (setfsuid): Likewise.
42986         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
42987         Likewise.
42988         (setfsuid): Likewise.
42990 2014-10-27  Andreas Schwab  <schwab@suse.de>
42992         [BZ #17501]
42993         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
42994         check for Slow_SSE4_2 feature bit.
42995         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
42996         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42997         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
42998         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
43000 2014-10-24  Roland McGrath  <roland@hack.frob.com>
43002         * configure.ac: Validate compiler version with a empirical test of
43003         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
43004         $CC -v output.
43005         * configure: Regenerated.
43007         * inet/htons.c (htons): Prototypify.
43008         * inet/htonl.c (htonl): Likewise.
43010 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43012         * string/strncat.c (strncat): Improve performance by using strlen.
43014 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43016         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
43018 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43020         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
43021         Call libc_fetestexcept_aarch64.
43023 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43025         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
43026         Call libc_feholdexcept_aarch64.
43028 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43030         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
43031         Call get_rounding_mode.
43033 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43035         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
43036         Simplify logic.
43038 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43040         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
43041         Simplify logic.
43043 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
43045         [BZ #14138]
43046         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
43047         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
43048         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
43049         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
43050         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
43051         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
43052         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
43053         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
43054         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
43055         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
43056         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43057         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
43058         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
43059         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
43060         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
43061         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
43062         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
43063         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
43064         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
43065         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
43066         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
43067         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
43068         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
43069         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
43070         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
43071         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
43072         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
43073         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
43074         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
43075         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
43076         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
43077         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
43078         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
43079         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
43080         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
43081         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
43082         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
43083         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
43084         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
43085         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
43086         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
43087         syscall.
43088         (geteuid): Likewise.
43089         (getgid): Likewise.
43090         (getuid): Likewise.
43091         (getresgid): Likewise.
43092         (getresuid): Likewise.
43093         (getgroups): Likewise.
43094         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
43095         (geteuid): Likewise.
43096         (getgid): Likewise.
43097         (getuid): Likewise.
43098         (getresgid): Likewise.
43099         (getresuid): Likewise.
43100         (getgroups): Likewise.
43101         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
43102         (geteuid): Likewise.
43103         (getgid): Likewise.
43104         (getuid): Likewise.
43105         (getresgid): Likewise.
43106         (getresuid): Likewise.
43107         (getgroups): Likewise.
43108         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
43109         Likewise.
43110         (geteuid): Likewise.
43111         (getgid): Likewise.
43112         (getuid): Likewise.
43113         (getresgid): Likewise.
43114         (getresuid): Likewise.
43115         (getgroups): Likewise.
43116         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
43117         (geteuid): Likewise.
43118         (getgid): Likewise.
43119         (getuid): Likewise.
43120         (getresgid): Likewise.
43121         (getresuid): Likewise.
43122         (getgroups): Likewise.
43123         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
43124         Likewise.
43125         (geteuid): Likewise.
43126         (getgid): Likewise.
43127         (getuid): Likewise.
43128         (getgroups): Likewise.
43130         [BZ #14138]
43131         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
43132         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
43133         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
43134         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43135         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
43136         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
43137         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
43138         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
43139         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
43140         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
43141         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
43142         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
43143         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
43144         __chown.
43145         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
43146         (lchown): Likewise.
43147         (fchown): Likewise.
43148         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
43149         Likewise.
43150         (lchown): Likewise.
43151         (fchown): Likewise.
43152         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
43153         (lchown): Likewise.
43154         (fchown): Likewise.
43155         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
43156         Likewise.
43157         (lchown): Likewise.
43158         (fchown): Likewise.
43160 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43162         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
43163         Simplify logic.
43165 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43167         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43168         Cleanup logic.
43170 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43172         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43173         Remove unused include.
43175 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43177         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
43178         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
43179         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
43180         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
43182 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
43183             Helge Deller <deller@gmx.de>
43185         [BZ #17508]
43186         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
43187         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
43188         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
43190 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
43192         [BZ #14132]
43193         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
43194         Remove macro definition.
43195         (__ashrdi3_v_glibc20): Likewise.
43196         (__lshrdi3_v_glibc20): Likewise.
43197         (__cmpdi2_v_glibc20): Likewise.
43198         (__ucmpdi2_v_glibc20): Likewise.
43199         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
43200         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43201         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43202         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43203         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43204         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
43206 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43208         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
43209         old GNU extension [0] syntax.
43210         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
43211         alloca rather than an array member with variable length.
43212         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
43213         * nscd/nscd.c (invalidate_db): New function, broken out of ...
43214         (parse_opt): ... here.  Likewise use alloca there.
43215         Validate the -i argument before checking for rootness.
43216         (send_shutdown): New function, broken out of ...
43217         (parse_opt): ... here.
43219 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43221         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
43222         macro to get at the _rt_local_ro field.
43223         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
43224         ([PIC] case) or _dl_hwcap ([!PIC] case).
43225         * sysdeps/arm/setjmp.S: Likewise.
43227         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
43228         * sysdeps/arm/configure.ac: New check to define it.
43229         * sysdeps/arm/configure: Regenerated.
43230         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
43231         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
43232         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
43233         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
43234         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
43235         Use move/movt pair instead of a load.
43236         (LDST_GLOBAL): Macro removed.
43237         (LDR_GLOBAL): New macro replaces it.
43238         (LDR_HIDDEN): New macro.
43239         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
43240         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
43242         * setjmp/tst-setjmp-static.c: New file.
43243         * setjmp/Makefile (tests): Add it.
43244         (tests-static): New variable.
43246 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
43248         [BZ #17485]
43249         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
43251 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
43253         [BZ #14132]
43254         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
43256 2014-10-21  Roland McGrath  <roland@hack.frob.com>
43258         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
43260 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43262         * io/fts.c (dirent_not_directory): New function.
43263         (fts_build): Call it.
43265 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43267         * nptl/version.c (__nptl_main): Use normal __write rather than
43268         INTERNAL_SYSCALL.
43269         (banner): Update copyright years.
43271         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
43272         gettimeofday.
43273         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43274         * nptl/pthread_cond_timedwait.c: Likewise.
43275         * nptl/pthread_mutex_timedlock.c: Likewise.
43276         * nptl/sem_timedwait.c: Likewise.
43278         * sysdeps/nptl/bits/libc-lock.h
43279         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43280         (__libc_lock_init_recursive): Return void, not 0.
43281         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
43282         (__libc_rwlock_init): Likewise.
43283         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
43285 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43287         [BZ #15215]
43288         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
43289         (__pthread_once_slow): ... here.
43290         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
43291         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
43293 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43295         [BZ #15215]
43296         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
43297         __PTHREAD_ONCE_FORK_GEN_INCR): New.
43298         * sysdeps/nptl/fork.c (__libc_fork): Use them.
43299         * nptl/pthread_once.c (__pthread_once): Likewise.
43300         Update comments.
43302 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
43304         [BZ #14138]
43305         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
43306         name.
43307         (writev): Use __libc_writev as strong name.
43308         * sysdeps/unix/sysv/linux/readv.c: Remove file.
43309         * sysdeps/unix/sysv/linux/writev.c: Likewise.
43311 2014-10-17  Roland McGrath  <roland@hack.frob.com>
43313         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
43315         * sysdeps/i386/nptl/tls.h
43316         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
43317         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
43318         New macros.
43319         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
43320         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
43321         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
43322         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
43323         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
43324         Call CHECK_THREAD_SYSINFO instead of doing an assert.
43326         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
43327         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
43328         on [__NR_futex].
43329         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
43330         broken out of ...
43331         (__pthread_mutex_init): ... here.  Call it.
43332         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
43333         Conditionalize PI cases on [__NR_futex].
43334         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
43335         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
43336         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
43338         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
43339         conditional on [SIGSETXID].
43340         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
43341         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
43342         is defined.  Likewise for SIGSETXID.
43343         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
43344         Conditionalize definitions on [SIGSETXID].
43345         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
43346         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
43347         unblocking on [SIGCANCEL].
43349         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
43350         [__NR_set_robust_list].
43352 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43354         * string/strcoll_l.c (get_next_seq): Fix up formatting.
43355         (do_compare): Likewise.
43357 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
43359         [BZ #15884]
43360         * string/strcoll_l.c: Don't include stdio.h.
43361         (coll_seq): Remove members idxarr and rulearr.
43362         (get_next_seq_cached): Remove function.
43363         (get_next_seq): Likewise.
43364         (get_next_seq_nocache): Rename to get_next_seq.
43365         (do_compare): Remove function.
43366         (do_compare_nocache): Rename to do_compare.
43367         (STRCOLL): Remove weight and rules cache.
43369 2014-10-16  Roland McGrath  <roland@hack.frob.com>
43371         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
43372         * sysdeps/arm/sfp-machine.h: ... to here.
43373         * sysdeps/arm/Implies: Remove arm/soft-fp.
43375 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
43377         * conform/data/sys/utsname.h-data (*_t): Allow.
43378         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
43379         [POSIX] (WEXITED): Do not expect constant.
43380         [POSIX] (WSTOPPED): Likewise.
43381         [POSIX] (WNOHANG): Likewise.
43382         [POSIX] (WNOWAIT): Likewise.
43383         [POSIX] (siginfo_t): Do not expect type or elements.
43384         [POSIX] (pid_t): Do not expect type.
43385         [POSIX] (signal.h): Do not allow header.
43386         [POSIX] (sys/resource.h): Likewise.
43387         [POSIX] (si_*): Do not allow pattern.
43388         [POSIX] (W*): Likewise.
43389         [POSIX] (P_*): Likewise.
43390         [POSIX] (BUS_*): Likewise.
43391         [POSIX] (CLD_*): Likewise.
43392         [POSIX] (FPE_*): Likewise.
43393         [POSIX] (ILL_*): Likewise.
43394         [POSIX] (POLL_*): Likewise.
43395         [POSIX] (SEGV_*): Likewise.
43396         [POSIX] (SI_*): Likewise.
43397         [POSIX] (TRAP_*): Likewise.
43398         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
43399         variable.
43401 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
43403         [BZ #12926]
43404         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
43405         infinite loop when __recvmsg returns 0.
43407 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
43409         * CANCEL-FCT-WAIVE: Remove file.
43410         * CANCEL-FILE-WAIVE: Likewise.
43412         [BZ #14132]
43413         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
43414         instead of INTVARDEF.
43415         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43416         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
43417         rtld_hidden_data_def instead of INTVARDEF.
43418         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43419         * elf/dl-deps.c (expand_dst): Likewise.
43420         * elf/dl-load.c (_dl_dst_count): Likewise.
43421         (_dl_dst_substitute): Likewise.
43422         (decompose_rpath): Likewise.
43423         (_dl_init_paths): Likewise.
43424         (open_path): Likewise.
43425         (_dl_map_object): Likewise.
43426         * elf/rtld.c (dl_main): Likewise.
43427         (process_dl_audit): Likewise.
43428         (process_envvars): Likewise.
43429         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
43430         Remove declaration.
43431         (__libc_enable_secure): Use rtld_hidden_proto.
43433 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43435         * elf/dl-load.c
43436         (add_path): New function broken out of _dl_rtld_di_serinfo.
43437         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
43439 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
43441         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
43442         parentheses around macro arguments.
43443         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
43444         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
43445         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
43446         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
43447         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
43448         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43449         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43450         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
43451         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
43452         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
43453         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
43454         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
43455         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
43456         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
43457         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
43458         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
43459         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
43460         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
43461         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
43462         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
43463         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
43464         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
43465         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
43466         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43467         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43468         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
43469         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
43470         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
43471         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
43472         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
43473         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
43474         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
43475         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
43476         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
43477         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
43478         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
43479         Likewise.
43480         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
43481         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43482         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43483         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
43484         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
43485         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
43486         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
43487         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
43488         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
43489         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
43490         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
43491         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
43492         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
43493         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
43494         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
43495         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43496         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43497         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
43498         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
43499         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
43500         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
43501         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
43502         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
43503         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
43504         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
43505         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
43506         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
43507         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
43508         (_FP_FRAC_SRS_1): Likewise.
43509         (_FP_FRAC_CLZ_1): Likewise.
43510         (_FP_MUL_MEAT_1_imm): Likewise.
43511         (_FP_MUL_MEAT_1_wide): Likewise.
43512         (_FP_MUL_MEAT_1_hard): Likewise.
43513         (_FP_SQRT_MEAT_1): Likewise.
43514         (_FP_FRAC_ASSEMBLE_1): Likewise.
43515         (_FP_FRAC_DISASSEMBLE_1): Likewise.
43516         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
43517         (__FP_CLZ_2): Likewise.
43518         (_FP_MUL_MEAT_2_wide): Likewise.
43519         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
43520         (_FP_MUL_MEAT_2_gmp): Likewise.
43521         (_FP_MUL_MEAT_2_120_240_double): Likewise.
43522         (_FP_SQRT_MEAT_2): Likewise.
43523         (_FP_FRAC_ASSEMBLE_2): Likewise.
43524         (_FP_FRAC_DISASSEMBLE_2): Likewise.
43525         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
43526         (_FP_FRAC_CLZ_4): Likewise.
43527         (_FP_MUL_MEAT_4_wide): Likewise.
43528         (_FP_MUL_MEAT_4_gmp): Likewise.
43529         (_FP_SQRT_MEAT_4): Likewise.
43530         (_FP_FRAC_ASSEMBLE_4): Likewise.
43531         (_FP_FRAC_DISASSEMBLE_4): Likewise.
43532         * soft-fp/op-common.h (_FP_CMP): Likewise.
43533         (_FP_CMP_EQ): Likewise.
43534         (_FP_CMP_UNORD): Likewise.
43535         (_FP_TO_INT): Likewise.
43536         (_FP_FROM_INT): Likewise.
43537         [!__FP_CLZ] (__FP_CLZ): Likewise.
43538         (_FP_DIV_HELP_imm): Likewise.
43539         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
43540         Likewise.
43541         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
43542         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
43543         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
43544         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
43545         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
43546         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43547         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43548         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
43549         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
43550         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
43551         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
43552         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
43553         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
43554         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
43555         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
43556         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
43557         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
43558         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
43559         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
43560         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
43561         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
43562         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
43563         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
43564         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43565         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43566         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
43567         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
43568         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
43569         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
43570         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
43571         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
43572         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
43573         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
43574         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
43575         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
43576         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
43577         (FP_UNPACK_RAW_SP): Likewise.
43578         (FP_PACK_RAW_S): Likewise.
43579         (FP_PACK_RAW_SP): Likewise.
43580         (FP_UNPACK_S): Likewise.
43581         (FP_UNPACK_SP): Likewise.
43582         (FP_UNPACK_SEMIRAW_S): Likewise.
43583         (FP_UNPACK_SEMIRAW_SP): Likewise.
43584         (FP_PACK_S): Likewise.
43585         (FP_PACK_SP): Likewise.
43586         (FP_PACK_SEMIRAW_S): Likewise.
43587         (FP_PACK_SEMIRAW_SP): Likewise.
43588         (_FP_SQRT_MEAT_S): Likewise.
43589         (FP_CMP_S): Likewise.
43590         (FP_CMP_EQ_S): Likewise.
43591         (FP_CMP_UNORD_S): Likewise.
43592         (FP_TO_INT_S): Likewise.
43593         (FP_FROM_INT_S): Likewise.
43595         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
43597         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
43598         (FP_EX_INVALID_IMZ): Likewise.
43599         (FP_EX_INVALID_IMZ_FMA): Likewise.
43600         (FP_EX_INVALID_ISI): Likewise.
43601         (FP_EX_INVALID_ZDZ): Likewise.
43602         (FP_EX_INVALID_IDI): Likewise.
43603         (FP_EX_INVALID_SQRT): Likewise.
43604         (FP_EX_INVALID_CVI): Likewise.
43605         (FP_EX_INVALID_VC): Likewise.
43606         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
43607         "invalid" exceptions.
43608         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
43609         (_FP_ADD_INTERNAL): Likewise.
43610         (_FP_MUL): Likewise.
43611         (_FP_FMA): Likewise.
43612         (_FP_DIV): Likewise.
43613         (_FP_CMP_CHECK_NAN): Likewise.
43614         (_FP_SQRT): Likewise.
43615         (_FP_TO_INT): Likewise.
43616         (FP_EXTEND): Likewise.
43618 2014-10-09  Allan McRae  <allan@archlinux.org>
43620         * po/fr.po: Update French translation from translation project.
43622 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
43624         [BZ #14132]
43625         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
43626         of INTDEF.
43627         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
43628         (__cxa_atexit): Use libc_hidden_proto.
43629         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
43631         [BZ #14132]
43632         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
43633         declaration.
43634         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
43635         [!_ISOMAC] (__iswspace_l_internal): Likewise.
43636         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
43637         [!_ISOMAC] (__iswctype_internal): Likewise.
43638         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
43639         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
43640         alias.
43641         (fcntl): Remove __fcntl_internal alias.
43642         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
43643         __connect_internal alias.
43644         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
43645         Likewise.
43647         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
43648         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
43649         FP_DENORM_ZERO.
43650         (_FP_CHECK_FLUSH_ZERO): New macro.
43651         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
43652         (_FP_CMP): Likewise.
43653         (_FP_CMP_EQ): Likewise.
43654         (_FP_TO_INT): Do not set inexact for subnormal arguments if
43655         FP_DENORM_ZERO.
43656         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
43657         (FP_TRUNC): Likewise.
43659         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
43660         treated as invalid conversion, not as normal exponent.
43662         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
43663         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
43664         (_FP_CMP_EQ): Likewise.
43665         (_FP_CMP_UNORD): Likewise.
43666         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
43667         (FP_CMP_EQ_D): Likewise.
43668         (FP_CMP_UNORD_D): Likewise.
43669         * soft-fp/extended.h (FP_CMP_E): Likewise.
43670         (FP_CMP_EQ_E): Likewise.
43671         (FP_CMP_UNORD_E): Likewise.
43672         * soft-fp/quad.h (FP_CMP_Q): Likewise.
43673         (FP_CMP_EQ_Q): Likewise.
43674         (FP_CMP_UNORD_Q): Likewise.
43675         * soft-fp/single.h (FP_CMP_S): Likewise.
43676         (FP_CMP_EQ_S): Likewise.
43677         (FP_CMP_UNORD_S): Likewise.
43678         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
43679         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
43680         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
43681         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
43682         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
43683         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
43684         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
43685         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
43686         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
43687         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
43688         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
43689         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
43690         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
43691         to FP_CMP_Q.
43692         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
43693         FP_CMP_Q.
43694         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
43695         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
43696         FP_CMP_EQ_Q.
43697         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
43698         FP_CMP_Q.
43699         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
43700         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
43701         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
43702         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
43703         FP_CMP_EQ_Q.
43704         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
43705         FP_CMP_Q.
43706         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
43707         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
43708         FP_CMP_EQ_Q.
43709         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
43710         FP_CMP_Q.
43711         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
43712         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
43713         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
43714         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
43715         FP_CMP_EQ_Q.
43717         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
43718         a subnormal result, set the underflow exception if trapping on
43719         underflow is enabled.
43720         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
43721         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
43722         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
43723         redefine to 0.
43724         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
43725         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
43726         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
43727         * soft-fp/extendxftf2.c (__extendxftf2): Use
43728         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
43730         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
43731         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
43732         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43733         FP_HANDLE_EXCEPTIONS.
43734         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
43735         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43736         FP_HANDLE_EXCEPTIONS.
43737         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
43738         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43739         FP_HANDLE_EXCEPTIONS.
43740         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
43741         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43742         FP_HANDLE_EXCEPTIONS.
43744 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
43746         [BZ #14132]
43747         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
43748         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
43749         use INTUSE.
43750         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
43751         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
43752         Remove alias.
43753         (__adjtimex): Define using libc_hidden_ver.
43754         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
43755         Remove declaration.
43756         (ntp_gettime): Call __adjtimex directly.
43757         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
43758         Remove declaration.
43759         (ntp_gettimex): Call __adjtimex directly.
43760         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
43761         __adjtimex_internal alias.
43763 2014-10-08  Roland McGrath  <roland@hack.frob.com>
43765         [BZ #17460]
43766         * nscd/nscd.c (more_help): Rewrite list of tables collection
43767         using xstrdup and asprintf.
43769         * nscd/nscd_conf.c: Remove local xstrdup declaration.
43771 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43772             Roland McGrath  <roland@hack.frob.com>
43774         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
43775         (do_lookup_unique): ... local function 'enter' here; update callers.
43777 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
43779         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
43780         compat_symbol calls on [SHARED].
43781         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
43782         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
43783         Remove.
43784         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43785         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
43786         (oldsetrlimit): Remove.
43787         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43789         (lchown): New syscall entry.
43790         (oldsetrlimit): Remove.
43791         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43792         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
43793         (oldsetrlimit): Remove.
43794         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43796         [BZ #14138]
43797         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
43798         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
43799         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
43800         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
43801         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
43802         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
43803         (fchown): Likewise.
43804         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
43805         (fchown): Likewise.
43806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
43807         Likewise.
43809 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43811         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
43812         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
43813         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
43814         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
43815         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
43816         Likewise.
43817         (__old_sem_post): Likewise.
43819 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
43821         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
43822         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
43823         HAVE_CLOCK_GETTIME_VSYSCALL macros.
43824         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
43825         Use INLINE_VSYSCALL macro.
43826         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
43827         __vdso_clock_gettime.
43828         * sysdeps/unix/sysv/linux/tile/init-first.c
43829         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
43830         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
43831         __vdso_clock_gettime.
43833         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
43834         to set up frame more cleanly.
43836         * sysdeps/tile/memcmp.c: New file.
43838         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
43840         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
43841         * sysdeps/tile/tilegx/strcasestr.c: New file.
43842         * sysdeps/tile/tilegx/strnlen.c: New file.
43843         * sysdeps/tile/tilegx/strstr.c: New file.
43845         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
43847 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
43849         * nptl/tst-setuid3.c: Write errors to stdout.
43851 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43853         * elf/dl-deps.c
43854         (preload): New functions broken out of _dl_map_object_deps.
43855         (_dl_map_object_deps):  Remove a nested function. Update call sites.
43857 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
43859         [BZ #14138]
43860         * sysdeps/unix/sysv/linux/execve.c: Remove file.
43861         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
43863 2014-10-01  Steve Ellcey  <sellcey@mips.com>
43865         * sysdeps/mips/strcmp.S: New.
43867 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
43869         [BZ #14138]
43870         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
43871         (linkat): Likewise.
43872         (mkdirat): Likewise.
43873         (readlinkat): Likewise.
43874         (renameat): Likewise.
43875         (symlinkat): Likewise.
43876         (unlinkat): Likewise.
43877         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
43878         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
43879         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
43880         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
43881         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
43882         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
43883         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
43885 2014-09-30  Will Newton  <will.newton@linaro.org>
43887         * math/math.h: Define long double math functions if
43888         _LIBC_TEST is defined.
43889         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
43891         * localedata/Makefile: Move assignment to tests-special
43892         into an ifdef testing run-built-tests.
43893         * timezone/Makefile: Likewise.
43895 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
43897         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
43898         with $(BASH) not $(SHELL).
43900 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
43901             Matthew LeGendre  <legendre1@llnl.gov>
43903         [BZ #17411]
43904         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
43905         l_reloc_result.
43907 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43909         * stdio-common/printf_fp.c
43910         (hack_digit): New function, broken out of ...
43911         (__printf_fp): ... local function here.  Update call sites.
43912         hack_digit now takes an additional parameter that is a pointer
43913         to a struct of the referenced locals.  Those locals moved inside
43914         the struct and references updated.
43916 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
43918         * aclocal.m4: Require autoconf 2.69.
43919         * configure: Regenerated.
43920         * sysdeps/aarch64/configure: Likewise.
43921         * sysdeps/alpha/configure: Likewise.
43922         * sysdeps/arm/armv7/configure: Likewise.
43923         * sysdeps/arm/configure: Likewise.
43924         * sysdeps/ia64/configure: Likewise.
43925         * sysdeps/mach/configure: Likewise.
43926         * sysdeps/mips/configure: Likewise.
43927         * sysdeps/s390/configure: Likewise.
43928         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
43929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
43931         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
43932         file.
43933         * sysdeps/ia64/configure.ac: Likewise.
43935 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
43937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
43938         specify symbol version for ld.so.  Do not include entry for
43939         libpthread.
43940         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43941         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43942         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43944         [BZ #14171]
43945         * Makeconfig [$(build-shared) = yes]
43946         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
43947         makefiles.
43948         [$(build-shared) = yes && $(soversions.mk-done) = t]
43949         ($(common-objpfx)gnu/lib-names.h): Remove rule.
43950         [$(build-shared) = yes && $(soversions.mk-done) = t]
43951         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
43952         to Makerules.
43953         [$(build-shared) = yes && $(soversions.mk-done) = t]
43954         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
43955         here.
43956         [$(build-shared) = yes && $(soversions.mk-done) = t]
43957         (common-generated): Don't append gnu/lib-names.h and
43958         gnu/lib-names.stmp here.
43959         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
43960         (lib-names-h-abi): New variable.
43961         [$(build-shared) = yes && $(soversions.mk-done) = t]
43962         (lib-names-stmp-abi): Likewise.
43963         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43964         abi-variants] (before-compile): Append
43965         $(common-objpfx)$(lib-names-h-abi).
43966         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43967         abi-variants] (common-generated): Append gnu/lib-names.h.
43968         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43969         abi-variants] (install-others-nosubdir): Depend on
43970         $(inst_includedir)/$(lib-names-h-abi).
43971         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43972         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
43973         [$(build-shared) = yes && $(soversions.mk-done) = t]
43974         ($(common-objpfx)$(lib-names-h-abi)): New rule.
43975         [$(build-shared) = yes && $(soversions.mk-done) = t]
43976         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
43977         [$(build-shared) = yes && $(soversions.mk-done) = t]
43978         (common-generated): Append $(lib-names-h-abi) and
43979         $(lib-names-stmp-abi).
43980         * scripts/lib-names.awk: Do not handle multi being set.
43981         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
43982         Remove variable.
43983         (abi-lp64_be-ld-soname): Likewise.
43984         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
43985         Likewise.
43986         (abi-hard-ld-soname): Likewise.
43987         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
43988         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
43989         Remove variable.
43990         (abi-o32_hard-ld-soname): Likewise.
43991         (abi-o32_soft_2008-ld-soname): Likewise.
43992         (abi-o32_hard_2008-ld-soname): Likewise.
43993         (abi-n32_soft-ld-soname): Likewise.
43994         (abi-n32_hard-ld-soname): Likewise.
43995         (abi-n32_soft_2008-ld-soname): Likewise.
43996         (abi-n32_hard_2008-ld-soname): Likewise.
43997         (abi-n64_soft-ld-soname): Likewise.
43998         (abi-n64_hard-ld-soname): Likewise.
43999         (abi-n64_soft_2008-ld-soname): Likewise.
44000         (abi-n64_hard_2008-ld-soname): Likewise.
44001         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
44002         Likewise.
44003         (abi-64-v2-ld-soname): Likewise.
44004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
44005         ld.so entries.
44006         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
44007         variable.
44008         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
44009         entry.
44010         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
44011         variable.
44012         (abi-64-ld-soname): Likewise.
44013         (abi-x32-ld-soname): Likewise.
44014         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
44015         entry.
44016         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44018 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
44020         [BZ #14138]
44021         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
44022         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
44023         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
44024         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
44025         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
44026         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
44027         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
44028         syscall entry for GLIBC_2.2 symbol version.
44029         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
44030         Likewise.
44031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44032         (setrlimit): Likewise.
44033         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
44034         Likewise.
44036 2014-09-23  Will Newton  <will.newton@linaro.org>
44038         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
44039         _LINUX_ARM_SYSDEP_H include guard too.
44040         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
44041         define.
44043 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44045         * sysdeps/unix/sysv/linux/eventfd.c:
44046         Make first argument unsigned.
44047         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
44048         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
44050 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
44052         [BZ #16852]
44053         * socket/recvmmsg.c (recvmmsg): Drop const argument.
44054         * socket/sys/socket.h: Likewise.
44055         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
44057 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44059         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
44061 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
44063         * time/tst-ftime.c: New test.
44064         * time/Makefile (tests): Add tst-ftime.
44066 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
44068         * soft-fp/extended.h: Fix comment formatting.
44069         * soft-fp/op-1.h: Likewise.
44070         * soft-fp/op-2.h: Likewise.
44071         * soft-fp/op-4.h: Likewise.
44072         * soft-fp/op-8.h: Likewise.
44073         * soft-fp/op-common.h: Likewise.
44074         * soft-fp/soft-fp.h: Likewise.
44076         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
44078 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
44080         [BZ #6652]
44081         * Makeconfig (soversions-default-setname): Remove variable.
44082         ($(common-objpfx)soversions.i): Don't pass default_setname to
44083         soversions.awk.
44084         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
44085         oldest_abi to abi-versions.awk.
44086         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
44087         * config.make.in (oldest-abi): Remove variable.
44088         * configure.ac (--enable-oldest-abi): Remove configure option.
44089         * configure: Regenerated.
44090         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
44091         text.
44092         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
44093         * scripts/soversions.awk: Do not handle default_setname variable.
44094         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
44095         variable.
44096         * sysdeps/mach/hurd/configure: Regenerated.
44097         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
44098         variable.
44099         * sysdeps/unix/sysv/linux/configure: Regenerated.
44101 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44103         * elf/Makefile (CFLAGS-interp.c): Remove.
44104         ($(elf-objpfx)runtime-linker.h): Generate header with linker
44105         path string.
44106         * elf/interp.c: Include generated runtime-linker.h
44108         * Makerules (lib%.so): Don't include $(+interp) in
44109         prerequisites.
44110         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
44111         * dlfcn/eval.c: Remove file.
44113         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
44114         macros.
44116         [BZ #17266]
44117         * misc/sys/cdefs.h: Define __extern_always_inline for clang
44118         4.2 and newer.
44120         [BZ #17370]
44121         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
44123 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44124             Jakub Jelinek  <jakub@redhat.com>
44126         [BZ #17266]
44127         * libio/stdio.h: Check definition of __fortify_function
44128         instead of __extern_always_inline to include bits/stdio2.h.
44129         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
44130         check if __extern_always_inline is defined.
44131         [__USE_MISC || __USE_XOPEN]: Likewise.
44132         [__USE_ISOC99] Likewise.
44133         * misc/sys/cdefs.h (__fortify_function): Define only if
44134         __extern_always_inline is defined.
44135         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
44136         __extern_always_inline and __extern_inline only for g++-4.3
44137         and newer or a compatible gcc.
44139 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
44141         [BZ #17371]
44142         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44143         last change to handle zero prefix length.
44145 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44147         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
44148         _SC_REGEX_VERSION.
44150         * posix/getconf.c (vars): Add _POSIX_IPV6 and
44151         _POSIX_RAW_SOCKETS.
44153 2014-09-13  Allan McRae  <allan@archlinux.org>
44155         * po/ru.po: Update Russian translation from translation project.
44157 2014-09-12  Roland McGrath  <roland@hack.frob.com>
44159         * locale/programs/locale.c (show_locale_vars): Inline local function
44160         into its sole call site.  Clean up some style nits.
44161         (print_item): New function, broken out of ...
44162         (show_info): ... local function here.  Clean up style nits.
44164         * locale/programs/ld-ctype.c (set_one_default): New function, broken
44165         out of ...
44166         (set_class_defaults): ... local function set_default here.
44167         Define set_default as a macro locally to pass constant parameters.
44168         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
44169         rather than a shared local.
44171         * stdlib/rpmatch.c (try): New function, broken out of ...
44172         (rpmatch): ... local function here.  Also, prototypify definition.
44174 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
44176         * scripts/soversions.awk: Do not handle configuration names.
44177         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
44178         vendor and os variables to soversions.awk.
44179         * configure.ac: Do not modify gnu-* host_os.
44180         * configure: Regenerated
44181         * shlib-versions: Remove first column with configuration names.
44182         * nptl/shlib-versions: Likewise.
44183         * nptl_db/shlib-versions: Likewise.
44184         * sysdeps/hppa/shlib-versions: Likewise.
44185         * sysdeps/m68k/shlib-versions: Likewise.
44186         * sysdeps/mach/hurd/shlib-versions: Likewise.
44187         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
44188         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
44189         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
44190         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
44191         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
44192         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
44193         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
44194         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
44195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44196         Likewise.
44197         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44198         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44199         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44200         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44201         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44202         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
44203         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44204         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44207         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
44208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44209         Regenerated.
44210         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
44211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44212         Condition symbol version definitions on [HAVE_ELFV2_ABI].
44214         * shlib-versions: Remove OS-specific entries.  Moved to files in
44215         sysdeps.
44216         * sysdeps/mach/hurd/shlib-versions: New file.
44217         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44219         * nptl/shlib-versions: Remove architecture-specific entries.
44220         Moved to files in sysdeps.
44221         * shlib-versions: Likewise.
44222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
44223         file.
44224         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44225         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44226         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44227         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44229         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
44230         (UDP_NO_CHECK6_RX): Likewise.
44232 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44234         * sysdeps/posix/sysconf.c (__sysconf): Spell
44235         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
44237 2014-08-12  Florian Weimer  <fweimer@redhat.com>
44239         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
44240         loading.
44241         * iconv/Versions (__gconv_transliterate): Export for use from
44242         gconv modules.
44243         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
44244         (struct __gconv_trans_data, __gconv_trans_fct,
44245         __gconv_trans_context_fct, __gconv_trans_query_fct,
44246         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
44247         definitions.
44248         (struct __gconv_step_data): Remove __trans member.
44249         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
44250         longer hidden.  Remove unused trans_data argument.
44251         * iconv/gconv_int.h (struct trans_struct): Remove definition.
44252         (__gconv_translit_find): Remove declaration.
44253         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
44254         prototype.
44255         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
44256         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
44257         trans_data argument.  Add hidden definition.
44258         (__gconv_translit_find): Remove.
44259         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
44260         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
44261         * iconv/skeleton.c: Remove transliteration initialization.
44262         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
44263         __gconv_step_data initialization.
44264         * libio/iofwide.c (__libio_translit_): Remove.
44265         (_IO_fwide): Adjust struct __gconv_step_data initialization.
44266         * wcsmbs/btowc.c (__btowc): Likewise.
44267         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44268         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44269         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
44270         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
44271         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
44272         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
44273         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
44274         * wcsmbs/wctob.c (wctob): Likewise.
44276 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44278         [BZ #16194]
44279         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
44280         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
44281         register usage.
44282         * sysdeps/x86/Makefile: Adjust.
44284 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44285             Roland McGrath  <roland@hack.frob.com>
44287         * locale/weight.h: Add include guard.
44288         (findidx): Make static rather than auto; take new parameters
44289         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
44290         * locale/weightwc.h: Likewise.
44291         * posix/fnmatch_loop.c
44292         (FCT): Change type of EXTRA from int32_t to wint_t.
44293         Don't include either header inside the function.
44294         Call FINDIDX rather than findidx, and pass new arguments.
44295         #undef FINDIDX at the end of the file.
44296         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
44297         FINDIDX before including fnmatch_loop.c for the non-wide version.
44298         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
44299         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
44300         for the wide version.
44301         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
44302         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
44303         Pass new arguments to findidx.
44304         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
44305         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
44306         Don't #include it inside the function.  Pass new arguments to findidx.
44307         * posix/regex_internal.h
44308         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
44309         (re_string_elem_size_at): Don't #include it inside the function.
44310         Pass new arguments to findidx.
44311         * string/strcoll_l.c: #include WEIGHT_H at top level.
44312         (get_next_seq): Don't #include it inside the function.
44313         Pass new arguments to findidx.
44314         (get_next_seq_nocache): Likewise.
44315         * string/strxfrm_l.c: #include WEIGHT_H at top level.
44316         (STRXFRM): Don't #include it inside the function.
44317         Pass new arguments to findidx.
44319 2014-09-11  Florian Weimer  <fweimer@redhat.com>
44321         [BZ #17344]
44322         * malloc/malloc.c (unlink): Turn asserts into a call to
44323         malloc_printerr.
44325 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
44327         [BZ #17370]
44328         * libio/wfileops (do_ftell_wide): Free OUT.
44330 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
44332         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
44334 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44336         [BZ #17363]
44337         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
44338         group if the current group is empty.
44340 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44342         * benchtests/bench-memset.c (test_main): Add more test from size
44343         from 32 to 512 bytes.
44344         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44345         Add POWER8 memset object.
44346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44347         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
44348         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
44349         implementation.
44350         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
44351         Likewise.
44352         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
44353         multiarch POWER8 memset optimization.
44354         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
44355         POWER8 memset optimization.
44357         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44358         Remove bzero multiarch objects.
44359         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
44360         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
44361         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
44362         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
44363         Remove define.
44364         [__bzero]: Redefine to specific name.
44365         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
44366         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
44367         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
44368         define.
44369         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44370         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44372 2014-09-10  Florian Weimer  <fweimer@redhat.com>
44374         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
44375         warnings into errors.
44377         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
44378         __cxa_thread_atexit_impl prototype.
44380 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44382         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
44383         Fix capitalization of error message.
44385 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44387         * sysdeps/mips/preconfigure: Modify ABI tests.
44389 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
44391         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
44393 2014-09-07  Roland McGrath  <roland@hack.frob.com>
44394             Carlos O'Donell  <carlos@systemhalted.org>
44396         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
44397         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
44398         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
44399         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
44400         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
44401         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
44402         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
44403         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
44404         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
44405         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
44406         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
44407         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
44408         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
44409         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
44410         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
44411         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
44412         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
44413         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
44414         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
44415         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
44416         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
44417         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
44418         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
44419         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
44420         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
44421         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
44422         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
44423         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
44424         Deconditionalize the code that was previously under [RESET_PID].
44425         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
44426         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
44427         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
44428         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
44429         include sysdep.h.
44431 2014-09-08  Allan McRae  <allan@archlinux.org>
44433         * version.h (RELEASE): Set to "development".
44434         (VERSION): Set to "2.20.90"
44436 2014-09-07  Allan McRae  <allan@archlinux.org
44438         * version.h (RELEASE): Set to "stable".
44439         (VERSION): Set to "2.20"
44440         * include/features.h (__GLIBC_MINOR__): Set to 20.
44442         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
44443         Liebler.
44445         * po/ko.po: Update Korean translation from translation project.
44447 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
44449         [BZ #17354]
44450         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
44451         macro for handling signed relocations.
44453 2014-09-03  Florian Weimer  <fweimer@redhat.com>
44455         [BZ #17325]
44456         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
44457         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
44458         assert.
44459         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
44460         * iconvdata/ibm935.c (BODY): Likewise.
44461         * iconvdata/ibm937.c (BODY): Likewise.
44462         * iconvdata/ibm939.c (BODY): Likewise.
44463         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
44464         assert.
44465         * iconvdata/Makefile (iconv-test.out): Pass module list to test
44466         script.
44467         * iconvdata/run-iconv-test.sh: New test loop for checking for
44468         decoder crashers.
44470 2014-09-02  Khem Raj  <raj.khem@gmail.com>
44472         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
44473         libm_hidden_ver.
44475 2014-09-01  Allan McRae  <allan@archlinux.org>
44477         * po/eo.po: Update Esperanto translation from translation project.
44479         * po/ca.po: Update Catalan translation from translation project.
44481 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44483         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
44484         __proc_dostop call.
44486 2014-08-27  Mark Wielaard  <mjw@redhat.com>
44488         [BZ #17319]
44489         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
44490         to call set_thread_area instead of hand written asm.
44491         (__NR_set_thread_area): Removed define.
44492         (TLS_FLAG_WRITABLE): Likewise.
44493         (__ASSUME_SET_THREAD_AREA): Remove check.
44494         (TLS_EBX_ARG): Remove define.
44495         (TLS_LOAD_EBX): Likewise.
44497 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44499         Simplify atomicity of socket creation in bind.
44501         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
44502         looking up the name after linking the file.
44504 2014-08-27  Allan McRae  <allan@archlinux.org>
44506         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44508 2014-08-26  Florian Weimer  <fweimer@redhat.com>
44510         [BZ #17187]
44511         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
44512         trans_compare, open_translit, __gconv_translit_find):
44513         Remove module loading code.
44515 2014-08-26  Allan McRae  <allan@archlinux.org>
44517         * po/vi.po: Update Vietnamese translation from translation project.
44519         * po/uk.po: Update Ukrainian translation from translation project.
44521         * po/fr.po: Update French translation from translation project.
44523         * po/ru.po: Update Russian translation from translation project.
44525         * po/pl.po: Update Polish translation from translation project.
44527         * po/cs.po: Update Czech translation from translation project.
44529         * po/de.po: Update German translation from translation project.
44531         * po/bg.po: Update Bulgarian translation from translation project.
44533         * po/sv.po: Update Sweedish translation from translation project.
44535         * po/nl.po: Update Dutch translation from translation project.
44537         * po/es.po: Update Spanish translation from translation project.
44539 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44541         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
44543         * catgets/Makefile (CPPFLAGS-gencat): Remove.
44544         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
44545         (CPPFLAGS-iconvconfig): Likewise.
44546         * timezone/Makefile (CPPFLAGS-zic): Likewise.
44548         * include/libc-symbols.h: Remove unnecessary check for
44549         NOT_IN_libc.
44550         * nptl/pthreadP.h: Likewise.
44551         * sysdeps/aarch64/setjmp.S: Likewise.
44552         * sysdeps/alpha/setjmp.S: Likewise.
44553         * sysdeps/arm/sysdep.h: Likewise.
44554         * sysdeps/i386/setjmp.S: Likewise.
44555         * sysdeps/m68k/setjmp.c: Likewise.
44556         * sysdeps/posix/getcwd.c: Likewise.
44557         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44558         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
44559         * sysdeps/s390/s390-32/setjmp.S: Likewise.
44560         * sysdeps/s390/s390-64/setjmp.S: Likewise.
44561         * sysdeps/sh/sh3/setjmp.S: Likewise.
44562         * sysdeps/sh/sh4/setjmp.S: Likewise.
44563         * sysdeps/unix/alpha/sysdep.h: Likewise.
44564         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
44565         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44566         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
44567         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
44568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44570         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44571         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44572         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44573         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44574         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44575         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
44576         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44577         * sysdeps/x86_64/setjmp.S: Likewise.
44579 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
44581         [BZ #17263]
44582         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
44583         <stdint.h>.
44584         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
44585         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
44587 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44589         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
44591         [BZ #17262]
44592         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
44593         and __x86_64__ when disabling x87 inline functions.
44595 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44597         [BZ #17259]
44598         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
44599         asm statement with __cpuid_count.
44601 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
44603         * configure.ac: Change __ehdr_start code to dereference the struct.
44604         Run readelf on the output to look for relocations.
44605         * configure: Regenerated.
44607 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
44609         [BZ #17261]
44610         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
44611         value to 0.
44612         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
44614 2014-08-12  Roland McGrath  <roland@hack.frob.com>
44616         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
44618 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
44620         [BZ #16892]
44621         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
44622         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
44624 2014-08-12  Sean Anderson  <seanga2@gmail.com>
44626         * malloc/malloc.c: Fix typo in comment.
44628 2014-08-09  Allan McRae  <allan@archlinux.org>
44630         * Regenerate libc.po.
44632 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
44634         * intl/tst-gettext2.sh: Check every lang file for creation.
44636 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
44638         * sysdeps/aarch64/fpu/math_private.h
44639         (libc_feholdsetround_noex_aarch64_ctx): New function.
44641 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
44643         * sysdeps/arm/armv6/strcpy.S (strcpy):
44644         Fix performance issue in misaligned cases.
44646 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44648         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
44649         Move definition from termios.h.
44650         (struct termio): Likewise.
44651         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44652         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
44653         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
44654         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
44655         Likewise.
44656         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
44657         Move definition to ioctl-types.h
44658         (struct termio): Likewise.
44659         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44660         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
44661         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
44662         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
44663         Likewise.
44665 2014-08-05  Richard Henderson  <rth@redhat.com>
44667         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
44668         exceptions.
44669         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
44670         Add fraiseexcpt.
44671         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
44672         Use __feraiseexcept.
44673         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
44674         Protect libm symbols with IS_IN_libm.
44676         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
44678 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
44680         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
44682 2014-08-04  Will Newton  <will.newton@linaro.org>
44684         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
44685         file.
44687 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
44689         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
44690         variants for each function.
44692 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44694         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
44695         appended ...
44696         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
44697         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
44698         appended ...
44699         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
44700         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
44701         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
44702         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
44703         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
44704         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
44705         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
44706         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
44707         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
44708         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
44709         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
44710         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
44711         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
44712         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
44713         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
44714         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
44715         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
44716         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
44717         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
44718         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
44719         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
44720         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
44721         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
44722         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
44723         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
44724         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
44725         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
44726         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
44727         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
44728         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
44729         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
44730         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
44731         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
44732         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
44733         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
44734         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
44735         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
44736         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
44737         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
44738         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
44739         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
44740         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
44741         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
44742         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
44743         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
44744         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
44745         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
44746         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
44747         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
44748         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
44749         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
44750         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
44751         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
44752         Update #include.
44753         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
44754         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
44756 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44758         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
44759         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
44760         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
44761         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
44762         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
44763         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
44765 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44767         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
44768         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
44769         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44770         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
44772 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44774         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
44775         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
44776         (__libc_vfork): Define function under this name.
44777         (__vfork): Define as an alias.
44778         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
44779         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
44781 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44783         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
44784         that was previously under [RESET_PID].
44785         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
44787 2014-08-04  Andreas Schwab  <schwab@suse.de>
44789         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
44791 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
44793         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
44794         (main): Likewise.
44796 2014-08-01  Roland McGrath  <roland@hack.frob.com>
44798         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
44800 2014-08-01  Richard Henderon  <rth@redhat.com>
44802         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
44803         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
44804         typo in exact zero test.
44805         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44806         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44807         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44809 2014-08-01  Roland McGrath  <roland@hack.frob.com>
44811         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
44812         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
44813         * sysdeps/arm/sysdep.h: ... here.
44814         [!__ASSEMBLER__]: Include <stdint.h>.
44816 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44818         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
44819         (HAVE_WCTYPE_H): Likewise.
44820         (HAVE_ISWCTYPE): Likewise.
44821         (ENABLE_NLS): Likewise.
44822         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
44823         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
44825         * posix/regex_internal.c: Check if DEBUG is defined and is
44826         set.
44828         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
44829         (HAVE_MBSRTOWCS): Likewise.
44830         * posix/fnmatch.c: Include string.h unconditionally.
44832 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
44834         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
44835         reversal.
44837 2014-07-31  Roland McGrath  <roland@hack.frob.com>
44839         * sysdeps/generic/safe-fatal.h: New file.
44840         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
44841         * nptl/forward.c: Include it.
44842         (__pthread_unwind): Use __safe_fatal as default action, rather
44843         than a bogus use of INTERNAL_SYSCALL that could never work.
44845         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
44846         * configure.ac (libc_cv_builtin_trap): New test.
44847         * configure: Regenerated.
44848         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
44849         (ABORT_INSTRUCTION): Define using __builtin_trap.
44851         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
44852         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
44853         * sysdeps/nptl/nptl-signals.h: New file.
44854         * nptl/pthreadP.h: Include <nptl-signals.h>.
44856 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
44858         * sysdeps/s390/s390-64/utf16-utf32-z9.c
44859         (ONE_DIRECTION): Define.
44860         * sysdeps/s390/s390-64/utf8-utf16-z9.c
44861         (ONE_DIRECTION): Define.
44862         * sysdeps/s390/s390-64/utf8-utf32-z9.c
44863         (ONE_DIRECTION): Define.
44865 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
44867         * sysdeps/s390/Makefile: Delete file.
44868         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
44869         * sysdeps/s390/__longjmp.c: Delete file.
44870         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
44871         Remove fields __flags and __reserved.
44872         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
44873         and add versioning.
44874         * sysdeps/s390/rtld-__longjmp.c: Delete file.
44875         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
44876         * sysdeps/s390/rtld-setjmp.S: Likewise.
44877         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
44878         * sysdeps/s390/s390-32/__longjmp.c: ... here.
44879         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
44880         * sysdeps/s390/s390-32/setjmp.S: ... here.
44881         Add versioning.
44882         (__sigsetjmp): Remove setting __flags field.
44883         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
44884         * sysdeps/s390/s390-64/__longjmp.c: ... here.
44885         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
44886         * sysdeps/s390/s390-64/setjmp.S: ... here.
44887         Add versioning.
44888         (__sigsetjmp): Remove setting __flags field.
44889         * sysdeps/s390/setjmp.S: Delete file.
44890         * sysdeps/s390/sigjmp.c: Likewise.
44891         * sysdeps/s390/v1-longjmp.c: Likewise.
44892         * sysdeps/s390/v1-setjmp.h: Likewise.
44893         * sysdeps/s390/v1-sigjmp.c: Likewise.
44894         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
44895         Remove v1-longjmp_chk.
44896         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
44897         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
44898         Include debug/longjmp_chk.c and add versioning.
44899         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
44900         Include nptl/pt-longjmp.c and add versioning.
44901         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
44902         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
44903         Include __longjmp.c.
44904         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44905         Move to ...
44906         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
44907         (__getcontext): Remove setting __flags field.
44908         Add versioning.
44909         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44910         Don't restore upper high grps.
44911         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
44912         Likewise.
44913         (__swapcontext): Remove setting uc_flags field.
44914         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
44915         Delete file.
44916         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44917         Include __longjmp.c.
44918         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44919         Move to ...
44920         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
44921         (__getcontext): Remove setting __flags field.
44922         Add versioning.
44923         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
44924         (__swapcontext): Remove setting uc_flags field.
44925         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
44926         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
44927         Remove fields uc_high_gprs and __reserved.
44928         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
44929         New file with reverted content.
44930         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
44931         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
44932         Regenerated.
44933         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
44934         Regenerated.
44936 2014-07-31  Andreas Schwab  <schwab@suse.de>
44938         * config.h.in (HAVE_IFUNC): Define to 0.
44939         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
44940         definedness.
44942 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
44944         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44945         memmove-avx-unaligned, memcpy-avx-unaligned and
44946         mempcpy-avx-unaligned.
44947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44948         Add tests for AVX memcpy functions.
44949         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
44950         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
44951         memcpy_chk.
44952         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
44953         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
44954         memmove_chk.
44955         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
44956         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
44957         mempcpy_chk.
44958         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
44959         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
44960         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
44962 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44964         [BZ #17213]
44965         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
44966         powerpc64le.
44968 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
44970         [BZ #16839]
44971         * manual/llio.texi: Add section about open file description locks.
44972         * manual/examples/ofdlocks.c: Example of open file description
44973         lock usage.
44974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
44975         F_OFD_SETLK, and F_OFD_SETLKW.
44977 2014-07-23  Allan McRae  <allan@archlinux.org>
44979         * po/es.po: Update Spanish translation from translation project.
44981 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
44983         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
44985 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
44987         [BZ #17078]
44988         * sysdeps/arm/dl-machine.h (elf_machine_rela)
44989         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
44990         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
44992 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
44994         [BZ #17088]
44995         * math/fesetenv.c (__fesetenv)
44996         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
44997         * math/feupdateenv.c (__feupdateenv)
44998         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
45000         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
45001         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45002         (__ASSUME_SOCKETCALL): Do not define.
45004         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
45005         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
45006         (__ASSUME_SOCKETCALL): Do not define.
45007         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
45008         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45009         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45010         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45011         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45012         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
45013         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45014         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45016         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
45017         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
45018         (__ASSUME_SOCKETCALL): Do not define.
45019         (__ASSUME_IPC64): Define unconditionally.
45020         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45021         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45022         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45023         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45024         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
45025         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45026         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
45027         Likewise.
45029         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
45030         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
45031         (__ASSUME_SOCKETCALL): Do not define.
45032         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
45033         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45034         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45035         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45036         (__ASSUME_REQUEUE_PI): Define unconditionally.
45037         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
45038         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
45039         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45040         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
45041         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45042         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45044         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
45045         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
45046         (__ASSUME_SOCKETCALL): Do not define.
45047         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
45048         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45049         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45050         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
45051         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45052         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45054         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
45055         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
45056         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45057         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
45058         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45059         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
45060         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45061         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
45062         (__ASSUME_GETCPU_SYSCALL): Likewise.
45064         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
45065         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
45066         cases for individual architectures.
45067         * sysdeps/gnu/configure: Regenerated.
45068         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
45069         LIBC_SLIBDIR_RTLDDIR.
45070         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
45071         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
45072         LIBC_SLIBDIR_RTLDDIR.
45073         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
45074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
45075         LIBC_SLIBDIR_RTLDDIR.
45076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45077         Regenerated.
45078         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
45079         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
45080         file.
45081         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
45082         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
45083         file.
45084         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
45085         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
45086         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
45087         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
45089         * sysdeps/aarch64/shlib-versions: Move to ...
45090         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
45091         * sysdeps/alpha/shlib-versions: Move to ...
45092         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
45093         * sysdeps/arm/shlib-versions: Move to ...
45094         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
45095         * sysdeps/hppa/shlib-versions: Move all contents except for
45096         libgcc_s entry to ...
45097         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
45098         entry from ...
45099         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
45100         * sysdeps/ia64/shlib-versions: Move to ...
45101         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
45102         entry from ...
45103         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
45104         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
45105         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
45106         * sysdeps/microblaze/shlib-versions: Move to ...
45107         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
45108         * sysdeps/mips/shlib-versions: Move to ...
45109         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
45110         entry from ...
45111         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
45112         * sysdeps/tile/shlib-versions: Move to ...
45113         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
45114         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
45115         from ...
45116         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
45117         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
45118         entry from ...
45119         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
45121 2014-07-17  Will Newton  <will.newton@linaro.org>
45123         * sysdeps/arm/bits/atomic.h
45124         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
45125         (__arch_compare_and_exchange_bool_16_int): Likewise.
45126         (__arch_compare_and_exchange_bool_64_int): Likewise.
45128         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
45129         into an #else block.
45131 2014-07-16  Roland McGrath  <roland@hack.frob.com>
45133         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
45134         just Linux configurations.  Test empirically that the compiler sets
45135         __ARM_EABI__, rather than using the tuple to decide.
45136         * sysdeps/arm/preconfigure: Regenerated.
45137         * sysdeps/unix/sysv/linux/arm/configure: File removed.
45138         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
45139         contents appended ...
45140         * sysdeps/arm/configure.ac: ... here.
45141         * sysdeps/arm/configure: Regenerated.
45143 2014-07-15  Roland McGrath  <roland@hack.frob.com>
45145         * nptl/pthread_kill.c: New file.
45146         * nptl/pthread_sigmask.c: New file.
45147         * nptl/pthread_sigqueue.c: New file.
45149         * sysdeps/nptl/lowlevellock.h: New file.
45150         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
45151         * sysdeps/nptl/lowlevellock-futex.h: New file.
45153         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
45154         Remove dead declarations.
45156 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
45158         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
45159         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
45160         config-cflags-avx2.
45161         * sysdeps/x86_64/configure.ac: Likewise.
45162         * sysdeps/i386/configure: Regenerated.
45163         * sysdeps/x86_64/configure: Likewise.
45164         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45165         memset-avx2 only if config-cflags-avx2 is yes.
45166         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45167         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
45168         defined.
45169         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
45170         only if HAVE_AVX2_SUPPORT is defined.
45171         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45173 2014-07-14  Alan Modra  <amodra@gmail.com>
45175         [BZ #17153]
45176         * elf/elf.h (DT_PPC64_NUM): Correct value.
45177         * NEWS: Add to fixed bug list.
45179 2014-07-13  Jim Meyering  <meyering@fb.com>
45181         [BZ 17150]
45182         regex: don't deref NULL upon heap allocation failure
45183         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
45184         failure in one more place.
45185         To trigger the segfault, configure grep -with-included-regex,
45186         build it, and run these commands:
45187         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
45189 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
45191         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45193 2014-07-11  Richard Henderson  <rth@redhat.com>
45195         * sysdeps/aarch64/libm-test-ulps: Update.
45197 2014-07-10  Florian Weimer  <fweimer@redhat.com>
45199         [BZ #17135]
45200         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
45201         * nptl/allocatestack.c (__nptl_setxid_error): New function.
45202         (__nptl_setxid): Initialize error member.  Call
45203         __nptl_setxid_error.
45204         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
45205         * nptl/descr.h (struct xid_command): Add error member.
45206         * nptl/tst-setuid3.c: New file.
45207         * nptl/Makefile (tests): Add it.
45209 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45211         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
45212         New define.
45213         (__lll_trylock): Use __lll_base_trylock.
45214         (__lll_cond_trylock): Likewise.
45216 2014-07-10  Roland McGrath  <roland@hack.frob.com>
45218         * nptl/pthread_create.c (start_thread): Use atomic_or and
45219         lll_futex_wake directly rather than lll_robust_dead.
45220         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45221         (lll_robust_dead): Macro removed.
45222         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
45223         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45224         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45225         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45226         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45227         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45228         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45229         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45230         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45231         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45232         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45233         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45234         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45235         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45236         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45238         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
45239         Use atomic_compare_and_exchange_val_acq directly rather than
45240         lll_robust_trylock.
45241         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45242         (__lll_robust_trylock, lll_robust_trylock): Removed.
45243         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45244         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45245         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45246         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45247         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45248         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45249         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45250         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45251         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45252         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45253         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45254         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45255         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45256         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45258 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45260         * manual/locale.texi (Locale Names): New section documenting
45261         locale name syntax.  Adjust menu and node chaining accordingly.
45262         (Choosing Locale): Reference Locale Names, Locale Categories.
45263         Mention setting LC_ALL=C.  Reflect that name syntax is now
45264         documented.
45265         (Locale Categories): New section title.  Reference Locale Names.
45266         LC_ALL is an environment variable, but not a category.
45267         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
45268         description, now in Locale Name.  Reference that section.  Locale
45269         name syntax is now documented.
45271 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45273         [BZ #17137]
45274         * locale/findlocale.c (name_present, valid_locale_name): New
45275         functions.
45276         (_nl_find_locale): Use the loc_name variable to store name
45277         candidates.  Call name_present and valid_locale_name to check and
45278         validate locale names.  Return an error if the locale is invalid.
45280 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45282         * locale/setlocale.c (setlocale): Use strdup for allocating
45283         composite name copy.
45285 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45287         Sync up with gnulib.
45288         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
45289         [!_LIBC && ENABLE_NLS]: Include gettext.h.
45290         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
45291         and _GL_ARG_NONNULL.
45292         [USE_UNLOCKED_IO]: Include unlocked-io.h.
45293         [!_LIBC]: Include code for Windows and Cygwin.
45294         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
45295         Include prototype for int strerror_r.
45296         [!_LIBC] (is_open): New function.
45297         (flush_stdout): New function.
45298         (print_errno_message): Use it.
45299         (error): Likewise.
45300         (error_at_line): Likewise.
45301         (error_tail) Add function attribute macros.  Use
45302         __builtin_expect.
45304         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
45306         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
45308         * io/ftw.c: Include sys/param.h unconditionally.
45310         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
45312         [BZ #17125]
45313         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
45314         libc_freeres_ptr.
45315         (freecache): New function to free CACHE on exit.
45317         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
45318         initialization.
45320 2014-07-09  David S. Miller  <davem@davemloft.net>
45322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45324         * sysdeps/sparc/nptl/internaltypes.h: Delete.
45325         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
45326         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
45327         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
45328         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
45329         * sysdeps/sparc/nptl/sem_init.c: Likewise.
45330         * sysdeps/sparc/nptl/sem_post.c: Likewise.
45331         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
45332         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
45333         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
45334         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
45335         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
45336         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
45338 2014-07-09  Andreas Schwab  <schwab@suse.de>
45340         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
45341         output.
45342         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
45343         (do_test): Likewise.
45345         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45347 2014-07-09  Will Newton  <will.newton@linaro.org>
45349         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
45350         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
45351         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
45352         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
45353         * sysdeps/hppa/start.S (_start): Likewise.
45355 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45357         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
45359         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
45360         defined.
45362 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45364         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
45365         after checking that it is non-NULL.
45367         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
45369 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45371         * sysdeps/powerpc/memmove.c: Remove file.
45372         * sysdeps/powerpc/powerpc32/power4/memcopy.h
45373         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
45374         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
45375         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
45376         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
45377         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
45378         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
45379         string memmove instead of removed powerpc one.
45381         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45382         [weak_alias]: Fix compiler warning due trailing data.
45383         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
45384         [weak_alias]: Likewise.
45385         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
45386         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
45388         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45389         (__libc_ifunc_impl_list): Add memmove functions.
45391 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45393         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
45394         Remove code.
45395         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
45396         Likewise.
45397         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
45398         Likewise.
45399         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
45400         Likewise.
45401         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
45402         Likewise.
45403         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
45404         Likewise.
45405         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
45406         Likewise.
45407         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
45408         Likewise.
45409         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
45410         Likewise.
45411         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
45412         Likewise.
45413         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
45414         Likewise.
45415         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
45416         Likewise.
45417         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
45418         Likewise.
45419         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
45420         Likewise.
45421         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
45422         Likewise.
45423         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
45424         Likewise.
45425         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
45426         Likewise.
45428 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45430         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
45431         to avoid alignment traps in non-cacheable memory.
45432         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
45435         multiarch objects.
45436         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
45437         file: multiarch power7 memmove.
45438         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
45439         multiarch default memmove.
45440         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
45441         multiarch memove for powerpc32/power4.
45443         * string/bcopy.c: Use full path to include memmove.c.
45444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
45445         multiarch objects.
45446         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
45447         bcopy for powerpc64.
45448         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
45449         bcopy for powerpc64.
45450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
45451         and memmove implementations.
45452         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
45453         optimized multiarch memmove for POWER7/powerpc64.
45454         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
45455         default multiarch memmove for powerpc64.
45456         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
45457         multiarch for powerpc64.
45458         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
45459         for POWER7/powerpc64.
45460         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
45461         memmove for POWER7/powerpc64.
45463         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
45464         glibc default one.
45466         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
45467         __ELF_NATIVE_CLASS equal to 64.
45469 2014-07-07  Roland McGrath  <roland@hack.frob.com>
45471         * sysdeps/nptl/lowlevellock.h: File removed.
45473         * NEWS: NPTL is no longer an add-on!
45474         * nptl/internaltypes.h: Moved ...
45475         * sysdeps/nptl/internaltypes.h: ... here.
45476         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
45477         * sysdeps/nptl/fork.c: Likewise.
45478         * sysdeps/nptl/gai_misc.h: Likewise.
45479         * sysdeps/nptl/librt-cancellation.c: Likewise.
45480         * sysdeps/nptl/jmp-unwind.c: Likewise.
45481         * sysdeps/nptl/setxid.h: Likewise.
45482         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
45483         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
45484         * sysdeps/unix/sysv/linux/arm/Implies: New file.
45485         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
45486         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
45487         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
45488         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
45489         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
45490         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
45491         * sysdeps/unix/sysv/linux/mips/Implies: New file.
45492         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
45493         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
45494         * sysdeps/unix/sysv/linux/sh/Implies: New file.
45495         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
45496         * sysdeps/unix/sysv/linux/tile/Implies: New file.
45497         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
45498         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
45499         * nptl/Makeconfig: Moved ...
45500         * sysdeps/nptl/Makeconfig: ... here.
45501         * nptl/configure: File removed.
45502         * nptl/ANNOUNCE: File removed.
45503         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
45504         * sysdeps/unix/sysv/linux/configure: Regenerated.
45506         * nptl/Makefile (routines): Add libc_pthread_init,
45507         libc_multiple_threads, register-atfork and unregister-atfork.
45508         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
45509         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
45510         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
45511         pthread-pi-defines.sym, structsem.sym.
45512         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
45513         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
45514         [$(subdir) = nptl] (tests): Add tst-setgetname.
45515         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
45516         * sysdeps/unix/sysv/linux/sigaction.c: Just include
45517         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
45518         [!LIBC_SIGACTION]: Remove aliases.
45519         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45520         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45521         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45522         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
45523         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45524         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
45525         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45526         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45527         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45528         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
45529         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
45530         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
45531         __libc_allocate_rtsig_private.
45532         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
45533         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
45534         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
45535         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
45536         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
45537         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
45538         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
45539         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
45540         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
45541         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
45542         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
45543         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
45544         * nptl/internaltypes.h: ... here.
45545         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
45546         * sysdeps/nptl/jmp-unwind.c: ... here.
45547         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
45548         * nptl/libc-lowlevellock.c: ... here.
45549         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
45550         * nptl/libc_multiple_threads.c: ... here.
45551         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
45552         * nptl/libc_pthread_init.c: ... here.
45553         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
45554         * nptl/lowlevelbarrier.sym: ... here.
45555         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
45556         * nptl/lowlevelcond.sym: ... here.
45557         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
45558         * nptl/lowlevellock.c: ... here.
45559         * nptl/lowlevellock.h: Moved ...
45560         * sysdeps/nptl/lowlevellock.h: ... here.
45561         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
45562         * nptl/lowlevelrobustlock.c: ... here.
45563         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
45564         * nptl/lowlevelrobustlock.sym: ... here.
45565         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
45566         * nptl/lowlevelrwlock.sym: ... here.
45567         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
45568         * nptl/pt-fork.c: ... here.
45569         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
45570         * nptl/pthread-pi-defines.sym: ... here.
45571         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
45572         * nptl/pthread_attr_getaffinity.c: ... here.
45573         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
45574         * nptl/pthread_attr_setaffinity.c: ... here.
45575         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
45576         * nptl/pthread_mutex_cond_lock.c: ... here.
45577         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45578         Update #include.
45579         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
45580         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
45581         * nptl/pthread_once.c: ... here, replacing old file.
45582         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
45583         * nptl/pthread_yield.c: ... here.
45584         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
45585         * nptl/register-atfork.c: ... here.
45586         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
45587         * nptl/sem_post.c: ... here.
45588         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
45589         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
45590         * nptl/sem_timedwait.c: ... here.
45591         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
45592         * nptl/sem_trywait.c: ... here.
45593         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
45594         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
45595         * nptl/sem_wait.c: ... here.
45596         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
45597         * nptl/structsem.sym: ... here.
45598         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
45599         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
45600         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
45601         * nptl/unregister-atfork.c: ... here.
45602         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
45603         * nptl/unwindbuf.sym: ... here.
45604         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
45605         * sysdeps/nptl/fork.c: ... here.
45606         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
45607         * sysdeps/nptl/fork.h: ... here.
45608         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
45609         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
45610         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
45611         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
45612         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
45613         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
45614         * sysdeps/unix/sysv/linux/getpid.c: ... here.
45615         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
45616         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
45617         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
45618         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
45619         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
45620         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
45621         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
45622         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
45623         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
45624         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
45625         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
45626         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
45627         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
45628         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
45629         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
45630         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
45631         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
45632         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
45633         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
45634         * sysdeps/unix/sysv/linux/raise.c: ... here.
45635         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
45636         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
45637         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
45638         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
45639         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
45640         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
45641         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
45642         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
45643         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
45644         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
45645         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
45646         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
45647         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
45648         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
45649         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
45651 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45653         * sysdeps/generic/memcopy.h: Add comment for
45654         MEMCPY_OK_FOR_FWD_MEMMOVE.
45656 2014-07-04  Will Newton  <will.newton@linaro.org>
45658         * string/memchr.c: Merge from gnulib.
45659         [_LIBC]: Remove conditionals.
45660         (__ptr_t): Remove define.
45661         (LONG_MAX_32_BITS): Likewise.
45662         (LONG_MAX): Likewise.
45663         (MEMCHR): Use ANSI prototype and optimize algorithm.
45665         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
45667 2014-07-03  Roland McGrath  <roland@hack.frob.com>
45669         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
45670         (lll_futex_timed_wait_bitset): Fix syscall argument count.
45672         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
45673         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
45674         in a bare environment with no <stdlib.h> installed.
45675         * sysdeps/nptl/configure: Regenerated.
45677         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
45679         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
45680         AC_EGREP_CPP for kernel header checks, so they only succeed if
45681         including <linux/version.h> actually works right.
45682         * sysdeps/unix/sysv/linux/configure: Regenerated.
45684         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
45685         value so it's not diagnosed as unused.
45687         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
45688         thing) with "ifeq ($(subdir),rt)".
45690 2014-07-03  Richard Henderson  <rth@redhat.com>
45692         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
45693         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
45694         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
45696         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
45697         (math_force_eval): New.
45699         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
45700         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
45702         * sysdeps/alpha/fpu/s_round.c: Remove file.
45703         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
45705         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
45706         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
45707         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
45708         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
45709         (_dl_start, print_statistics): Likewise.
45710         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
45711         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
45713         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45714         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45715         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45716         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45717         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45718         (HP_SMALL_TIMING_AVAIL): Define.
45719         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45720         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
45721         (HP_SMALL_TIMING_AVAIL): Define.
45722         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45723         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45725         * sysdeps/aarch64/hp-timing.h: New file.
45727         * sysdeps/generic/hp-timing.h: Remove dead comment.
45728         * sysdeps/generic/hp-timing-common.h: New file.
45729         * sysdeps/alpha/hp-timing.h: Include it.
45730         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
45731         * sysdeps/i386/i686/hp-timing.h: Likewise.
45732         * sysdeps/ia64/hp-timing.h: Likewise.
45733         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45734         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45735         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45736         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45737         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
45738         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
45739         (hp_timing_t): New.
45741         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
45742         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
45743         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
45744         * elf/rtld.c (_dl_start_final): Likewise.
45745         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
45746         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45747         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45748         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45749         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45750         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45751         (HP_TIMING_DIFF_INIT): Remove.
45752         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45753         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
45754         (HP_TIMING_DIFF_INIT): Remove.
45755         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45756         * sysdeps/i386/i686/hp-timing.c: Remove file.
45757         * sysdeps/x86_64/hp-timing.c: Remove file.
45758         * sysdeps/ia64/hp-timing.c: Remove file.
45759         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
45760         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
45761         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
45762         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
45764         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
45765         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
45766         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
45767         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45768         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45769         (HP_TIMING_ACCUM): Remove.
45770         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45771         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
45772         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45774         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
45775         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
45776         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
45777         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
45778         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
45779         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
45780         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
45781         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
45783         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
45785 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
45787         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
45789 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45791         Sync up with gettext.
45792         * intl/loadmsgcat.c: Define O_BINARY if not defined.
45793         [_MSC_VER]: Include malloc.h
45794         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
45795         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
45796         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
45797         TEMP_FAILURE_RETRY.  Cast return of alloca.
45798         [!_LIBC] Call gl_rwlock_init.
45799         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
45801 2014-07-02  Roland McGrath  <roland@hack.frob.com>
45803         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
45804         before checking its value.
45806 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45808         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
45810         * debug/memcpy_chk.c: Don't include pagecopy.h.
45811         * debug/mempcpy_chk.c: Likewise.
45812         * string/memcpy.c: Likewise.
45813         * string/memmove.c: Likewise.
45814         * sysdeps/powerpc/memmove.c: Likewise.
45815         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
45816         definition of PAGE_COPY_FWD_MAYBE here...
45817         * sysdeps/generic/pagecopy.h: ... from here.
45818         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
45820 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45821             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45823         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
45824         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
45825         optimizations.
45826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45827         (__libc_ifunc_impl_list): Likewise.
45828         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
45829         multiarch strcat for PPC64.
45830         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
45831         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
45833 2014-07-02  Roland McGrath  <roland@hack.frob.com>
45835         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
45837 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45839         * intl/loadmsgcat.c: Remove declaration of
45840         get_sysdep_segment_value.
45841         (get_sysdep_segment_value): Use ISO C style.
45842         (_nl_load_domain): Use ISO C style.  Get rid of redundant
45843         semicolon.  Fix typo and formatting in comment.
45844         (_nl_unload_domain): Use ISO C style.
45846         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
45848 2014-07-02  Will Newton  <will.newton@linaro.org>
45850         * malloc/obstack.c: Merge from gnulib master.
45851         [HAVE_CONFIG_H]: Remove conditional code.
45852         [!_LIBC]: Include config.h.
45853         [!ELIDE_CODE]: Don't include inttypes.h, include
45854         stdint.h unconditionally.
45855         (print_and_abort): Mark as _Noreturn.
45856         (_obstack_allocated_p): Mark as __attribute_pure__.
45857         (obstack_free): Rename to __obstack_free.
45858         [!__attribute__]: Remove conditional code.
45859         * malloc/obstack.h: Merge from gnulib master.
45860         [__cplusplus]: Move conditional down.
45861         [!__attribute_pure__]: Define __attribute_pure__ here
45862         if it is not already defined.
45863         (_obstack_memory_used): Mark as __attribute_pure__.
45864         [!__obstack_free]: Define as obstack_free.
45865         [__GNUC__]: Remove check for ancient NeXT gcc.
45867 2014-07-02  Will Newton  <will.newton@linaro.org>
45868             Paul Eggert  <eggert@cs.ucla.edu>
45870         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
45872 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45874         * resolv/gethnamaddr.c: Add comment warning that the file is
45875         not maintained.
45877 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
45879         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
45880         entries.
45882         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
45883         entry for aio_cancel and aio_cancel64.
45884         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
45885         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
45886         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
45887         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
45888         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
45889         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
45890         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
45891         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
45892         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
45893         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
45894         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
45895         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
45896         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
45898 2014-07-01  Roland McGrath  <roland@hack.frob.com>
45900         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
45901         * nptl/pthread_mutex_lock.c: Likewise.
45902         * nptl/pthread_mutex_timedlock.c: Likewise.
45903         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
45905 2014-07-01  Richard henderson  <rth@redhat.com>
45907         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
45908         (__isnan, __isnanl): Remove.
45909         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
45911         * sysdeps/alpha/fpu/libm-test-ulps: Update.
45913 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45915         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45917 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45919         * resolv/nss_dns/dns-host.c (getanswer_r)
45920         [MULTI_PTRS_ARE_ALIASES]: Remove code.
45922 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
45924         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45925         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
45926         undefine.
45927         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
45928         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
45930 2014-07-01  Roland McGrath <roland@hack.frob.com>
45932         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
45933         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
45935         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
45936         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
45938         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
45939         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
45940         ... here.
45941         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
45942         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
45944         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
45945         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
45946         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
45947         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
45949         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
45950         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
45951         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
45952         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
45953         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
45954         Moved ...
45955         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
45956         ... here.
45957         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
45958         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
45959         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
45960         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
45961         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
45962         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
45963         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
45964         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
45965         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
45966         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
45967         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
45968         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
45969         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
45970         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
45971         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
45972         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
45973         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
45974         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
45975         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
45976         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
45977         ... here.
45978         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
45979         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
45980         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
45981         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
45982         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
45983         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
45984         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
45985         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
45987 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
45989         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
45990         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
45991         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
45992         Add sysdep.
45994 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45998 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46000         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
46001         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46003         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46005         * sysdeps/arm/libm-test-ulps: Regenerated.
46007 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46008             Roland McGrath <roland@hack.frob.com>
46010         * test-skeleton.c (signal_handler): Kill the whole process group
46011         before killing the child individually.
46012         (main): Report any failure on `setpgid'.
46014 2014-06-30  Roland McGrath  <roland@hack.frob.com>
46016         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
46017         from _TLS_H to _ARM_NPTL_TLS_H.
46018         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
46019         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
46021 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46023         [BZ #16539]
46024         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
46025         (__expm1l): Return argument unchanged when small but not
46026         subnormal.
46028         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
46029         include macro name.
46030         (_FP_UNPACK_RAW_1_P): Likewise.
46031         (_FP_PACK_RAW_1): Likewise.
46032         (_FP_PACK_RAW_1_P): Likewise.
46033         (_FP_MUL_MEAT_1_wide): Likewise.
46034         (_FP_MUL_MEAT_DW_1_hard): Likewise.
46035         (_FP_MUL_MEAT_1_hard): Likewise.
46036         (_FP_DIV_MEAT_1_imm): Likewise.
46037         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
46038         (_FP_DIV_MEAT_1_udiv): Likewise.
46039         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
46040         (_FP_UNPACK_RAW_2): Likewise.
46041         (_FP_UNPACK_RAW_2_P): Likewise.
46042         (_FP_PACK_RAW_2): Likewise.
46043         (_FP_PACK_RAW_2_P): Likewise.
46044         (_FP_MUL_MEAT_DW_2_wide): Likewise.
46045         (_FP_MUL_MEAT_2_wide): Likewise.
46046         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
46047         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
46048         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
46049         (_FP_MUL_MEAT_2_gmp): Likewise.
46050         (_FP_DIV_MEAT_2_udiv): Likewise.
46051         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
46052         (_FP_FRAC_SRL_4): Likewise.
46053         (_FP_FRAC_SRST_4): Likewise.
46054         (_FP_FRAC_SRS_4): Likewise.
46055         (_FP_UNPACK_RAW_4): Likewise.
46056         (_FP_UNPACK_RAW_4_P): Likewise.
46057         (_FP_PACK_RAW_4): Likewise.
46058         (_FP_PACK_RAW_4_P): Likewise.
46059         (_FP_MUL_MEAT_DW_4_wide): Likewise.
46060         (_FP_MUL_MEAT_4_wide): Likewise.
46061         (_FP_MUL_MEAT_4_gmp): Likewise.
46062         (umul_ppppmnnn): Likewise.
46063         (_FP_DIV_MEAT_4_udiv): Likewise.
46064         (__FP_FRAC_ADD_4): Likewise.
46065         (__FP_FRAC_SUB_3): Likewise.
46066         (__FP_FRAC_SUB_4): Likewise.
46067         (__FP_FRAC_DEC_3): Likewise.
46068         (__FP_FRAC_DEC_4): Likewise.
46069         (__FP_FRAC_ADDI_4): Likewise.
46070         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
46071         (_FP_FRAC_SRL_8): Likewise.
46072         (_FP_FRAC_SRS_8): Likewise.
46074         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
46075         include macro name.
46076         (FP_UNPACK_RAW_EP): Likewise.
46077         (FP_PACK_RAW_E): Likewise.
46078         (FP_PACK_RAW_EP): Likewise.
46079         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
46080         (_FP_ISSIGNAN): Likewise.
46081         (_FP_ADD_INTERNAL): Likewise.
46082         (_FP_FMA): Likewise.
46083         (_FP_CMP): Likewise.
46084         (_FP_SQRT): Likewise.
46085         (_FP_TO_INT): Likewise.
46086         (_FP_FROM_INT): Likewise.
46087         (FP_EXTEND): Likewise.
46088         (_FP_DIV_MEAT_N_loop): Likewise.
46090 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46092         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
46093         throughout.
46095 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
46097         [BZ #17097]
46098         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
46099         result with correct sign in case of exponents that produce
46100         overflow except for X very close to 1.
46102 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
46104         mktime: merge #if/#ifdef usage from glibc
46105         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
46106         as that works with both Glibc's and Gnulib's style.
46107         See thread starting at Siddhesh Poyarekar's bug report at:
46108         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
46110 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46112         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
46113         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
46114         * sysdeps/tile/tilegx/memmove.c: Remove file.
46116 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46118         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
46119         abi-name definition.
46120         * scripts/soversions.awk: Do not handle or generate ABI lines.
46121         * shlib-versions: Remove ABI entries.
46122         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
46123         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
46125 2014-06-27  Roland McGrath  <roland@hack.frob.com>
46127         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
46128         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
46129         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
46130         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
46131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
46132         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
46133         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
46134         Moved ...
46135         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
46136         ... here.
46137         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
46138         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
46139         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
46140         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
46141         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
46142         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
46143         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
46144         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
46145         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
46146         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
46147         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
46148         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
46149         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
46150         Moved ...
46151         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
46152         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
46153         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
46154         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
46155         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
46156         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
46157         Moved ...
46158         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
46159         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
46160         Moved ...
46161         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
46162         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
46163         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
46164         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
46165         Moved ...
46166         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
46167         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
46168         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
46169         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
46170         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
46171         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
46172         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
46173         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
46174         Moved ...
46175         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
46176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
46177         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
46178         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
46179         Moved ...
46180         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
46181         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
46182         Moved ...
46183         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
46184         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
46185         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
46186         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
46187         Moved ...
46188         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
46189         ... here.
46190         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
46191         Identical file removed.
46192         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
46193         Moved ...
46194         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
46195         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
46196         Identical file removed.
46197         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
46198         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
46199         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
46200         Moved ...
46201         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
46202         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
46203         Identical file removed.
46204         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
46205         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
46206         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
46207         Identical file removed.
46208         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
46209         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
46210         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
46211         Identical file removed.
46212         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
46213         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
46214         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
46215         Identical file removed.
46216         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
46217         Moved ...
46218         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
46219         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
46220         Identical file removed.
46221         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
46222         Moved ...
46223         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
46224         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
46225         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
46226         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
46227         Identical file removed.
46228         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
46229         Moved ...
46230         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
46231         ... here.
46232         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
46233         Identical file removed.
46234         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
46235         Moved ...
46236         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
46237         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
46238         Identical file removed.
46239         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
46240         Moved ...
46241         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
46242         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
46243         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
46244         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
46245         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
46246         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
46247         Moved ...
46248         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
46249         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
46250         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
46252         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
46253         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
46254         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
46255         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
46256         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
46258 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
46260         [BZ #17092]
46261         * nscd/nscd.c (monitor_child): Return exit status of child
46262         instead of return value from wait syscall.
46264 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46266         * configure.ac (libc_commonpagesize): Remove variable.
46267         (libc_relro_required): Likewise.
46268         (libc_cv_z_relro): Remove configure test.
46269         * configure: Regenerated.
46270         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
46271         variable.
46272         (libc_relro_required): Likewise.
46273         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
46274         (libc_relro_required): Likewise.
46275         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
46276         (libc_relro_required): Likewise.
46277         * sysdeps/arm/preconfigure: Regenerated.
46278         * sysdeps/ia64/preconfigure: Remove file.
46279         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
46280         variable.
46281         (libc_relro_required): Likewise.
46283         [BZ #16561]
46284         [BZ #16562]
46285         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
46286         (__ieee754_yn): Set FE_TONEAREST mode internally and then
46287         recompute overflowing results in original rounding mode.
46288         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
46289         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
46290         recompute overflowing results in original rounding mode.
46291         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
46292         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46293         recompute overflowing results in original rounding mode.
46294         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
46295         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46296         recompute overflowing results in original rounding mode.
46297         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
46298         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46299         recompute overflowing results in original rounding mode.
46300         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
46301         (libc_feholdsetround_ctx): New macro.
46302         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
46303         * sysdeps/i386/fpu/libm-test-ulps: Update.
46304         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
46306 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46308         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
46309         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
46310         corresponding .cpsetup call.
46312 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46314         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
46315         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
46316         * sysdeps/arm/Makefile [$(subdir) = csu]
46317         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
46318         (static-only-routines): Add aeabi_read_tp here.
46319         (shared-only-routines): Add libc-aeabi_read_tp here.
46320         (CFLAGS-libc-start.c): Add -fexceptions here.
46321         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
46322         (sysdep_routines, static-only-routines, shared-only-routines):
46323         Don't add to these here.
46324         (CFLAGS-libc-start.c): Likewise.
46326         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
46327         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46328         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
46329         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46330         * sysdeps/arm/Makefile [$(subdir) = rt]
46331         (librt-sysdep_routines, librt-shared-only-routines):
46332         Append rt-aeabi_unwind_cpp_pr1 here.
46333         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
46334         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
46335         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
46336         (libpthread-sysdep_routines, libpthread-shared-only-routines):
46337         Append nptl-aeabi_unwind_cpp_pr1 here.
46338         (tests): Filter out tst-cleanupx4 here.
46339         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
46340         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
46341         Don't do those here.
46343 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46345         * scripts/list-sources.sh: Do not handle ports specially.
46347 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46349         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
46350         * sysdeps/arm/feupdateenv.c: Likewise.
46352         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
46354 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46356         * manual/texinfo.tex: Update to version 2014-05-05.10 with
46357         trailing whitespace removed.
46358         * scripts/config.guess: Update to version 2014-03-23.
46359         * scripts/config.sub: Update to version 2014-05-01
46360         * scripts/install-sh: Update to version 2013-12-25.23.
46361         * scripts/move-if-change: Update from gnulib.
46363 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46365         * debug/memmove_chk.c: Remove pagecopy.h include.
46367 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
46369         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
46370         identical to gnulib mktime.
46372 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46374         * configure.ac: Do not test for machine being rs6000.  Do not test
46375         for powerpc*-*soft.
46376         * configure: Regenerated.
46378         [BZ #11505]
46379         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
46380         test.
46381         * configure: Regenerated.
46382         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
46383         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
46384         Remove configure test.
46385         * sysdeps/arm/configure: Regenerated.
46386         * sysdeps/nptl/configure.ac: Do not check
46387         libc_cv_asm_cfi_directives.
46388         * sysdeps/nptl/configure: Regenerated.
46389         * sysdeps/x86_64/nptl/configure.ac: Remove file.
46390         * sysdeps/x86_64/nptl/configure: Remove generated file.
46391         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
46392         unconditional.
46393         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
46395 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46397         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
46398         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
46399         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
46400         it is defined.
46402         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
46403         instead of whether it is defined.
46404         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
46405         * sysdeps/hppa/dl-machine.h: Likewise.
46406         * sysdeps/ia64/dl-machine.h: Likewise.
46407         * sysdeps/m68k/dl-machine.h: Likewise.
46408         * sysdeps/microblaze/dl-machine.h: Likewise.
46409         * sysdeps/mips/dl-machine.: Likewise.
46410         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46411         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46412         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46413         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46414         * sysdeps/sh/dl-machine.h: Likewise.
46415         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46416         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46417         * sysdeps/tile/dl-machine.h: Likewise.
46418         * sysdeps/x86_64/dl-machine.h: Likewise.
46420         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
46421         code.
46422         (verify_persistent_db): Likewise.
46424 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
46427         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
46428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
46429         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
46430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46431         Moved ...
46432         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
46433         ... here.
46434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
46435         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
46436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
46437         Identical file removed.
46438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
46439         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
46440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
46441         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
46442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
46443         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
46444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
46445         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
46446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
46447         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
46448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46449         Moved ...
46450         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
46451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
46452         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
46453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
46454         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
46455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46456         Moved ...
46457         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
46458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
46459         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
46460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
46461         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
46462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46463         Identical file removed.
46464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
46465         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
46466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
46467         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
46468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46469         Moved ...
46470         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
46471         ... here.
46472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
46473         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
46474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
46475         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
46476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
46477         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
46478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
46479         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
46480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
46481         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
46482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46483         Moved ...
46484         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
46485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
46486         Moved ...
46487         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
46488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
46489         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
46490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46491         Moved ...
46492         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
46493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
46494         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
46496         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
46497         folded into ...
46498         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
46499         * sysdeps/unix/sysv/linux/s390/Versions
46500         (libpthread: GLIBC_2.19): New version set.
46501         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
46502         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
46503         (librt: GLIBC_2.3.3): New version set.
46504         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
46505         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
46506         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
46507         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
46508         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
46509         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
46510         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
46511         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
46512         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
46513         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
46514         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
46515         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
46516         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
46517         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
46518         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
46519         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
46520         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
46521         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
46522         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
46523         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
46524         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
46525         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
46526         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
46527         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
46528         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
46529         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
46530         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
46531         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
46532         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
46533         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
46534         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
46535         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
46536         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
46537         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
46538         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
46539         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
46540         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
46541         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
46542         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
46543         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
46544         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
46545         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
46546         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
46547         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
46548         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
46550         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
46551         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
46552         (__libc_vfork): Define the function under this name.
46553         [!NOT_IN_libc] (__vfork): Make this an alias.
46554         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46555         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
46556         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
46557         (__libc_vfork): Define the function under this name.
46558         [!NOT_IN_libc] (__vfork): Make this an alias.
46559         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46560         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
46561         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
46562         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
46563         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
46564         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46566         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
46567         code that was previously under [RESET_PID].
46568         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
46569         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
46570         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
46572         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
46573         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
46574         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
46575         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
46576         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
46577         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
46578         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
46579         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
46580         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
46581         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
46582         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
46583         Moved ...
46584         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
46585         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
46586         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
46587         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
46588         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
46589         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
46590         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
46591         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
46592         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
46593         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
46594         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
46595         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
46596         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
46597         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
46598         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
46599         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
46600         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
46601         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
46602         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
46603         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
46604         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
46605         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
46606         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
46607         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
46608         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
46609         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
46610         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
46611         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
46612         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
46614 2014-06-25  Roland McGrath  <roland@hack.frob.com>
46616         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
46617         that was previously under [RESET_PID].
46618         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
46620 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46622         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
46623         not undefine and redefine.
46624         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
46625         [O_CLOEXEC]: Make code unconditional.
46626         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
46627         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
46628         <kernel-features.h>.
46629         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
46630         conditional variable definition.
46631         (shm_open) [O_CLOEXEC]: Make code unconditional.
46632         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
46633         code.
46635         * configure.ac (USE_REGPARMS): Don't define here.
46636         * configure: Regenerated.
46637         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
46638         * sysdeps/i386/configure: Regenerated.
46640         * nptl/createthread.c: Don't include kernel-features.h.
46641         * nptl/pthread_cancel.c: Likewise.
46642         * nptl/pthread_condattr_setclock.c: Likewise.
46643         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
46644         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
46645         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
46646         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
46647         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
46648         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
46649         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
46650         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
46651         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
46652         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
46653         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
46654         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
46655         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
46656         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
46657         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
46658         * nscd/gai.c: Likewise.
46659         * nss/nss_db/db-open.c: Likewise.
46660         * sysdeps/generic/ldsodefs.h: Likewise.
46661         * sysdeps/sh/nptl/tls.h: Likewise.
46662         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
46663         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
46664         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
46665         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
46666         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
46667         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
46668         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
46669         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46670         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
46671         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
46672         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
46673         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
46674         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
46675         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
46676         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
46677         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
46678         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
46679         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
46680         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
46681         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
46682         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
46683         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
46684         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
46685         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
46686         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
46687         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
46688         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
46689         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
46690         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
46691         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
46692         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
46693         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
46694         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
46695         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46696         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46697         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46698         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46699         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
46700         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
46701         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
46702         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46703         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
46704         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
46705         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46706         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
46707         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
46708         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
46709         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
46710         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
46711         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
46712         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
46713         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
46714         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
46715         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46716         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
46717         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46718         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46719         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
46720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
46722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
46723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
46724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
46725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
46726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
46727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
46728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
46731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
46732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
46733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
46734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
46740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
46741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
46742         * sysdeps/unix/sysv/linux/pread.c: Likewise.
46743         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
46744         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
46745         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
46746         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
46747         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
46748         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
46749         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
46750         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
46751         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
46752         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
46753         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
46754         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
46755         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
46756         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
46757         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
46758         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46759         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
46760         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
46761         * sysdeps/unix/sysv/linux/system.c: Likewise.
46762         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
46763         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
46764         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46765         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46766         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
46767         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46768         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
46770         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
46771         * configure: Regenerated.
46772         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
46774         * configure.ac (base_machine): Do not set specially for particular
46775         machines here.
46776         * configure: Regenerated.
46777         * sysdeps/powerpc/preconfigure: Move machine and base_machine
46778         settings from configure.ac.
46779         * sysdeps/i386/preconfigure: New file.
46780         * sysdeps/s390/preconfigure: Likewise.
46781         * sysdeps/sh/preconfigure: Likewise.
46782         * sysdeps/sparc/preconfigure: Likewise.
46784 2014-06-25  Roland McGrath  <roland@hack.frob.com>
46786         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
46787         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
46788         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
46789         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
46790         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
46791         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
46792         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
46793         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
46794         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
46795         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
46796         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
46797         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
46798         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
46799         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
46800         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
46801         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
46802         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
46803         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
46804         * sysdeps/sparc/sparc64/Makefile: ... appended here.
46806         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
46807         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
46808         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
46809         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
46810         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
46811         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
46812         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
46813         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
46814         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
46815         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
46816         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
46817         * sysdeps/sparc/sparc32/sem_post.c: ... here.
46818         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
46819         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
46820         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
46821         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
46822         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
46823         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
46824         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
46825         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
46826         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
46827         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
46828         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
46829         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
46830         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
46831         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
46832         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
46833         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
46834         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
46835         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
46836         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
46837         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
46838         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
46839         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
46840         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
46841         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
46842         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
46843         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
46845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
46846         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
46847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
46848         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
46849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46850         Moved ...
46851         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
46852         ... here.
46853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
46854         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
46855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
46856         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
46857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
46858         Moved ...
46859         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
46860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
46861         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
46862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
46863         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
46864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
46865         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
46866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46867         Moved ...
46868         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
46869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46870         Moved ...
46871         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
46872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
46873         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
46874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46875         Moved ...
46876         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
46877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
46878         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
46879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
46880         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
46881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
46882         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
46883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
46884         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
46885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46886         Moved ...
46887         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
46888         ... here.
46889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
46890         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
46891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
46892         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
46893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
46894         Moved ...
46895         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
46896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
46897         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
46898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
46899         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
46900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
46901         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
46902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46903         Moved ...
46904         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
46905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46906         Moved ...
46907         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
46908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
46909         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
46910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46911         Moved ...
46912         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
46913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
46914         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
46915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
46916         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
46918 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46920         * timezone/checktab.awk: Update from tzcode 2014e.
46921         * timezone/private.h: Likewise.
46922         * timezone/tzfile.h: Likewise.
46923         * timezone/zdump.c: Likewise.
46924         * timezone/zic.c: Likewise.
46926         * sysdeps/unix/sysv/linux/kernel-features.h
46927         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
46928         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
46929         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
46930         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46931         Remove conditional code.
46933 2014-06-25  Will Newton  <will.newton@linaro.org>
46935         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
46936         (_dl_arm_cap_flags): Add HWCAP2 values.
46937         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
46938         (_DL_HWCAP_COUNT): Increase to 37.
46939         (_DL_HWCAP_LAST): New define.
46940         (_DL_HWCAP2_LAST): New define.
46941         (_dl_procinfo): Add support for printing
46942         AT_HWCAP2 entries.
46943         (_dl_string_hwcap): Use _dl_hwcap_string.
46945 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46949 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46951         * README: Do not mention ports directory.
46953         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
46954         Remove macro.
46955         * sysdeps/unix/sysv/linux/futimes.c: Do not include
46956         <kernel-features.h>.
46957         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
46958         conditional variable definition.
46959         (__futimes): Update comment.
46960         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
46961         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
46963         [BZ #16560]
46964         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
46965         arguments close to 0.
46966         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
46967         Likewise.
46968         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
46969         Likewise.
46970         * math/auto-libm-test-in: Add more tests of exp10.
46971         * math/auto-libm-test-out: Regenerated.
46972         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46974         * sysdeps/unix/sysv/linux/kernel-features.h
46975         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
46976         * sysdeps/unix/sysv/linux/readv.c: Do not include
46977         <kernel-features.h>.
46978         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46979         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46980         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46981         unconditional.
46982         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46983         conditional code.
46984         * sysdeps/unix/sysv/linux/writev.c: Do not include
46985         <kernel-features.h>.
46986         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46987         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46988         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46989         unconditional.
46990         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46991         conditional code.
46993 2014-06-25  Will Newton  <will.newton@linaro.org>
46995         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
46996         comment changes throughout the file.  Remove checks
46997         for HAVE_*_H definitions that are not required.
46998         (__gen_tempname): Call abort if an unknown kind value is
46999         passed.
47001 2014-06-25  Andreas Schwab  <schwab@suse.de>
47003         [BZ #17086]
47004         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
47005         scalbln, scalblnf, scalblnl in libc.
47007 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47009         [BZ #17086]
47010         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
47011         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47012         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47014 2014-06-24  Roland McGrath  <roland@hack.frob.com>
47016         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
47017         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
47018         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
47019         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
47020         Update #include.
47021         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
47022         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
47023         Update #include.
47024         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
47025         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
47026         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
47027         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
47028         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
47029         * sysdeps/x86/bits/pthreadtypes.h: ... here.
47030         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
47031         * sysdeps/x86/bits/semaphore.h: ... here.
47032         * sysdeps/x86/nptl/elide.h: Moved ...
47033         * sysdeps/x86/elide.h: ... here.
47034         * sysdeps/x86_64/nptl/Implies: File removed.
47035         * sysdeps/i386/nptl/Implies: File removed.
47037 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
47039         [BZ #16539]
47040         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
47041         return the argument for normal arguments with exponent below -64.
47042         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47043         Likewise.
47044         * math/auto-libm-test-in: Add another test of expm1.
47045         * math/auto-libm-test-out: Regenerated.
47047         [BZ #16287]
47048         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
47049         calling __erfcl for arguments at least 16.
47050         * math/auto-libm-test-in: Add more tests of erf.
47051         * math/auto-libm-test-out: Regenerated.
47053         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
47054         individual architectures.
47055         * sysdeps/unix/sysv/linux/configure: Regenerated.
47056         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
47057         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
47058         * sysdeps/unix/sysv/linux/powerpc/configure.ac
47059         (ldd_rewrite_script): Define variable.
47060         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
47061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
47062         file.
47063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
47064         generated file.
47065         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
47066         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
47067         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
47068         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
47069         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
47070         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
47071         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
47072         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
47074 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47076         [BZ #17084]
47077         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
47078         Rename member __data.d to __data.__elision_data.
47080 2014-06-24  Wilco  <wdijkstr@arm.com>
47082         * NEWS: Add 16918 to fixed bug list.
47084 2014-06-24  Wilco  <wdijkstr@arm.com>
47086         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
47088 2014-06-24  Wilco  <wdijkstr@arm.com>
47090         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
47091         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
47092         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
47093         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
47094         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
47095         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
47096         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
47097         Use _FPU_MASK_RM.
47099 2014-06-24  Wilco  <wdijkstr@arm.com>
47101         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
47103 2014-06-24  Wilco  <wdijkstr@arm.com>
47105         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
47106         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
47107         * sysdeps/arm/fesetround.c (fesetround): Remove space.
47108         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
47110 2014-06-24  Wilco  <wdijkstr@arm.com>
47112         [BZ #16918]
47113         * sysdeps/arm/feupdateenv.c (feupdateenv):
47114         Rewrite to reduce FPSCR accesses and fix return value.
47116 2014-06-24  Wilco  <wdijkstr@arm.com>
47118         * sysdeps/arm/fclrexcpt.c (feclearexcept):
47119         Optimize to avoid unnecessary FPSCR writes.
47120         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
47121         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
47122         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
47123         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
47125 2014-06-24  Wilco  <wdijkstr@arm.com>
47127         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
47128         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
47129         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
47130         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
47131         Call libc_fetestexcept_vfp.
47132         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
47133         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
47134         __SOFTFP__ ifdef so that they can be built for softfp.
47136 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47138         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
47139         argument type signed char.
47141         * Makerules (check-abi): Dump diff of symlist if the test
47142         fails.
47144 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47146         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
47147         using abort.
47149         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47150         Remove unused variable ST.
47152 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47154         [BZ #16354]
47155         [BZ #17061]
47156         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
47157         small arguments before calling __expm1.
47158         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
47159         small arguments before calling __expm1f.
47160         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
47161         small arguments before calling __expm1l.
47162         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47163         Likewise.
47164         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
47165         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
47166         spurious underflow for some cosh tests.
47167         * math/auto-libm-test-out: Regenerated.
47168         * sysdeps/i386/fpu/libm-test-ulps: Update.
47170         [BZ #17050]
47171         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
47172         (__ieee754_y1): Set errno if return value overflows.
47173         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
47174         (__ieee754_y1f): Set errno if return value overflows.
47175         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
47176         (__ieee754_y1l): Set errno if return value overflows.
47177         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
47178         (__ieee754_y1l): Set errno if return value overflows.
47179         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
47180         * math/auto-libm-test-out: Regenerated.
47182         * math/gen-auto-libm-tests.c: Document use of
47183         ignore-zero-inf-sign.
47184         (input_flag_type): Add value flag_ignore_zero_inf_sign.
47185         (input_flags): Add ignore-zero-inf-sign.
47186         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
47187         * math/gen-libm-test.pl (generate_testfile): Handle
47188         ignore-zero-inf-sign.
47189         * math/auto-libm-test-in: Mark some cpow tests with
47190         ignore-zero-inf-sign and some with xfail-rounding.
47191         * math/auto-libm-test-out: Regenerated.
47192         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
47193         * sysdeps/i386/fpu/libm-test-ulps: Update.
47194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47196         [BZ #16315]
47197         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
47198         overflowing or underflowing operations take place with sign of
47199         result.
47200         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47201         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47202         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
47203         (__ieee754_pow): Recompute overflowing and underflowing results in
47204         original rounding mode.
47205         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
47206         (__powl_helper): Allow negative argument X and scale negated value
47207         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
47208         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
47209         overflowing or underflowing operations take place with sign of
47210         result.
47211         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
47212         Include <math.h>.
47213         * math/auto-libm-test-in: Add more tests of pow.
47214         * math/auto-libm-test-out: Regenerated.
47215         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
47216         (pow_tonearest_test_data): Remove.
47217         (pow_test_tonearest): Likewise.
47218         (pow_towardzero_test_data): Likewise.
47219         (pow_test_towardzero): Likewise.
47220         (pow_downward_test_data): Likewise.
47221         (pow_test_downward): Likewise.
47222         (pow_upward_test_data): Likewise.
47223         (pow_test_upward): Likewise.
47224         (main): Don't call removed functions.
47225         * sysdeps/i386/fpu/libm-test-ulps: Update.
47226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47228 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
47231         Moved ...
47232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
47233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47234         Moved ...
47235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
47236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47237         Moved ...
47238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
47239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47240         Moved ...
47241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
47242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47243         File removed.
47244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47245         File removed.
47246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
47247         File removed.
47248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
47249         File removed.
47250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
47251         File removed.
47252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
47253         File removed.
47254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
47255         File removed.
47256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47257         File removed.
47258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
47259         File removed.
47260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47261         File removed.
47262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
47263         File removed.
47264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
47265         File removed.
47266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
47267         Moved ...
47268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
47269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
47270         Moved ...
47271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
47272         ... here.
47273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
47274         Moved ...
47275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
47276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
47277         Moved ...
47278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
47279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
47280         Moved ...
47281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
47282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
47283         Moved ...
47284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
47285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
47286         Moved ...
47287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
47288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
47289         Moved ...
47290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
47291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
47292         Moved ...
47293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
47294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
47295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
47296         ... here.
47297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
47298         Moved ...
47299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
47300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47301         Moved ...
47302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
47303         ... here.
47304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
47305         Moved ...
47306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
47307         ... here.
47308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47309         Moved ...
47310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
47311         ... here.
47312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47313         Moved ...
47314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
47315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47316         Moved ...
47317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
47318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
47319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
47320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47321         Moved ...
47322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
47323         ... here.
47324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47325         Moved ...
47326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
47327         ... here.
47328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47329         Moved ...
47330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
47331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47332         Moved ...
47333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
47334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47335         Moved ...
47336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
47337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47338         Moved ...
47339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
47340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47341         Moved ...
47342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
47343         ... here.
47344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47345         Moved ...
47346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
47347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47348         Moved ...
47349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
47350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47351         Moved ...
47352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
47353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47354         Moved ...
47355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
47356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
47357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
47358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47359         Moved ...
47360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
47361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47362         Moved ...
47363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
47364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47365         Moved ...
47366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
47367         ... here.
47368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47369         Moved ...
47370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
47371         ... here.
47372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47373         Moved ...
47374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
47375         ... here.
47376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47377         Moved ...
47378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
47379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47380         Moved ...
47381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
47382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47383         Moved ...
47384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
47385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47386         Moved ...
47387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
47388         ... here.
47389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47390         Moved ...
47391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
47392         ... here.
47393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47394         Moved ...
47395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
47396         ... here.
47397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47398         Moved ...
47399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
47400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47401         Moved ...
47402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
47404 2014-06-23  Will Newton  <will.newton@linaro.org>
47405             Wilco  <wdijkstr@arm.com>
47407         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
47408         implementation.  Include get-rounding-mode.h.
47409         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
47410         [!libc_feholdsetround_noex_ctx]: Define
47411         libc_feholdsetround_noex_ctx.
47412         [!libc_feholdsetround_noexf_ctx]: Define
47413         libc_feholdsetround_noexf_ctx.
47414         [!libc_feholdsetround_noexl_ctx]: Define
47415         libc_feholdsetround_noexl_ctx.
47416         (libc_feholdsetround_ctx): New function.
47417         (libc_feresetround_ctx): New function.
47418         (libc_feholdsetround_noex_ctx): New function.
47419         (libc_feresetround_noex_ctx): New function.
47421 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47423         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
47424         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
47425         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
47426         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
47427         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
47428         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
47430         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
47431         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
47432         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
47433         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
47434         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
47435         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
47436         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
47437         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
47438         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
47439         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
47440         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
47441         Moved ...
47442         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
47443         ... here.
47444         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
47445         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
47446         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
47447         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
47448         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
47449         Moved ...
47450         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
47451         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
47452         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
47453         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
47454         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
47455         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
47456         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
47457         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
47458         Moved ...
47459         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
47460         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
47461         Moved ...
47462         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
47463         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
47464         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
47465         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
47466         Moved ...
47467         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
47468         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
47469         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
47470         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
47471         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
47472         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
47473         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
47474         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
47475         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
47476         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
47477         Moved ...
47478         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
47479         ... here.
47480         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
47481         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
47482         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
47483         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
47484         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
47485         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
47486         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
47487         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
47488         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
47489         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
47490         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
47491         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
47492         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
47493         Moved ...
47494         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
47495         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
47496         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
47497         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
47498         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
47499         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
47500         Moved ...
47501         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
47502         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
47503         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
47504         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
47505         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
47507         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
47508         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
47509         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
47510         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
47511         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
47512         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
47513         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
47514         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
47515         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
47516         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
47517         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
47518         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
47519         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
47520         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
47521         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
47522         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
47523         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
47524         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
47525         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
47526         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
47527         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
47528         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
47529         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
47530         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
47531         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
47532         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
47533         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
47534         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
47536 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47538         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
47539         (FALLOC_FL_COLLAPSE_RANGE): New macro.
47540         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
47541         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
47542         (IPV6_PMTUDISC_INTERFACE): Likewise.
47543         (IPV6_PMTUDISC_OMIT): Likewise.
47545 2014-06-23  Andreas Schwab  <schwab@suse.de>
47547         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
47548         Remove unused errout label.
47550 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47552         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
47553         macro: hardware supports Vector Crypto instructions.
47555 2014-06-23  Will Newton  <will.newton@linaro.org>
47557         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
47558         rather than __builtin_expect.
47560         * elf/dl-lookup.c (undefined_msg): Remove variable.
47561         (_dl_lookup_symbol_x): Replace undefined_msg with string
47562         literal.
47564         * elf/dl-lookup.c (do_lookup_unique): New function.
47565         (do_lookup_x): Move STB_GNU_UNIQUE handling code
47566         to a separate function.
47568 2014-06-23  Andreas Schwab  <schwab@suse.de>
47570         [BZ #17079]
47571         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
47572         before reading the next line.
47574 2014-06-23  Will Newton  <will.newton@linaro.org>
47576         * test-skeleton.c (signal_handler): Use printf and %m
47577         rather than perror.  Use printf rather than fprintf to
47578         stderr.  Use puts rather than fputs to stderr.
47579         (main): Likewise.
47581 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
47583         * nscd/nscd.c (thread_info_t): Remove typedef.
47584         (thread_info): Remove variable.
47586 2014-06-21  Allan McRae  <allan@archlinux.org>
47588         * NEWS: Mention CVE-2014-4043.
47590 2014-06-20  Roland McGrath  <roland@hack.frob.com>
47592         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
47593         * nptl/smp.h: ... here.
47595         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
47597         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
47598         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
47599         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
47600         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
47602         * nptl/allocatestack.c: Include <stack-aliasing.h>.
47603         * nptl/stack-aliasing.h: New file.
47604         * sysdeps/i386/i686/stack-aliasing.h: New file.
47605         * sysdeps/i386/i686/nptl/Makefile: File removed.
47606         * sysdeps/x86_64/stack-aliasing.h: New file.
47607         * sysdeps/x86_64/nptl/Makefile
47608         (CFLAGS-pthread_create.c): Variable removed.
47610         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
47611         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
47612         old file.
47613         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
47614         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
47615         old file.
47617 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
47619         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47620         (__ASSUME_SIGFRAME_V2): Remove macro.
47621         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
47622         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
47623         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
47624         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
47625         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
47626         Declare as function.  Remove conditional macro definitions.
47627         (__default_rt_sa_restorer): Likewise.
47628         (__default_sa_restorer_v1): Remove declaration.
47629         (__default_sa_restorer_v2): Likewise.
47630         (__default_rt_sa_restorer_v1): Likewise.
47631         (__default_rt_sa_restorer_v2): Likewise.
47632         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
47633         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
47634         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
47636 2014-06-20  Roland McGrath  <roland@hack.frob.com>
47638         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
47639         (libpthread-routines): Add sysdep.
47640         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
47641         * sysdeps/unix/sysv/linux/sparc/Versions
47642         (libpthread: GLIBC_2.3.3): New version set.
47643         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
47644         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
47645         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
47646         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
47647         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
47648         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
47649         Moved ...
47650         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
47651         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
47652         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
47653         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
47654         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
47655         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
47656         * sysdeps/sparc/nptl/sem_init.c: ... here.
47657         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
47658         * sysdeps/sparc/nptl/sem_post.c: ... here.
47659         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
47660         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
47661         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
47662         * sysdeps/sparc/nptl/sem_wait.c: ... here.
47663         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
47664         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
47665         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
47666         (libpthread-routines): Add cpu_relax.
47667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
47668         File removed.
47669         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
47670         (librt: GLIBC_2.3.3): New version set.
47671         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
47672         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
47673         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
47674         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
47675         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
47676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
47677         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
47678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
47679         Moved ...
47680         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
47681         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
47682         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
47683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
47684         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
47685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
47686         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
47687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
47688         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
47689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
47690         Moved ...
47691         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
47692         Update #include.
47693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
47694         Moved ...
47695         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
47696         Update #include.
47697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
47698         Moved ...
47699         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
47700         Update #include.
47701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
47702         Moved ...
47703         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
47704         Update #include.
47705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
47706         Moved ...
47707         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
47708         Update #include.
47709         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
47710         Moved ...
47711         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
47712         Update #include.
47713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
47714         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
47715         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
47716         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
47717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
47718         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
47719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
47720         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
47721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
47722         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
47723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
47724         Moved ...
47725         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
47726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
47727         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
47728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
47729         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
47731 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47733         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
47734         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
47735         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
47736         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
47737         * nscd/nscd.c: Likewise.
47738         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
47739         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
47740         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
47741         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
47743         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
47744         <kernel-features.h>.
47745         (init_mq_netlink): Remove conditional have_sock_cloexec
47746         definitions.  Remove code conditional on have_sock_cloexec < 0.
47747         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
47748         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
47749         * sysdeps/unix/sysv/linux/opensock.c: Do not include
47750         <kernel-features.h>.
47751         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
47752         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
47754 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
47756         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47757         Add tests for memset_chk and memset.
47759         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
47760         with AVX2_Usable.
47762 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
47764         [BZ #16046]
47765         * elf/tst-dl-iter-static.c: New file.
47766         * elf/Makefile (tests-static): Add tst-dl-iter-static.
47768         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
47769         error.
47771 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47773         * sysdeps/unix/sysv/linux/kernel-features.h
47774         (__ASSUME_F_GETOWN_EX): Remove macro.
47775         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
47776         <kernel-features.h>.
47777         (miss_F_GETOWN_EX): Remove variable or macro.
47778         (do_fcntl): Do not check miss_F_GETOWN_EX.
47779         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
47781         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
47782         Remove macro.
47783         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
47784         [!__ASSUME_AT_RANDOM]: Remove conditional code.
47785         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
47787         * sysdeps/unix/sysv/linux/kernel-features.h
47788         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
47789         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
47790         [ADJ_OFFSET_SS_READ]: Make code unconditional.
47791         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
47793 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
47795         [BZ #17075]
47796         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
47797         Fix calculation of the symbol's value.
47798         * sysdeps/arm/tst-armtlsdescloc.c: New file.
47799         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
47800         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
47801         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
47802         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
47803         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
47804         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
47805         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
47806         (modules-names): Add `tst-armtlsdescmod',
47807         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
47808         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
47809         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
47810         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
47811         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
47812         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
47813         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
47814         ($(objpfx)tst-armtlsdescloc): New dependency.
47815         ($(objpfx)tst-armtlsdescextnow): Likewise.
47816         ($(objpfx)tst-armtlsdescextlazy): Likewise.
47817         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
47818         TLS scheme support.
47819         * sysdeps/arm/configure: Regenerate.
47821 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47823         * include/fcntl.h (__atfct_seterrno): Remove prototype.
47824         (__atfct_seterrno_2): Likewise.
47825         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
47826         <kernel-features.h>.
47827         (__ASSUME_ATFCTS): Do not undefine and redefine.
47828         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
47829         (__have_atfcts): Remove conditional definition.
47830         (__fxstatat([__NR_fstatat64]: Make code unconditional.
47831         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
47832         unreachable if [__ASSUME_ATFCTS].
47833         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
47834         not undefine and redefine.
47835         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
47836         <kernel-features.h>.
47837         (faccessat) [__NR_faccessat]: Make code unconditional.
47838         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
47839         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
47840         <kernel-features.h>.
47841         (fchmodat) [__NR_fchmodat]: Make code unconditional.
47842         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47843         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
47844         <kernel-features.h>.
47845         (fchownat) [__NR_fchownat]: Make code unconditional.
47846         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
47847         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
47848         <kernel-features.h>.
47849         (futimesat) [__NR_futimesat]: Make code unconditional.
47850         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
47851         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47852         <kernel-features.h>.
47853         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47854         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47855         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47856         <kernel-features.h>.
47857         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
47858         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47859         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
47860         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47861         <kernel-features.h>.
47862         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
47863         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47864         * sysdeps/unix/sysv/linux/linkat.c: Do not include
47865         <kernel-features.h>.
47866         (linkat) [__NR_linkat]: Make code unconditional.
47867         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47868         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
47869         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
47870         <kernel-features.h>.
47871         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
47872         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47873         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
47874         <kernel-features.h>.
47875         (mkdirat) [__NR_mkdirat]: Make code unconditional.
47876         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
47877         * sysdeps/unix/sysv/linux/openat.c: Do not include
47878         <kernel-features.h>.
47879         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
47880         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
47881         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
47882         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
47883         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
47884         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
47885         <kernel-features.h>.
47886         (readlinkat) [__NR_readlinkat]: Make code unconditional.
47887         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
47888         result of INLINE_SYSCALL directly, not via int variable.
47889         * sysdeps/unix/sysv/linux/renameat.c: Do not include
47890         <kernel-features.h>.
47891         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
47892         (renameat) [__NR_renameat]: Make code unconditional.
47893         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
47894         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
47895         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
47896         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
47897         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
47898         (__ASSUME_ATFCTS): Do not undefine and redefine.
47899         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
47900         <kernel-features.h>.
47901         (symlinkat) [__NR_symlinkat]: Make code unconditional.
47902         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47903         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
47904         <kernel-features.h>.
47905         (unlinkat) [__NR_unlinkat]: Make code unconditional.
47906         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47907         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
47908         (__ASSUME_ATFCTS): Do not undefine and redefine.
47909         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47910         <kernel-features.h>.
47911         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47912         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47913         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47914         <kernel-features.h>.
47915         (__xmknodat) [__NR_mknodat]: Make code unconditional.
47916         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47918 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
47920         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
47922 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
47924         [BZ #17069]
47925         * posix/regcomp.c (parse_reg_exp): Deallocate partially
47926         constructed tree before returning error.
47927         * posix/bug-regexp36.c: Expand test case.
47929 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
47931         [BZ #6803]
47932         * math/libm-test.inc (scalbln_test_date):
47933         Add errno expectations.
47934         * math/w_scalblnf.c: New File.
47935         Add wrapper which checks for setting errno to ERANGE.
47936         Add weak_alias for corresponding scalbln function.
47937         * math/w_scalbln.c: Likewise.
47938         * math/w_scalblnl.c: Likewise.
47939         * math/Makefile (libm-calls): Add w_scalbln.
47940         * sysdeps/ieee754/flt-32/s_scalblnf.c:
47941         Remove weak_alias for corresponding scalbln function.
47942         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47943         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47944         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47945         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47946         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
47947         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47948         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
47949         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47950         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
47951         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
47952         Remove long_double_symbol for scalblnl function in libm, libc.
47953         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
47954         Add wrapper which checks for setting errno to ERANGE.
47955         Add long_double_symbol for scalblnl function in libm, libc.
47956         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
47957         Remove long_double_symbol for scalblnl in libm.
47958         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
47959         Add wrapper which checks for setting errno to ERANGE.
47960         Add long_double_symbol for scalblnl function in libm.
47961         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
47962         Do not use wrapper because of own implementation.
47964 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
47966         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
47967         3 bytes for __pad1 for x32.
47968         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
47970 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
47971             H.J. Lu  <hongjiu.lu@intel.com>
47973         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
47974         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
47975         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47976         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47977         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
47979 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
47981         [BZ #17069]
47982         * posix/regcomp.c (parse_expression): Deallocate partially
47983         constructed tree before returning error.
47984         * posix/Makefile.c (tests): Add bug-regex36.
47985         (generated): Add bug-regex36.mtrace.
47986         (tests-special): Add $(objpfx)bug-regex36-mem.out
47987         (bug-regex36-ENV): New variable.
47988         ($(objpfx)bug-regex36-mem.out): New rule.
47989         * posix/bug-regex36.c: New file.
47991 2014-06-19  Will Newton  <will.newton@linaro.org>
47993         * malloc/malloc.c (systrim): If extra is zero then return
47994         early.
47996 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47998         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
48000 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
48002         * sysdeps/aarch64/strchr.S: New file.
48004 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48006         [BZ #17022]
48007         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
48008         from arguments -2 or below.
48009         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48010         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
48012 2014-06-18  Andreas Schwab  <schwab@suse.de>
48014         [BZ #17062]
48015         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
48016         of a bracket expr not to run off the end of the string.
48017         * posix/Makefile (tests): Add tst-fnmatch3.
48018         * posix/tst-fnmatch3.c: New file.
48020 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48022         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
48023         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48024         [$(cross-compiling) = no]: Likewise.
48025         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48026         [$(cross-compiling) = no]: Likewise.
48028 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48030         [BZ #17031]
48031         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
48032         double, adjusted for any remainder from the high double.
48033         * math/libm-test.inc (nearbyint): Add tests.
48034         (rint): Likewise.
48036 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48038         * nptl/sysdeps/powerpc/Makefile: Moved ...
48039         * sysdeps/powerpc/nptl/Makefile: ... here.
48040         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
48041         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
48042         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
48043         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
48044         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
48045         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
48046         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
48047         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
48048         * nptl/sysdeps/powerpc/tls.h: Moved ...
48049         * sysdeps/powerpc/nptl/tls.h: ... here.
48051 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
48053         [BZ #16681]
48054         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
48055         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
48056         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
48057         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
48058         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
48059         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
48060         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
48061         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
48062         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
48064 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
48066         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
48068 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
48070         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
48071         defined operator.
48073         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
48074         $TIMEOUTFACTOR.
48076 2014-06-16  Florian Weimer  <fweimer@redhat.com>
48078         [BZ #17058]
48079         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
48080         non-executed part of the test.
48082 2014-06-16  Andreas Schwab  <schwab@suse.de>
48084         * string/bits/string2.h (strdup, strndup): Update feature guard.
48086 2014-06-14  David S. Miller  <davem@davemloft.net>
48088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48090 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
48092         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
48093         that was previously under [RESET_PID].
48094         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
48096         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
48097         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
48098         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
48099         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48100         (__libc_vfork): New strong alias.
48101         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
48103 2014-06-14 Andi Kleen  <ak@linux.intel.com>
48105         * sysdeps/generic/elide.h: New file.
48107 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
48109         * Makefile (installed-headers): Adjust path of pthread.h header.
48111 2014-06-13  Roland McGrath  <roland@hack.frob.com>
48113         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
48114         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
48115         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
48116         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
48118         * nptl/sysdeps/s390/Makefile: Moved ...
48119         * sysdeps/s390/nptl/Makefile: ... here.
48120         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
48121         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
48122         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
48123         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
48124         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
48125         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
48126         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
48127         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
48128         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
48129         * sysdeps/s390/nptl/pthreaddef.h: ... here.
48130         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
48131         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
48132         * nptl/sysdeps/s390/tls.h: Moved ...
48133         * sysdeps/s390/nptl/tls.h: ... here.
48135         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
48136         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
48138 2014-06-13  David S. Miller  <davem@davemloft.net>
48140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
48141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
48142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
48143         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
48144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
48145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
48146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
48147         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
48148         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
48149         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
48150         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
48151         Remove RESET_PID cpp guards.
48152         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
48153         Remove RESET_PID cpp guards.
48154         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
48156 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
48158         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
48159         __sp to uintptr_t.
48161 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48163         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
48164         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
48165         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
48166         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
48167         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
48168         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
48169         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
48170         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
48171         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
48172         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
48173         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
48174         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
48175         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
48176         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
48177         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
48178         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
48179         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
48180         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
48181         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
48182         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
48184         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
48185         (pthread_rwlock_rdlock): Add elision.
48186         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
48187         (pthread_rwlock_wrlock): Add elision.
48188         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
48189         (pthread_rwlock_trywrlock): Add elision.
48190         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
48191         (pthread_rwlock_tryrdlock): Add elision.
48192         * nptl/pthread_rwlock_unlock.c: Include elide.h.
48193         (pthread_rwlock_tryrdlock): Add elision unlock.
48194         * nptl/sysdeps/pthread/pthread.h:
48195         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
48196         (PTHREAD_RWLOCK_INITIALIZER,
48197         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
48198         Handle new elision field.
48199         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
48200         * sysdeps/arm/nptl/bits/pthreadtypes.h
48201         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48202         * sysdeps/sh/nptl/bits/pthreadtypes.h
48203         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48204         * sysdeps/tile/nptl/bits/pthreadtypes.h
48205         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48206         * sysdeps/a/nptl/bits/pthreadtypes.h
48207         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48208         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48209         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48210         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48211         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48212         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
48213         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48214         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48215         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48216         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48217         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48218         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48219         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48220         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48221         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48222         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
48223         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48224         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
48225         (elision_init): Set try_xbegin to zero when no RTM.
48226         * sysdeps/x86/nptl/bits/pthreadtypes.h
48227         (pthread_rwlock_t): Change __pad1 to __rwelision.
48228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48230 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48232         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
48233         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
48234         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
48235         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
48237 2014-06-13  Meador Inge  <meadori@codesourcery.com>
48239         [BZ #16996]
48240         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
48241         that the cached result has been set before returning it.
48243 2014-06-12  Roland McGrath  <roland@hack.frob.com>
48245         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
48246         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
48247         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
48248         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
48249         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
48250         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
48252         * nptl/sysdeps/sparc/Makefile: Moved ...
48253         * sysdeps/sparc/nptl/Makefile: ... here.
48254         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
48255         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
48256         * nptl/sysdeps/sparc/tls.h: Moved ...
48257         * sysdeps/sparc/nptl/tls.h: ... here.
48258         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
48259         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
48260         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
48261         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
48262         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
48263         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
48264         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
48265         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
48266         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
48267         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
48268         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
48269         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
48270         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
48271         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
48272         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
48273         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
48274         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
48275         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
48276         Update #include.
48277         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
48278         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
48279         Update #include.
48280         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
48281         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
48282         Update #include.
48283         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
48284         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
48285         Update #include.
48287         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48289         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
48290         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
48292         * sysdeps/pthread/posix-timer.h: Include <list.h>.
48293         (struct list_links): Type removed.
48294         (struct thread_node, struct timer_node): Replace struct list_links
48295         with struct list_head.
48296         (list_unlink_ip): Likewise.
48297         * sysdeps/pthread/timer_routines.c
48298         (timer_free_list, thread_free_list, thread_active_list): Likewise.
48299         (list_append, list_insbefore): Likewise.
48300         (list_init): Function removed.
48301         (thread_init, init_module): Use INIT_LIST_HEAD instead.
48302         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
48303         * sysdeps/pthread/Makefile: ... here, new file.
48305         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
48306         * sysdeps/nptl/Implies: ... here.
48307         * sysdeps/unix/sysv/linux/Implies: Add nptl.
48308         * nptl/sysdeps/pthread/list.h: Moved ...
48309         * include/list.h: ... here.
48310         * nptl/sysdeps/pthread/createthread.c: Moved ...
48311         * nptl/createthread.c: ... here.
48312         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
48313         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
48314         * nptl/pt-longjmp.c: ... here.
48315         * nptl/sysdeps/pthread/Makefile: Moved ...
48316         * sysdeps/nptl/Makefile: ... here.
48317         * nptl/sysdeps/pthread/Subdirs: Moved ...
48318         * sysdeps/nptl/Subdirs: ... here.
48319         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
48320         * sysdeps/nptl/aio_misc.h: ... here.
48321         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
48322         * sysdeps/nptl/bits/libc-lock.h: ... here.
48323         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
48324         * sysdeps/nptl/bits/libc-lockP.h: ... here.
48325         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
48326         * sysdeps/nptl/bits/stdio-lock.h: ... here.
48327         * nptl/sysdeps/pthread/configure: Moved ...
48328         * sysdeps/nptl/configure: ... here.
48329         * nptl/sysdeps/pthread/configure.ac: Moved ...
48330         * sysdeps/nptl/configure.ac: ... here.
48331         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
48332         * sysdeps/nptl/gai_misc.h: ... here.
48333         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
48334         * sysdeps/nptl/librt-cancellation.c: ... here.
48335         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
48336         * sysdeps/nptl/malloc-machine.h: ... here.
48337         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
48338         * sysdeps/nptl/pthread-functions.h: ... here.
48339         * nptl/sysdeps/pthread/pthread.h: Moved ...
48340         * sysdeps/nptl/pthread.h: ... here.
48341         * nptl/sysdeps/pthread/setxid.h: Moved ...
48342         * sysdeps/nptl/setxid.h: ... here.
48343         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
48344         * sysdeps/nptl/sigfillset.c: ... here.
48345         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
48346         * sysdeps/nptl/tcb-offsets.h: ... here.
48347         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
48348         * sysdeps/nptl/tst-mqueue8x.c: ... here.
48349         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
48350         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
48351         * nptl/sysdeps/pthread/allocalim.h: Moved ...
48352         * sysdeps/pthread/allocalim.h: ... here.
48353         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
48354         * sysdeps/pthread/bits/sigthread.h: ... here.
48355         * nptl/sysdeps/pthread/flockfile.c: Moved ...
48356         * sysdeps/pthread/flockfile.c: ... here.
48357         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
48358         * sysdeps/pthread/ftrylockfile.c: ... here.
48359         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
48360         * sysdeps/pthread/funlockfile.c: ... here.
48361         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
48362         * sysdeps/pthread/posix-timer.h: ... here.
48363         * nptl/sysdeps/pthread/timer_create.c: Moved ...
48364         * sysdeps/pthread/timer_create.c: ... here.
48365         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
48366         * sysdeps/pthread/timer_delete.c: ... here.
48367         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
48368         * sysdeps/pthread/timer_getoverr.c: ... here.
48369         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
48370         * sysdeps/pthread/timer_gettime.c: ... here.
48371         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
48372         * sysdeps/pthread/timer_routines.c: ... here.
48373         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
48374         * sysdeps/pthread/timer_settime.c: ... here.
48375         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
48376         * sysdeps/pthread/tst-timer.c: ... here.
48377         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
48378         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
48380         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
48381         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
48383         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
48384         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
48385         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
48386         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
48387         Update #include target.
48388         * nptl/sysdeps/i386/i686/Makefile: Moved ...
48389         * sysdeps/i386/i686/nptl/Makefile: ... here.
48390         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
48391         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
48392         Update #include target.
48393         * nptl/sysdeps/i386/i686/tls.h: Moved ...
48394         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
48395         * nptl/sysdeps/i386/Makefile: Moved ...
48396         * sysdeps/i386/nptl/Makefile: ... here.
48397         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
48398         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
48399         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
48400         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
48401         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
48402         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
48403         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
48404         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
48405         * sysdeps/i386/nptl/pthreaddef.h: ... here.
48406         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
48407         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
48408         * nptl/sysdeps/i386/tls.h: Moved ...
48409         * sysdeps/i386/nptl/tls.h: ... here.
48411         * sysdeps/sh/Makefile [$(subdir) = csu]
48412         (gen-as-const-headers): Add tcb-offsets.sym.
48413         * nptl/sysdeps/sh/Makefile: File removed.
48414         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
48415         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
48416         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
48417         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
48418         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
48419         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
48420         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
48421         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
48422         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
48423         * sysdeps/sh/nptl/pthreaddef.h: ... here.
48424         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
48425         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
48426         * nptl/sysdeps/sh/tls.h: Moved ...
48427         * sysdeps/sh/nptl/tls.h: ... here.
48428         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
48429         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
48430         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
48431         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
48432         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
48433         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
48434         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
48435         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
48436         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
48437         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
48438         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
48439         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
48440         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
48441         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
48442         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
48443         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
48444         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
48445         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
48446         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
48447         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
48448         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
48449         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
48450         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
48451         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
48452         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
48453         Moved ...
48454         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
48455         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
48456         Moved ...
48457         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
48458         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
48459         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
48460         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
48461         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
48462         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
48463         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
48464         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
48465         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
48466         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
48467         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
48468         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
48469         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
48470         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
48471         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
48472         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
48473         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
48474         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
48475         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
48477 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
48479         * posix/spawn_faction_addopen.c: Include string.h.
48481 2014-06-11  Roland McGrath  <roland@hack.frob.com>
48483         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
48484         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
48485         * nptl/sysdeps/x86_64/Makefile: Moved ...
48486         * sysdeps/x86_64/nptl/Makefile: ... here.
48487         * nptl/sysdeps/x86_64/configure: Moved ...
48488         * sysdeps/x86_64/nptl/configure: ... here.
48489         * nptl/sysdeps/x86_64/configure.ac: Moved ...
48490         * sysdeps/x86_64/nptl/configure.ac: ... here.
48491         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
48492         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
48493         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
48494         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
48495         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
48496         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
48497         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
48498         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
48499         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
48500         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
48501         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
48502         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
48503         * nptl/sysdeps/x86_64/tls.h: Moved ...
48504         * sysdeps/x86_64/nptl/tls.h: ... here.
48505         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
48506         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
48507         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
48508         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
48510         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
48512 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48516 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
48518         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
48519         type.
48520         [POSIX] (off_t): Likewise.
48521         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
48522         [POSIX] (S_ISBLK): Require macro.
48523         [POSIX] (S_ISCHR): Likewise.
48524         [POSIX] (S_ISDIR): Likewise.
48525         [POSIX] (S_ISFIFO): Likewise.
48526         [POSIX] (S_ISREG): Likewise.
48527         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
48528         optional-macro.
48529         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
48530         type.
48531         [POSIX] (time_t): Likewise.
48532         [POSIX] (timer_t): Likewise.
48534 2014-06-11  Florian Weimer  <fweimer@redhat.com>
48536         [BZ #17048]
48537         * posix/spawn_int.h (struct __spawn_action): Make the path string
48538         non-const to support deallocation.
48539         * posix/spawn_faction_addopen.c
48540         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
48541         * posix/spawn_faction_destroy.c
48542         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
48543         path in all spawn_do_open actions.
48544         * posix/tst-spawn.c (do_test): Exercise the copy operation in
48545         posix_spawn_file_actions_addopen.
48547 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
48549         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
48550         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
48551         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
48552         conditional code always true.
48553         (__libc_vfork): New alias.
48555 2014-06-11  Roland McGrath  <roland@hack.frob.com>
48557         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48558         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
48560         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
48562         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48563         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
48565         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48566         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
48568         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48569         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
48571 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48573         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
48574         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
48575         multiarch strcmp for PPC64.
48576         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
48577         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
48578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
48579         multiarch optimizations.
48580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48581         (__libc_ifunc_impl_list): Likewise.
48583 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48585         * benchtests/scripts/validate_benchout.py: New script.
48586         * benchtests/Makefile (bench-func): Call it.
48587         * benchtests/scripts/benchout.schema.json: New file.
48589 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
48591         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
48592         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
48593         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
48594         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
48595         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
48596         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
48597         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
48598         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
48599         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
48600         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
48601         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
48602         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
48603         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
48604         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
48605         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
48606         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
48607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
48608         Moved ...
48609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
48610         ... here.
48611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
48612         Moved ...
48613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
48614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
48615         Moved ...
48616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
48617         ... here.
48618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
48619         Moved ...
48620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
48621         ... here.
48622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
48623         Moved ...
48624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
48625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
48626         Moved ...
48627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
48628         ... here.
48629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
48630         Moved ...
48631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
48632         ... here.
48633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
48634         Moved ...
48635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
48636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
48637         Moved ...
48638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
48639         ... here.
48640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
48641         Moved ...
48642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
48643         ... here.
48644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
48645         Moved ...
48646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
48647         ... here.
48648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
48649         Moved ...
48650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
48651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
48652         Moved ...
48653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
48654         ... here.
48655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
48656         Moved ...
48657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
48658         ... here.
48659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
48660         Moved ...
48661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
48662         ... here.
48663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
48664         Moved ...
48665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
48666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
48667         Moved ...
48668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
48669         ... here.
48670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
48671         Moved ...
48672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
48673         ... here.
48674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
48675         Moved ...
48676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
48677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
48678         Moved ...
48679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
48680         ... here.
48681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
48682         Moved ...
48683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
48684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
48685         Moved ...
48686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
48687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
48688         Moved ...
48689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
48690         ... here.
48691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
48692         Moved ...
48693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
48694         ... here.
48695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
48696         Moved ...
48697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
48698         ... here.
48699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
48700         Moved ...
48701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
48702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
48703         Moved ...
48704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
48705         ... here.
48706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
48707         Moved ...
48708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
48709         ... here.
48710         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
48711         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
48712         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
48713         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
48714         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
48715         Moved ...
48716         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
48717         ... here.
48718         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
48719         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
48720         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
48721         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
48722         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
48723         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
48724         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
48725         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
48726         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
48727         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
48728         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
48729         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
48730         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
48731         Moved ...
48732         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
48733         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
48734         Moved ...
48735         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
48736         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
48737         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
48738         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
48739         Moved ...
48740         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
48741         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
48742         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
48743         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
48744         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
48745         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
48746         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
48748 2014-06-10  Wilco  <wdijkstr@arm.com>
48750         * math/test-fenv-return.c: New file.
48751         * math/Makefile: Add new test test-fenv-return.
48753 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
48755         [BZ #17042]
48756         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
48757         when x - 1 is zero.
48758         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
48759         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
48760         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
48761         0.0L for an argument of 1.0L.
48762         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
48763         Likewise.
48764         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
48765         value when x - 1 is zero.
48766         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
48767         * sysdeps/i386/fpu/libm-test-ulps: Update.
48768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48770 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
48772         [BZ #15119]
48773         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
48775 2014-06-09  Roland McGrath  <roland@hack.frob.com>
48777         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
48778         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
48780 2014-06-09  Roland McGrath  <roland@hack.frob.com>
48782         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48783         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
48785         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48786         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
48788         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48789         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
48791         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48792         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
48794         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
48795         if not already defined.
48796         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
48797         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
48798         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
48799         (TLS_INIT_TP): Use it.
48800         (TLS_DEFINE_INIT_TP): New macro.
48801         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
48803 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
48805         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
48806         constant.
48807         [POSIX] (IXANY): Likewise.
48808         [POSIX] (OLCUC): Likewise.
48809         [POSIX || POSIX2008] (CBAUD): Do not allow.
48810         [POSIX || POSIX2008] (DEFECHO): Likewise.
48811         [POSIX || POSIX2008] (ECHOCTL): Likewise.
48812         [POSIX || POSIX2008] (ECHOKE): Likewise.
48813         [POSIX || POSIX2008] (ECHOPRT): Likewise.
48814         [POSIX || POSIX2008] (EXTA): Likewise.
48815         [POSIX || POSIX2008] (EXTB): Likewise.
48816         [POSIX || POSIX2008] (FLUSHO): Likewise.
48817         [POSIX || POSIX2008] (LOBLK): Likewise.
48818         [POSIX || POSIX2008] (PENDIN): Likewise.
48819         [POSIX || POSIX2008] (SWTCH): Likewise.
48820         [POSIX || POSIX2008] (VDISCARD): Likewise.
48821         [POSIX || POSIX2008] (VDSUSP): Likewise.
48822         [POSIX || POSIX2008] (VLNEXT): Likewise.
48823         [POSIX || POSIX2008] (VREPRINT): Likewise.
48824         [POSIX || POSIX2008] (VSTATUS): Likewise.
48825         [POSIX || POSIX2008] (VWERASE): Likewise.
48826         (B*): Change to B[0123456789]*.
48827         * conform/data/time.h-data [POSIX || UNIX98]
48828         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
48829         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48830         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
48831         [POSIX] (tm_*): Do not allow.
48833 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
48835         * Makefile (install): Don't set LANGUAGE.
48836         * Makefile.in (install): Likewise.
48837         * assert/Makefile (test-assert-ENV): Remove variable.
48838         (test-assert-perr-ENV): Likewise.
48839         * elf/Makefile (neededtest4-ENV): Likewise.
48840         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48841         [$(cross-compiling) = no]: Don't set LANGUAGE.
48842         * io/ftwtest-sh (LANG): Remove variable.
48843         * libio/Makefile (tst-widetext-ENV): Likewise.
48844         * manual/install.texi (Running make install): Don't refer to
48845         environment settings for make install.
48846         * INSTALL: Regenerated.
48847         * nptl/tst-tls6.sh: Don't set LANG.
48848         * posix/globtest.sh (LANG): Remove variable.
48849         * string/Makefile (tester-ENV): Likewise.
48850         (inl-tester-ENV): Likewise.
48851         (noinl-tester-ENV): Likewise.
48852         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48853         [$(cross-compiling) = no]: Don't set LANGUAGE.
48854         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
48855         without explicit environment settings.
48857 2014-06-06  Roland McGrath  <roland@hack.frob.com>
48859         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
48860         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
48861         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
48862         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
48864 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
48866         * crypt/crypt-private.h [DOS]: Add some includes taken from the
48867         other files in the crypt directory.
48868         * crypt/crypt.c: Remove duplicate includes.
48869         * crypt/crypt-entry.c: Likewise.
48870         * crypt/crypt_util.c: Likewise.
48872 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
48874         * Makeconfig (run-program-env): New variable.
48875         (run-program-prefix-before-env): Likewise.
48876         (run-program-prefix-after-env): Likewise.
48877         (run-program-prefix): Define in terms of new variables.
48878         (built-program-cmd-before-env): New variable.
48879         (built-program-cmd-after-env): Likewise.
48880         (built-program-cmd): Define in terms of new variables.
48881         (test-program-prefix-before-env): New variable.
48882         (test-program-prefix-after-env): Likewise.
48883         (test-program-prefix): Define in terms of new variables.
48884         (test-program-cmd-before-env): New variable.
48885         (test-program-cmd-after-env): Likewise.
48886         (test-program-cmd): Define in terms of new variables.
48887         * Rules (make-test-out): Use $(run-program-env).
48888         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
48889         (help): Do not mention environment variables.  Mention
48890         --timeoutfactor option.
48891         (timeoutfactor): New variable.
48892         (blacklist_exports): Remove function.
48893         (exports): Remove variable.
48894         (command): Do not include ${exports}.
48895         * manual/install.texi (Configuring and compiling): Do not mention
48896         test wrappers preserving environment variables.  Mention that last
48897         assignment to a variable must take precedence.
48898         * INSTALL: Regenerated.
48899         * benchtests/Makefile (run-bench): Use $(run-program-env).
48900         * catgets/Makefile ($(objpfx)test1.cat): Use
48901         $(built-program-cmd-before-env), $(run-program-env) and
48902         $(built-program-cmd-after-env).
48903         ($(objpfx)test2.cat): Do not specify environment variables
48904         explicitly.
48905         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
48906         $(run-program-env) and $(built-program-cmd-after-env).
48907         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
48908         $(run-program-env) and $(test-program-cmd-after-env).
48909         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
48910         explicitly.
48911         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
48912         run_program_env and test_program_cmd_after_env arguments.
48913         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
48914         * elf/tst-pathopt.sh: Use run_program_env argument.
48915         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
48916         $(test-wrapper-env) and $(run-program-env).
48917         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
48918         run_program_env arguments.
48919         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
48920         * intl/Makefile ($(objpfx)tst-gettext.out): Use
48921         $(test-program-prefix-before-env), $(run-program-env) and
48922         $(test-program-prefix-after-env).
48923         ($(objpfx)tst-gettext2.out): Likewise.
48924         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
48925         run_program_env and test_program_prefix_after_env arguments.
48926         * intl/tst-gettext2.sh: Likewise.
48927         * intl/tst-gettext4.sh: Do not set environment variables
48928         explicitly.
48929         * intl/tst-gettext6.sh: Likewise.
48930         * intl/tst-translit.sh: Likewise.
48931         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
48932         $(test-program-prefix-before-env), $(run-program-env) and
48933         $(test-program-prefix-after-env).
48934         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
48935         run_program_env and test_program_prefix_after_env arguments.
48936         * math/Makefile (run-regen-ulps): Use $(run-program-env).
48937         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
48938         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
48939         explicitly with each use of ${test_wrapper_env}.
48940         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
48941         $(test-program-prefix-before-env), $(run-program-env) and
48942         $(test-program-prefix-after-env).
48943         * posix/tst-getconf.sh: Do not set environment variables
48944         explicitly.
48945         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
48946         run_program_env and test_program_prefix_after_env arguments.
48947         * stdio-common/tst-printf.sh: Do not set environment variables
48948         explicitly.
48949         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
48950         $(test-program-prefix-before-env), $(run-program-env) and
48951         $(test-program-prefix-after-env).
48952         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
48953         run_program_env and test_program_prefix_after_env arguments.
48954         Split $test calls into $test_pre and $test.
48955         * timezone/Makefile (build-testdata): Use
48956         $(built-program-cmd-before-env), $(run-program-env) and
48957         $(built-program-cmd-after-env).
48959 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48961         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
48962         strlen for non SHARED builds.
48964 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48966         * nptl/allocatestack.c (check_list): Inlined function...
48967         (__reclaim_stacks): ... here.
48969 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48971         [BZ #15698]
48972         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
48973         memory overrun.
48975 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
48977         * Rules (make-test-out): Include
48978         LOCPATH=$(common-objpfx)localedata in default environment.
48979         * debug/Makefile (tst-chk1-ENV): Remove variable.
48980         (tst-chk2-ENV): Likewise.
48981         (tst-chk3-ENV): Likewise.
48982         (tst-chk4-ENV): Likewise.
48983         (tst-chk5-ENV): Likewise.
48984         (tst-chk6-ENV): Likewise.
48985         (tst-lfschk1-ENV): Likewise.
48986         (tst-lfschk2-ENV): Likewise.
48987         (tst-lfschk3-ENV): Likewise.
48988         (tst-lfschk4-ENV): Likewise.
48989         (tst-lfschk5-ENV): Likewise.
48990         (tst-lfschk6-ENV): Likewise.
48991         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
48992         (tst-iconv7-ENV): Likewise.
48993         * intl/Makefile (LOCPATH-ENV): Likewise.
48994         (tst-codeset-ENV): Likewise.
48995         (tst-gettext3-ENV): Likewise.
48996         (tst-gettext5-ENV): Likewise.
48997         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
48998         (tst-fopenloc-ENV): Likewise.
48999         (tst-fgetws-ENV): Remove variable.
49000         (tst-ungetwc1-ENV): Likewise.
49001         (tst-ungetwc2-ENV): Likewise.
49002         (bug-ungetwc2-ENV): Likewise.
49003         (tst-swscanf-ENV): Likewise.
49004         (bug-ftell-ENV): Likewise.
49005         (tst-fgetwc-ENV): Likewise.
49006         (tst-fseek-ENV): Likewise.
49007         (tst-ftell-partial-wide-ENV): Likewise.
49008         (tst-ftell-active-handler-ENV): Likewise.
49009         (tst-ftell-append-ENV): Likewise.
49010         * posix/Makefile (tst-fnmatch-ENV): Likewise.
49011         (tst-regexloc-ENV): Likewise.
49012         (bug-regex1-ENV): Likewise.
49013         (tst-regex-ENV): Likewise.
49014         (tst-regex2-ENV): Likewise.
49015         (bug-regex5-ENV): Likewise.
49016         (bug-regex6-ENV): Likewise.
49017         (bug-regex17-ENV): Likewise.
49018         (bug-regex18-ENV): Likewise.
49019         (bug-regex19-ENV): Likewise.
49020         (bug-regex20-ENV): Likewise.
49021         (bug-regex22-ENV): Likewise.
49022         (bug-regex23-ENV): Likewise.
49023         (bug-regex25-ENV): Likewise.
49024         (bug-regex26-ENV): Likewise.
49025         (bug-regex30-ENV): Likewise.
49026         (bug-regex32-ENV): Likewise.
49027         (bug-regex33-ENV): Likewise.
49028         (bug-regex34-ENV): Likewise.
49029         (bug-regex35-ENV): Likewise.
49030         (tst-rxspencer-ENV): Likewise.
49031         (tst-rxspencer-no-utf8-ENV): Likewise.
49032         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
49033         (tst-sscanf-ENV): Likewise.
49034         (tst-swprintf-ENV): Likewise.
49035         (tst-swscanf-ENV): Likewise.
49036         (test-vfprintf-ENV): Likewise.
49037         (scanf13-ENV): Likewise.
49038         (bug14-ENV): Likewise.
49039         (tst-grouping-ENV): Likewise.
49040         * stdlib/Makefile (tst-strtod-ENV): Likewise.
49041         (tst-strtod3-ENV): Likewise.
49042         (tst-strtod4-ENV): Likewise.
49043         (tst-strtod5-ENV): Likewise.
49044         (testmb2-ENV): Likewise./
49045         * string/Makefile (tst-strxfrm-ENV): Likewise.
49046         (tst-strxfrm2-ENV): Likewise.
49047         (bug-strcoll1-ENV): Likewise.
49048         (test-strcasecmp-ENV): Likewise.
49049         (test-strncasecmp-ENV): Likewise.
49050         * time/Makefile (tst-strptime-ENV): Likewise.
49051         (tst-ftime_l-ENV): Likewise.
49052         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
49053         (tst-mbrtowc-ENV): Likewise.
49054         (tst-wcrtomb-ENV): Likewise.
49055         (tst-mbrtowc2-ENV): Likewise.
49056         (tst-c16c32-1-ENV): Likewise.
49057         (tst-mbsnrtowcs-ENV): Likewise.
49059 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49061         * manual/resource.texi (How to get information about the memory
49062         subsystem?): Fix typo.
49063         Reported by Peon de la Parra Ivan <peon@keba.com>
49065 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
49067         [BZ #16882]
49068         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
49069         (pthread_spin_lock): Branch out of spin loop to proper location.
49070         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
49071         (pthread_spin_lock): Likewise.
49073         * nptl/tst-spin4.c: New test.
49074         * nptl/Makefile (tests): Add tst-spin4.
49076 2014-06-03  Andreas Schwab  <schwab@suse.de>
49078         [BZ #15946]
49079         * resolv/res_send.c (send_dg): Reload file descriptor after
49080         calling reopen.
49082 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
49084         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49086 2014-06-03  Richard Henderson  <rth@redhat.com>
49088         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
49089         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
49090         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
49091         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
49092         in the SAVE_PID block.
49093         (__libc_vfork): New alias.
49094         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
49096         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
49097         child in registers, not on the stack.  Remove RESET_PID conditionals.
49098         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
49100 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49102         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49104 2014-06-03  Wilco  <wdijkstr@arm.com>
49106         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
49107         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
49108         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49109         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
49110         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
49111         Likewise.
49113 2014-06-03  Wilco  <wdijkstr@arm.com>
49115         * sysdeps/aarch64/fpu/math_private.h
49116         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
49117         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
49118         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
49119         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49120         Fix declarations.
49122 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49124         * crypt/crypt-private.h: Include ufc-crypt.h.
49125         (__b64_from_24bit): Declare extern.
49126         * crypt/crypt_util.c(__b64_from_24bit): New function.
49127         (b64t): New static const variable.
49128         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
49129         (b64t): Remove variable.
49130         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
49131         * crypt/sha256-crypt.c: Include crypt-private.h.
49132         (b64t): Remove variable.
49133         (__sha256_crypt_r): Remove b64_from_24bit and replace
49134         with __b64_from_24bit.
49135         * crypt/sha512-crypt.c: Likewise.
49137 2014-06-02  Roland McGrath  <roland@hack.frob.com>
49139         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
49140         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
49141         Label the code __libc_vfork rather than __vfork.
49142         [!NOT_IN_libc] (vfork): Define as weak alias.
49143         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
49144         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
49145         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
49147 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49149         * malloc/malloc.c (malloc_info): Fix format specifier for
49150         n_mmaps.
49152 2014-06-02  Wilco  <wdijkstr@arm.com>
49154         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
49155         FPCR write.
49157 2014-06-02  Wilco  <wdijkstr@arm.com>
49159         [BZ #17009]
49160         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
49161         Rewrite to reduce FPCR/FPSR accesses.
49163 2014-06-01  David S. Miller  <davem@davemloft.net>
49165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49167 2014-05-31  David S. Miller  <davem@davemloft.net>
49169         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
49170         to occur in round to nearest mode when |x| >= 2.0
49172 2014-05-30  Richard Henderson  <rth@twiddle.net>
49174         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
49175         (PSEUDO_RET_NOERRNO): Remove.
49176         (ret): Don't redefine.
49177         (ret_NOERRNO): Define in terms of ret.
49178         (ret_ERRVAL): Likewise.
49180         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
49181         use of PSEUDO_RET; perform the error check directly.
49183 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
49185         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
49186         with __int128_t.
49188 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49190         * malloc/malloc (malloc_info): Fix formatting.
49192 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49193             Roland McGrath  <roland@hack.frob.com>
49195         * malloc/malloc (malloc_info): Also print mmapped statistics.
49197 2014-05-30  Roland McGrath  <roland@hack.frob.com>
49199         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
49200         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
49202 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
49204         * malloc/malloc.c (malloc_info): Inline mi_arena.
49206 2014-05-29  Richard Henderson  <rth@twiddle.net>
49208         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
49209         Remove comma before expanding ASM_ARGS_##nr.
49210         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
49211         Make _x0 a strict output; make _x8 a strict input; adjust expansion
49212         of ASM_ARGS_##nr.
49213         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
49214         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
49215         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
49216         (ASM_ARGS_1): Add leading comma.
49218         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
49219         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
49220         to __errno_location.
49221         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
49222         Remove the expected plt for __errno_location.
49224         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49225         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
49226         call to __read_tp.
49228         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49229         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
49230         it and break it down.
49231         (DOCARGS_0, DOCARGS_1): Do nothing.
49232         (DOCARGS_2): Update to store into the new stack frame.
49233         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
49234         (UNDOCARGS_1): Update to restore from the new stack frame.
49235         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
49236         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
49238         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49239         (SINGLE_THREAD_P): New parameter for result regno.
49240         (PSEUDO): Update to match; use cbz instead of beq.
49242         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49243         Use ENTRY to define the _nocancel entry point.  Share the syscall
49244         and syscall error check paths with the cancel path.
49245         (PSEUDO_END): New.
49247         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
49248         whitespace; tabs before and after asm mnemonics.
49250 2014-05-29  Eric Wong  <normalperson@yhbt.net>
49252         [BZ #15132]
49253         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49254         Call fstat64 or stat64 internally, depending on arguments passed.
49255         Replace stat buffer argument with file descriptor argument.
49256         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
49257         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49258         Pass fd to __internal_statvfs instead of calling fstat64.
49259         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
49260         Pass fd to __internal_statvfs64 instead of calling fstat64.
49261         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
49262         Pass -1 to __internal_statvfs instead of calling stat64.
49263         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
49264         Pass -1 to __internal_statvfs64 instead of calling stat64.
49266 2014-05-28  Roland McGrath  <roland@hack.frob.com>
49268         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
49269         that was previously under [RESET_PID].
49270         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
49272         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
49273         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
49275 2014-05-27  Roland McGrath  <roland@hack.frob.com>
49277         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
49279         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
49280         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
49282 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
49284         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
49286 2014-05-27  Andreas Schwab  <schwab@suse.de>
49288         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
49289         TLS_INIT_TP macro.
49290         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
49291         * elf/rtld.c (init_tls, dl_main): Likewise.
49292         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
49293         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
49294         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
49295         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
49296         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
49297         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
49298         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
49299         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
49300         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
49301         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
49302         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
49303         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
49304         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
49305         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
49306         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
49307         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
49308         * sysdeps/generic/tls.h: Update description.
49310 2014-05-27  Will Newton  <will.newton@linaro.org>
49312         [BZ #16990]
49313         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
49314         and restore r2 rather than just restoring.
49316 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49318         [BZ #16724]
49319         * libio/tst-ftell-append.c: New test case.
49320         * libio/Makefile (tests): Add test case.
49321         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
49322         append mode.
49323         * libio/wfileops.c (do_ftell_wide): Likewise.
49325 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49329         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
49330         ...
49331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
49332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49333         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
49334         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
49335         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
49336         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
49337         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
49338         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
49339         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
49340         Moved ...
49341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
49342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
49343         Moved ...
49344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
49345         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
49346         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
49347         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
49348         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
49349         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
49350         ...
49351         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
49352         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
49353         Moved ...
49354         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
49355         here.
49356         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
49357         ...
49358         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
49359         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
49360         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
49362         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
49363         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
49364         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
49365         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
49367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
49368         merge into ...
49369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
49370         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
49371         ...
49372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
49373         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
49374         ...
49375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
49376         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49377         Moved ...
49378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
49379         here.
49380         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49381         Moved ...
49382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
49383         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49384         Moved ...
49385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
49387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
49388         conditional [RESET_PID].
49389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
49390         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
49391         removed.
49392         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
49393         removed.
49395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
49396         <tcb-offsets.h>.
49397         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49398         (__libc_vfork): New strong alias.
49399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
49400         removed.
49401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
49402         Removed.
49404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
49405         <tcb-offsets.h>.
49406         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
49407         (__libc_vfork): New strong alias.
49408         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
49409         removed.
49410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
49411         removed.
49413 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
49415         * malloc/malloc.c (mi_arena): New function.
49416         (malloc_info): Remove nested function mi_arena. Call non-nosted
49417         function mi_arena.
49419 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49421         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
49422         by insrwi.
49423         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
49424         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
49425         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
49426         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
49427         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
49428         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
49429         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
49431 2014-05-26  Andreas Schwab  <schwab@suse.de>
49433         [BZ #16984]
49434         * locale/programs/repertoire.c (repertoire_read): Add slash
49435         between I18NPATH element and file name.
49436         * locale/programs/locfile.c (locfile_read): Likewise.
49438 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
49440         * nptl/pthread_mutexattr_settype.c
49441         (__pthread_mutexattr_settype):
49442         Disable lock elision for PTHREAD_MUTEX_NORMAL.
49444 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
49446         * nptl/tst-mutex5 (do_test):
49447         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
49449 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49451         * benchtests/README: Document 'init' directive.
49452         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
49453         BENCH_INIT.
49454         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
49455         (parse_file): Recognize 'init' directive.
49457 2014-05-26  Kyle McMartin  <kyle@redhat.com>
49459         [BZ #16796]
49460         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
49461         alignment of struct pthread.
49463 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49465         [BZ #16878]
49466         * nscd/netgroupcache.c (addgetnetgrentX): Look for
49467         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49468         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
49469         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49471 2014-05-25  Richard Henderson  <rth@twiddle.net>
49473         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49474         (SINGLE_THREAD_P_PIC): Remove.
49475         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
49476         (SINGLE_THREAD_P_PIC): Remove.
49478         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
49479         branch to syscall error ...
49480         (PSEUDO): ... here.
49481         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
49482         from __local_syscall_error to .Lsyscall_error.
49483         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
49484         (SYSCALL_ERROR): Update label name.
49486         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49487         Do not use DOARGS/UNDOARGS.
49488         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
49489         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
49490         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
49491         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
49492         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
49494         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
49495         block comment.
49497         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
49498         define if !NOT_IN_libc.
49499         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
49500         define with non-default symbol versions.
49502 2014-05-23  Richard Henderson  <rth@twiddle.net>
49504         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
49505         (vfork, __vfork): Define via compat_symbol.
49507         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
49508         [!HAVE_IFUNC] (vfork_compat): Remove.
49509         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
49511 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
49513         [BZ #16978]
49514         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
49515         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
49516         variable.
49518 2014-05-23  Richard Henderson  <rth@twiddle.net>
49520         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
49521         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
49522         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
49523         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
49525         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
49526         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
49527         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
49528         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
49529         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
49530         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
49531         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
49532         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
49533         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
49534         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
49535         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
49536         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
49537         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
49538         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
49539         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
49540         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
49541         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
49542         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
49543         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
49544         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
49545         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
49546         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
49547         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
49548         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
49549         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
49550         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
49551         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
49552         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
49553         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
49554         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
49555         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
49556         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
49557         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
49558         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
49559         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
49560         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
49561         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
49562         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
49563         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
49564         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
49565         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
49566         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
49567         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
49568         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
49569         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
49570         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
49571         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
49572         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
49573         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
49574         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
49575         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
49576         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
49577         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
49578         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
49579         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
49580         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
49582         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
49583         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
49584         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
49585         before exiting on error.
49586         (__libc_vfork): New strong alias.
49587         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
49588         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
49590         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
49591         that was previously under [RESET_PID].
49592         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
49594         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
49596 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
49598         [BZ #16977]
49599         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
49600         value when x - 1 is zero.
49601         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
49602         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
49603         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
49604         0.0L for an argument of 1.0L.
49605         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
49606         Likewise.
49607         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
49608         value when x - 1 is zero.
49609         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
49610         * sysdeps/i386/fpu/libm-test-ulps: Update.
49611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49613 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
49615         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
49616         alphasort and versionsort.
49618 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49620         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
49621         macro.
49622         [copysignf]: Likewise.
49624 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49626         * crypt/md5-crypt.c: Fix formatting.
49628 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49630         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
49631         (b64_from_24bit): New function.
49633 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49635         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
49636         libc_hidden_builtin_def to ifunc.
49637         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49638         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
49640 2014-05-21  Roland McGrath  <roland@hack.frob.com>
49642         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
49643         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
49645 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
49647         * nscd/Depend (linuxthreads): Remove.
49648         (nptl): Add.
49649         * resolv/Depend (linuxthreads): Remove.
49650         * rt/Depend (linuxthreads): Remove.
49652         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
49653         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
49654         $(common-objpfx)elf/.
49655         (link-libc-before-gnulib): Likewise.
49656         (elfobjdir): Remove variable.
49657         * Makefile (install): Use $(elf-objpfx) instead of
49658         $(common-objpfx)elf/.
49659         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
49660         $(elfobjdir)/.
49661         (link-libc-deps): Likewise.
49662         ($(common-objpfx)libc.so): Likewise.
49663         ($(common-objpfx)linkobj/libc.so): Likewise.
49664         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
49665         instead of $(common-objpfx)elf/.
49666         (symbolic-link-list): Likewise.
49667         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49668         [$(cross-compiling) = no]: Likewise.
49669         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
49670         $(elfobjdir)/.
49671         (static-gnulib-arch): Likewise.
49672         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49673         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
49674         $(common-objpfx)elf/.
49676 2014-05-21  Richard Henderson  <rth@redhat.com>
49678         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49679         (SINGLE_THREAD_P): Use the correct width load.  Fold
49680         into the ldr offset.
49682         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
49683         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
49685 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
49687         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
49688         (libgcc_s_resume): Use __attribute_used__.
49689         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
49690         Likewise.
49692 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49694         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
49695         optimization when used with float constants.
49697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49699 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
49701         [BZ #16915]
49702         * locale/nl_langinfo_l.c: Make direct reference to every
49703         _nl_current_CATEGORY symbol.
49704         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
49705         (tests-static): Add tst-langinfo-static.
49706         (tests-special): Add tst-langinfo-static.out.
49707         ($(objpfx)tst-langinfo.out): Redirect output.
49708         ($(objpfx)tst-langinfo-static.out): New.
49709         * localedata/tst-langinfo.sh: Send output to stdout.
49710         * localedata/tst-langinfo-static.c: New file.
49712         [BZ #16965]
49713         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
49714         when the shift amount is modulo the limb size.
49716 2014-05-20  Richard Henderson  <rth@redhat.com>
49718         [BZ #16967]
49719         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
49720         Change type of sa_flags from unsigned int to int.
49722         [BZ #16966]
49723         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
49725         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
49727 2014-05-20  Will Newton  <will.newton@linaro.org>
49729         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49730         Test the return value of the system call in the nocancel case.
49732 2014-05-20  Will Newton  <will.newton@linaro.org>
49733             Yvan Roux  <yvan.roux@linaro.org>
49735         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
49736         #include of asm/ptrace.h.
49737         (PTRACE_GET_THREAD_AREA): Remove #undef.
49738         (PTRACE_GETHBPREGS): Likewise.
49739         (PTRACE_SETHBPREGS): Likewise.
49740         (struct user_regs_struct): New structure.
49741         (struct user_fpsimd_struct): New structure.
49742         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
49743         #include of asm/ptrace.h and second #include of sys/user.h.
49744         (PTRACE_GET_THREAD_AREA): Remove #undef.
49745         (PTRACE_GETHBPREGS): Likewise.
49746         (PTRACE_SETHBPREGS): Likewise.
49747         (ELF_NGREG): Use new struct user_regs_struct.
49748         (elf_fpregset_t): Use new struct user_fpsimd_struct.
49750 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49752         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
49753         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
49755 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
49757         [BZ #16958]
49758         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
49759         membar to avoid block loads/stores to overlap previous stores.
49761 2014-05-17  Richard Henderson  <rth@redhat.com>
49763         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
49764         Create the __##syscall_name##_nocancel entry point.
49765         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
49766         Remove; let the sysdep-cancel.h code create it.
49768 2014-05-17  David S. Miller  <davem@davemloft.net>
49770         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
49771         Protect with __USE_GNU.
49772         (TIOCSET_TEMPT): Likewise.
49773         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
49774         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
49775         these are already provided in bits/ioctl-types.h
49777 2014-05-16  Roland McGrath  <roland@hack.frob.com>
49779         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
49780         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
49782         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
49783         Use wait4 regardless of [__NR_waitpid].
49785 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49787         PR libgcc/60166
49788         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49789         (_FP_NANSIGN_Q): Set the quiet bit.
49791 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
49793         * benchtests/Makefile
49794         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
49795         not $(common-objpfx)math/libm.so.
49796         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
49797         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
49798         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
49799         $(common-objpfx)dlfcn/libdl.so.
49800         ($(objpfx)tst-audit8): Depend on $(libm), not
49801         $(common-objpfx)math/libm.so.
49802         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
49803         not $(common-objpfx)dlfcn/libdl.so.
49804         * math/Makefile
49805         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49806         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
49807         [$(build-shared) = yes].
49808         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
49809         $(common-objpfx)nptl/libpthread.so.
49810         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
49811         $(common-objpfx)math/libm.so$(libm.so-version) or
49812         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
49813         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
49814         $(common-objpfx)dlfcn/libdl.so.
49815         * setjmp/Makefile (link-libm): Remove variable.
49816         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
49817         * stdio-common/Makefile (link-libm): Remove variable.
49818         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
49819         * stdlib/Makefile (link-libm): Remove variable.
49820         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
49821         ($(objpfx)tst-strtod-round): Likewise.
49822         ($(objpfx)tst-tininess): Likewise.
49823         ($(objpfx)tst-strtod-underflow): Likewise.
49824         ($(objpfx)tst-strtod6): Likewise.
49825         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
49826         $(libdl), not $(common-objpfx)nptl/libpthread.so and
49827         $(common-objpfx)dlfcn/libdl.so.
49829 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49831         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
49832         BSD terminal modes definitions.
49834 2014-05-16  Roland McGrath  <roland@hack.frob.com>
49836         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
49837         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
49839         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
49840         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
49841         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
49842         Don't do #include_next.
49843         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
49844         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
49845         Don't do #include_next.
49846         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
49847         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
49848         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
49849         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
49851 2014-05-16  Allan McRae  <allan@archlinux.org>
49853         * po/sv.po: Update Swedish translation from translation project.
49855         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
49856         in sed expression.
49858 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
49860         [BZ #16917]
49861         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
49862         errno if the TIOCGPTN ioctl fails with an error different than
49863         EINVAL.
49864         * login/tst-ptsname.c: New file.
49865         * login/Makefile (tests): Add tst-ptsname.
49867         [BZ #16943]
49868         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
49869         and prlimit64.
49871 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49873         [BZ #16849]
49874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
49875         herrno to return EAI_AGAIN.
49877 2014-05-14  Roland McGrath  <roland@hack.frob.com>
49879         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
49880         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
49881         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
49882         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
49883         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
49884         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
49885         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
49886         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
49887         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
49888         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
49889         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
49890         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
49891         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
49892         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
49893         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
49894         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
49895         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
49896         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
49897         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
49898         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
49899         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
49900         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
49901         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
49902         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
49903         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
49904         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
49905         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
49906         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
49907         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
49908         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
49909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
49910         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
49911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
49912         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
49913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49914         Moved ...
49915         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
49916         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
49917         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
49918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
49919         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
49920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
49921         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
49922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
49923         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
49924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
49925         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
49926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
49927         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
49928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
49929         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
49930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
49931         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
49932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
49933         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
49934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
49935         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
49936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
49937         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
49938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
49939         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
49940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
49941         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
49942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49943         Moved ...
49944         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
49945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
49946         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
49947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
49948         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
49949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
49950         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
49951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
49952         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
49953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
49954         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
49955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
49956         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
49957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
49958         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
49959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
49960         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
49961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
49962         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
49963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49964         Moved ...
49965         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
49966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
49967         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
49969         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
49970         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
49971         (libpthread-sysdep_routines): Add elision-related stuff here instead.
49972         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
49973         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
49974         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
49975         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
49976         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
49977         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
49978         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
49979         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
49980         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
49981         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
49982         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
49983         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
49984         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
49985         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
49986         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
49987         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
49988         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
49989         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
49990         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
49991         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
49992         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
49993         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
49994         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
49995         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
49996         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
49997         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
49998         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
49999         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
50001         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
50002         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
50004         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
50005         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
50006         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
50007         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
50008         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
50009         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
50010         Moved ...
50011         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
50012         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
50013         Moved ...
50014         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
50015         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
50016         Moved ...
50017         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
50018         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
50019         Moved ...
50020         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
50021         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
50022         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
50023         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
50024         Moved ...
50025         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
50026         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
50027         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
50028         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
50029         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
50030         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
50031         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
50032         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
50033         Moved ...
50034         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
50035         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50036         Moved ...
50037         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50038         ... here.
50039         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
50040         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
50041         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
50042         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
50043         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50044         Moved ...
50045         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50046         ... here.
50047         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
50048         Moved ...
50049         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
50050         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
50051         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
50052         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
50053         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
50054         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
50055         Moved ...
50056         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
50057         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
50058         Moved ...
50059         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
50060         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
50061         Moved ...
50062         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
50063         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
50064         Moved ...
50065         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
50066         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
50067         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
50068         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
50069         Moved ...
50070         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
50071         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
50072         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
50073         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
50074         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
50075         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
50076         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
50077         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
50078         Moved ...
50079         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
50080         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50081         Moved ...
50082         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50083         ... here.
50084         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
50085         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
50086         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
50087         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
50088         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50089         Moved ...
50090         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50091         ... here.
50092         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
50093         Moved ...
50094         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
50095         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
50096         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
50097         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
50098         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
50099         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
50100         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
50101         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
50102         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
50103         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
50104         Moved ...
50105         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
50106         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
50107         Moved ...
50108         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
50109         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
50110         Moved ...
50111         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
50112         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
50113         Moved ...
50114         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
50115         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
50116         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
50117         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
50118         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
50119         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
50120         Moved ...
50121         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
50122         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
50123         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
50124         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
50125         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
50126         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
50127         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
50128         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
50129         Moved ...
50130         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
50131         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50132         Moved ...
50133         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50134         ... here.
50135         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
50136         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
50137         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
50138         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
50139         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50140         Moved ...
50141         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50142         ... here.
50143         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
50144         Moved ...
50145         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
50146         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
50147         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
50148         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
50149         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
50150         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
50151         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
50152         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
50153         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
50154         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
50155         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
50157         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
50158         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
50160         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
50161         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
50163         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
50164         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
50165         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
50166         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
50167         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
50168         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
50169         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
50170         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
50171         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
50172         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
50173         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
50174         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
50175         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
50176         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
50177         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
50178         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
50179         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
50180         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
50181         Moved ...
50182         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
50183         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
50184         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
50185         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
50186         Moved ...
50187         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
50188         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
50189         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
50190         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
50191         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
50192         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
50193         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
50194         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
50195         Moved ...
50196         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
50197         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
50198         Moved ...
50199         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
50200         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
50201         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
50202         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
50203         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
50204         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
50205         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
50206         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
50207         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
50208         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
50209         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
50210         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
50211         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
50212         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
50213         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
50214         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
50215         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
50217         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
50218         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
50219         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
50220         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
50221         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
50223         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
50224         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
50225         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
50226         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
50227         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
50228         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
50229         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
50230         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
50231         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
50232         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
50234         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
50235         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
50237         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
50238         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
50239         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
50240         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
50241         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
50242         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
50243         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
50244         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
50245         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
50246         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
50247         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
50248         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
50249         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
50250         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
50251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
50252         Update #include.
50253         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
50254         Likewise.
50255         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50256         Likewise.
50257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50258         Likewise.
50259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50260         Likewise.
50261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
50262         Likewise.
50263         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
50264         Likewise.
50265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50266         Likewise.
50267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
50268         Likewise.
50269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
50270         Likewise.
50271         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
50272         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
50273         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
50274         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
50275         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
50276         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
50277         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
50278         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
50279         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
50280         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
50281         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
50282         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
50283         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
50284         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
50285         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
50287         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
50288         that was previously under [RESET_PID].
50289         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
50290         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
50291         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
50293         * sysdeps/i386/nptl/Implies: New file.
50294         * sysdeps/x86_64/nptl/Implies: New file.
50295         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
50296         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
50297         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
50298         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
50300         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
50301         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50302         (__libc_vfork): New strong alias.
50303         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
50304         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
50306         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
50307         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50308         (__libc_vfork): New strong alias.
50309         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
50310         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
50312         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
50313         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50314         (__libc_vfork): New strong alias.
50315         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
50316         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
50317         * nptl/pt-vfork.c: New file.
50318         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
50319         (libpthread: GLIBC_2.20): New version set (empty).
50321 2014-05-14  Will Newton  <will.newton@linaro.org>
50323         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
50324         rather than #if.
50326 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50328         [BZ #16564]
50329         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
50330         arguments with exponent 65 or above.
50331         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
50332         arguments 0x1p113L or above.
50333         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
50334         to arguments 0x1p107L or above.
50335         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
50336         positive arguments with exponent 65 or above.
50337         * math/auto-libm-test-in: Add more tests of log1p.
50338         * math/auto-libm-test-out: Regenerated.
50340         [BZ #16928]
50341         * math/s_cacos.c (__cacos): Ensure zero real part of result from
50342         non-finite arguments is +0.
50343         * math/s_cacosf.c (__cacosf): Likewise.
50344         * math/s_cacosl.c (__cacosl): Likewise.
50345         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
50346         * sysdeps/i386/fpu/libm-test-ulps: Update.
50347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50349         [BZ #16927]
50350         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
50351         value.
50352         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
50353         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
50354         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
50355         for explicit high bit of mantissa when testing for argument equal
50356         to 1.
50357         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
50358         * sysdeps/i386/fpu/libm-test-ulps: Update.
50359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50361         [BZ #16516]
50362         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
50363         (__erf): Scale by 16 instead of 8 in potentially underflowing
50364         case.  Ensure exception if result actually underflows.
50365         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
50366         (__erff): Scale by 16 instead of 8 in potentially underflowing
50367         case.  Ensure exception if result actually underflows.
50368         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
50369         (efx8): Remove variable.
50370         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50371         case.  Ensure exception if result actually underflows.
50372         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
50373         (efx8): Remove variable.
50374         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50375         case.  Ensure exception if result actually underflows.
50376         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
50377         (efx8): Remove variable.
50378         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50379         case.  Ensure exception if result actually underflows.
50380         * math/auto-libm-test-in: Add more tests of erf.
50381         * math/auto-libm-test-out: Regenerated.
50383 2014-05-14  Andreas Schwab  <schwab@suse.de>
50385         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
50386         Remove code conditionalized on USE___THREAD.
50388         * config.h.in (HAVE_PT_CHOWN): Define as 0.
50389         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
50390         not definedness.
50392 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50394         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
50395         Define unconditionally.
50396         (__ASSUME_O_CLOEXEC): Likewise.
50397         (__ASSUME_SOCK_CLOEXEC): Likewise.
50398         (__ASSUME_IN_NONBLOCK): Likewise.
50399         (__ASSUME_PIPE2): Likewise.
50400         (__ASSUME_EVENTFD2): Likewise.
50401         (__ASSUME_SIGNALFD4): Likewise.
50402         (__ASSUME_DUP3): Likewise.
50403         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50404         (__ASSUME_DUP3): Do not define.
50405         (__ASSUME_EVENTFD2): Likewise.
50406         (__ASSUME_IN_NONBLOCK): Likewise.
50407         (__ASSUME_O_CLOEXEC): Likewise.
50408         (__ASSUME_PIPE2): Likewise.
50409         (__ASSUME_SIGNALFD4): Likewise.
50410         (__ASSUME_SOCK_CLOEXEC): Likewise.
50411         (__ASSUME_UTIMES): Undefine.
50412         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50413         (__ASSUME_UTIMES): Do not define.
50414         (__ASSUME_O_CLOEXEC): Likewise.
50415         (__ASSUME_SOCK_CLOEXEC): Likewise.
50416         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
50417         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
50418         0x020621].
50419         (__ASSUME_PIPE2): Likewise.
50420         (__ASSUME_EVENTFD2): Likewise.
50421         (__ASSUME_SIGNALFD4): Likewise.
50422         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
50423         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
50424         Do not define.
50425         (__ASSUME_EVENTFD2): Likewise.
50426         (__ASSUME_SIGNALFD4): Likewise.
50427         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
50428         (__ASSUME_32BITUIDS): Likewise.
50429         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50430         (__ASSUME_IPC64): Likewise.
50431         (__ASSUME_ST_INO_64_BIT): Likewise.
50432         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
50433         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
50434         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50435         (__ASSUME_UTIMES): Do not define.
50436         (__ASSUME_PSELECT): Likewise.
50437         (__ASSUME_PPOLL): Likewise.
50438         (__ASSUME_O_CLOEXEC): Likewise.
50439         (__ASSUME_SOCK_CLOEXEC): Likewise.
50440         (__ASSUME_IN_NONBLOCK): Likewise.
50441         (__ASSUME_PIPE2): Likewise.
50442         (__ASSUME_EVENTFD2): Likewise.
50443         (__ASSUME_SIGNALFD4): Likewise.
50444         (__ASSUME_DUP3): Likewise.
50445         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50446         (__ASSUME_UTIMES): Likewise.
50447         (__ASSUME_O_CLOEXEC): Likewise.
50448         (__ASSUME_SOCK_CLOEXEC): Likewise.
50449         (__ASSUME_IN_NONBLOCK): Likewise.
50450         (__ASSUME_PIPE2): Likewise.
50451         (__ASSUME_EVENTFD2): Likewise.
50452         (__ASSUME_SIGNALFD4): Likewise.
50453         (__ASSUME_DUP3): Likewise.
50454         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50455         (__ASSUME_UTIMES): Likewise.
50456         (__ASSUME_O_CLOEXEC): Likewise.
50457         (__ASSUME_SOCK_CLOEXEC): Likewise.
50458         (__ASSUME_IN_NONBLOCK): Likewise.
50459         (__ASSUME_PIPE2): Likewise.
50460         (__ASSUME_EVENTFD2): Likewise.
50461         (__ASSUME_SIGNALFD4): Likewise.
50462         (__ASSUME_DUP3): Likewise.
50463         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
50464         Likewise.
50465         (__ASSUME_UTIMES): Likewise.
50466         (__ASSUME_EVENTFD2): Likewise.
50467         (__ASSUME_SIGNALFD4): Likewise.
50468         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50469         (__ASSUME_O_CLOEXEC): Likewise.
50470         (__ASSUME_SOCK_CLOEXEC): Likewise.
50471         (__ASSUME_IN_NONBLOCK): Likewise.
50472         (__ASSUME_PIPE2): Likewise.
50473         (__ASSUME_EVENTFD2): Likewise.
50474         (__ASSUME_SIGNALFD4): Likewise.
50475         (__ASSUME_DUP3): Likewise.
50476         (__ASSUME_UTIMES): Undefine.
50478         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
50479         feclearexcept.  Remove symbol versioning code.
50480         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
50481         symbol versioning code.
50482         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
50483         symbol versioning code.
50484         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
50485         feupdateenv.  Remove symbol versioning code.
50486         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
50487         fegetexceptflag.  Remove symbol versioning code.
50488         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
50489         fesetexceptflag.  Remove symbol versioning code.
50490         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
50491         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
50492         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
50493         (__posix_fadvise64_l32): Remove prototype.
50494         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
50495         code.
50497 2014-05-13  Roland McGrath  <roland@hack.frob.com>
50499         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
50500         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
50501         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
50502         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
50504 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
50506         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
50507         current working directory
50509 2014-05-13  Roland McGrath  <roland@hack.frob.com>
50511         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
50512         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
50513         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
50514         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
50515         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
50516         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
50517         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
50518         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
50519         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
50520         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
50521         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
50522         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
50523         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
50524         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
50525         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
50526         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
50527         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
50528         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
50529         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
50530         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
50531         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
50532         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
50533         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
50534         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
50535         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
50536         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
50537         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
50538         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
50539         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
50540         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
50541         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
50542         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
50543         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
50544         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
50545         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
50546         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
50547         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
50548         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
50549         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
50550         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
50551         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
50552         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
50554         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
50555         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
50557         * sysdeps/unix/sysv/linux/arm/Makefile
50558         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
50559         Add rt-aeabi_unwind_cpp_pr1.
50560         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
50561         Add nptl-aeabi_unwind_cpp_pr1.
50562         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
50563         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
50564         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
50565         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
50566         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
50567         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
50569         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
50570         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
50571         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
50572         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
50574         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
50575         Deconditionalize the code that was previously under [RESET_PID].
50576         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
50578         * sysdeps/generic/exit-thread.h: New file.
50579         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
50580         * include/unistd.h (__exit_thread): Remove declaration.
50581         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
50582         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
50583         * csu/libc-start.c: Include <exit-thread.h>.
50584         (LIBC_START_MAIN): Pass no argument to __exit_thread.
50585         * nptl/pthread_create.c: Include <exit-thread.h>.
50586         (start_thread): Call __exit_thread in place of __exit_thread_inline.
50587         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
50588         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
50589         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
50590         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
50591         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
50592         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
50593         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
50594         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
50595         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
50596         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
50597         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
50598         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
50599         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
50600         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
50601         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
50602         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
50604 2014-05-13  Andreas Schwab  <schwab@suse.de>
50606         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
50608 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
50610         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
50611         (__ASSUME_UTIMES): Do not condition on kernel version.
50612         (__ASSUME_PSELECT): Define unconditionally.
50613         (__ASSUME_PPOLL): Likewise.
50614         (__ASSUME_ATFCTS): Likewise.
50615         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
50616         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
50617         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
50618         (__ASSUME_UTIMENSAT): Define unconditionally.
50619         (__ASSUME_PRIVATE_FUTEX): Likewise.
50620         (__ASSUME_FALLOCATE): Likewise.
50621         (__ASSUME_O_CLOEXEC): Likewise.
50622         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
50623         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
50624         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
50625         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
50626         (__ASSUME_IN_NONBLOCK): Likewise.
50627         (__ASSUME_PIPE2): Likewise.
50628         (__ASSUME_EVENTFD2): Likewise.
50629         (__ASSUME_SIGNALFD4): Likewise.
50630         (__ASSUME_DUP3): Likewise.
50631         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50632         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
50633         (__ASSUME_AT_RANDOM): Likewise.
50634         (__ASSUME_PREADV): Likewise.
50635         (__ASSUME_PWRITEV): Likewise.
50636         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
50637         (__ASSUME_F_GETOWN_EX): Define unconditionally.
50638         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
50639         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50640         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
50641         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50642         (__ASSUME_O_CLOEXEC): Define unconditionally.
50643         (__ASSUME_PSELECT): Do not undefine conditionally.
50644         (__ASSUME_PPOLL): Likewise.
50645         (__ASSUME_ATFCTS): Likewise.
50646         (__ASSUME_SET_ROBUST_LIST): Likewise.
50647         (__ASSUME_UTIMENSAT): Likewise.
50648         (__ASSUME_FDATASYNC): Define unconditionally.
50649         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50650         (__ASSUME_SIGFRAME_V2): Likewise.
50651         )__ASSUME_EVENTFD2): Likewise.
50652         (__ASSUME_SIGNALFD4): Likewise.
50653         (__ASSUME_PSELECT): Do not undefine conditionally.
50654         (__ASSUME_PPOLL): Likewise.
50655         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50656         (__ASSUME_PSELECT): Define unconditionally.
50657         (__ASSUME_PPOLL): Likewise.
50658         (__ASSUME_O_CLOEXEC): Likewise.
50659         (__ASSUME_SOCK_CLOEXEC): Likewise.
50660         (__ASSUME_IN_NONBLOCK): Likewise.
50661         (__ASSUME_PIPE2): Likewise.
50662         (__ASSUME_EVENTFD2): Likewise.
50663         (__ASSUME_SIGNALFD4): Likewise.
50664         (__ASSUME_DUP3): Likewise.
50665         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50666         (__ASSUME_O_CLOEXEC): Likewise.
50667         (__ASSUME_SOCK_CLOEXEC): Likewise.
50668         (__ASSUME_IN_NONBLOCK): Likewise.
50669         (__ASSUME_PIPE2): Likewise.
50670         (__ASSUME_EVENTFD2): Likewise.
50671         (__ASSUME_SIGNALFD4): Likewise.
50672         (__ASSUME_DUP3): Likewise.
50673         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50674         (__ASSUME_EVENTFD2): Likewise.
50675         (__ASSUME_SIGNALFD4): Likewise.
50676         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50678 2014-05-12  Andreas Schwab  <schwab@suse.de>
50680         [BZ #16932]
50681         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
50682         (_nss_nis_gethostbyname4_r): Return error if item length is larger
50683         than maximum RPC packet size.
50684         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
50685         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
50686         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
50687         (_nss_nis_getservbyport_r): Likewise.
50689 2014-05-12  Will Newton  <will.newton@linaro.org>
50691         * malloc/Makefile (tests): Add tst-mallopt.
50692         * malloc/tst-mallopt.c: New file.
50694 2014-05-09  Roland McGrath  <roland@hack.frob.com>
50696         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
50697         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
50699 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50701         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
50702         (tst-tlsmod6.so): Likewise.
50704 2014-05-09  Roland McGrath  <roland@hack.frob.com>
50706         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
50708 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
50710         [BZ #16064]
50711         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
50712         and <dl-procinfo.h>.
50713         (__fegetenv): Save SSE state in envp->__eip if supported.
50714         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
50715         envp->__eip if supported.
50716         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
50717         and <dl-procinfo.h>.
50718         (__fesetenv): Always set __eip, __cs_selector, __opcode,
50719         __data_offset and __data_selector in environment to 0.  Set SSE
50720         state if supported.
50721         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
50722         test-fenv-sse.
50723         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
50724         -mfpmath=sse.
50725         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
50727 2014-05-09  Will Newton  <will.newton@linaro.org>
50729         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
50730         and libc_relro_required for ARM.
50731         * sysdeps/arm/preconfigure: Regenerate.
50733 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
50734             Stefan Liebler  <stli@linux.vnet.ibm.com>
50736         * config.make.in (enable-lock-elision): New Makefile variable.
50737         * configure.ac: Likewise.
50738         * configure: Regenerate.
50739         * sysdeps/s390/configure.ac:
50740         Add check for gcc transactions support.
50741         * sysdeps/s390/configure: Regenerate.
50742         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
50743         Build elision files if enabled.
50744         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
50745         Add lock elision support for s390.
50746         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
50747         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
50748         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
50749         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
50750         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
50751         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
50752         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
50753         Likewise.
50754         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
50755         Likewise.
50756         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
50757         Likewise.
50758         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
50759         Likewise.
50760         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
50761         (__lll_timedlock_elision, __lll_lock_elision)
50762         (__lll_unlock_elision, __lll_trylock_elision)
50763         (lll_timedlock_elision, lll_lock_elision)
50764         (lll_unlock_elision, lll_trylock_elision): Add.
50765         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50766         (pthread_mutex_t): Add lock elision support for s390.
50768 2014-05-14  Wilco  <wdijkstr@arm.com>
50770         * sysdeps/arm/fclrexcpt.c: Cleanup.
50771         * sysdeps/arm/fedisblxcpt.c: Cleanup.
50772         * sysdeps/arm/feenablxcpt.c: Cleanup.
50773         * sysdeps/arm/fegetenv.c: Cleanup.
50774         * sysdeps/arm/fegetexcept.c: Cleanup.
50775         * sysdeps/arm/fegetround.c: Cleanup.
50776         * sysdeps/arm/feholdexcpt.c: Cleanup.
50777         * sysdeps/arm/fesetenv.c: Cleanup.
50778         * sysdeps/arm/fesetround.c: Cleanup.
50779         * sysdeps/arm/feupdateenv.c: Cleanup.
50780         * sysdeps/arm/fgetexcptflg.c: Cleanup.
50781         * sysdeps/arm/fraiseexcpt.c: Cleanup.
50782         * sysdeps/arm/fsetexcptflg.c: Cleanup.
50783         * sysdeps/arm/ftestexcept.c: Cleanup.
50784         * sysdeps/arm/get-rounding-mode.h: Cleanup.
50785         * sysdeps/arm/setfpucw.c: Cleanup.
50787 2014-05-09  Will Newton  <will.newton@linaro.org>
50789         * sysdeps/arm/armv7/strcmp.S: New file.
50790         * NEWS: Mention addition of ARMv7 optimized strcmp.
50792 2014-05-08  Roland McGrath  <roland@hack.frob.com>
50794         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
50795         look for %.ac rather than %.in.
50797         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
50798         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
50799         * sysdeps/mach/hurd/configure: Regenerated.
50800         * sysdeps/unix/sysv/linux/configure: Regenerated.
50802         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
50804 2014-05-07  Steve Ellcey  <sellcey@mips.com>
50806         [BZ #16922]
50807         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
50808         (LONG_SUB): Ditto.
50809         (PTR_SUB): Ditto.
50811 2014-05-07  Andreas Schwab  <schwab@suse.de>
50813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
50814         when skipping over non-matching result from nscd.
50816 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
50818         [BZ #16876]
50819         * nptl/sockperf.c (client): Check socket return value.
50821         [BZ #16877]
50822         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
50823         nscd security class.
50825 2014-05-06  Roland McGrath  <roland@hack.frob.com>
50827         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
50828         * sysdeps/arm/unwind.h: ... here.
50830 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
50832         [BZ #16916]
50833         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
50834         Define.
50836 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50838         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
50839         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
50840         multiarch strncpy for PPC64.
50841         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
50842         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
50843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
50844         multiarch optimizations.
50845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50846         (__libc_ifunc_impl_list): Likewise.
50847         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
50848         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
50849         multiarch stpncpy for PPC64.
50850         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
50851         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
50853 2014-05-06  Andreas Schwab  <schwab@suse.de>
50855         [BZ #16912]
50856         * gmon/mcount.c (_MCOUNT_DECL): Use
50857         atomic_compare_and_exchange_bool_acq instead of
50858         catomic_compare_and_exchange_bool_acq.
50860 2014-05-05  Roland McGrath  <roland@hack.frob.com>
50862         * elf/Makefile (others, install-bin): Remove pldd.
50863         (pldd-modules): Variable removed.
50864         ($(objpfx)pldd): Target removed.
50865         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
50866         (others, install-bin): Append pldd here.
50867         ($(objpfx)pldd): New target.
50869         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
50870         to 0, so the first #if test emitted later doesn't see it undefined.
50871         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
50872         * sysdeps/gnu/errlist.c: Regenerated.
50874 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50876         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50877         [libc_hidden_builtin_def]: Define to empty value.
50878         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
50879         [libc_hidden_builtin_def]: Likewise.
50880         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
50881         [libc_hidden_builtin_def]: Likewise.
50882         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
50883         [libc_hidden_builtin_def]: Likewise.
50884         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
50885         __redirect_memcpy and define ifunc as default hidden symbol.
50886         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
50887         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
50889 2014-05-04  Adam Conrad  <adconrad@0c3.net>
50891         * locale/iso-4217.def: Reintroduce XDR currency.
50893 2014-05-04  Allan McRae  <allan@archlinux.org>
50895         * po/eo.po: Update Esperanto translation from translation project.
50897 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
50899         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
50900         and FEATURE_INDEX_MAX to 1.
50901         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
50903 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50905         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
50906         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
50907         * iconvdata/big5.c (ONE_DIRECTION): Define.
50908         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
50909         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
50910         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
50911         * iconvdata/cp932.c (ONE_DIRECTION): Define.
50912         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
50913         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
50914         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
50915         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
50916         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
50917         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
50918         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
50919         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
50920         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
50921         * iconvdata/gbk.c (ONE_DIRECTION): Define.
50922         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
50923         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
50924         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
50925         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
50926         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
50927         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
50928         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
50929         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
50930         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
50931         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
50932         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
50933         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
50934         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
50935         * iconvdata/iso646.c (ONE_DIRECTION): Define.
50936         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
50937         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
50938         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
50939         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
50940         * iconvdata/johab.c (ONE_DIRECTION): Define.
50941         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
50942         * iconvdata/sjis.c (ONE_DIRECTION): Define.
50943         * iconvdata/t.61.c (ONE_DIRECTION): Define.
50944         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
50945         * iconvdata/tscii.c (ONE_DIRECTION): Define.
50946         * iconvdata/uhc.c (ONE_DIRECTION): Define.
50947         * iconvdata/unicode.c (ONE_DIRECTION): Define.
50948         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
50949         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
50950         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
50952 2014-05-01  Roland McGrath  <roland@hack.frob.com>
50954         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
50955         (_IO_JUMPS_OFFSET): Define to 0.
50957         * nptl/sysdeps/pthread/bits/libc-lock.h
50958         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
50959         (__libc_lock_define_initialized_recursive): Always define using
50960         initializer.  Modern compilers treat uninitialized (implicit zero) and
50961         explicit zero initializers the same (i.e. put the datum in bss).
50963 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50965         * nscd/nscd-client.h: Include <string.h>.
50967 2014-05-01  David S. Miller  <davem@davemloft.net>
50969         [BZ #16885]
50970         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
50971         multiple zero bytes exist at the end of a string.
50972         Reported by Aurelien Jarno <aurelien@aurel32.net>
50974         * string/test-strcmp.c (check): Add explicit test for situations where
50975         there are multiple zero bytes after the first.
50977 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50979         [BZ #16890]
50980         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
50981         when compiling wprintf.
50982         * stdio-common/tstdiomisc.c (t3): New function.
50983         (main): Call it.
50985 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50987         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
50988         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
50989         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
50990         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
50992 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50994         * stdlib/longlong.h: Updated from GCC.
50996 2014-05-01  Will Newton  <will.newton@linaro.org>
50997             Bernard Ogden  <bernie.ogden@linaro.org>
50999         * NEWS: Update fixed bug list.
51001         [BZ #15119]
51002         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
51004 2014-04-30  David S. Miller  <davem@davemloft.net>
51006         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
51007         (libc_feholdexcept_setround_sparc_ctx): New function.
51008         (libc_fesetenv_sparc_ctx): Likewise.
51009         (libc_feupdateenv_sparc_ctx): Likewise.
51010         (libc_feholdsetround_sparc_ctx): Likewise.
51011         (libc_feholdexcept_setround_ctx): Define.
51012         (libc_feholdexcept_setroundf_ctx): Likewise.
51013         (libc_feholdexcept_setroundl_ctx): Likewise.
51014         (libc_fesetenv_ctx): Likewise.
51015         (libc_fesetenvf_ctx): Likewise.
51016         (libc_fesetenvl_ctx): Likewise.
51017         (libc_feupdateenv_ctx): Likewise.
51018         (libc_feupdateenvf_ctx): Likewise.
51019         (libc_feupdateenvl_ctx): Likewise.
51020         (libc_feresetround_ctx): Likewise.
51021         (libc_feresetroundf_ctx): Likewise.
51022         (libc_feresetroundl_ctx): Likewise.
51023         (libc_feholdsetround_ctx): Likewise.
51024         (libc_feholdsetroundf_ctx): Likewise.
51025         (libc_feholdsetroundl_ctx): Likewise.
51027         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51028         with __USE_GNU instead of XOPEN cpp guards.
51030         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
51031         0.
51033         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51034         with XOPEN cpp guards.
51036 2014-04-30  Julian Brown  <julian@codesourcery.com>
51038         [BZ #16888]
51039         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
51040         handling.
51042 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
51044         [BZ #9894]
51045         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
51046         Change to 2.6.32.
51047         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
51048         * sysdeps/unix/sysv/linux/configure: Regenerated.
51049         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
51050         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
51051         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
51052         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
51053         * README: Update reference to required Linux kernel version.
51054         * manual/install.texi (Linux): Update reference to required Linux
51055         kernel headers version.
51056         * INSTALL: Regenerated.
51058         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
51059         header inclusion.
51060         [POSIX] (limits.h): Likewise.
51061         [POSIX] (math.h): Likewise.
51062         [POSIX] (sys/wait.h): Likewise.
51063         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
51064         function.
51065         [POSIX] (stddef.h): Do not allow header inclusion.
51067 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51069         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
51071 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
51073         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
51074         Return immediately after lll_futex_wake.
51076 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51078         [BZ #16791]
51079         * nscd/nscd-client.h (datahead_init_common): Initialize entire
51080         structure.
51081         (datahead_init_pos): Call datahead_init_common early.
51082         (datahead_init_neg): Likewise.
51084         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
51085         datahead_init_neg): New functions.
51086         * nscd/aicache.c (addhstaiX): Use them.
51087         * nscd/grpcache.c (cache_addgr): Likewise.
51088         * nscd/hstcache.c (cache_addhst): Likewise.
51089         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51090         * nscd/netgroupcache.c (do_notfound): Likewise.
51091         (addgetnetgrentX): Likewise.
51092         (addinnetgrX): Likewise.
51093         * nscd/pwdcache.c (cache_addpw): Likewise.
51094         * nscd/servicescache.c (cache_addserv): Likewise.
51096 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51097             Atsushi Onoe  <atsushi@onoe.org>
51099         [BZ #14308]
51100         [BZ #12994]
51101         [BZ #13651]
51102         * resolv/res_query.c (__libc_res_nsearch): Return if at least
51103         one response is valid.
51104         * resolv/res_send.c (send_dg): Check for validity of other
51105         response if the current response is a referral.
51107 2014-04-29  Steve Ellcey  <sellcey@mips.com>
51109         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
51111 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
51113         [BZ #16823]
51114         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
51115         Always divide by positive zero when computing -Inf result.
51116         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51117         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
51119 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51121         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
51122         FPSCR if value do not change.
51123         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51124         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
51125         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51126         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51127         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
51128         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
51129         function.
51131 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
51133         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
51134         * sysdeps/unix/sysv/linux/hppa: Move directory from
51135         ports/systeps/unix/sysv/linux/hppa.
51136         * README: Update listing for hppa-*-linux-gnu.
51138 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
51140         [BZ #16754]
51141         * manual/stdio.texi (Hook functions): Fix types of stream hook
51142         functions.
51143         [BZ #16854]
51144         * socket/sys/socket.h: Fix typo in comment.
51146 2014-04-28  Wilco  <wdijkstr@arm.com>
51148         * sysdeps/arm/fenv_private.h: New file.
51149         * sysdeps/arm/math_private.h: New file.
51150         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
51152 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
51154         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
51155         with __int128_t.
51156         (La_x86_64_retval): Likewise.
51158 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
51160         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
51161         fpsr if value didn't change.
51162         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
51163         to fpcr if value didn't change.
51164         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
51165         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
51166         fpsr or fpcr if value didn't change.
51167         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51168         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
51169         fpcr if value didn't change.
51170         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
51171         to fpsr if value didn't change.
51173 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51175         * nptl/tst-sem3.c: Use test-skeleton.c
51176         (main): Rename to do_test.  Use return instead of
51177         exit.
51178         * nptl/tst-sem4.c: Use test-skeleton.c
51179         (main): Rename to do_test.
51181 2014-04-22  David S. Miller  <davem@davemloft.net>
51183         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
51184         (struct sigaction): New struct member __glibc_reserved0, change
51185         type of sa_flags to int.
51187 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
51189         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
51190         (COUNT_LEADING_ZEROS_0): Define for AArch64.
51192 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51194         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
51195         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
51197 2014-04-22  Will Newton  <will.newton@linaro.org>
51198             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
51200         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
51201         (__longjmp): Add longjmp and longjmp_target SystemTap
51202         probes.
51203         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
51204         (__sigsetjmp): Add setjmp SystemTap probe.
51206 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
51208         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
51209         match manual order.
51211 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51213         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
51215         * sysdeps/powerpc/fpu/fenv_private.h
51216         (libc_feholdexcept_setroundl_ctx): Define to
51217         libc_feholdexcept_setround_ppc_ctx.
51218         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
51219         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
51220         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
51221         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
51223 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51225         * sysdeps/aarch64/math-tests.h: New file.
51227 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
51229         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
51230         New.
51231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51232         Check and set bit_AVX2_Usable.
51233         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
51234         macro.
51235         (bit_AVX2): Likewise.
51236         (index_AVX2_Usable): Likewise.
51237         (CPUID_AVX2): Likewise.
51238         (HAS_AVX2): Likewise.
51240 2014-04-17  Will Newton  <will.newton@linaro.org>
51242         * manual/setjmp.texi (System V contexts): Add note that
51243         calling setcontext on a context created by a call to a
51244         signal handler is undefined.  Update text to note that
51245         setcontext from a signal handler is possible but not
51246         recommended.
51248         [BZ #16629]
51249         * stdlib/tst-setcontext.c: Include signal.h.
51250         (main): Check that the signal stack before and
51251         after swapcontext is the same.
51253         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
51254         Re-implement to restore registers in user code and avoid
51255         rt_sigreturn system call.
51257 2014-04-17  Wilco  <wdijkstr@arm.com>
51259         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
51260         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
51261         * math/test-fenv.c: Skip exception trap tests on targets which only
51262         support non-stop mode.
51264 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51265             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51267         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
51268         (libc_feholdsetround_aarch64_ctx)
51269         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
51270         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
51271         (libc_feresetround_ctx, libc_feresetroundf_ctx)
51272         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
51273         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
51274         (libc_feresetround_noexl_ctx): Define.
51276 2014-04-16  Richard Henderson  <rth@redhat.com>
51278         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
51280         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
51281         unwind tables.
51283         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
51284         const from the non-libc, non-ldso copy.
51286         * sysdeps/alpha/libm-test-ulps: Regenerate.
51288 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
51289             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51291         * sysdeps/aarch64/fpu/math_private.h: New file.
51293 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51295         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51297 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
51299         [BZ #16275]
51300         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
51301         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
51302         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
51303         Intel MPX bound registers before _dl_profile_fixup.
51304         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
51305         registers after _dl_profile_fixup.  Save and restore bound
51306         registers bnd0/bnd1 when calling _dl_call_pltexit.
51307         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
51308         (LR_BND_OFFSET): Likewise.
51309         (LRV_BND0_OFFSET): Likewise.
51310         (LRV_BND1_OFFSET): Likewise.
51312 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51314         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
51315         to...
51316         * sysdeps/mach/hurd/i386/tls.h: ... here.
51317         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
51318         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
51319         fields.
51321 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51323         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
51325 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51327         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51329 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51331         [BZ #14770]
51332         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
51333         * sysdeps/s390/configure: Regenerate.
51335         [BZ #16824]
51336         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
51337         Set round-to-nearest internally to reduce error accumulation.
51339 2014-04-16  Alan Modra  <amodra@gmail.com>
51341         [BZ #16740]
51342         [BZ #16619]
51343         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
51344         * math/libm-test.inc (frexp_test_data): Add tests.
51345         * NEWS: Update fixed bug list.
51347 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51349         * benchtests/Makefile: Depend on libraries in build directory.
51350         (bench-math): Separate out math tests.
51351         (bench-pthread): Separate out pthread tests.
51352         (bench): Include math and pthread tests.
51354 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
51356         [BZ #16831]
51357         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
51358         _dl_debug_initialize.
51360         * configure.ac: Remove SELinux header check.
51361         * configure: Regenerate.
51362         * nscd/selinux.c (perms): Array of const char* to permission names.
51363         (nscd_request_avc_has_perm): Call security_deny_unknown to find
51364         default policy. Call string_to_security_class and string_to_av_perm to
51365         translate strings. Enforce default policy and call avs_has_perm with
51366         results of translated strings.
51368 2014-04-13  David S. Miller  <davem@davemloft.net>
51370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51372 2014-04-12  Allan McRae  <allan@archlinux.org>
51374         [BZ #16838]
51375         * manual/string.texi (Collation Functions): Fix qsort argument
51376         order in example.
51377         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51379 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
51381         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
51382         Make the test a no-op if there are no exceptions defined.
51384 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
51386         * elf/Makefile (tests): make tst-dlopen-aout conditional on
51387         enable-hardcoded-path-in-tests
51389 2014-04-11  Will Newton  <will.newton@linaro.org>
51391         * benchtests/Makefile (extra-objs): Add json-lib.o.
51392         (bench-func): Tidy up JSON output.
51393         * benchtests/bench-skeleton.c: Include json-lib.h.
51394         (main): Use JSON library functions to do output of
51395         benchmark results.
51396         * benchtests/bench-timing-type.c (main): Output the
51397         timing type simply, leaving formatting to the user.
51398         * benchtests/json-lib.c: New file.
51399         * benchtests/json-lib.h: Likewise.
51401 2014-04-11  Torvald Riegel  <triegel@redhat.com>
51403         [BZ #15215]
51404         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
51405         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
51406         memory barriers.  Add comments.
51407         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
51408         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
51409         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
51410         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
51411         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
51412         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
51414 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51416         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
51417         * sysdeps/s390/s390-64/configure.ac: ... this ...
51418         * sysdeps/s390/configure.ac: ... to here.
51419         * sysdeps/s390/s390-32/configure: Delete file.
51420         * sysdeps/s390/s390-64/configure: Delete file.
51421         * sysdeps/s390/configure: Regenerate.
51423 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
51425         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
51427 2014-04-11  Will Newton  <will.newton@linaro.org>
51429         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
51430         to zero if it is not defined elsewhere.  (mtrim): Test
51431         the value of MALLOC_DEBUG with #if rather than #ifdef.
51433 2014-04-10 Torvald Riegel  <triegel@redhat.com>
51435         * benchtests/pthread_once-inputs: New file.
51436         * benchtests/pthread_once-source.c: New file.
51437         * benchtests/README: Update documentation.
51439 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
51440             H.J. Lu  <hongjiu.lu@intel.com>
51442         [BZ #16275]
51443         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
51444         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
51445         * sysdeps/x86_64/configure: Regenerated.
51446         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
51447         macro.
51448         (REGISTER_SAVE_RAX): Likewise.
51449         (REGISTER_SAVE_RCX): Likewise.
51450         (REGISTER_SAVE_RDX): Likewise.
51451         (REGISTER_SAVE_RSI): Likewise.
51452         (REGISTER_SAVE_RDI): Likewise.
51453         (REGISTER_SAVE_R8): Likewise.
51454         (REGISTER_SAVE_R9): Likewise.
51455         (REGISTER_SAVE_BND0): Likewise.
51456         (REGISTER_SAVE_BND1): Likewise.
51457         (REGISTER_SAVE_BND2): Likewise.
51458         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
51459         bound registers when calling _dl_fixup.
51461 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51463         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
51464         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
51465         of its definition.
51466         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
51467         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
51468         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
51469         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
51470         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
51471         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
51472         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
51474 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
51476         [BZ #15514]
51477         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
51478         pathconf(_PC_NAME_MAX).
51480 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51482         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
51483         Remove macro usage.
51484         (__PTHREAD_SPINS): Move definition to ...
51485         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51486         (__PTHREAD_SPINS): ... here.
51487         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51488         (__PTHREAD_SPIN): Likewise.
51489         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
51490         (__PTHREAD_SPIN): Likewise.
51491         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
51492         (__PTHREAD_SPIN): Likewise.
51493         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
51494         (__PTHREAD_SPIN): Likewise.
51495         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
51496         (__PTHREAD_SPIN): Likewise.
51497         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
51498         (__PTHREAD_SPIN): Likewise.
51499         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
51500         (__PTHREAD_SPIN): Likewise.
51501         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
51502         (__PTHREAD_SPIN): Likewise.
51503         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
51504         (__PTHREAD_SPIN): Likewise.
51505         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
51506         (__PTHREAD_SPIN): Likewise.
51507         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
51508         (__PTHREAD_SPIN): Likewise.
51509         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
51510         (__PTHREAD_SPIN): Likewise.
51512         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
51513         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
51514         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
51515         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
51516         imply folder.
51517         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
51518         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
51519         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
51520         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
51521         correct imply path.
51522         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
51523         strlen symbol for non multi-arch builds.
51524         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
51525         missing hidden_def and weak_alias.
51527 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
51529         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
51531 2014-04-07  Will Newton  <will.newton@linaro.org>
51533         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
51534         and contents.  [!_LIBC] Remove #ifndef and contents.
51535         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
51536         * string/memccpy.c (__memccpy): Use ANSI prototype.
51537         * string/memfrob.c (memfrob): Likewise.
51538         * string/strcoll.c (STRCOLL): Likewise.
51539         * string/strlen.c (strlen): Likewise.
51540         * string/strtok.c (STRTOK): Likewise.
51541         * string/strcat.c: Remove unused #include of memcopy.h.
51542         (strcat): Use ANSI prototype.
51543         * string/strchr.c: Remove unused #include of memcopy.h.
51544         (strchr): Use ANSI prototype.
51545         * string/strcmp.c: Remove unused #include of memcopy.h.
51546         (strcmp): Use ANSI prototype.
51547         * string/strcpy.c: Remove unused #include of memcopy.h.
51548         (strcpy): Use ANSI prototype.
51550 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51552         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
51553         * config.make.in (config-extra-cppflags): Set it from
51554         libc_extra_cppflags.
51555         * configure.ac (libc_extra_cflags): Make it accumulate over
51556         configure fragments.
51557         (libc_extra_cppflags): New flag.
51558         * configure. Regenerate.
51559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
51560         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
51561         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
51562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
51564         [BZ #16815]
51565         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
51566         result for FE_DOWNWARD rounding mode.
51567         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
51568         Likewise.
51569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51571 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
51573         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
51574         in function argument name.
51576 2014-04-03  David Svoboda  <svoboda@cert.org>
51578         [BZ #5666]
51579         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
51580         explicitly.
51582 2014-04-03  Roland McGrath  <roland@hack.frob.com>
51584         * elf/dl-unmap-segments.h: New file.
51585         * sysdeps/generic/ldsodefs.h
51586         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
51587         * elf/dl-close.c: Include <dl-unmap-segments.h>.
51588         * elf/dl-fptr.c: Likewise.
51589         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
51590         * sysdeps/aarch64/tlsdesc.c: Likewise.
51591         * sysdeps/arm/tlsdesc.c: Likewise.
51592         * sysdeps/i386/tlsdesc.c: Likewise.
51593         * sysdeps/tile/dl-runtime.c: Likewise.
51594         * sysdeps/x86_64/tlsdesc.c: Likewise.
51595         * elf/dl-load.h: New file.
51596         * elf/dl-load.c: Include it.
51597         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
51598         Macros moved to dl-load.h.
51599         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
51600         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
51601         Use _dl_unmap_segments in place of __munmap.
51602         Break out segment-mapping loop into ...
51603         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
51605 2014-04-03  Will Newton  <will.newton@linaro.org>
51607         * elf/dl-lookup.c (do_lookup_x): Remove comment
51608         referring to nested function and move variable
51609         declarations down to before first use.
51611 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
51613         [BZ #16799]
51614         [BZ #16800]
51615         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
51616         with 0 numerator.
51617         * math/s_catanf.c (__catanf): Likewise.
51618         * math/s_catanh.c (__catanh): Likewise.
51619         * math/s_catanhf.c (__catanhf): Likewise.
51620         * math/s_catanhl.c (__catanhl): Likewise.
51621         * math/s_catanl.c (__catanl): Likewise.
51622         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
51623         by positive zero when computing -Inf result.
51624         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
51625         (catanh_test): Likewise.
51626         * sysdeps/i386/fpu/libm-test-ulps: Update.
51627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51629         [BZ #16789]
51630         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
51631         instead of using underflowing value in computing result.
51632         * math/s_clog10.c (__clog10): Likewise.
51633         * math/s_clog10f.c (__clog10f): Likewise.
51634         * math/s_clog10l.c (__clog10l): Likewise.
51635         * math/s_clogf.c (__clogf): Likewise.
51636         * math/s_clogl.c (__clogl): Likewise.
51637         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
51638         (clog10_test): Likewise.
51639         * sysdeps/i386/fpu/libm-test-ulps: Update.
51640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51642 2014-04-02  Alan Modra  <amodra@gmail.com>
51644         [BZ #16739]
51645         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
51646         output when value is near a power of two.  Use int64_t for lx and
51647         remove casts.  Use decimal rather than hex exponent constants.
51648         Don't use long double multiplication when double will suffice.
51649         * math/libm-test.inc (nextafter_test_data): Add tests.
51650         * NEWS: Add 16739 and 16786 to bug list.
51652         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
51654         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
51656 2014-04-01  Will Newton  <will.newton@linaro.org>
51658         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
51659         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
51661 2014-04-01  Florian Weimer  <fweimer@redhat.com>
51663         [BZ #13347]
51664         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
51665         * nptl/tst-setuid2.c: New file.
51666         * nptl/Makefile (xtests): Add tst-setuid2.
51668 2014-04-01  Alan Modra  <amodra@gmail.com>
51670         [BZ #16786]
51671         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
51673 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
51675         [BZ #6803]
51676         [BZ #6804]
51677         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
51678         set errno as appropriate.
51679         * math/w_scalbf.c (__scalbf): Likewise.
51680         * math/w_scalbl.c (__scalbl): Likewise.
51681         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
51682         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
51683         * math/libm-test.inc (scalb_test_data): Add errno expectations.
51684         Add more NaN tests.
51686         [BZ #16349]
51687         * math/w_atan2.c: Include <errno.h>.
51688         (__atan2): Set errno for result underflowing to zero.
51689         * math/w_atan2f.c: Include <errno.h>.
51690         (__atan2f): Set errno for result underflowing to zero.
51691         * math/w_atan2l.c: Include <errno.h>.
51692         (__atan2l): Set errno for result underflowing to zero.
51693         * math/auto-libm-test-in: Don't allow missing errno for some atan2
51694         tests.
51695         * math/auto-libm-test-out: Regenerated.
51697 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51699         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
51700         Encode instruction correctly in little endian.
51701         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
51702         Likewise.
51703         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
51704         Likewise.
51705         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
51706         Likewise.
51707         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
51708         Likewise.
51710 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
51712         [BZ #9894]
51713         * sysdeps/unix/sysv/linux/kernel-features.h
51714         [__sparc__ && !__arch64__ && !__sparc_v9__]
51715         (__ASSUME_SET_ROBUST_LIST): Do not define.
51716         [__sparc__ && !__arch64__ && !__sparc_v9__]
51717         (__ASSUME_FUTEX_LOCK_PI): Likewise.
51718         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
51719         Likewise.
51720         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51721         (__ASSUME_FUTEX_LOCK_PI): Undefine.
51722         (__ASSUME_REQUEUE_PI): Likewise.
51723         (__ASSUME_SET_ROBUST_LIST): Likewise.
51724         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51725         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
51726         Undefine.
51727         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51728         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
51729         Likewise.
51730         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
51731         Likewise.
51732         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
51733         Likewise.
51734         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51735         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
51736         Undefine.
51737         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
51738         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
51739         Likewise.
51741         [BZ #16648]
51742         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51743         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
51744         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
51746 2014-03-31  Will Newton  <will.newton@linaro.org>
51748         * benchtests/Makefile (bench): Add ffs and ffsll to list
51749         of tests.
51750         * benchtests/ffs-inputs: New file.
51751         * benchtests/ffsll-inputs: Likewise.
51753 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
51755         [BZ #16770]
51756         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
51757         too large before casting to int.
51758         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
51759         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
51760         * math/libm-test.inc (scalb_test_data): Add more tests.
51762 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51764         * benchtests/Makefile (DETAILED_OPT): New make option.
51765         (bench-func): Run benchmark program with -d if DETAILED_OPT is
51766         set.
51767         * benchtests/bench-skeleton.c: Include stdbool.h.
51768         (main): Store and print timings per input.
51769         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
51770         member to each argument value.
51771         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
51772         (_print_arg_data): Initialize per-input timing to 0.
51774         * benchtests/Makefile (timing-type): New binary.
51775         (bench-clean): Also remove bench-timing-type.
51776         (bench): New target for timing-type.
51777         (bench-func): Print output in JSON format.
51778         * benchtests/bench-skeleton.c (main): Print output in JSON
51779         format.
51780         * benchtests/bench-timing-type.c: New file.
51781         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
51782         (TIMING_PRINT_STATS): Remove.
51783         * benchtests/scripts/bench.py (_print_arg_data): Store variant
51784         name separately.
51786         * benchtests/bench-modf.c: Remove.
51787         * benchtests/modf-inputs: New inputs file.
51789 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
51791         [BZ #16362]
51792         * math/s_clog10.c (M_PI_LOG10E): New macro.
51793         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
51794         imaginary parts are 0.
51795         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
51796         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
51797         imaginary parts are 0.
51798         * math/s_clog10l.c (M_PI_LOG10El): New macro.
51799         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
51800         imaginary parts are 0.
51801         * math/libm-test.inc (clog10_test_data): Update expected results
51802         for when real and imaginary parts are 0.
51804 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
51806         * elf/dl-load.c: Finish conversion of __builtin_expect into
51807         __glibc_{un}likely.
51809 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
51811         [BZ #16348]
51812         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
51813         1+x for argument with exponent below -67.
51814         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
51815         Likewise.
51816         * math/auto-libm-test-in: Add more tests of exp.
51817         * math/auto-libm-test-out: Regenerated.
51819 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51821         [BZ #16759]
51822         * inet/getnetgrent_r.c (get_nonempty_val): New function.
51823         (nscd_getnetgrent): Use it.
51825         [BZ #16760]
51826         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
51827         of stpcpy.
51829 2014-03-27  Andi Kleen  <ak@linux.intel.com>
51831         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
51832         (lll_robust_lock, lll_cond_lock, lll_timedlock)
51833         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51834         (lll_robust_unlock): Remove out of line section. Use cfi
51835         intrinsics.
51836         (LLL_STUB_UNWIND_INFO*): Remove.
51837         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
51838         (lll_robust_lock, lll_cond_lock, lll_timedlock)
51839         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51840         (lll_robust_unlock): Remove out of line section. Use cfi
51841         intrinsics.
51842         (LLL_STUB_UNWIND_INFO*): Remove.
51844 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51846         [BZ #16758]
51847         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
51848         blank values.
51850 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
51852         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
51854 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
51856         [BZ #16198]
51857         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
51858         fnstenv.
51859         * math/test-fenv-preserve.c: New file.
51860         * math/Makefile (tests): Add test-fenv-preserve.
51862 2014-03-26  Will Newton <will.newton@linaro.org>
51864         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
51866 2014-03-25  Roland McGrath  <roland@hack.frob.com>
51868         * scripts/versionlist.awk: Partition the version sets and emit all
51869         GLIBC_* (sorted) before all others (sorted).
51871 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
51873         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
51874         GLIBC_2.2.5 version.
51876 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51878         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
51879         calls.
51881         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
51882         previous change.
51884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51886 2014-03-25  Andreas Schwab  <schwab@suse.de>
51888         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
51889         label to be used after in6ailist is initialized.
51891 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51893         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51894         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51896 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
51898         [BZ #16357]
51899         [BZ #16599]
51900         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
51901         min_plus_half.
51902         (fp_formats): Update initializers.
51903         (init_fp_formats): Initialize new field.
51904         (output_for_one_input_case): Allow underflow for results up to
51905         min_plus_half.
51906         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
51907         * math/auto-libm-test-in: Don't mark some underflows from asin and
51908         atanh as spurious.
51909         * math/auto-libm-test-out: Regenerated.
51910         * sysdeps/i386/fpu/libm-test-ulps: Update.
51911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51913 2014-03-25  Andreas Schwab  <schwab@suse.de>
51915         * libio/Makefile (tst-ftell-partial-wide-ENV)
51916         (tst-ftell-active-handler-ENV): Define.
51918 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
51920         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
51922 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51924         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
51926 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51928         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
51929         * sysdeps/x86_64/fpu/multiarch/e_exp.c
51930         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
51932 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51934         [BZ #16634]
51935         * elf/dl-load.c (open_verify): Add mode parameter.
51936         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
51937         (open_path): Change from boolean 'secure' to complete flag 'mode'
51938         (_dl_map_object): Adjust.
51939         * elf/Makefile (tests): Add tst-dlopen-aout.
51940         * elf/tst-dlopen-aout.c: New test.
51942 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
51944         [BZ #16714]
51945         * sysdeps/unix/sysv/linux/s390/bits/stat.h
51946         (struct stat): Rename member pad0 to __glibc_reserved0.
51948         [BZ #16712]
51949         * sysdeps/s390/s390-32/bits/wordsize.h
51950         (__WORDSIZE32_SIZE_ULONG): New define.
51951         * sysdeps/s390/s390-64/bits/wordsize.h
51952         (__WORDSIZE32_SIZE_ULONG): Likewise.
51953         * sysdeps/generic/stdint.h (SIZE_MAX):
51954         Define as UL if __WORDSIZE32_SIZE_ULONG.
51956         [BZ #16713]
51957         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
51958         (__glibc_reserved0): New variable.
51959         (sa_flags): Change type to int.
51961         * posix/Makefile (before-compile): Use += before-compile instead
51962         of a :=.
51964         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51965         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51967 2014-03-20  Andreas Schwab  <schwab@suse.de>
51969         [BZ #16743]
51970         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
51971         non-matching result from nscd.
51973 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51975         * scripts/bench.py: Moved to ...
51976         * benchtests/scripts/bench.py: ... here.
51977         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
51979 2014-03-24  Andreas Schwab  <schwab@suse.de>
51981         [BZ #16002]
51982         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
51983         alloca_account and account alloca use for struct in6ailist.
51985 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51987         [BZ #16284]
51988         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
51989         rounding mode to recompute results that overflow to infinity or
51990         underflow to zero.
51991         * math/auto-libm-test-in: Don't mark tests as expected to fail for
51992         bug 16284.
51993         * math/auto-libm-test-out: Regenerated.
51994         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
51995         (ccosh_test): Likewise.
51996         (csin_test_data): Use plus_oflow.
51997         (csin_test): Use ALL_RM_TEST.
51998         (csinh_test_data): Use plus_oflow.
51999         (csinh_test): Use ALL_RM_TEST.
52000         * sysdeps/i386/fpu/libm-test-ulps: Update.
52001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52003 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
52005         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
52006         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
52007         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
52009         [BZ #16731]
52010         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
52011         when x - 1 is zero.
52012         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
52013         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
52014         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
52015         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
52016         argument is 1.
52017         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
52018         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
52019         zero.
52020         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
52021         * sysdeps/i386/fpu/libm-test-ulps: Update.
52022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52024 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52026         * scripts/bench.pl: Remove file.
52027         * scripts/bench.py: New benchmark script.
52028         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
52029         * benchtests/README: Mention python dependency.
52030         * scripts/pylintrc: New file.
52031         * scripts/pylint: New file.
52033         * bits/mathdef.h: Use #ifdef instead of #if.
52034         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
52035         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52036         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
52037         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52038         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
52039         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52041 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52042             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52044         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
52045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
52046         and strpbrk-ppc64 objects.
52047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52048         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
52049         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
52050         multiarch strpbrk for POWER7.
52051         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
52052         multiarch strpbrk for PPC64.
52053         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
52054         ifunc selector.
52055         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
52056         strpbrk for POWER7.
52058 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52060         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
52061         (atan_test): Likewise.
52062         (atanh_test_data): Use NO_TEST_INLINE for two tests.
52063         (atanh_test): Use ALL_RM_TEST.
52064         (atan2_test_data): Likewise.
52065         (cabs_test): Likewise.
52066         (cacosh_test): Likewise.
52067         (carg_test): Likewise.
52068         (casin_test): Likewise.
52069         (casinh_test): Likewise.
52070         (cbrt_test): Likewise.
52071         (csqrt_test): Likewise.
52072         (erf_test): Likewise.
52073         (erfc_test): Likewise.
52074         (pow10_test): Likewise.
52075         (exp2_test): Likewise.
52076         (hypot_test): Likewise.
52077         (j0_test): Likewise.
52078         (j1_test): Likewise.
52079         (lgamma_test): Likewise.
52080         (gamma_test): Likewise.
52081         (sincos_test): Likewise.
52082         (tanh_test): Likewise.
52083         (y0_test): Likewise.
52084         (y1_test): Likewise.
52085         * sysdeps/i386/fpu/libm-test-ulps: Update.
52086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52088 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52090         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
52091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
52092         and strcspn-ppc64 objects.
52093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52094         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
52095         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
52096         multiarch strcspn for POWER7.
52097         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
52098         multiarch strcspn for PPC64.
52099         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
52100         ifunc selector.
52101         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
52102         strcspn for POWER7.
52104 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52106         * math/gen-libm-test.pl (generate_testfile): Expect only function
52107         name as argument to AUTO_TESTS_* and pass results for all rounding
52108         modes to parse_args.
52109         (parse_auto_input): Separate inputs of automatic tests from
52110         outputs before storing in %auto_tests.
52111         * math/libm-test.inc (acos_test_data): Update call to
52112         AUTO_TESTS_f_f.
52113         (acos_test): Use ALL_RM_TEST.
52114         (acos_tonearest_test_data): Remove.
52115         (acos_test_tonearest): Likewise.
52116         (acos_towardzero_test_data): Likewise.
52117         (acos_test_towardzero): Likewise.
52118         (acos_downward_test_data): Likewise.
52119         (acos_test_downward): Likewise.
52120         (acos_upward_test_data): Likewise.
52121         (acos_test_upward): Likewise.
52122         (acosh_test_data): Update call to AUTO_TESTS_f_f.
52123         (asin_test_data): Likewise.
52124         (asin_test): Use ALL_RM_TEST.
52125         (asin_tonearest_test_data): Remove.
52126         (asin_test_tonearest): Likewise.
52127         (asin_towardzero_test_data): Likewise.
52128         (asin_test_towardzero): Likewise.
52129         (asin_downward_test_data): Likewise.
52130         (asin_test_downward): Likewise.
52131         (asin_upward_test_data): Likewise.
52132         (asin_test_upward): Likewise.
52133         (asinh_test_data): Update call to AUTO_TESTS_f_f.
52134         (atan_test_data): Likewise.
52135         (atanh_test_data): Likewise.
52136         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
52137         (cabs_test_data): Update call to AUTO_TESTS_c_f.
52138         (carg_test_data): Likewise.
52139         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
52140         (ccos_test_data): Update call to AUTO_TESTS_c_c.
52141         (ccosh_test_data): Likewise.
52142         (cexp_test_data): Likewise.
52143         (clog_test_data): Likewise.
52144         (clog10_test_data): Likewise.
52145         (cos_test_data): Update call to AUTO_TESTS_f_f.
52146         (cos_test): Use ALL_RM_TEST.
52147         (cos_tonearest_test_data): Remove.
52148         (cos_test_tonearest): Likewise.
52149         (cos_towardzero_test_data): Likewise.
52150         (cos_test_towardzero): Likewise.
52151         (cos_downward_test_data): Likewise.
52152         (cos_test_downward): Likewise.
52153         (cos_upward_test_data): Likewise.
52154         (cos_test_upward): Likewise.
52155         (cosh_test_data): Update call to AUTO_TESTS_f_f.
52156         (cosh_test): Use ALL_RM_TEST.
52157         (cosh_tonearest_test_data): Remove.
52158         (cosh_test_tonearest): Likewise.
52159         (cosh_towardzero_test_data): Likewise.
52160         (cosh_test_towardzero): Likewise.
52161         (cosh_downward_test_data): Likewise.
52162         (cosh_test_downward): Likewise.
52163         (cosh_upward_test_data): Likewise.
52164         (cosh_test_upward): Likewise.
52165         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
52166         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
52167         (ctan_test_data): Likewise.
52168         (ctan_test): Use ALL_RM_TEST.
52169         (ctan_tonearest_test_data): Remove.
52170         (ctan_test_tonearest): Likewise.
52171         (ctan_towardzero_test_data): Likewise.
52172         (ctan_test_towardzero): Likewise.
52173         (ctan_downward_test_data): Likewise.
52174         (ctan_test_downward): Likewise.
52175         (ctan_upward_test_data): Likewise.
52176         (ctan_test_upward): Likewise.
52177         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
52178         (ctanh_test): Use ALL_RM_TEST.
52179         (ctanh_tonearest_test_data): Remove.
52180         (ctanh_test_tonearest): Likewise.
52181         (ctanh_towardzero_test_data): Likewise.
52182         (ctanh_test_towardzero): Likewise.
52183         (ctanh_downward_test_data): Likewise.
52184         (ctanh_test_downward): Likewise.
52185         (ctanh_upward_test_data): Likewise.
52186         (ctanh_test_upward): Likewise.
52187         (erf_test_data): Update call to AUTO_TESTS_f_f.
52188         (erfc_test_data): Likewise.
52189         (exp_test_data): Likewise.
52190         (exp_test): Use ALL_RM_TEST.
52191         (exp_tonearest_test_data): Remove.
52192         (exp_test_tonearest): Likewise.
52193         (exp_towardzero_test_data): Likewise.
52194         (exp_test_towardzero): Likewise.
52195         (exp_downward_test_data): Likewise.
52196         (exp_test_downward): Likewise.
52197         (exp_upward_test_data): Likewise.
52198         (exp_test_upward): Likewise.
52199         (exp10_test_data): Update call to AUTO_TESTS_f_f.
52200         (exp10_test): Use ALL_RM_TEST.
52201         (exp10_tonearest_test_data): Remove.
52202         (exp10_test_tonearest): Likewise.
52203         (exp10_towardzero_test_data): Likewise.
52204         (exp10_test_towardzero): Likewise.
52205         (exp10_downward_test_data): Likewise.
52206         (exp10_test_downward): Likewise.
52207         (exp10_upward_test_data): Likewise.
52208         (exp10_test_upward): Likewise.
52209         (exp2_test_data): Update call to AUTO_TESTS_f_f.
52210         (expm1_test_data): Likewise.
52211         (expm1_test): Use ALL_RM_TEST.
52212         (expm1_tonearest_test_data): Remove.
52213         (expm1_test_tonearest): Likewise.
52214         (expm1_towardzero_test_data): Likewise.
52215         (expm1_test_towardzero): Likewise.
52216         (expm1_downward_test_data): Likewise.
52217         (expm1_test_downward): Likewise.
52218         (expm1_upward_test_data): Likewise.
52219         (expm1_test_upward): Likewise.
52220         (fma_test_data): Update call to AUTO_TESTS_fff_f.
52221         (fma_test): Use ALL_RM_TEST.
52222         (fma_towardzero_test_data): Remove.
52223         (fma_test_towardzero): Likewise.
52224         (fma_downward_test_data): Likewise.
52225         (fma_test_downward): Likewise.
52226         (fma_upward_test_data): Likewise.
52227         (fma_test_upward): Likewise.
52228         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
52229         (j0_test_data): Update call to AUTO_TESTS_f_f.
52230         (j1_test_data): Likewise.
52231         (jn_test_data): Update call to AUTO_TESTS_if_f.
52232         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
52233         (log_test_data): Update call to AUTO_TESTS_f_f.
52234         (log10_test_data): Likewise.
52235         (log1p_test_data): Likewise.
52236         (log2_test_data): Likewise.
52237         (pow_test_data): Update call to AUTO_TESTS_ff_f.
52238         (pow_tonearest_test_data): Likewise.
52239         (sin_test_data): Update call to AUTO_TESTS_f_f.
52240         (sin_test): Use ALL_RM_TEST.
52241         (sin_tonearest_test_data): Remove.
52242         (sin_test_tonearest): Likewise.
52243         (sin_towardzero_test_data): Likewise.
52244         (sin_test_towardzero): Likewise.
52245         (sin_downward_test_data): Likewise.
52246         (sin_test_downward): Likewise.
52247         (sin_upward_test_data): Likewise.
52248         (sin_test_upward): Likewise.
52249         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
52250         (sinh_test_data): Update call to AUTO_TESTS_f_f.
52251         (sinh_test): Use ALL_RM_TEST.
52252         (sinh_tonearest_test_data): Remove.
52253         (sinh_test_tonearest): Likewise.
52254         (sinh_towardzero_test_data): Likewise.
52255         (sinh_test_towardzero): Likewise.
52256         (sinh_downward_test_data): Likewise.
52257         (sinh_test_downward): Likewise.
52258         (sinh_upward_test_data): Likewise.
52259         (sinh_test_upward): Likewise.
52260         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
52261         (sqrt_test): Use ALL_RM_TEST.
52262         (sqrt_tonearest_test_data): Remove.
52263         (sqrt_test_tonearest): Likewise.
52264         (sqrt_towardzero_test_data): Likewise.
52265         (sqrt_test_towardzero): Likewise.
52266         (sqrt_downward_test_data): Likewise.
52267         (sqrt_test_downward): Likewise.
52268         (sqrt_upward_test_data): Likewise.
52269         (sqrt_test_upward): Likewise.
52270         (tan_test_data): Update call to AUTO_TESTS_f_f.
52271         (tan_test): Use ALL_RM_TEST.
52272         (tan_tonearest_test_data): Remove.
52273         (tan_test_tonearest): Likewise.
52274         (tan_towardzero_test_data): Likewise.
52275         (tan_test_towardzero): Likewise.
52276         (tan_downward_test_data): Likewise.
52277         (tan_test_downward): Likewise.
52278         (tan_upward_test_data): Likewise.
52279         (tan_test_upward): Likewise.
52280         (tanh_test_data): Update call to AUTO_TESTS_f_f.
52281         (tgamma_test_data): Likewise.
52282         (y0_test_data): Likewise.
52283         (y1_test_data): Likewise.
52284         (yn_test_data): Update call to AUTO_TESTS_if_f.
52285         (main): Do not call removed functions.
52287 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52289         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
52290         (ldexp_test_data): Remove.
52291         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
52292         scalbn_test_data.
52293         (scalb_test): Use ALL_RM_TEST.
52295 2014-03-19  Andreas Schwab  <schwab@suse.de>
52297         * nscd/nscd.service: Also invalidate netgroup cache on reload.
52299 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52301         [BZ #16649]
52302         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52303         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
52304         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
52305         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52306         (__ASSUME_PREADV): Undefine.
52307         (__ASSUME_PWRITEV): Likewise.
52309 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52311         * bits/mman-linux.h: Add comment about non-Linux use.
52312         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
52313         bits/mman-linux.h resting place.
52315         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
52316         * bits/mman-linux.h: ... here.
52318 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52320         * conform/conformtest.pl: Add standard definition when calling C
52321         preprocessor on data files.
52322         (checknamespace): Remove unused variable.
52324 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52326         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
52327         minus_oflow, plus_uflow and minus_uflow in expected results.
52328         * math/libm-test.inc (scalbn_test_data): Add more tests of
52329         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
52330         minus_uflow.
52331         (scalbn_test): Use ALL_RM_TEST.
52332         (scalbln_test_data): Add more tests of negative arguments.  Use
52333         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
52334         (scalbln_test): Use ALL_RM_TEST.
52336 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52338         * scripts/abilist.awk: Ignore symbols marked with .hidden.
52340 2014-03-18  Will Newton  <will.newton@linaro.org>
52342         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
52343         inaccurate comment.
52345 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52347         * Makerules [!subdir] (check-abi): Exit with error status if a
52348         test failed.
52350 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52352         * math/libm-test.inc (nearbyint_test_data): Include all tests used
52353         for rint.  Include results for all rounding modes.
52354         (nearbyint_test): Use ALL_RM_TEST.
52355         (rint_test_data): Include all tests used for nearbyint.
52357 2014-03-17  Will Newton  <will.newton@linaro.org>
52359         * nptl/sysdeps/pthread/pthread.h: Revert previous
52360         change.
52362         * sysdeps/generic/ldsodefs.h: Revert previous
52363         change.
52365         * libio/genops.c: Revert previous change.
52366         * libio/libioP.h: Likewise.
52367         * stdio-common/vfprintf.c: Likewise.
52369         * sysdeps/generic/math_private.h: Revert previous
52370         change.
52372         * sysdeps/generic/math_private.h: Check whether
52373         HAVE_RM_CTX is defined with #ifdef rather
52374         than #if.
52376         * argp/argp-fmtstream.h: Check whether
52377         __STRICT_ANSI__ is defined with #ifdef rather
52378         than #if.
52379         * argp/argp.h: Likewise.
52381         * libio/genops.c: Check whether
52382         _IO_JUMPS_OFFSET is defined with #ifdef rather
52383         than #if.
52384         * libio/libioP.h: Likewise.
52385         * stdio-common/vfprintf.c: Likewise.
52387         * sysdeps/generic/ldsodefs.h: Check whether
52388         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
52389         than #if.
52391         * nptl/sysdeps/pthread/pthread.h: Check
52392         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
52393         its value.
52395 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52397         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
52398         setting O_APPEND.
52399         * libio/tst-ftell-active-handler.c (do_append_test): Add a
52400         test case.
52402         [BZ #16680]
52403         * libio/fileops.c (_IO_file_open): Seek to end of file but
52404         don't cache the offset.
52405         (get_file_offset): Remove function.
52406         (do_ftell): Use cached offset when available.
52407         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
52408         don't cache the offset.
52409         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
52410         case.
52411         (do_one_test): Call it.
52412         (do_ftell_test): Fix up expected old offset for a+ mode.
52413         * libio/wfileops.c (do_ftell_wide): Used cached offset when
52414         available.
52416         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
52417         up test status with function return status.
52418         (do_write_test): Likewise.
52419         (do_append_test): Likewise.
52421         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
52422         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
52423         Remove.
52425 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52427         * math/gen-libm-test.pl (parse_args): Handle results specified for
52428         each rounding mode separately.
52429         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
52430         tests and results from lrint_tonearest_test_data,
52431         lrint_towardzero_test_data, lrint_downward_test_data and
52432         lrint_upward_test_data.
52433         (lrint_test): Use ALL_RM_TEST.
52434         (lrint_tonearest_test_data): Remove.
52435         (lrint_test_tonearest): Likewise.
52436         (lrint_towardzero_test_data): Likewise.
52437         (lrint_test_towardzero): Likewise.
52438         (lrint_downward_test_data): Likewise.
52439         (lrint_test_downward): Likewise.
52440         (lrint_upward_test_data): Likewise.
52441         (lrint_test_upward): Likewise.
52442         (llrint_test_data): Merge in per-rounding-mode tests and results
52443         from llrint_tonearest_test_data, llrint_towardzero_test_data,
52444         llrint_downward_test_data and llrint_upward_test_data.
52445         (llrint_test): Use ALL_RM_TEST.
52446         (llrint_tonearest_test_data): Remove.
52447         (llrint_test_tonearest): Likewise.
52448         (llrint_towardzero_test_data): Likewise.
52449         (llrint_test_towardzero): Likewise.
52450         (llrint_downward_test_data): Likewise.
52451         (llrint_test_downward): Likewise.
52452         (llrint_upward_test_data): Likewise.
52453         (llrint_test_upward): Likewise.
52454         (rint_test_data): Merge in per-rounding-mode tests and results
52455         from rint_tonearest_test_data, rint_towardzero_test_data,
52456         rint_downward_test_data and rint_upward_test_data.  Add
52457         per-rounding-mode results for tests not in those arrays.
52458         (rint_test): Use ALL_RM_TEST.
52459         (rint_tonearest_test_data): Remove.
52460         (rint_test_tonearest): Likewise.
52461         (rint_towardzero_test_data): Likewise.
52462         (rint_test_towardzero): Likewise.
52463         (rint_downward_test_data): Likewise.
52464         (rint_test_downward): Likewise.
52465         (rint_upward_test_data): Likewise.
52466         (rint_test_upward): Likewise.
52467         (main): Don't call removed functions.
52469 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52471         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
52472         "Compiled on ..." crapola.  It is anti-useful.
52474 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
52476         * scripts/evaluate-test.sh: Handle fourth argument to determine
52477         whether test run should stop on failure.
52478         * Makeconfig (stop-on-test-failure): New variable.
52479         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
52480         $(stop-on-test-failure).
52481         * Makefile (tests): Give a summary of results from testing and
52482         exit with failure status if they include an ERROR or FAIL.
52483         (xtests): Likewise.
52484         * manual/install.texi (Configuring and compiling): Mention
52485         stop-on-test-failure=y.
52486         * INSTALL: Regenerated.
52488 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52490         * scripts/versionlist.awk: New file.
52491         * Makerules [$(build-shared) = yes]
52492         (postclean-generated): Add Versions.def, not Versions.def.v and
52493         Versions.def.v.i.
52494         ($(common-objpfx)Versions.def.v.i): Target removed.
52495         ($(common-objpfx)Versions.def): New target.
52496         ($(common-objpfx)Versions.all): Depend on that rather that
52497         $(common-objpfx)Versions.def.v.
52498         * Versions.def: File removed.
52500         * Makeconfig (+gccwarn): Add -Wundef.
52501         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
52502         a dl-sysdep.h breaking its contract.
52503         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
52504         * include/stackinfo.h: New file.
52505         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
52506         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
52507         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
52508         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
52509         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
52510         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
52511         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52512         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52513         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52514         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52515         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52516         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
52517         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52518         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52519         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52521 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52523         [BZ #16707]
52524         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
52525         implementation.
52526         * math/libm-test.inc (round_test_data): Add more tests.
52528         [BZ #16706]
52529         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
52530         implementation.
52531         * math/libm-test.inc (nearbyint_test_data): Add more tests.
52533         [BZ #16701]
52534         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
52535         implementation.
52536         * math/libm-test.inc (ceil_test_data): Add more tests.
52538         * math/libm-test.inc (trunc_test_data): Add more tests related to
52539         BZ#16414.
52541 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52543         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
52544         with #if rather than #ifdef.
52545         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
52547 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
52549         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
52550         first.  Disable AVX-512 GCC support if assembler doesn't support
52551         it.
52552         * sysdeps/x86_64/configure: Regenerated.
52554 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
52556         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
52557         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
52558         (__old_pthread_attr_setstack): Likewise.
52559         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
52560         [!_STACK_GROWS_DOWN]: Likewise.
52562 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
52564         * config.make.in (have-bash2): Delete.
52565         * configure.ac (libc_cv_have_bash2): Delete.
52566         * configure: Regenerate.
52567         * elf/Makefile (common-ldd-rewrite): Rename to ...
52568         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
52569         (sh-ldd-rewrite): Delete.
52570         (bash-ldd-rewrite): Delete.
52571         (have-bash2): Delete checks.
52572         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
52573         ldd-rewrite.
52575         * config.make.in (have-ksh): Delete.
52576         (KSH): Delete.
52577         * configure.ac (libc_cv_have_ksh): Delete.
52578         * configure: Regenerate.
52580         * elf/Makefile: Delete $(have-ksh) check.
52581         ($(objpfx)sotruss): Change KSH to BASH.
52582         * elf/sotruss.ksh: Rename to ...
52583         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
52584         function style to match POSIX.  Drop ksh vim mode setting.
52586         * manual/time.texi (Specifying the Time Zone with TZ): Change
52587         Tuesday to Thursday.
52589         * debug/tst-longjmp_chk2.c: Update header comment.
52590         (stackoverflow_handler): Add comment.  Call assert on pass value.
52592 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
52594         [BZ #16194]
52595         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
52596         (HAVE_AVX512_ASM_SUPPORT): Likewise.
52597         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
52598         (La_x86_64_vector): Add zmm.
52599         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
52600         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
52601         ($(objpfx)tst-audit10): New target.
52602         ($(objpfx)tst-audit10.out): Likewise.
52603         (tst-audit10-ENV): New.
52604         (AVX512-CFLAGS): Likewise.
52605         (CFLAGS-tst-audit10.c): Likewise.
52606         (CFLAGS-tst-auditmod10a.c): Likewise.
52607         (CFLAGS-tst-auditmod10b.c): Likewise.
52608         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
52609         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
52610         * sysdeps/x86_64/configure: Regenerated.
52611         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
52612         AVX-512 zmm register support.
52613         (_dl_x86_64_save_sse): Likewise.
52614         (_dl_x86_64_restore_sse): Likewise.
52615         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
52616         size vector registers.
52617         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
52618         (ZMM_SIZE): Likewise.
52619         * sysdeps/x86_64/tst-audit10.c: New file.
52620         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
52621         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
52623 2014-03-13  Roland McGrath  <roland@hack.frob.com>
52625         * configure.ac (HAVE_EHDR_START): New check.
52626         * configure: Regenerated.
52627         * config.h.in (HAVE_EHDR_START): New #undef.
52628         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
52629         assuming the lowest-addressed segment maps the start of the file.
52631 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
52633         * INSTALL: Regenerated.
52635 2014-03-13  Will Newton  <will.newton@linaro.org>
52637         * manual/setjmp.texi (System V contexts): Improve
52638         clarity and grammar of documentation.
52640 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
52642         [BZ #16381]
52643         * elf/Makefile (tests): Add tst-pie2.
52644         (tests-pie): Add tst-pie2.
52645         * elf/tst-pie2.c: New file.
52646         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
52647         for ET_EXEC.
52648         * elf/rtld.c (map_doit): Load executable as lt_executable.
52649         (dl_main): Likewise.
52651 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
52653         [BZ #16642]
52654         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52655         (__ASSUME_PSELECT): Undefine.
52657 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52659         [BZ #16689]
52660         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
52661         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
52662         static build.
52663         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
52664         selector for static builds.
52666 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52668         [BZ #16695]
52669         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
52670         key in the buffer.
52672 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52674         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
52675         IFUNC selector for static builds.
52677 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
52679         * sysdeps/mips/math_private.h [__mips_hard_float]
52680         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
52681         libc_feresetround_mips_ctx.
52682         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
52683         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
52684         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
52686         [BZ #16677]
52687         * math/s_nextafter.c (__nextafter): Do not return value from
52688         overflowing computation.
52689         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
52690         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
52691         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
52692         Likewise.
52693         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
52694         Likewise.
52695         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
52696         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
52698 2014-03-11  Roland McGrath  <roland@hack.frob.com>
52700         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
52701         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
52702         Move sfi_sp use from the load-multiple (that no longer sets sp) to
52703         the new mov targetting sp.
52705 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52707         [BZ #16683]
52708         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
52709         Define it for static builds as well.
52710         (NO_BZERO_IMPL): Likewise.
52712 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52714         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
52715         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
52716         multiarch strspn for PPC64.
52717         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
52718         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
52719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52720         (__libc_ifunc_impl_list): Likewise.
52721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
52722         multiarch optimizations
52723         * string/strspn.c (strspn): Using macro to redefine symbol name.
52725 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52726             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52728         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
52729         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
52730         multiarch strncat for PPC64.
52731         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
52732         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
52733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52734         (__libc_ifunc_impl_list): Likewise.
52735         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
52736         multiarch optimizations
52738 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52740         [BZ #16639]
52741         * nscd/nscd.service: Make service type forking.
52743 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52745         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
52746         sign in non default rounding modes.
52747         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
52749 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
52751         * math/libm-test.inc (ALL_RM_TEST): New macro.
52752         (ceil_test): Use ALL_RM_TEST.
52753         (cimag_test): Likewise.
52754         (conj_test): Likewise.
52755         (copysign_test): Likewise.
52756         (cproj_test): Likewise.
52757         (creal_test): Likewise.
52758         (fabs_test): Likewise.
52759         (floor_test): Likewise.
52760         (fmax_test): Likewise.
52761         (fmin_test): Likewise.
52762         (fmod_test): Likewise.
52763         (fpclassify_test): Likewise.
52764         (frexp_test): Likewise.
52765         (ilogb_test): Likewise.
52766         (isfinite_test): Likewise.
52767         (finite_test): Likewise.
52768         (isgreater_test): Likewise.
52769         (isgreaterequal_test): Likewise.
52770         (isinf_test): Likewise.
52771         (isless_test): Likewise.
52772         (islessequal_test): Likewise.
52773         (islessgreater_test): Likewise.
52774         (isnan_test): Likewise.
52775         (isnormal_test): Likewise.
52776         (issignaling_test): Likewise.
52777         (isunordered_test): Likewise.
52778         (logb_test): Likewise.
52779         (logb_downward_test_data): Remove.
52780         (logb_test_downward): Likewise.
52781         (lround_test): Use ALL_RM_TEST.
52782         (llround_test): Likewise.
52783         (modf_test): Likewise.
52784         (nexttoward_test): Likewise.
52785         (remainder_test): Likewise.
52786         (drem_test): Likewise.
52787         (remainder_tonearest_test_data): Likewise.
52788         (remainder_test_tonearest): Likewise.
52789         (drem_test_tonearest): Likewise.
52790         (remainder_towardzero_test_data): Likewise.
52791         (remainder_test_towardzero): Likewise.
52792         (drem_test_towardzero): Likewise.
52793         (remainder_downward_test_data): Likewise.
52794         (remainder_test_downward): Likewise.
52795         (drem_test_downward): Likewise.
52796         (remainder_upward_test_data): Likewise.
52797         (remainder_test_upward): Likewise.
52798         (drem_test_upward): Likewise.
52799         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
52800         (round_test): Use ALL_RM_TEST.
52801         (signbit_test): Likewise.
52802         (trunc_test): Likewise.
52803         (significand_test): Likewise.
52804         (main): Don't call removed functions.
52806 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
52808         [BZ #16674]
52809         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
52810         || __USE_XOPEN2K8].
52811         (ILL_ILLOPN): Likewise.
52812         (ILL_ILLADR): Likewise.
52813         (ILL_ILLTRP): Likewise.
52814         (ILL_PRVOPC): Likewise.
52815         (ILL_PRVREG): Likewise.
52816         (ILL_COPROC): Likewise.
52817         (ILL_BADSTK): Likewise.
52818         (FPE_INTDIV): Likewise.
52819         (FPE_INTOVF): Likewise.
52820         (FPE_FLTDIV): Likewise.
52821         (FPE_FLTOVF): Likewise.
52822         (FPE_FLTUND): Likewise.
52823         (FPE_FLTRES): Likewise.
52824         (FPE_FLTINV): Likewise.
52825         (FPE_FLTSUB): Likewise.
52826         (SEGV_MAPERR): Likewise.
52827         (SEGV_ACCERR): Likewise.
52828         (BUS_ADRALN): Likewise.
52829         (BUS_ADRERR): Likewise.
52830         (BUS_OBJERR): Likewise.
52831         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52832         (TRAP_TRACE): Likewise.
52833         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52834         __USE_XOPEN2K8].
52835         (CLD_KILLED): Likewise.
52836         (CLD_DUMPED): Likewise.
52837         (CLD_TRAPPED): Likewise.
52838         (CLD_STOPPED): Likewise.
52839         (CLD_CONTINUED): Likewise.
52840         (POLL_IN): Likewise.
52841         (POLL_OUT): Likewise.
52842         (POLL_MSG): Likewise.
52843         (POLL_ERR): Likewise.
52844         (POLL_PRI): Likewise.
52845         (POLL_HUP): Likewise.
52846         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
52847         Likewise.
52848         (ILL_ILLOPN): Likewise.
52849         (ILL_ILLADR): Likewise.
52850         (ILL_ILLTRP): Likewise.
52851         (ILL_PRVOPC): Likewise.
52852         (ILL_PRVREG): Likewise.
52853         (ILL_COPROC): Likewise.
52854         (ILL_BADSTK): Likewise.
52855         (FPE_INTDIV): Likewise.
52856         (FPE_INTOVF): Likewise.
52857         (FPE_FLTDIV): Likewise.
52858         (FPE_FLTOVF): Likewise.
52859         (FPE_FLTUND): Likewise.
52860         (FPE_FLTRES): Likewise.
52861         (FPE_FLTINV): Likewise.
52862         (FPE_FLTSUB): Likewise.
52863         (SEGV_MAPERR): Likewise.
52864         (SEGV_ACCERR): Likewise.
52865         (BUS_ADRALN): Likewise.
52866         (BUS_ADRERR): Likewise.
52867         (BUS_OBJERR): Likewise.
52868         (BUS_MCEERR_AR): Likewise.
52869         (BUS_MCEERR_AO): Likewise.
52870         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52871         (TRAP_TRACE): Likewise.
52872         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52873         __USE_XOPEN2K8].
52874         (CLD_KILLED): Likewise.
52875         (CLD_DUMPED): Likewise.
52876         (CLD_TRAPPED): Likewise.
52877         (CLD_STOPPED): Likewise.
52878         (CLD_CONTINUED): Likewise.
52879         (POLL_IN): Likewise.
52880         (POLL_OUT): Likewise.
52881         (POLL_MSG): Likewise.
52882         (POLL_ERR): Likewise.
52883         (POLL_PRI): Likewise.
52884         (POLL_HUP): Likewise.
52885         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
52886         (ILL_ILLOPN): Likewise.
52887         (ILL_ILLADR): Likewise.
52888         (ILL_ILLTRP): Likewise.
52889         (ILL_PRVOPC): Likewise.
52890         (ILL_PRVREG): Likewise.
52891         (ILL_COPROC): Likewise.
52892         (ILL_BADSTK): Likewise.
52893         (FPE_INTDIV): Likewise.
52894         (FPE_INTOVF): Likewise.
52895         (FPE_FLTDIV): Likewise.
52896         (FPE_FLTOVF): Likewise.
52897         (FPE_FLTUND): Likewise.
52898         (FPE_FLTRES): Likewise.
52899         (FPE_FLTINV): Likewise.
52900         (FPE_FLTSUB): Likewise.
52901         (SEGV_MAPERR): Likewise.
52902         (SEGV_ACCERR): Likewise.
52903         (BUS_ADRALN): Likewise.
52904         (BUS_ADRERR): Likewise.
52905         (BUS_OBJERR): Likewise.
52906         (BUS_MCEERR_AR): Likewise.
52907         (BUS_MCEERR_AO): Likewise.
52908         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52909         (TRAP_TRACE): Likewise.
52910         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52911         __USE_XOPEN2K8].
52912         (CLD_KILLED): Likewise.
52913         (CLD_DUMPED): Likewise.
52914         (CLD_TRAPPED): Likewise.
52915         (CLD_STOPPED): Likewise.
52916         (CLD_CONTINUED): Likewise.
52917         (POLL_IN): Likewise.
52918         (POLL_OUT): Likewise.
52919         (POLL_MSG): Likewise.
52920         (POLL_ERR): Likewise.
52921         (POLL_PRI): Likewise.
52922         (POLL_HUP): Likewise.
52923         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
52924         Likewise.
52925         (ILL_ILLOPN): Likewise.
52926         (ILL_ILLADR): Likewise.
52927         (ILL_ILLTRP): Likewise.
52928         (ILL_PRVOPC): Likewise.
52929         (ILL_PRVREG): Likewise.
52930         (ILL_COPROC): Likewise.
52931         (ILL_BADSTK): Likewise.
52932         (ILL_BADIADDR): Likewise.
52933         (ILL_BREAK): Likewise.
52934         (FPE_INTDIV): Likewise.
52935         (FPE_INTOVF): Likewise.
52936         (FPE_FLTDIV): Likewise.
52937         (FPE_FLTOVF): Likewise.
52938         (FPE_FLTUND): Likewise.
52939         (FPE_FLTRES): Likewise.
52940         (FPE_FLTINV): Likewise.
52941         (FPE_FLTSUB): Likewise.
52942         (FPE_DECOVF): Likewise.
52943         (FPE_DECDIV): Likewise.
52944         (FPE_DECERR): Likewise.
52945         (FPE_INVASC): Likewise.
52946         (FPE_INVDEC): Likewise.
52947         (SEGV_MAPERR): Likewise.
52948         (SEGV_ACCERR): Likewise.
52949         (SEGV_PSTKOVF): Likewise.
52950         (BUS_ADRALN): Likewise.
52951         (BUS_ADRERR): Likewise.
52952         (BUS_OBJERR): Likewise.
52953         (BUS_MCEERR_AR): Likewise.
52954         (BUS_MCEERR_AO): Likewise.
52955         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52956         (TRAP_TRACE): Likewise.
52957         (TRAP_BRANCH): Likewise.
52958         (TRAP_HWBKPT): Likewise.
52959         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52960         __USE_XOPEN2K8].
52961         (CLD_KILLED): Likewise.
52962         (CLD_DUMPED): Likewise.
52963         (CLD_TRAPPED): Likewise.
52964         (CLD_STOPPED): Likewise.
52965         (CLD_CONTINUED): Likewise.
52966         (POLL_IN): Likewise.
52967         (POLL_OUT): Likewise.
52968         (POLL_MSG): Likewise.
52969         (POLL_ERR): Likewise.
52970         (POLL_PRI): Likewise.
52971         (POLL_HUP): Likewise.
52972         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
52973         (ILL_ILLOPN): Likewise.
52974         (ILL_ILLADR): Likewise.
52975         (ILL_ILLTRP): Likewise.
52976         (ILL_PRVOPC): Likewise.
52977         (ILL_PRVREG): Likewise.
52978         (ILL_COPROC): Likewise.
52979         (ILL_BADSTK): Likewise.
52980         (FPE_INTDIV): Likewise.
52981         (FPE_INTOVF): Likewise.
52982         (FPE_FLTDIV): Likewise.
52983         (FPE_FLTOVF): Likewise.
52984         (FPE_FLTUND): Likewise.
52985         (FPE_FLTRES): Likewise.
52986         (FPE_FLTINV): Likewise.
52987         (FPE_FLTSUB): Likewise.
52988         (SEGV_MAPERR): Likewise.
52989         (SEGV_ACCERR): Likewise.
52990         (BUS_ADRALN): Likewise.
52991         (BUS_ADRERR): Likewise.
52992         (BUS_OBJERR): Likewise.
52993         (BUS_MCEERR_AR): Likewise.
52994         (BUS_MCEERR_AO): Likewise.
52995         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52996         (TRAP_TRACE): Likewise.
52997         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52998         __USE_XOPEN2K8].
52999         (CLD_KILLED): Likewise.
53000         (CLD_DUMPED): Likewise.
53001         (CLD_TRAPPED): Likewise.
53002         (CLD_STOPPED): Likewise.
53003         (CLD_CONTINUED): Likewise.
53004         (POLL_IN): Likewise.
53005         (POLL_OUT): Likewise.
53006         (POLL_MSG): Likewise.
53007         (POLL_ERR): Likewise.
53008         (POLL_PRI): Likewise.
53009         (POLL_HUP): Likewise.
53010         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
53011         (ILL_ILLOPN): Likewise.
53012         (ILL_ILLADR): Likewise.
53013         (ILL_ILLTRP): Likewise.
53014         (ILL_PRVOPC): Likewise.
53015         (ILL_PRVREG): Likewise.
53016         (ILL_COPROC): Likewise.
53017         (ILL_BADSTK): Likewise.
53018         (FPE_INTDIV): Likewise.
53019         (FPE_INTOVF): Likewise.
53020         (FPE_FLTDIV): Likewise.
53021         (FPE_FLTOVF): Likewise.
53022         (FPE_FLTUND): Likewise.
53023         (FPE_FLTRES): Likewise.
53024         (FPE_FLTINV): Likewise.
53025         (FPE_FLTSUB): Likewise.
53026         (SEGV_MAPERR): Likewise.
53027         (SEGV_ACCERR): Likewise.
53028         (BUS_ADRALN): Likewise.
53029         (BUS_ADRERR): Likewise.
53030         (BUS_OBJERR): Likewise.
53031         (BUS_MCEERR_AR): Likewise.
53032         (BUS_MCEERR_AO): Likewise.
53033         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53034         (TRAP_TRACE): Likewise.
53035         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53036         __USE_XOPEN2K8].
53037         (CLD_KILLED): Likewise.
53038         (CLD_DUMPED): Likewise.
53039         (CLD_TRAPPED): Likewise.
53040         (CLD_STOPPED): Likewise.
53041         (CLD_CONTINUED): Likewise.
53042         (POLL_IN): Likewise.
53043         (POLL_OUT): Likewise.
53044         (POLL_MSG): Likewise.
53045         (POLL_ERR): Likewise.
53046         (POLL_PRI): Likewise.
53047         (POLL_HUP): Likewise.
53048         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
53049         (ILL_ILLOPN): Likewise.
53050         (ILL_ILLADR): Likewise.
53051         (ILL_ILLTRP): Likewise.
53052         (ILL_PRVOPC): Likewise.
53053         (ILL_PRVREG): Likewise.
53054         (ILL_COPROC): Likewise.
53055         (ILL_BADSTK): Likewise.
53056         (FPE_INTDIV): Likewise.
53057         (FPE_INTOVF): Likewise.
53058         (FPE_FLTDIV): Likewise.
53059         (FPE_FLTOVF): Likewise.
53060         (FPE_FLTUND): Likewise.
53061         (FPE_FLTRES): Likewise.
53062         (FPE_FLTINV): Likewise.
53063         (FPE_FLTSUB): Likewise.
53064         (SEGV_MAPERR): Likewise.
53065         (SEGV_ACCERR): Likewise.
53066         (BUS_ADRALN): Likewise.
53067         (BUS_ADRERR): Likewise.
53068         (BUS_OBJERR): Likewise.
53069         (BUS_MCEERR_AR): Likewise.
53070         (BUS_MCEERR_AO): Likewise.
53071         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53072         (TRAP_TRACE): Likewise.
53073         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53074         __USE_XOPEN2K8].
53075         (CLD_KILLED): Likewise.
53076         (CLD_DUMPED): Likewise.
53077         (CLD_TRAPPED): Likewise.
53078         (CLD_STOPPED): Likewise.
53079         (CLD_CONTINUED): Likewise.
53080         (POLL_IN): Likewise.
53081         (POLL_OUT): Likewise.
53082         (POLL_MSG): Likewise.
53083         (POLL_ERR): Likewise.
53084         (POLL_PRI): Likewise.
53085         (POLL_HUP): Likewise.
53086         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
53087         (ILL_ILLOPN): Likewise.
53088         (ILL_ILLADR): Likewise.
53089         (ILL_ILLTRP): Likewise.
53090         (ILL_PRVOPC): Likewise.
53091         (ILL_PRVREG): Likewise.
53092         (ILL_COPROC): Likewise.
53093         (ILL_BADSTK): Likewise.
53094         (ILL_DBLFLT): Likewise.
53095         (ILL_HARDWALL): Likewise.
53096         (FPE_INTDIV): Likewise.
53097         (FPE_INTOVF): Likewise.
53098         (FPE_FLTDIV): Likewise.
53099         (FPE_FLTOVF): Likewise.
53100         (FPE_FLTUND): Likewise.
53101         (FPE_FLTRES): Likewise.
53102         (FPE_FLTINV): Likewise.
53103         (FPE_FLTSUB): Likewise.
53104         (SEGV_MAPERR): Likewise.
53105         (SEGV_ACCERR): Likewise.
53106         (BUS_ADRALN): Likewise.
53107         (BUS_ADRERR): Likewise.
53108         (BUS_OBJERR): Likewise.
53109         (BUS_MCEERR_AR): Likewise.
53110         (BUS_MCEERR_AO): Likewise.
53111         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53112         (TRAP_TRACE): Likewise.
53113         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53114         __USE_XOPEN2K8].
53115         (CLD_KILLED): Likewise.
53116         (CLD_DUMPED): Likewise.
53117         (CLD_TRAPPED): Likewise.
53118         (CLD_STOPPED): Likewise.
53119         (CLD_CONTINUED): Likewise.
53120         (POLL_IN): Likewise.
53121         (POLL_OUT): Likewise.
53122         (POLL_MSG): Likewise.
53123         (POLL_ERR): Likewise.
53124         (POLL_PRI): Likewise.
53125         (POLL_HUP): Likewise.
53126         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
53127         (ILL_ILLOPN): Likewise.
53128         (ILL_ILLADR): Likewise.
53129         (ILL_ILLTRP): Likewise.
53130         (ILL_PRVOPC): Likewise.
53131         (ILL_PRVREG): Likewise.
53132         (ILL_COPROC): Likewise.
53133         (ILL_BADSTK): Likewise.
53134         (FPE_INTDIV): Likewise.
53135         (FPE_INTOVF): Likewise.
53136         (FPE_FLTDIV): Likewise.
53137         (FPE_FLTOVF): Likewise.
53138         (FPE_FLTUND): Likewise.
53139         (FPE_FLTRES): Likewise.
53140         (FPE_FLTINV): Likewise.
53141         (FPE_FLTSUB): Likewise.
53142         (SEGV_MAPERR): Likewise.
53143         (SEGV_ACCERR): Likewise.
53144         (BUS_ADRALN): Likewise.
53145         (BUS_ADRERR): Likewise.
53146         (BUS_OBJERR): Likewise.
53147         (BUS_MCEERR_AR): Likewise.
53148         (BUS_MCEERR_AO): Likewise.
53149         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53150         (TRAP_TRACE): Likewise.
53151         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53152         __USE_XOPEN2K8].
53153         (CLD_KILLED): Likewise.
53154         (CLD_DUMPED): Likewise.
53155         (CLD_TRAPPED): Likewise.
53156         (CLD_STOPPED): Likewise.
53157         (CLD_CONTINUED): Likewise.
53158         (POLL_IN): Likewise.
53159         (POLL_OUT): Likewise.
53160         (POLL_MSG): Likewise.
53161         (POLL_ERR): Likewise.
53162         (POLL_PRI): Likewise.
53163         (POLL_HUP): Likewise.
53164         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
53165         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53167         [BZ #16670]
53168         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
53169         before #include of <time.h>.
53170         [!__USE_XOPEN2K] (__need_timespec): Likewise.
53171         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
53172         (test-xfail-UNIX98/sched.h/conform): Likewise.
53174 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53176         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
53177         error absence of trapping exception support.
53178         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53180 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53182         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
53183         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
53184         * timezone/Makefile (testdata): Move definition above include of
53185         Rules.
53186         (test-zones): New variable.
53187         (tests-special): Add zone files.
53188         (build-testdata): Use $(evaluate-test).
53190         * elf/Makefile (tests-special): Rename tests to end with .out.
53191         ($(objpfx)noload-mem): Likewise.
53192         ($(objpfx)tst-leaks1-mem): Likewise.
53193         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
53194         * iconv/Makefile (xtests-special): Change test-iconvconfig to
53195         $(objpfx)test-iconvconfig.out.
53196         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
53197         set -e inside subshell and redirect output to file.
53198         * iconvdata/Makefile (generated): Rename tests to end with .out.
53199         Correct type.
53200         (tests-special): Rename tests to end with .out.
53201         ($(objpfx)mtrace-tst-loading): Likewise.
53202         * intl/Makefile (generated): Likewise.
53203         (tests-special): Likewise.
53204         ($(objpfx)mtrace-tst-gettext): Likewise.
53205         * misc/Makefile (generated): Likewise.
53206         (tests-special): Likewise.
53207         ($(objpfx)tst-error1-mem): Likewise.
53208         * nptl/Makefile (tests-special): Likewise.
53209         ($(objpfx)tst-stack3-mem): Likewise.
53210         (generated): Likewise.
53211         * posix/Makefile (generated): Likewise.
53212         (tests-special): Likewise.
53213         (xtests-special): Likewise.
53214         ($(objpfx)tst-fnmatch-mem): Likewise.
53215         ($(objpfx)bug-regex2-mem): Likewise.
53216         ($(objpfx)bug-regex14-mem): Likewise.
53217         ($(objpfx)bug-regex21-mem): Likewise.
53218         ($(objpfx)bug-regex31-mem): Likewise.
53219         ($(objpfx)tst-vfork3-mem): Likewise.
53220         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53221         ($(objpfx)tst-pcre-mem): Likewise.
53222         ($(objpfx)tst-boost-mem): Likewise.
53223         ($(objpfx)bug-ga2-mem): Likewise.
53224         ($(objpfx)bug-glob2-mem): Likewise.
53225         * resolv/Makefile (generate): Likewise.
53226         (tests-special): Likewise.
53227         (xtests-special): Likewise.
53228         (generated): Likewise.
53229         ($(objpfx)mtrace-tst-leaks): Likewise.
53230         ($(objpfx)mtrace-tst-leaks2): Likewise.
53232         * scripts/merge-test-results.sh: New file.
53233         * Makefile (tests-special-notdir): New variable.
53234         (tests): Run merge-test-results.sh.
53235         (xtests): Likewise.
53236         * Rules (tests-special-notdir): New variable.
53237         (xtests-special-notdir): Likewise.
53238         (tests): Run merge-test-results.sh
53239         (xtests): Likewise.
53241         * Makeconfig (test-xfail-name): New variable.
53242         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
53243         compute variable name for expected failures.
53244         * conform/Makefile (conformtest-headers-data): New variable.
53245         (conformtest-standards): Likewise.
53246         (conformtest-headers-ISO): Likewise.
53247         (conformtest-headers-ISO99): Likewise.
53248         (conformtest-headers-ISO11): Likewise.
53249         (conformtest-headers-POSIX): Likewise.
53250         (conformtest-headers-XPG3): Likewise.
53251         (conformtest-headers-XPG4): Likewise.
53252         (conformtest-headers-UNIX98): Likewise.
53253         (conformtest-headers-XOPEN2K): Likewise.
53254         (conformtest-headers-POSIX2008): Likewise.
53255         (conformtest-headers-XOPEN2K8): Likewise.
53256         (conformtest-header-list-base): Likewise.
53257         (conformtest-header-list-tests): Likewise.
53258         (conformtest-header-base): Likewise.
53259         (conformtest-header-tests): Likewise.
53260         (tests-special): Add $(conformtest-header-list-tests).  If
53261         [$(fast-check) && !$(cross-compiling)], add
53262         $(conformtest-header-tests) instead of
53263         $(objpfx)run-conformtest.out.
53264         (generated): Add $(conformtest-header-list-base).  If
53265         [$(fast-check) && !$(cross-compiling)], add
53266         $(conformtest-header-base).  Remove previous setting.
53267         ($(conformtest-header-list-tests)): New target.
53268         (test-xfail-run-conformtest): Remove variable.
53269         ($(objpfx)run-conformtest.out): Remove target.
53270         (test-xfail-ISO11/complex.h/conform): New variable.
53271         (test-xfail-ISO11/stdalign.h/conform): Likewise.
53272         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
53273         (test-xfail-XPG3/varargs.h/conform): Likewise.
53274         (test-xfail-XPG4/varargs.h/conform): Likewise.
53275         (test-xfail-UNIX98/varargs.h/conform): Likewise.
53276         (test-xfail-XPG4/ndbm.h/conform): Likewise.
53277         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
53278         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
53279         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
53280         (test-xfail-XPG3/fcntl.h/conform): Likewise.
53281         (test-xfail-XPG3/ftw.h/conform): Likewise.
53282         (test-xfail-XPG3/grp.h/conform): Likewise.
53283         (test-xfail-XPG3/langinfo.h/conform): Likewise.
53284         (test-xfail-XPG3/limits.h/conform): Likewise.
53285         (test-xfail-XPG3/pwd.h/conform): Likewise.
53286         (test-xfail-XPG3/search.h/conform): Likewise.
53287         (test-xfail-XPG3/signal.h/conform): Likewise.
53288         (test-xfail-XPG3/stdio.h/conform): Likewise.
53289         (test-xfail-XPG3/stdlib.h/conform): Likewise.
53290         (test-xfail-XPG3/string.h/conform): Likewise.
53291         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
53292         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
53293         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
53294         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
53295         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
53296         (test-xfail-XPG3/sys/types.h/conform): Likewise.
53297         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
53298         (test-xfail-XPG3/termios.h/conform): Likewise.
53299         (test-xfail-XPG3/time.h/conform): Likewise.
53300         (test-xfail-XPG3/unistd.h/conform): Likewise.
53301         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
53302         (test-xfail-XPG4/fcntl.h/conform): Likewise.
53303         (test-xfail-XPG4/langinfo.h/conform): Likewise.
53304         (test-xfail-XPG4/netdb.h/conform): Likewise.
53305         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
53306         (test-xfail-XPG4/signal.h/conform): Likewise.
53307         (test-xfail-XPG4/stdio.h/conform): Likewise.
53308         (test-xfail-XPG4/stdlib.h/conform): Likewise.
53309         (test-xfail-XPG4/stropts.h/conform): Likewise.
53310         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
53311         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
53312         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
53313         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
53314         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
53315         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
53316         (test-xfail-XPG4/sys/time.h/conform): Likewise.
53317         (test-xfail-XPG4/sys/types.h/conform): Likewise.
53318         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
53319         (test-xfail-XPG4/termios.h/conform): Likewise.
53320         (test-xfail-XPG4/ucontext.h/conform): Likewise.
53321         (test-xfail-XPG4/unistd.h/conform): Likewise.
53322         (test-xfail-XPG4/utmpx.h/conform): Likewise.
53323         (test-xfail-POSIX/sched.h/conform): Likewise.
53324         (test-xfail-POSIX/signal.h/conform): Likewise.
53325         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53326         (test-xfail-POSIX/tar.h/conform): Likewise.
53327         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
53328         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
53329         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
53330         (test-xfail-UNIX98/netdb.h/conform): Likewise.
53331         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
53332         (test-xfail-UNIX98/sched.h/conform): Likewise.
53333         (test-xfail-UNIX98/signal.h/conform): Likewise.
53334         (test-xfail-UNIX98/stdio.h/conform): Likewise.
53335         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
53336         (test-xfail-UNIX98/stropts.h/conform): Likewise.
53337         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
53338         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
53339         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
53340         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
53341         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
53342         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
53343         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
53344         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
53345         (test-xfail-UNIX98/unistd.h/conform): Likewise.
53346         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
53347         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
53348         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
53349         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
53350         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
53351         (test-xfail-XOPEN2K/math.h/conform): Likewise.
53352         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
53353         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
53354         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
53355         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
53356         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
53357         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
53358         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
53359         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
53360         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
53361         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
53362         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
53363         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
53364         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
53365         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
53366         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
53367         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
53368         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
53369         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
53370         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
53371         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
53372         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
53373         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
53374         (test-xfail-POSIX2008/signal.h/conform): Likewise.
53375         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
53376         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
53377         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
53378         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
53379         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
53380         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
53381         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
53382         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
53383         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
53384         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
53385         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
53386         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
53387         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
53388         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
53389         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
53390         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
53391         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
53392         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
53393         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
53394         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
53395         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
53396         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
53397         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
53398         (conformtest-cc-flags): Likewise.
53399         ($(conformtest-header-tests): New target.
53400         * conform/check-header-lists.sh: New file.
53401         * conform/run-conformtest.sh: Remove.
53403         * conform/conformtest.pl: Allow ' and \ in values given for
53404         constants.
53405         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
53406         inclusion.
53407         [POSIX] (sys/types.h): Likewise.
53408         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
53409         inclusion.
53410         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
53411         inclusion.
53412         * conform/data/signal.h-data (SIGIO): Remove expectation.
53413         [XPG3] (SIGBUS): Do not expect.
53414         [POSIX || XPG3] (SIGPOLL): Likewise.
53415         [POSIX || XPG3] (SIGPROF): Likewise.
53416         [POSIX || XPG3] (SIGSYS): Likewise.
53417         [XPG3] (SIGTRAP): Likewise.
53418         [POSIX || XPG3] (SIGURG): Likewise.
53419         [POSIX || XPG3] (SIGVTALRM): Likewise.
53420         [POSIX || XPG3] (SIGXCPU): Likewise.
53421         [POSIX || XPG3] (SIGXFSZ): Likewise.
53422         [POSIX] (SA_SIGINFO): Expect.
53423         [XPG3] (siginfo_t): Do not expect type or contents.
53424         [POSIX] (si_pid): Do not expect element.
53425         [POSIX] (si_uid): Likewise.
53426         [POSIX] (si_addr): Likewise.
53427         [POSIX] (si_status): Likewise.
53428         [POSIX] (si_band): Likewise.
53429         [XPG4] (si_value): Likewise.
53430         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
53431         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
53432         [POSIX || XPG3] (ILL_ILLADR): Likewise.
53433         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
53434         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
53435         [POSIX || XPG3] (ILL_PRVREG): Likewise.
53436         [POSIX || XPG3] (ILL_COPROC): Likewise.
53437         [POSIX || XPG3] (ILL_BADSTK): Likewise.
53438         [POSIX || XPG3] (FPE_INTDIV): Likewise.
53439         [POSIX || XPG3] (FPE_INTOVF): Likewise.
53440         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
53441         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
53442         [POSIX || XPG3] (FPE_FLTUND): Likewise.
53443         [POSIX || XPG3] (FPE_FLTRES): Likewise.
53444         [POSIX || XPG3] (FPE_FLTINV): Likewise.
53445         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
53446         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
53447         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
53448         [POSIX || XPG3] (BUS_ADRALN): Likewise.
53449         [POSIX || XPG3] (BUS_ADRERR): Likewise.
53450         [POSIX || XPG3] (BUS_OBJERR): Likewise.
53451         [POSIX || XPG3] (CLD_EXITED): Likewise.
53452         [POSIX || XPG3] (CLD_KILLED): Likewise.
53453         [POSIX || XPG3] (CLD_DUMPED): Likewise.
53454         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
53455         [POSIX || XPG3] (CLD_STOPPED): Likewise.
53456         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
53457         [POSIX || XPG3] (POLL_IN): Likewise.
53458         [POSIX || XPG3] (POLL_OUT): Likewise.
53459         [POSIX || XPG3] (POLL_MSG): Likewise.
53460         [POSIX || XPG3] (POLL_ERR): Likewise.
53461         [POSIX || XPG3] (POLL_PRI): Likewise.
53462         [POSIX || XPG3] (POLL_HUP): Likewise.
53463         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
53464         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
53465         (SIG*): Do not allow.
53466         [XPG3] (si_*): Likewise.
53467         [XPG3] (SI_*): Likewise.
53468         [XPG3 || XPG4] (sigev_*): Likewise.
53469         [XPG3 || XPG4] (SIGEV_*): Likewise.
53470         [XPG3 || XPG4] (sival_*): Likewise.
53471         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
53472         [POSIX || XPG3] (BUS_*): Likewise.
53473         [POSIX || XPG3] (CLD_*): Likewise.
53474         [POSIX || XPG3] (FPE_*): Likewise.
53475         [POSIX || XPG3] (ILL_*): Likewise.
53476         [POSIX || XPG3] (POLL_*): Likewise.
53477         [POSIX || XPG3] (SEGV_*): Likewise.
53478         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
53479         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
53480         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
53481         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
53482         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
53483         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
53484         Specify type and value.
53485         (TVERSLEN): Likewise.
53486         (REGTYPE): Likewise.
53487         (AREGTYPE): Likewise.
53488         (LNKTYPE): Likewise.
53489         (SYMTYPE): Likewise.
53490         (CHRTYPE): Likewise.
53491         (BLKTYPE): Likewise.
53492         (DIRTYPE): Likewise.
53493         (FIFOTYPE): Likewise.
53494         (CONTTYPE): Likewise.
53495         (TSUID): Likewise.
53496         (TSGID): Likewise.
53497         (TSVTX): Likewise.
53498         (TUREAD): Likewise.
53499         (TUWRITE): Likewise.
53500         (TUEXEC): Likewise.
53501         (TGREAD): Likewise.
53502         (TGWRITE): Likewise.
53503         (TGEXEC): Likewise.
53504         (TOREAD): Likewise.
53505         (TOWRITE): Likewise.
53506         (TOEXEC): Likewise.
53507         [POSIX] (TSVTX): Expect constant.
53509 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
53511         * Makefile (tests): Change dependencies to ....
53512         (tests-special): ... additions to this variable.
53513         (tests): Depend on $(tests-special).
53514         * Makerules (check-abi-list): New variable.
53515         (check-abi): Depend on $(check-abi-list).
53516         [$(subdir) = elf] (tests-special): Add
53517         $(objpfx)check-abi-libc.out.
53518         [$(build-shared) = yes && subdir] (tests-special): Add
53519         $(check-abi-list).
53520         [$(build-shared) = yes && subdir] (tests): Do not depend on
53521         check-abi.
53522         * Rules (tests): Depend on $(tests-special).
53523         (xtests): Depend on $(xtests-special).
53524         * catgets/Makefile (tests): Change dependencies to ....
53525         (tests-special): ... additions to this variable.
53526         * conform/Makefile (tests): Change dependencies to ....
53527         (tests-special): ... additions to this variable.
53528         * elf/Makefile (tests): Change dependencies to ....
53529         (tests-special): ... additions to this variable.
53530         * grp/Makefile (tests): Change dependencies to ....
53531         (tests-special): ... additions to this variable.
53532         * iconv/Makefile (xtests): Change dependencies to ....
53533         (xtests-special): ... additions to this variable.
53534         * iconvdata/Makefile (tests): Change dependencies to ....
53535         (tests-special): ... additions to this variable.
53536         * intl/Makefile (tests): Change dependencies to ....
53537         (tests-special): ... additions to this variable.  Also add
53538         $(objpfx)tst-gettext.out.
53539         * io/Makefile (tests): Change dependencies to ....
53540         (tests-special): ... additions to this variable.
53541         * libio/Makefile (tests): Change dependencies to ....
53542         (tests-special): ... additions to this variable.
53543         * malloc/Makefile (tests): Change dependencies to ....
53544         (tests-special): ... additions to this variable.
53545         * misc/Makefile (tests): Change dependencies to ....
53546         (tests-special): ... additions to this variable.
53547         * nptl/Makefile (tests): Change dependencies to ....
53548         (tests-special): ... additions to this variable.
53549         * nptl_db/Makefile (tests): Change dependencies to ....
53550         (tests-special): ... additions to this variable.
53551         * posix/Makefile (tests): Change dependencies to ....
53552         (tests-special): ... additions to this variable.
53553         (xtests): Change dependencies to ....
53554         (xtests-special): ... additions to this variable.
53555         * resolv/Makefile (tests): Change dependencies to ....
53556         (tests-special): ... additions to this variable.
53557         (xtests): Change dependencies to ....
53558         (xtests-special): ... additions to this variable.
53559         * stdio-common/Makefile (tests): Change dependencies to ....
53560         (tests-special): ... additions to this variable.
53561         (do-tst-unbputc): Remove target.
53562         (do-tst-printf): Likewise.
53563         * stdlib/Makefile (tests): Change dependencies to ....
53564         (tests-special): ... additions to this variable.
53565         * string/Makefile (tests): Change dependencies to ....
53566         (tests-special): ... additions to this variable.
53567         * sysdeps/x86/Makefile (tests): Change dependencies to ....
53568         (tests-special): ... additions to this variable.
53570         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
53571         whole file.
53572         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
53573         whole file.
53574         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
53575         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
53577         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
53578         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
53579         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
53580         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
53581         * conform/data/libgen.h-data [XPG3]: Likewise.
53582         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
53583         * conform/data/ndbm.h-data [XPG3]: Likewise.
53584         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53585         * conform/data/netdb.h-data [XPG3]: Likewise.
53586         * conform/data/netinet/in.h-data [XPG3]: Likewise.
53587         * conform/data/poll.h-data [XPG3]: Likewise.
53588         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53589         * conform/data/strings.h-data [XPG3]: Likewise.
53590         * conform/data/stropts.h-data [XPG3]: Likewise.
53591         * conform/data/sys/mman.h-data [XPG3]: Likewise.
53592         * conform/data/sys/resource.h-data [XPG3]: Likewise.
53593         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
53594         Likewise.
53595         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
53596         * conform/data/sys/time.h-data [XPG3]: Likewise.
53597         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
53598         * conform/data/sys/uio.h-data [XPG3]: Likewise.
53599         * conform/data/sys/un.h-data [XPG3]: Likewise.
53600         * conform/data/syslog.h-data [XPG3]: Likewise.
53601         * conform/data/ucontext.h-data [XPG3]: Likewise.
53602         * conform/data/utmpx.h-data [XPG3]: Likewise.
53603         * conform/data/varargs.h-data [UNIX98]: Enable file.
53605         * manual/Makefile (INSTALL_INFO): Remove variable setting.
53607         * math/libm-test.inc (struct test_f_f_data): Move expected results
53608         into structure for each rounding mode.
53609         (struct test_ff_f_data): Likewise.
53610         (struct test_ff_f_data_nexttoward): Likewise.
53611         (struct test_fi_f_data): Likewise.
53612         (struct test_fl_f_data): Likewise.
53613         (struct test_if_f_data): Likewise.
53614         (struct test_fff_f_data): Likewise.
53615         (struct test_c_f_data): Likewise.
53616         (struct test_f_f1_data): Likewise.
53617         (struct test_fF_f1_data): Likewise.
53618         (struct test_ffI_f1_data): Likewise.
53619         (struct test_c_c_data): Likewise.
53620         (struct test_cc_c_data): Likewise.
53621         (struct test_f_i_data): Likewise.
53622         (struct test_ff_i_data): Likewise.
53623         (struct test_f_l_data): Likewise.
53624         (struct test_f_L_data): Likewise.
53625         (struct test_fFF_11_data): Likewise.
53626         (RM_): New macro.
53627         (RM_FE_DOWNWARD): Likewise.
53628         (RM_FE_TONEAREST): Likewise.
53629         (RM_FE_TOWARDZERO): Likewise.
53630         (RM_FE_UPWARD): Likewise.
53631         (RUN_TEST_LOOP_f_f): Update references to expected results.
53632         (RUN_TEST_LOOP_2_f): Likewise.
53633         (RUN_TEST_LOOP_fff_f): Likewise.
53634         (RUN_TEST_LOOP_c_f): Likewise.
53635         (RUN_TEST_LOOP_f_f1): Likewise.
53636         (RUN_TEST_LOOP_fF_f1): Likewise.
53637         (RUN_TEST_LOOP_fI_f1): Likewise.
53638         (RUN_TEST_LOOP_ffI_f1): Likewise.
53639         (RUN_TEST_LOOP_c_c): Likewise.
53640         (RUN_TEST_LOOP_cc_c): Likewise.
53641         (RUN_TEST_LOOP_f_i): Likewise.
53642         (RUN_TEST_LOOP_f_i_tg): Likewise.
53643         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53644         (RUN_TEST_LOOP_f_b): Likewise.
53645         (RUN_TEST_LOOP_f_b_tg): Likewise.
53646         (RUN_TEST_LOOP_f_l): Likewise.
53647         (RUN_TEST_LOOP_f_L): Likewise.
53648         (RUN_TEST_LOOP_fFF_11): Likewise.
53649         * math/gen-libm-test.pl (parse_args): Output four copies of
53650         expected results for each test.
53652         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53653         (__ASSUME_UTIMES): Remove.
53654         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53655         (__ASSUME_UTIMES): Likewise.
53657         * math/gen-auto-libm-tests.c: Update comment on output format.
53658         (output_for_one_input_case): Generate before-rounding and
53659         after-rounding information as conditions on output flags not
53660         floating-point format.
53661         * math/auto-libm-test-out: Regenerated.
53662         * math/gen-libm-test.pl (cond_value): New function.
53663         (or_cond_value): Use cond_value.
53664         (generate_testfile): Handle conditional exceptions.
53666 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
53668         * math/libm-test.inc (max_valid_error): New variable.
53669         (init_max_error): Take new argument specifying whether function
53670         results are exactly determined.  Set max_valid_error and bound
53671         other variables for errors based on this argument.
53672         (set_max_error): Do not record results above max_valid_error.
53673         (check_float_internal): Only accept errors of up to 0.5ulps if
53674         also at most max_valid_error.
53675         (START): Take new argument EXACT and pass it to init_max_error.
53676         (acos_test): Update call to START.
53677         (acos_test_tonearest): Likewise.
53678         (acos_test_towardzero): Likewise.
53679         (acos_test_downward): Likewise.
53680         (acos_test_upward): Likewise.
53681         (acosh_test): Likewise.
53682         (asin_test): Likewise.
53683         (asin_test_tonearest): Likewise.
53684         (asin_test_towardzero): Likewise.
53685         (asin_test_downward): Likewise.
53686         (asin_test_upward): Likewise.
53687         (asinh_test): Likewise.
53688         (atan_test): Likewise.
53689         (atanh_test): Likewise.
53690         (atan2_test): Likewise.
53691         (cabs_test): Likewise.
53692         (cacos_test): Likewise.
53693         (cacosh_test): Likewise.
53694         (carg_test): Likewise.
53695         (casin_test): Likewise.
53696         (casinh_test): Likewise.
53697         (catan_test): Likewise.
53698         (catanh_test): Likewise.
53699         (cbrt_test): Likewise.
53700         (ccos_test): Likewise.
53701         (ccosh_test): Likewise.
53702         (ceil_test): Likewise.
53703         (cexp_test): Likewise.
53704         (cimag_test): Likewise.
53705         (clog_test): Likewise.
53706         (clog10_test): Likewise.
53707         (conj_test): Likewise.
53708         (copysign_test): Likewise.
53709         (cos_test): Likewise.
53710         (cos_test_tonearest): Likewise.
53711         (cos_test_towardzero): Likewise.
53712         (cos_test_downward): Likewise.
53713         (cos_test_upward): Likewise.
53714         (cosh_test): Likewise.
53715         (cosh_test_tonearest): Likewise.
53716         (cosh_test_towardzero): Likewise.
53717         (cosh_test_downward): Likewise.
53718         (cosh_test_upward): Likewise.
53719         (cpow_test): Likewise.
53720         (cproj_test): Likewise.
53721         (creal_test): Likewise.
53722         (csin_test): Likewise.
53723         (csinh_test): Likewise.
53724         (csqrt_test): Likewise.
53725         (ctan_test): Likewise.
53726         (ctan_test_tonearest): Likewise.
53727         (ctan_test_towardzero): Likewise.
53728         (ctan_test_downward): Likewise.
53729         (ctan_test_upward): Likewise.
53730         (ctanh_test): Likewise.
53731         (ctanh_test_tonearest): Likewise.
53732         (ctanh_test_towardzero): Likewise.
53733         (ctanh_test_downward): Likewise.
53734         (ctanh_test_upward): Likewise.
53735         (erf_test): Likewise.
53736         (erfc_test): Likewise.
53737         (exp_test): Likewise.
53738         (exp_test_tonearest): Likewise.
53739         (exp_test_towardzero): Likewise.
53740         (exp_test_downward): Likewise.
53741         (exp_test_upward): Likewise.
53742         (exp10_test): Likewise.
53743         (exp10_test_tonearest): Likewise.
53744         (exp10_test_towardzero): Likewise.
53745         (exp10_test_downward): Likewise.
53746         (exp10_test_upward): Likewise.
53747         (pow10_test): Likewise.
53748         (exp2_test): Likewise.
53749         (expm1_test): Likewise.
53750         (expm1_test_tonearest): Likewise.
53751         (expm1_test_towardzero): Likewise.
53752         (expm1_test_downward): Likewise.
53753         (expm1_test_upward): Likewise.
53754         (fabs_test): Likewise.
53755         (fdim_test): Likewise.
53756         (floor_test): Likewise.
53757         (fma_test): Likewise.
53758         (fma_test_towardzero): Likewise.
53759         (fma_test_downward): Likewise.
53760         (fma_test_upward): Likewise.
53761         (fmax_test): Likewise.
53762         (fmin_test): Likewise.
53763         (fmod_test): Likewise.
53764         (fpclassify_test): Likewise.
53765         (frexp_test): Likewise.
53766         (hypot_test): Likewise.
53767         (ilogb_test): Likewise.
53768         (isfinite_test): Likewise.
53769         (finite_test): Likewise.
53770         (isgreater_test): Likewise.
53771         (isgreaterequal_test): Likewise.
53772         (isinf_test): Likewise.
53773         (isless_test): Likewise.
53774         (islessequal_test): Likewise.
53775         (islessgreater_test): Likewise.
53776         (isnan_test): Likewise.
53777         (isnormal_test): Likewise.
53778         (issignaling_test): Likewise.
53779         (isunordered_test): Likewise.
53780         (j0_test): Likewise.
53781         (j1_test): Likewise.
53782         (jn_test): Likewise.
53783         (ldexp_test): Likewise.
53784         (lgamma_test): Likewise.
53785         (gamma_test): Likewise.
53786         (lrint_test): Likewise.
53787         (lrint_test_tonearest): Likewise.
53788         (lrint_test_towardzero): Likewise.
53789         (lrint_test_downward): Likewise.
53790         (lrint_test_upward): Likewise.
53791         (llrint_test): Likewise.
53792         (llrint_test_tonearest): Likewise.
53793         (llrint_test_towardzero): Likewise.
53794         (llrint_test_downward): Likewise.
53795         (llrint_test_upward): Likewise.
53796         (log_test): Likewise.
53797         (log10_test): Likewise.
53798         (log1p_test): Likewise.
53799         (log2_test): Likewise.
53800         (logb_test): Likewise.
53801         (logb_test_downward): Likewise.
53802         (lround_test): Likewise.
53803         (llround_test): Likewise.
53804         (modf_test): Likewise.
53805         (nearbyint_test): Likewise.
53806         (nextafter_test): Likewise.
53807         (nexttoward_test): Likewise.
53808         (pow_test): Likewise.
53809         (pow_test_tonearest): Likewise.
53810         (pow_test_towardzero): Likewise.
53811         (pow_test_downward): Likewise.
53812         (pow_test_upward): Likewise.
53813         (remainder_test): Likewise.
53814         (drem_test): Likewise.
53815         (remainder_test_tonearest): Likewise.
53816         (drem_test_tonearest): Likewise.
53817         (remainder_test_towardzero): Likewise.
53818         (drem_test_towardzero): Likewise.
53819         (remainder_test_downward): Likewise.
53820         (drem_test_downward): Likewise.
53821         (remainder_test_upward): Likewise.
53822         (drem_test_upward): Likewise.
53823         (remquo_test): Likewise.
53824         (rint_test): Likewise.
53825         (rint_test_tonearest): Likewise.
53826         (rint_test_towardzero): Likewise.
53827         (rint_test_downward): Likewise.
53828         (rint_test_upward): Likewise.
53829         (round_test): Likewise.
53830         (scalb_test): Likewise.
53831         (scalbn_test): Likewise.
53832         (scalbln_test): Likewise.
53833         (signbit_test): Likewise.
53834         (sin_test): Likewise.
53835         (sin_test_tonearest): Likewise.
53836         (sin_test_towardzero): Likewise.
53837         (sin_test_downward): Likewise.
53838         (sin_test_upward): Likewise.
53839         (sincos_test): Likewise.
53840         (sinh_test): Likewise.
53841         (sinh_test_tonearest): Likewise.
53842         (sinh_test_towardzero): Likewise.
53843         (sinh_test_downward): Likewise.
53844         (sinh_test_upward): Likewise.
53845         (sqrt_test): Likewise.
53846         (sqrt_test_tonearest): Likewise.
53847         (sqrt_test_towardzero): Likewise.
53848         (sqrt_test_downward): Likewise.
53849         (sqrt_test_upward): Likewise.
53850         (tan_test): Likewise.
53851         (tan_test_tonearest): Likewise.
53852         (tan_test_towardzero): Likewise.
53853         (tan_test_downward): Likewise.
53854         (tan_test_upward): Likewise.
53855         (tanh_test): Likewise.
53856         (tgamma_test): Likewise.
53857         (trunc_test): Likewise.
53858         (y0_test): Likewise.
53859         (y1_test): Likewise.
53860         (yn_test): Likewise.
53861         (significand_test): Likewise.
53863         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
53864         individual tests in comment.
53865         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
53866         (prev_max_error): New variable.
53867         (prev_real_max_error): Likewise.
53868         (prev_imag_max_error): Likewise.
53869         (compare_ulp_data): Don't refer to test names in comment.
53870         (find_test_ulps): Remove function.
53871         (find_function_ulps): Likewise.
53872         (find_complex_function_ulps): Likewise.
53873         (init_max_error): Take function name as argument.  Look up ulps
53874         for that function.
53875         (print_ulps): Remove function.
53876         (print_max_error): Use prev_max_error instead of calling
53877         find_function_ulps.
53878         (print_complex_max_error): Use prev_real_max_error and
53879         prev_imag_max_error instead of calling find_complex_function_ulps.
53880         (check_float_internal): Take max_ulp parameter instead of calling
53881         find_test_ulps.  Don't call print_ulps.
53882         (check_float): Update call to check_float_internal.
53883         (check_complex): Update calls to check_float_internal.
53884         (START): Pass argument to init_max_error.
53885         * math/gen-libm-test.pl (%results): Don't include "kind"
53886         information.
53887         (parse_ulps): Don't handle ulps of individual tests.
53888         (print_ulps_file): Likewise.
53889         (output_ulps): Likewise.
53890         * math/README.libm-test: Update.
53891         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
53892         individual tests.
53893         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
53894         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
53895         * sysdeps/arm/libm-test-ulps: Likewise.
53896         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
53897         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
53898         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
53899         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
53900         * sysdeps/microblaze/libm-test-ulps: Likewise.
53901         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
53902         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
53903         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53904         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
53905         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53906         * sysdeps/sh/libm-test-ulps: Likewise.
53907         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53908         * sysdeps/tile/libm-test-ulps: Likewise.
53909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53911 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
53913         * math/libm-test.inc (print_complex_max_error): Check separately
53914         whether real and imaginary errors are within allowed range and
53915         pass 0 to print_complex_function_ulps instead of value within
53916         allowed range.
53918 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53920         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
53921         formatting.
53922         (get_handles_fopen): Likewise.
53923         (do_write_test): Likewise.
53925         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
53927         * libio/fileops.c (do_ftell): Use cached offset when
53928         available.
53929         * libio/iofwide.c (do_ftell_wide): Likewise.
53930         * libio/iofdopen.c (_IO_new_fdopen): Don't use
53931         _IO_file_attach.
53932         * libio/wfileops.c (_IO_fwide): Don't cache offset.
53934         [BZ #16532]
53935         * libio/libioP.h (get_file_offset): New function.
53936         * libio/fileops.c (get_file_offset): Likewise.
53937         (do_ftell): Likewise.
53938         (_IO_new_file_seekoff): Split out ftell logic.
53939         * libio/wfileops.c (do_ftell_wide): Likewise.
53940         (_IO_wfile_seekoff): Split out ftell logic.
53941         * libio/tst-ftell-active-handler.c: New test case.
53942         * libio/Makefile (tests): Add it.
53944 2014-03-03  Roland McGrath  <roland@hack.frob.com>
53946         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
53947         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
53949 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53951         [BZ #16639]
53952         * nscd/connections.c (nscd_init): Call do_exit.
53953         (start_threads): Call do_exit and notify_parent.
53954         (begin_drop_privileges): Call do_exit.
53955         (finish_drop_privileges): Likewise.
53956         * nscd/selinux.c (preserve_capabilities): Likewise.
53957         (install_real_capabilities): Likewise.
53958         (nscd_selinux_enabled): Likewise.
53959         (avc_create_thread): Likewise.
53960         (avc_alloc_lock): Likewise.
53961         (nscd_avc_init): Likewise.
53962         * nscd/nscd.c (parent_fd): New static variable.
53963         (main): Create a pipe between parent and child processes.
53964         Skip closing parent_fd.
53965         (monitor_child): New function.
53966         (do_exit): Likewise.
53967         (notify_parent): Likewise.
53968         * nscd/nscd.h (notify_parent): Likewise.
53969         (do_exit): Likewise.
53971 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
53973         * malloc/malloc.c (__libc_calloc): Revert last change.
53975 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53979 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
53981         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
53982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
53983         implementation.
53984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53985         (__libc_ifunc_impl_list): Likewise.
53986         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
53987         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
53988         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
53989         * string/strrchr.c: Define STRRCHR.
53991 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
53993         * benchtest/bench-strtok.c (simple_strtok): Delete.
53994         (strtok_string): Use as benchmark.
53995         * string/strtok (STRTOK): New macro.
53997 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
53999         * manual/threads.texi: Add header and standard comments to all
54000         functions.
54002         * elf/dl-lookup.c (check_match): New function.
54003         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
54004         (do_lookup_x): Remove nested function check_match. Use non-nested
54005         function check_match.
54007 2014-02-28  Roland McGrath  <roland@hack.frob.com>
54009         * csu/Makefile (generated, before-compile): Use += rather than =.
54010         * catgets/Makefile (generated, generated-dirs): Likewise.
54011         * debug/Makefile (generated): Likewise.
54012         * dlfcn/Makefile (generated): Likewise.
54013         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
54014         * iconvdata/Makefile (before-compile, generated): Likewise.
54015         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
54016         * libio/Makefile (generated): Likewise.
54017         * malloc/Makefile (generated): Likewise.
54018         * manual/Makefile (generated, generated-dirs): Likewise.
54019         * misc/Makefile (generated): Likewise.
54020         * posix/Makefile (generated): Likewise.
54021         * resolv/Makefile (generated): Likewise.
54022         * sunrpc/Makefile (generated, generated-dirs): Likewise.
54023         * timezone/Makefile (generated, generated-dirs): Likewise.
54025         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
54027 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54029         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
54030         power8 implementation.
54031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
54032         file: POWER8 llround ifunc implementation.
54033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
54034         (__lllround): Add POWER8 implementation.
54035         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
54036         POWER8 llround implementation.
54038         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
54039         power8 implementation.
54040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
54041         file: POWER8 llrint ifunc implementation.
54042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
54043         Add POWER8 implementation.
54044         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
54045         POWER8 llrint implementation.
54047         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
54048         power8 implementation.
54049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
54050         file: POWER8 finite ifunc implementation.
54051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
54052         Add POWER8 implementation.
54053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
54054         Likewise.
54055         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
54056         POWER8 finite implementation.
54057         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
54059         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
54060         power8 implementation.
54061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
54062         file: POWER8 isinf ifunc implementation.
54063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
54064         POWER8 implementation.
54065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
54066         Likewise.
54067         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
54068         isinf implementation.
54069         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
54071         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
54072         (INIT_ARCH): Add hwcap2 initialization.
54073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54074         power8 implementation.
54075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
54076         file: POWER8 isnan ifunc implementation.
54077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
54078         POWER8 implementation.
54079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
54080         Likewise.
54081         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
54082         isnan implementation.
54083         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
54085 2014-02-27  Joey Ye  <joey.ye@arm.com>
54087         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
54088         (_FP_NANFRAC_Q): Set to zero.
54090 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54092         [BZ #16623]
54093         * math/auto-libm-test-in: New test inputs.
54094         * math/auto-libm-test-out: Regenerate.
54095         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
54096         and DA.
54097         (__cos): Likewise.
54098         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54100 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
54102         * scripts/evaluate-test.sh: Take new argument indicating whether
54103         failure is expected.
54104         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
54105         indicating whether failure is expected.
54106         * conform/Makefile (test-xfail-run-conformtest): New variable.
54107         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
54108         level.
54109         * posix/Makefile (test-xfail-annexc): New variable.
54110         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
54112 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
54114         * argp/Makefile: Include Makeconfig immediately after defining
54115         subdir.
54116         * assert/Makefile: Likewise.
54117         * benchtests/Makefile: Likewise.
54118         * catgets/Makefile: Likewise.
54119         * conform/Makefile: Likewise.
54120         * crypt/Makefile: Likewise.
54121         * csu/Makefile: Likewise.
54122         (all): Remove target.
54123         * ctype/Makefile: Include Makeconfig immediately after defining
54124         subdir.
54125         * debug/Makefile: Likewise.
54126         * dirent/Makefile: Likewise.
54127         * dlfcn/Makefile: Likewise.
54128         * gmon/Makefile: Likewise.
54129         * gnulib/Makefile: Likewise.
54130         * grp/Makefile: Likewise.
54131         * gshadow/Makefile: Likewise.
54132         * hesiod/Makefile: Likewise.
54133         * hurd/Makefile: Likewise.
54134         (all): Remove target.
54135         * iconvdata/Makefile: Include Makeconfig immediately after
54136         defining subdir.
54137         * inet/Makefile: Likewise.
54138         * intl/Makefile: Likewise.
54139         * io/Makefile: Likewise.
54140         * libio/Makefile: Likewise.
54141         (all): Remove target.
54142         * locale/Makefile: Include Makeconfig immediately after defining
54143         subdir.
54144         * login/Makefile: Likewise.
54145         * mach/Makefile: Likewise.
54146         (all): Remove target.
54147         * malloc/Makefile: Include Makeconfig immediately after defining
54148         subdir.
54149         (all): Remove target.
54150         * manual/Makefile: Include Makeconfig immediately after defining
54151         subdir.
54152         * math/Makefile: Likewise.
54153         * misc/Makefile: Likewise.
54154         * nis/Makefile: Likewise.
54155         * nss/Makefile: Likewise.
54156         * po/Makefile: Likewise.
54157         (all): Remove target.
54158         * posix/Makefile: Include Makeconfig immediately after defining
54159         subdir.
54160         * pwd/Makefile: Likewise.
54161         * resolv/Makefile: Likewise.
54162         * resource/Makefile: Likewise.
54163         * rt/Makefile: Likewise.
54164         * setjmp/Makefile: Likewise.
54165         * shadow/Makefile: Likewise.
54166         * signal/Makefile: Likewise.
54167         * socket/Makefile: Likewise.
54168         * soft-fp/Makefile: Likewise.
54169         * stdio-common/Makefile: Likewise.
54170         * stdlib/Makefile: Likewise.
54171         * streams/Makefile: Likewise.
54172         * string/Makefile: Likewise.
54173         * sunrpc/Makefile: Likewise.
54174         (all): Remove target.
54175         * sysvipc/Makefile: Include Makeconfig immediately after defining
54176         subdir.
54177         * termios/Makefile: Likewise.
54178         * time/Makefile: Likewise.
54179         * timezone/Makefile: Likewise.
54180         (all): Remove target.
54181         * wcsmbs/Makefile: Include Makeconfig immediately after defining
54182         subdir.
54183         * wctype/Makefile: Likewise.
54185 2014-02-26  Steve Ellcey  <sellcey@mips.com>
54187         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
54188         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
54189         (libc_feholdexcept_setround_mips): Ditto.
54190         (libc_feholdsetround): New.
54191         (libc_feholdsetroundf): New.
54192         (libc_feholdsetroundl): New.
54193         (libc_feupdateenv_test_mips): New.
54194         (libc_feupdateenv_test): New.
54195         (libc_feupdateenv_testf): New.
54196         (libc_feupdateenv_testl): New.
54197         (libc_feresetround): New.
54198         (libc_feresetroundf): New.
54199         (libc_feresetroundl): New.
54200         (libc_fetestexcept_mips): New.
54201         (libc_fetestexcept): New.
54202         (libc_fetestexceptf): New.
54203         (libc_fetestexceptl): New.
54204         (HAVE_RM_CTX): New.
54205         (libc_feholdexcept_setround_mips_ctx): New.
54206         (libc_feholdexcept_setround_ctx): New.
54207         (libc_feholdexcept_setroundf_ctx): New.
54208         (libc_feholdexcept_setroundl_ctx): New.
54209         (libc_fesetenv_mips_ctx): New.
54210         (libc_fesetenv_ctx): New.
54211         (libc_fesetenv_ctxf): New.
54212         (libc_fesetenv_ctxl): New.
54213         (libc_feupdateenv_mips_ctx): New.
54214         (libc_feupdateenv_ctx): New.
54215         (libc_feupdateenvf_ctx): New.
54216         (libc_feupdateenvl_ctx): New.
54217         (libc_feholdsetround_mips_ctx): New.
54218         (libc_feholdsetround_ctx): New.
54219         (libc_feholdsetroundf_ctx): New.
54220         (libc_feholdsetroundl_ctx): New.
54221         (libc_feresetround_mips_ctx): New.
54222         (libc_feresetround_ctx): New.
54223         (libc_feresetroundf_ctx): New.
54224         (libc_feresetroundl_ctx): New.
54226 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
54228         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
54230         * manual/ipc.texi: New file.
54231         * manual/Makefile (chapters): Add ipc.
54232         * manual/job.texi: Add "Inter-Process Communication" to next.
54233         * manual/process.texi: Add "Inter-Process Communication" to prev.
54235 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54239 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
54241         * malloc/malloc.c (__libc_calloc): Simplify implementation.
54243         * manual/arith.texi: Fix spaces after sentences.
54244         * manual/charset.texi: Likewise.
54245         * manual/errno.texi: Likewise.
54246         * manual/install.texi: Likewise.
54247         * manual/llio.texi: Likewise.
54248         * manual/locale.texi: Likewise.
54249         * manual/maint.texi: Likewise.
54250         * manual/math.texi: Likewise.
54251         * manual/memory.texi: Likewise.
54252         * manual/message.texi: Likewise.
54253         * manual/probes.texi: Likewise.
54254         * manual/resource.texi: Likewise.
54255         * manual/signal.texi: Likewise.
54256         * manual/socket.texi: Likewise.
54257         * manual/stdio.texi: Likewise.
54258         * manual/string.texi: Likewise.
54259         * manual/time.texi: Likewise.
54260         * manual/users.texi: Likewise.
54262 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
54264         [BZ #16632]
54265         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
54266         _DEFAULT_SOURCE is defined.
54268 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
54269             Carlos O'Donell  <carlos@redhat.com>
54271         [BZ #16613]
54272         * elf/dl-tls.c (_dl_count_modids): New function.
54273         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
54274         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
54275         audit library and increment generation counter.
54276         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
54277         * elf/tst-audit9.c: New file.
54278         * elf/tst-auditmod9a.c: New file.
54279         * elf/tst-auditmod9b.c: New file.
54280         * elf/Makefile: Add rules to build and run tst-audit9.
54282 2014-02-25  Florian Weimer  <fweimer@redhat.com>
54284         [BZ #15347]
54285         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
54287 2014-02-25  Will Newton  <will.newton@linaro.org>
54289         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
54290         (__longjmp): Restore sp and lr before restoring callee
54291         saved registers.  Add longjmp and longjmp_target
54292         SystemTap probe point.
54293         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
54294         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
54295         Define to zero to match jmpbuf layout.
54296         * sysdeps/arm/setjmp.S: Include stap-probe.h.
54297         (__sigsetjmp): Save sp and lr before saving callee
54298         saved registers.  Add setjmp SystemTap probe point.
54300 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
54302         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54304 2014-02-24  Andreas Schwab  <schwab@suse.de>
54306         [BZ #15804]
54307         * elf/pldd.c (wait_for_ptrace_stop): New function.
54308         (main): Call it after attaching.
54310 2014-02-22  Roland McGrath  <roland@hack.frob.com>
54312         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
54313         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
54314         Versions files is now verboten.
54315         * hurd/Versions (libc: GLIBC_2.0):
54316         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
54317         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
54318         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
54319         * mach/Versions: Likewise.
54321         * csu/Versions: Remove unused %include.
54322         * resolv/Versions: Likewise.
54324 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
54326         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
54327         ($(objpfx)check-local-headers.out): Likewise.
54328         ($(objpfx)begin-end-check.out): Likewise.
54329         * Makerules (check-abi-%.out): Likewise.
54330         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
54331         ($(objpfx)test2.cat): Likewise.
54332         ($(objpfx)de/libc.cat): Likewise.
54333         ($(objpfx)test-gencat.out): Likewise.
54334         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
54335         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
54336         ($(objpfx)noload-mem): Likewise.
54337         ($(objpfx)tst-pathopt.out): Likewise.
54338         ($(objpfx)tst-rtld-load-self.out): Likewise.
54339         ($(objpfx)tst-array1-cmp.out): Likewise.
54340         ($(objpfx)tst-array1-static-cmp.out): Likewise.
54341         ($(objpfx)tst-array2-cmp.out): Likewise.
54342         ($(objpfx)tst-array3-cmp.out): Likewise.
54343         ($(objpfx)tst-array4-cmp.out): Likewise.
54344         ($(objpfx)tst-array5-cmp.out): Likewise.
54345         ($(objpfx)tst-array5-static-cmp.out): Likewise.
54346         ($(objpfx)check-textrel.out): Likewise.
54347         ($(objpfx)check-execstack.out): Likewise.
54348         ($(objpfx)check-localplt.out): Likewise.
54349         ($(objpfx)order2-cmp.out): Likewise.
54350         ($(objpfx)tst-leaks1-mem): Likewise.
54351         ($(objpfx)tst-leaks1-static-mem): Likewise.
54352         ($(objpfx)tst-initorder-cmp.out): Likewise.
54353         ($(objpfx)tst-initorder2-cmp.out): Likewise.
54354         ($(objpfx)tst-unused-dep.out): Likewise.
54355         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
54356         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
54357         * iconv/Makefile (test-iconvconfig): Likewise.
54358         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
54359         ($(objpfx)iconv-test.out): Likewise.
54360         ($(objpfx)tst-tables.out): Likewise.
54361         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
54362         ($(objpfx)tst-gettext.out): Likewise.
54363         ($(objpfx)tst-translit.out): Likewise.
54364         ($(objpfx)tst-gettext2.out): Likewise.
54365         ($(objpfx)tst-gettext4.out): Likewise.
54366         ($(objpfx)tst-gettext6.out): Likewise.
54367         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
54368         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
54369         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
54370         ($(objpfx)tst-fopenloc-mem.out): Likewise.
54371         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
54372         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
54373         * posix/Makefile ($(objpfx)globtest.out): Likewise.
54374         ($(objpfx)wordexp-tst.out): Likewise.
54375         ($(objpfx)annexc.out): Likewise.
54376         ($(objpfx)tst-fnmatch-mem): Likewise.
54377         ($(objpfx)bug-regex2-mem): Likewise.
54378         ($(objpfx)bug-regex14-mem): Likewise.
54379         ($(objpfx)bug-regex21-mem): Likewise.
54380         ($(objpfx)bug-regex31-mem): Likewise.
54381         ($(objpfx)tst-vfork3-mem): Likewise.
54382         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54383         ($(objpfx)tst-pcre-mem): Likewise.
54384         ($(objpfx)tst-boost-mem): Likewise.
54385         ($(objpfx)tst-getconf.out): Likewise.
54386         ($(objpfx)bug-ga2-mem): Likewise.
54387         ($(objpfx)bug-glob2-mem): Likewise.
54388         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
54389         ($(objpfx)mtrace-tst-leaks2): Likewise.
54390         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
54391         ($(objpfx)tst-printf.out): Likewise.
54392         ($(objpfx)tst-setvbuf1.out): Likewise.
54393         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
54394         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
54395         ($(objpfx)tst-fmtmsg.out): Likewise.
54396         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
54397         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
54399         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
54400         * bits/sigaction.h [__USE_MISC]: Likewise.
54401         * bits/waitstatus.h: Update #endif comments.
54402         * ctype/ctype.h: Likewise.
54403         * dirent/dirent.h: Likewise.
54404         [__USE_MISC]: Remove redundant conditionals.
54405         * grp/grp.h: Update #endif comments.
54406         [__USE_GNU]: Remove redundant conditionals.
54407         [__USE_MISC]: Likewise.
54408         * inet/netinet/in.h [__USE_GNU]: Likewise.
54409         * io/sys/stat.h [__USE_MISC]: Likewise.
54410         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
54411         * libio/bits/stdio.h: Update #endif comments.
54412         [__USE_MISC]: Remove redundant conditionals.
54413         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
54414         * libio/stdio.h: Update #endif comments.
54415         [__USE_MISC]: Remove redundant conditionals.
54416         * math/bits/math-finite.h [__USE_MISC]: Likewise.
54417         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
54418         * math/math.h: Update #else and #endif comments.
54419         [__USE_MISC]: Remove redundant conditionals.
54420         * misc/sys/uio.h: Update #endif comments.
54421         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
54422         * posix/glob.h [__USE_MISC]: Likewise.
54423         * posix/sys/types.h: Update #endif comments.
54424         [__USE_MISC]: Remove redundant conditionals.
54425         * posix/sys/wait.h: Update #endif comments.
54426         [__USE_MISC]: Remove redundant conditionals.
54427         * posix/unistd.h: Update #endif comments.
54428         [__USE_MISC]: Remove redundant conditionals.
54429         * pwd/pwd.h [__USE_GNU]: Likewise.
54430         [__USE_MISC]: Likewise.
54431         * resolv/netdb.h [__USE_GNU]: Likewise.
54432         * signal/signal.h: Update #endif comments.
54433         [__USE_MISC]: Remove redundant conditionals.
54434         * stdlib/stdlib.h: Update #else and #endif comments.
54435         [__USE_MISC]: Remove redundant conditionals.
54436         [__USE_GNU]: Likewise.
54437         * string/bits/string2.h [__USE_MISC]: Likewise.
54438         * string/string.h: Update #endif comments.
54439         [__USE_MISC]: Remove redundant conditionals.
54440         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
54441         Likewise.
54442         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
54443         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
54444         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
54445         Likewise.
54446         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
54447         Likewise.
54448         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
54449         comments.
54450         [__USE_MISC]: Remove redundant conditionals.
54451         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
54452         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
54453         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
54454         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
54455         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
54456         Likewise.
54457         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
54458         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
54459         Likewise.
54460         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
54461         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
54462         Likewise.
54463         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
54464         Likewise.
54465         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
54466         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
54467         Likewise.
54468         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
54469         Likewise.
54470         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
54471         * sysdeps/x86/bits/string.h: Update #endif comments.
54472         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
54473         conditionals.
54474         * time/sys/time.h: Update #endif comments.
54475         * time/time.h: Likewise.
54476         [__USE_MISC]: Remove redundant conditionals.
54478 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
54480         [BZ #16600]
54481         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
54483 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
54485         * Versions.def (librt): Add GLIBC_2.17.
54487 2014-02-21  Adam Conrad  <adconrad@0c3.net>
54489         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
54490         synonym for _SYS_AUXV_H to allow direct inclusion.
54491         * sysdeps/sparc/bits/hwcap.h: Likewise.
54492         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
54493         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
54494         * sysdeps/sparc/sysdep.h: Likewise.
54496 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54498         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
54500 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54502         * benchtests/bench-strrchr.c: Print length instead of position.
54504 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
54506         [BZ #16611]
54507         * sysdeps/unix/sysv/linux/kernel-features.h
54508         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
54509         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
54510         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
54511         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
54512         Likewise.
54513         [__i386__ || __powerpc__ || __sh__ || __sparc__]
54514         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54515         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
54516         (__ASSUME_SENDMMSG): Define instead of using previous
54517         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
54518         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54519         (__ASSUME_SENDMMSG_SYSCALL): Define.
54520         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54521         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
54522         Likewise.
54523         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54524         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54525         Likewise.
54526         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54527         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54528         Likewise.
54529         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
54530         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54531         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54532         [__ASSUME_SENDMMSG]: Change conditionals to
54533         [__ASSUME_SENDMMSG_SOCKETCALL].
54534         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54535         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
54536         Define.
54537         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54538         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
54539         Likewise.
54540         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
54541         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54542         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54543         [!__ASSUME_SENDMMSG]: Change conditional to
54544         [!__ASSUME_SENDMMSG_SOCKETCALL].
54545         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54546         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54547         Define.
54549         [BZ #16610]
54550         * sysdeps/unix/sysv/linux/kernel-features.h
54551         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
54552         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
54553         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
54554         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
54555         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
54556         [__i386__ || __sparc__]
54557         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54558         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
54559         (__ASSUME_RECVMMSG): Define instead of using previous
54560         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
54561         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54562         (__ASSUME_RECVMMSG_SYSCALL): Define.
54563         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54564         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54565         Likewise.
54566         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54567         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54568         Likewise.
54569         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54570         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54571         Likewise.
54572         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
54573         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54574         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54575         [__ASSUME_RECVMMSG]: Change condition to
54576         [__ASSUME_RECVMMSG_SOCKETCALL].
54577         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54578         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54579         Define.
54580         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54581         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54582         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54583         Likewise.
54584         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
54585         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54586         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54587         [!__ASSUME_RECVMMSG]: Change condition to
54588         [!__ASSUME_RECVMMSG_SOCKETCALL].
54589         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54590         (__ASSUME_RECVMMSG_SYSCALL): Define.
54592         [BZ #16609]
54593         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
54594         __powerpc__ || __s390__ || __sh__ || __sparc__]
54595         (__ASSUME_SOCKETCALL): Define.
54596         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
54597         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
54598         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
54599         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
54600         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
54601         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
54602         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
54603         (__ASSUME_ACCEPT4): Define instead of using previous
54604         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
54605         __powerpc__ || __sparc__ || __s390__)] condition.
54606         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54607         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
54608         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
54609         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54610         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
54611         [!__ASSUME_ACCEPT4]: Change condition to
54612         [!__ASSUME_ACCEPT4_SOCKETCALL].
54613         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54614         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
54615         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
54616         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54617         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
54618         __ASSUME_ACCEPT4_SYSCALL.
54619         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
54620         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
54621         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54622         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
54623         __ASSUME_ACCEPT4_SYSCALL.
54624         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
54625         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54626         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
54627         [__ASSUME_ACCEPT4]: Change condition to
54628         [__ASSUME_ACCEPT4_SOCKETCALL].
54629         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
54630         (__ASSUME_SOCKETCALL): Define.
54631         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
54632         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54633         (__ASSUME_SOCKETCALL): Define.
54634         (__ASSUME_ACCEPT4): Remove.
54635         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
54636         Define.
54637         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54638         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
54639         Likewise.
54640         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54641         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
54643         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
54644         macro.
54645         (HWCAP_ARM_LPAE): Likewise.
54646         (HWCAP_ARM_EVTSTRM): Likewise.
54647         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
54648         Add vpfd32, lpae and evtstrm.
54649         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
54650         Increase to 22.
54652 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
54654         * math/auto-libm-test-in: Add tests of clog10.
54655         * math/auto-libm-test-out: Regenerated.
54656         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
54657         * sysdeps/i386/fpu/libm-test-ulps: Update.
54658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54660 2014-02-18  Andreas Schwab  <schwab@suse.de>
54662         [BZ #16574]
54663         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
54664         Store non-zero if the second buffer was newly allocated.
54665         (send_dg): Likewise.
54666         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
54667         to send_vc and send_dg.
54668         (res_nsend): Pass NULL for ansp2_malloced.
54669         * resolv/res_query.c (__libc_res_nquery): Add parameter
54670         answerp2_malloced and pass it down to __libc_res_nsend.
54671         (res_nquery): Pass additional NULL to __libc_res_nquery.
54672         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
54673         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
54674         second answer buffer if answerp2_malloced was set.
54675         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
54676         (__libc_res_nquerydomain): Add parameter
54677         answerp2_malloced and pass it down to __libc_res_nquery.
54678         (res_nquerydomain): Pass additional NULL to
54679         __libc_res_nquerydomain.
54680         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
54681         additional NULL to __libc_res_nsend and __libc_res_nquery.
54682         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
54683         additional NULL to __libc_res_nsearch.
54684         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
54685         parameter of __libc_res_nsearch to check for separately allocated
54686         second buffer.
54687         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
54688         __libc_res_nquery.
54689         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
54690         additional NULL to __libc_res_nquery.
54691         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
54692         __libc_res_nsearch.
54693         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
54694         * include/resolv.h: Update prototypes of __libc_res_nquery,
54695         __libc_res_nsearch, __libc_res_nsend.
54697 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
54699         * math/auto-libm-test-in: Add tests of fma.
54700         * math/auto-libm-test-out: Regenerated.
54701         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
54702         (fma_towardzero_test_data): Likewise.
54703         (fma_downward_test_data): Likewise.
54704         (fma_upward_test_data): Likewise.
54705         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
54706         mpc_mode.
54707         (rounding_modes): Add values for new field.
54708         (func_calc_method): Add value mpfr_fff_f.
54709         (func_calc_desc): Add mpfr_fff_f union field.
54710         (test_function): Add field exact_args.
54711         (FUNC): Add macro argument EXACT_ARGS.
54712         (FUNC_mpfr_f_f): Update call to FUNC.
54713         (FUNC_mpfr_f_f): Likewise.
54714         (FUNC_mpfr_ff_f): Likewise.
54715         (FUNC_mpfr_if_f): Likewise.
54716         (FUNC_mpc_c_f): Likewise.
54717         (FUNC_mpc_c_c): Likewise.
54718         (test_functions): Add fma.  Update calls to FUNC.
54719         (handle_input_arg): Add argument exact_args.
54720         (add_test): Update call to handle_input_arg.
54721         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
54722         (output_for_one_input_case): Update call to calc_generic_results.
54723         Recalculate exact zero results in each rounding mode.
54725         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
54726         non-negative before setting low bit.
54727         * math/auto-libm-test-in: Mark one asin test possibly having
54728         spurious underflow.
54729         * math/auto-libm-test-out: Regenerated.
54730         * sysdeps/i386/fpu/libm-test-ulps: Update.
54731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54733 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
54735         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
54736         * sysdeps/unix/sysv/linux/microblaze: Move directory from
54737         ports/sysdeps/unix/sysv/linux/microblaze.
54738         * README: Add missing listing for microblaze*-*-linux-gnu.
54740 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
54742         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
54743         duplicate code
54745 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
54747         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
54748         * sysdeps/unix/sysv/linux/ia64: Move directory from
54749         ports/sysdeps/unix/sysv/linux/ia64.
54750         * README: Update listing for ia64-*-linux-gnu.
54752 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
54753             Joseph Myers  <joseph@codesourcery.com>
54755         * Makeconfig (test-name): New variable.
54756         (evaluate-test): Likewise.
54757         * Makerules (do-test-clean): Remove .test-result files.
54758         (common-mostlyclean): Likewise.
54759         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
54760         * scripts/evaluate-test.sh: New file.
54762 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
54764         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
54765         separate $(objpfx)tst-fopenloc-cmp.out and
54766         $(objpfx)tst-fopenloc-mem.out targets.
54767         (tests): Update dependencies.
54768         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
54769         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
54770         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
54771         (tst-rxspencer-no-utf8-ARGS): New variable.
54772         (tst-rxspencer-no-utf8-ENV): Likewise.
54773         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
54774         instead of $(objpfx)tst-rxspencer-mem.
54775         ($(objpfx)tst-rxspencer-mem): Change target to
54776         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
54777         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
54778         * posix/tst-rxspencer-no-utf8.c: New file.
54780         * elf/Makefile ($(objpfx)order.out): Remove rule.
54781         [$(run-built-tests) = yes] (tests): Depend on
54782         $(objpfx)order-cmp.out.
54783         ($(objpfx)order-cmp.out): New rule.
54784         [$(run-built-tests) = yes] (tests): Depend on
54785         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
54786         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
54787         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
54788         $(objpfx)tst-array5-static-cmp.out.
54789         ($(objpfx)tst-array1.out): Remove rule.
54790         ($(objpfx)tst-array1-cmp.out): New rule.
54791         ($(objpfx)tst-array1-static.out): Remove rule.
54792         ($(objpfx)tst-array1-static-cmp.out): New rule.
54793         ($(objpfx)tst-array2.out): Remove rule.
54794         ($(objpfx)tst-array2-cmp.out): New rule.
54795         ($(objpfx)tst-array3.out): Remove rule.
54796         ($(objpfx)tst-array3-cmp.out): New rule.
54797         ($(objpfx)tst-array4.out): Remove rule.
54798         ($(objpfx)tst-array4-cmp.out): New rule.
54799         ($(objpfx)tst-array5.out): Remove rule.
54800         ($(objpfx)tst-array5-cmp.out): New rule.
54801         ($(objpfx)tst-array5-static.out): Remove rule.
54802         ($(objpfx)tst-array5-static-cmp.out): New rule.
54803         [$(run-built-tests) = yes] (tests): Depend on
54804         $(objpfx)order2-cmp.out.
54805         ($(objpfx)order2.out): Remove rule.
54806         ($(objpfx)order2-cmp.out): New rule.
54807         ($(objpfx)tst-initorder.out): Remove rule.
54808         [$(run-built-tests) = yes] (tests): Depend on
54809         $(objpfx)tst-initorder-cmp.out.
54810         ($(objpfx)tst-initorder-cmp.out): New rule.
54811         ($(objpfx)tst-initorder2.out): Remove rule.
54812         [$(run-built-tests) = yes] (tests): Depend on
54813         $(objpfx)tst-initorder2-cmp.out.
54814         ($(objpfx)tst-initorder2-cmp.out): New rule.
54815         [$(run-built-tests) = yes] (tests): Depend on
54816         $(objpfx)tst-unused-dep-cmp.out.
54817         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
54818         ($(objpfx)tst-unused-dep-cmp.out): New rule.
54819         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
54820         on $(objpfx)tst-setvbuf1-cmp.out.
54821         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
54822         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
54823         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
54824         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
54825         ($(objpfx)tst-svc.out): Remove rule.
54826         ($(objpfx)tst-svc-cmp.out): New rule.
54828 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
54830         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
54831         * ctype/ctype.h [__USE_MISC]: Likewise.
54832         * dirent/dirent.h [__USE_MISC]: Likewise.
54833         * grp/grp.h [__USE_MISC]: Likewise.
54834         * io/fcntl.h [__USE_MISC]: Likewise.
54835         * io/sys/stat.h [__USE_MISC]: Likewise.
54836         * libio/stdio.h [__USE_MISC]: Likewise.
54837         * posix/unistd.h [__USE_MISC]: Likewise.
54838         * pwd/pwd.h [__USE_MISC]: Likewise.
54839         * stdlib.h [__USE_MISC]: Likewise.
54840         * string/bits/string2.h [__USE_MISC]: Likewise.
54841         * string/string.h [__USE_MISC]: Likewise.
54842         * time/time.h [__USE_MISC]: Likewise.
54844 2014-02-13  Andreas Schwab  <schwab@suse.de>
54846         [BZ #16574]
54847         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
54848         second answer buffer if it was separately allocated.
54850 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
54852         * sysdeps/mips/math-tests.h: Include <features.h>.
54853         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54854         (ROUNDING_TESTS_long_double): Do not define.
54855         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54856         (EXCEPTION_TESTS_long_double): Likewise.
54857         * sysdeps/mips/mips64/libm-test-ulps: Update.
54859         * include/features.h (__USE_BSD): Remove macro definitions.
54860         (__USE_SVID): Likewise.
54861         (_BSD_SOURCE): Likewise.
54862         (_SVID_SOURCE): Likewise.
54863         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
54864         from definition of _DEFAULT_SOURCE.
54865         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
54866         [_DEFAULT_SOURCE].
54867         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
54868         * bits/mman.h [__USE_BSD]: Likewise.
54869         * bits/termios.h [__USE_BSD]: Likewise.
54870         * bits/waitstatus.h [__USE_BSD]: Likewise.
54871         * ctype/ctype.h [__USE_SVID]: Likewise.
54872         * dirent/dirent.h [__USE_BSD]: Likewise.
54873         * grp/grp.h [__USE_SVID]: Likewise.
54874         [__USE_BSD]: Likewise.
54875         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
54876         * io/fcntl.h [__USE_BSD]: Likewise.
54877         * io/ftw.h [__USE_BSD]: Likewise.
54878         * io/sys/stat.h [__USE_BSD]: Likewise.
54879         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
54880         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
54881         * libio/stdio.h [__USE_SVID]: Likewise.
54882         [__USE_BSD]: Likewise.
54883         * math/math.h [__USE_SVID]: Likewise.
54884         [__USE_BSD]: Likewise.
54885         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
54886         * misc/bits/syslog.h [__USE_BSD]: Likewise.
54887         * misc/search.h [__USE_SVID]: Likewise.
54888         * misc/sys/mman.h [__USE_BSD]: Likewise.
54889         * misc/sys/syslog.h [__USE_BSD]: Likewise.
54890         * misc/sys/uio.h [__USE_BSD]: Likewise.
54891         * posix/bits/unistd.h [__USE_BSD]: Likewise.
54892         * posix/glob.h [__USE_BSD]: Likewise.
54893         * posix/regex.h [__USE_BSD]: Likewise.
54894         * posix/sys/types.h [__USE_BSD]: Likewise.
54895         [__USE_SVID]: Likewise.
54896         * posix/sys/utsname.h [__USE_SVID]: Likewise.
54897         * posix/sys/wait.h [__USE_BSD]: Likewise.
54898         [__USE_SVID]: Likewise.
54899         * posix/unistd.h [__USE_BSD]: Likewise.
54900         [__USE_SVID]: Likewise.
54901         * pwd/pwd.h [__USE_SVID]: Likewise.
54902         * resolv/netdb.h [__USE_BSD]: Likewise.
54903         * setjmp/setjmp.h [__USE_BSD]: Likewise.
54904         * signal/signal.h [__USE_BSD]: Likewise.
54905         [__USE_SVID]: Likewise.
54906         * socket/sys/socket.h [__USE_BSD]: Likewise.
54907         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
54908         * stdlib/stdlib.h [__USE_BSD]: Likewise.
54909         [__USE_SVID]: Likewise.
54910         * string/bits/string2.h [__USE_BSD]: Likewise.
54911         [__USE_SVID]: Likewise.
54912         * string/bits/string3.h [__USE_BSD]: Likewise.
54913         * string/endian.h [__USE_BSD]: Likewise.
54914         * string/string.h [__USE_SVID]: Likewise.
54915         [__USE_BSD]: Likewise.
54916         * string/strings.h [__USE_BSD]: Likewise.
54917         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
54918         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
54919         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
54920         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
54921         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
54922         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
54923         Likewise.
54924         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
54925         Likewise.
54926         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
54927         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
54928         Likewise.
54929         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
54930         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
54931         Likewise.
54932         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
54933         Likewise.
54934         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
54935         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
54936         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
54937         Likewise.
54938         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
54939         Likewise.
54940         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
54941         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
54942         * termios/termios.h [__USE_BSD]: Likewise.
54943         * time/sys/time.h [__USE_BSD]: Likewise.
54944         * time/time.h [__USE_BSD]: Likewise.
54945         [__USE_SVID]: Likewise.
54947         * Makefile (subdir_targets): Remove subdir_lint.out.
54949         * stdio-common/Makefile (do-tst-unbputc): Remove target.
54950         (do-tst-printf): Likewise.
54951         (tests): Depend directly on $(objpfx)tst-unbputc.out and
54952         $(objpfx)tst-printf.out.
54954         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
54956         * Makerules (check-abi-%): Change target to
54957         $(objpfx)check-abi-%.out.
54958         (check-abi target): Update dependencies.
54959         (check-abi-pattern variable): Redirect output of diff to $@.
54960         (check-abi variable): Likewise.
54961         * elf/Makefile (check-abi): Update dependencies.
54963         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
54964         unused.
54965         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
54966         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
54967         subnormal range.
54968         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
54969         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
54970         value has largest subnormal exponent.
54971         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
54972         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
54973         * sysdeps/aarch64/soft-fp/sfp-machine.h
54974         (_FP_TININESS_AFTER_ROUNDING): New macro.
54975         * sysdeps/alpha/soft-fp/sfp-machine.h
54976         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54977         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54978         Likewise.
54979         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
54980         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54981         * sysdeps/mips/soft-fp/sfp-machine.h
54982         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54983         * sysdeps/powerpc/soft-fp/sfp-machine.h
54984         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54985         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54986         Likewise.
54987         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54988         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54989         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54990         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54991         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54992         Likewise.
54994 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
54996         [BZ #16545]
54997         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
54998         model 1.
55000 2014-02-12  Richard Henderson  <rth@redhat.com>
55002         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
55003         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
55004         * sysdeps/unix/sysv/linux/alpha: Move directory from
55005         ports/sysdeps/unix/sysv/linux/alpha.
55006         * README: Update listing for alpha-*-linux-gnu.
55008 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
55010         * include/features.h: Update comment documenting feature test
55011         macros.
55012         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
55013         _DEFAULT_SOURCE.
55014         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
55015         (_SVID_SOURCE): Likewise.
55016         (_DEFAULT_SOURCE): Update description of default features.
55017         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
55018         with _GNU_SOURCE.
55019         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
55020         (S_ISVTX): Likewise.
55021         * manual/math.texi (Mathematical Constants): Likewise.
55022         * manual/signal.texi (Interrupted Primitives): Likewise.
55023         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
55024         * math/test-matherr.c (_SVID_SOURCE): Do not define.
55025         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
55026         Don't refer to _SVID_SOURCE in warning text.
55028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55030         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
55031         already defined.
55032         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
55033         * sysdeps/mips/dl-lookup.c: Remove.
55034         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
55036 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
55038         [BZ #16447]
55039         * math/auto-libm-test-in: Add testcase for expl.
55040         * math/auto-libm-test-out: Regenerate.
55041         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
55042         calculation of unsafe.
55043         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
55045 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55047         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
55048         * sysdeps/unix/sysv/linux/aarch64: Move directory from
55049         ports/sysdeps/unix/sysv/linux/aarch64.
55050         * README: Update listing for aarch64*-*-linux-gnu.
55052 2014-02-11  Will Newton  <will.newton@linaro.org>
55054         * manual/probes.texi (Mathematical Function Probes): Use
55055         "triggered" instead of "hit".
55057         * manual/probes.texi (Internal Probes): Add documentation
55058         of setjmp, longjmp and longjmp_target probes.
55060         * include/stap-probe.h: Add comment about probe argument
55061         format.
55063         * malloc/mtrace.c (attribute_hidden): Remove unused macro
55064         definition.  (tr_where, tr_freehook, tr_mallochook,
55065         tr_reallochook, tr_memalignhook): Use ANSI protoype.
55067 2014-02-11  David S. Miller  <davem@davemloft.net>
55069         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
55070         processing int_tests.
55072 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
55074         * sysdeps/mips: Move directory from ports/sysdeps/mips.
55075         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
55076         * sysdeps/unix/sysv/linux/mips: Move directory from
55077         ports/sysdeps/unix/sysv/linux/mips.
55078         * README: Update listing for mips-*-linux-gnu and
55079         mips64-*-linux-gnu.
55081 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
55083         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
55084         * sysdeps/unix/sysv/linux/m68k: Move directory from
55085         ports/sysdeps/unix/sysv/linux/m68k.
55086         * README: Update listing for m68k-*-linux-gnu.
55088 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
55090         * sysdeps/tile: Move directory from ports/sysdeps/tile.
55091         * sysdeps/unix/sysv/linux/generic: Move directory from
55092         ports/sysdeps/unix/sysv/linux/generic.
55093         * sysdeps/unix/sysv/linux/tile: Move directory from
55094         ports/sysdeps/unix/sysv/linux/tile.
55095         * README: Update listing for tile*-*-linux-gnu.
55097 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
55099         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
55100         __builtin_expect.
55101         * benchtests/bench-memmem.c (simple_memmem): Likewise.
55102         * catgets/open_catalog.c (__open_catalog): Likewise.
55103         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
55104         * debug/confstr_chk.c: Likewise.
55105         * debug/fread_chk.c (__fread_chk): Likewise.
55106         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
55107         * debug/getgroups_chk.c: Likewise.
55108         * debug/mbsnrtowcs_chk.c: Likewise.
55109         * debug/mbsrtowcs_chk.c: Likewise.
55110         * debug/mbstowcs_chk.c: Likewise.
55111         * debug/memcpy_chk.c: Likewise.
55112         * debug/memmove_chk.c: Likewise.
55113         * debug/mempcpy_chk.c: Likewise.
55114         * debug/memset_chk.c: Likewise.
55115         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55116         * debug/strcat_chk.c (__strcat_chk): Likewise.
55117         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
55118         * debug/strncat_chk.c (__strncat_chk): Likewise.
55119         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
55120         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
55121         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
55122         * debug/wcpncpy_chk.c: Likewise.
55123         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55124         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
55125         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
55126         * debug/wcsncpy_chk.c: Likewise.
55127         * debug/wcsnrtombs_chk.c: Likewise.
55128         * debug/wcsrtombs_chk.c: Likewise.
55129         * debug/wcstombs_chk.c: Likewise.
55130         * debug/wmemcpy_chk.c: Likewise.
55131         * debug/wmemmove_chk.c: Likewise.
55132         * debug/wmempcpy_chk.c: Likewise.
55133         * debug/wmemset_chk.c: Likewise.
55134         * dirent/scandirat.c (SCANDIRAT): Likewise.
55135         * dlfcn/dladdr1.c (dladdr1): Likewise.
55136         * dlfcn/dladdr.c (dladdr): Likewise.
55137         * dlfcn/dlclose.c (dlclose_doit): Likewise.
55138         * dlfcn/dlerror.c (__dlerror): Likewise.
55139         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
55140         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
55141         * dlfcn/dlopen.c (dlopen_doit): Likewise.
55142         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
55143         * dlfcn/dlsym.c (dlsym_doit): Likewise.
55144         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
55145         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
55146         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
55147         Likewise.
55148         * elf/dl-conflict.c: Likewise.
55149         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
55150         * elf/dl-dst.h: Likewise.
55151         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
55152         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
55153         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
55154         * elf/dl-init.c (call_init, _dl_init): Likewise.
55155         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
55156         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
55157         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
55158         Likewise.
55159         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
55160         Likewise.
55161         * elf/dl-minimal.c (__libc_memalign): Likewise.
55162         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
55163         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55164         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
55165         * elf/dl-sym.c (do_sym): Likewise.
55166         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
55167         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
55168         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
55169         * elf/dl-writev.h (_dl_writev): Likewise.
55170         * elf/ldconfig.c (search_dir): Likewise.
55171         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
55172         (dl_main): Likewise.
55173         * elf/setup-vdso.h (setup_vdso): Likewise.
55174         * grp/compat-initgroups.c (compat_call): Likewise.
55175         * grp/fgetgrent.c (fgetgrent): Likewise.
55176         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
55177         * grp/putgrent.c (putgrent): Likewise.
55178         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55179         Likewise.
55180         * hurd/hurdinit.c: Likewise.
55181         * iconvdata/8bit-gap.c (struct): Likewise.
55182         * iconvdata/ansi_x3.110.c : Likewise.
55183         * iconvdata/big5.c : Likewise.
55184         * iconvdata/big5hkscs.c : Likewise.
55185         * iconvdata/cp1255.c: Likewise.
55186         * iconvdata/cp1258.c : Likewise.
55187         * iconvdata/cp932.c : Likewise.
55188         * iconvdata/euc-cn.c: Likewise.
55189         * iconvdata/euc-jisx0213.c : Likewise.
55190         * iconvdata/euc-jp.c: Likewise.
55191         * iconvdata/euc-jp-ms.c : Likewise.
55192         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
55193         * iconvdata/gb18030.c : Likewise.
55194         * iconvdata/gbbig5.c (const): Likewise.
55195         * iconvdata/gbgbk.c: Likewise.
55196         * iconvdata/gbk.c : Likewise.
55197         * iconvdata/ibm1364.c : Likewise.
55198         * iconvdata/ibm930.c : Likewise.
55199         * iconvdata/ibm932.c: Likewise.
55200         * iconvdata/ibm933.c : Likewise.
55201         * iconvdata/ibm935.c : Likewise.
55202         * iconvdata/ibm937.c : Likewise.
55203         * iconvdata/ibm939.c : Likewise.
55204         * iconvdata/ibm943.c: Likewise.
55205         * iconvdata/iso_11548-1.c: Likewise.
55206         * iconvdata/iso-2022-cn.c : Likewise.
55207         * iconvdata/iso-2022-cn-ext.c : Likewise.
55208         * iconvdata/iso-2022-jp-3.c: Likewise.
55209         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
55210         * iconvdata/iso-2022-kr.c : Likewise.
55211         * iconvdata/iso646.c (gconv_end): Likewise.
55212         * iconvdata/iso_6937-2.c : Likewise.
55213         * iconvdata/iso_6937.c : Likewise.
55214         * iconvdata/iso8859-1.c: Likewise.
55215         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
55216         * iconvdata/shift_jisx0213.c : Likewise.
55217         * iconvdata/sjis.c : Likewise.
55218         * iconvdata/t.61.c : Likewise.
55219         * iconvdata/tcvn5712-1.c : Likewise.
55220         * iconvdata/tscii.c: Likewise.
55221         * iconvdata/uhc.c : Likewise.
55222         * iconvdata/unicode.c (gconv_end): Likewise.
55223         * iconvdata/utf-16.c (gconv_end): Likewise.
55224         * iconvdata/utf-32.c (gconv_end): Likewise.
55225         * iconvdata/utf-7.c (base64): Likewise.
55226         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
55227         * iconv/gconv_close.c (__gconv_close): Likewise.
55228         * iconv/gconv_open.c (__gconv_open): Likewise.
55229         * iconv/gconv_simple.c (internal_ucs4_loop_single)
55230         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
55231         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
55232         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
55233         (ucs4le_internal_loop_single): Likewise.
55234         * iconv/iconv.c (iconv): Likewise.
55235         * iconv/iconv_close.c: Likewise.
55236         * iconv/loop.c (SINGLE): Likewise.
55237         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
55238         * include/atomic.h: Likewise.
55239         * inet/inet6_option.c (option_alloc): Likewise.
55240         * intl/bindtextdom.c (set_binding_values): Likewise.
55241         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
55242         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
55243         * intl/localealias.c (read_alias_file): Likewise.
55244         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
55245         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
55246         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
55247         * libio/fmemopen.c (fmemopen): Likewise.
55248         * libio/iofgets.c (_IO_fgets): Likewise.
55249         * libio/iofgets_u.c (fgets_unlocked): Likewise.
55250         * libio/iofgetws.c (fgetws): Likewise.
55251         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
55252         * libio/iogetdelim.c (_IO_getdelim): Likewise.
55253         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
55254         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
55255         * locale/findlocale.c (_nl_find_locale): Likewise.
55256         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
55257         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
55258         Likewise.
55259         * locale/setlocale.c (setlocale): Likewise.
55260         * login/programs/pt_chown.c (main): Likewise.
55261         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
55262         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
55263         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
55264         (mmap, mmap64, mremap, munmap): Likewise.
55265         * math/e_exp2l.c: Likewise.
55266         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
55267         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
55268         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
55269         * math/s_catan.c (__catan): Likewise.
55270         * math/s_catanf.c (__catanf): Likewise.
55271         * math/s_catanh.c (__catanh): Likewise.
55272         * math/s_catanhf.c (__catanhf): Likewise.
55273         * math/s_catanhl.c (__catanhl): Likewise.
55274         * math/s_catanl.c (__catanl): Likewise.
55275         * math/s_ccosh.c (__ccosh): Likewise.
55276         * math/s_ccoshf.c (__ccoshf): Likewise.
55277         * math/s_ccoshl.c (__ccoshl): Likewise.
55278         * math/s_cexp.c (__cexp): Likewise.
55279         * math/s_cexpf.c (__cexpf): Likewise.
55280         * math/s_cexpl.c (__cexpl): Likewise.
55281         * math/s_clog10.c (__clog10): Likewise.
55282         * math/s_clog10f.c (__clog10f): Likewise.
55283         * math/s_clog10l.c (__clog10l): Likewise.
55284         * math/s_clog.c (__clog): Likewise.
55285         * math/s_clogf.c (__clogf): Likewise.
55286         * math/s_clogl.c (__clogl): Likewise.
55287         * math/s_csin.c (__csin): Likewise.
55288         * math/s_csinf.c (__csinf): Likewise.
55289         * math/s_csinh.c (__csinh): Likewise.
55290         * math/s_csinhf.c (__csinhf): Likewise.
55291         * math/s_csinhl.c (__csinhl): Likewise.
55292         * math/s_csinl.c (__csinl): Likewise.
55293         * math/s_csqrt.c (__csqrt): Likewise.
55294         * math/s_csqrtf.c (__csqrtf): Likewise.
55295         * math/s_csqrtl.c (__csqrtl): Likewise.
55296         * math/s_ctan.c (__ctan): Likewise.
55297         * math/s_ctanf.c (__ctanf): Likewise.
55298         * math/s_ctanh.c (__ctanh): Likewise.
55299         * math/s_ctanhf.c (__ctanhf): Likewise.
55300         * math/s_ctanhl.c (__ctanhl): Likewise.
55301         * math/s_ctanl.c (__ctanl): Likewise.
55302         * math/w_pow.c: Likewise.
55303         * math/w_powf.c: Likewise.
55304         * math/w_powl.c: Likewise.
55305         * math/w_scalb.c (sysv_scalb): Likewise.
55306         * math/w_scalbf.c (sysv_scalbf): Likewise.
55307         * math/w_scalbl.c (sysv_scalbl): Likewise.
55308         * misc/error.c (error_tail): Likewise.
55309         * misc/pselect.c (__pselect): Likewise.
55310         * nis/nis_callback.c (__nis_create_callback): Likewise.
55311         * nis/nis_call.c (__nisfind_server): Likewise.
55312         * nis/nis_creategroup.c (nis_creategroup): Likewise.
55313         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
55314         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
55315         * nis/nis_getservlist.c (nis_getservlist): Likewise.
55316         * nis/nis_lookup.c (nis_lookup): Likewise.
55317         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
55318         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
55319         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
55320         * nis/nis_xdr.c (xdr_endpoint): Likewise.
55321         * nis/nss_compat/compat-grp.c (getgrent_next_file)
55322         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
55323         * nis/nss_compat/compat-initgroups.c (add_group)
55324         (internal_getgrent_r): Likewise.
55325         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
55326         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
55327         * nis/nss_compat/compat-spwd.c (getspent_next_file)
55328         (internal_getspnam_r): Likewise.
55329         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
55330         (_nss_nis_getaliasbyname_r): Likewise.
55331         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
55332         (_nss_nis_getntohost_r): Likewise.
55333         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
55334         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
55335         (_nss_nis_getgrgid_r): Likewise.
55336         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
55337         (internal_nis_gethostent_r, internal_gethostbyname2_r)
55338         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
55339         (_nss_nis_gethostbyname4_r): Likewise.
55340         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
55341         (initgroups_netid): Likewise.
55342         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
55343         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
55344         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
55345         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
55346         (_nss_nis_getprotobynumber_r): Likewise.
55347         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
55348         (_nss_nis_getsecretkey): Likewise.
55349         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
55350         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
55351         (_nss_nis_getpwuid_r): Likewise.
55352         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
55353         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
55354         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
55355         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
55356         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
55357         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
55358         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
55359         Likewise.
55360         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
55361         (_nss_nisplus_getntohost_r): Likewise.
55362         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
55363         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
55364         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
55365         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
55366         Likewise.
55367         * nis/nss_nisplus/nisplus-initgroups.c
55368         (_nss_nisplus_initgroups_dyn): Likewise.
55369         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
55370         (_nss_nisplus_getnetbyaddr_r): Likewise.
55371         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
55372         (_nss_nisplus_getprotobynumber_r): Likewise.
55373         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
55374         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
55375         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
55376         Likewise.
55377         * nis/nss_nisplus/nisplus-service.c
55378         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
55379         (_nss_nisplus_getservbyport_r): Likewise.
55380         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
55381         (_nss_nisplus_getspnam_r): Likewise.
55382         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
55383         Likewise.
55384         * nscd/aicache.c (addhstaiX): Likewise.
55385         * nscd/cache.c (cache_search, prune_cache): Likewise.
55386         * nscd/connections.c (register_traced_file, send_ro_fd)
55387         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
55388         (main_loop_epoll): Likewise.
55389         * nscd/grpcache.c (addgrbyX): Likewise.
55390         * nscd/hstcache.c (addhstbyX): Likewise.
55391         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55392         * nscd/mem.c (gc, mempool_alloc): Likewise.
55393         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
55394         (addinnetgrX): Likewise.
55395         * nscd/nscd-client.h (__nscd_acquire_maplock)
55396         (__nscd_drop_map_ref): Likewise.
55397         * nscd/nscd_getai.c (__nscd_getai): Likewise.
55398         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
55399         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
55400         Likewise.
55401         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
55402         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55403         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
55404         (__nscd_get_map_ref): Likewise.
55405         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
55406         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
55407         Likewise.
55408         * nscd/pwdcache.c (addpwbyX): Likewise.
55409         * nscd/selinux.c (preserve_capabilities): Likewise.
55410         * nscd/servicescache.c (addservbyX): Likewise.
55411         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
55412         * posix/fnmatch.c (fnmatch): Likewise.
55413         * posix/getopt.c (_getopt_internal_r): Likewise.
55414         * posix/glob.c (glob, glob_in_dir): Likewise.
55415         * posix/wordexp.c (exec_comm_child): Likewise.
55416         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
55417         (getanswer_r, gaih_getanswer_slice): Likewise.
55418         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
55419         * resolv/res_init.c: Likewise.
55420         * resolv/res_mkquery.c (res_nmkquery): Likewise.
55421         * resolv/res_query.c (__libc_res_nquery): Likewise.
55422         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
55423         Likewise.
55424         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
55425         * stdio-common/perror.c (perror): Likewise.
55426         * stdio-common/printf_fp.c (___printf_fp): Likewise.
55427         * stdio-common/tmpnam.c (tmpnam): Likewise.
55428         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55429         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
55430         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
55431         Likewise.
55432         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
55433         * stdlib/putenv.c (putenv): Likewise.
55434         * stdlib/setenv.c (__add_to_environ): Likewise.
55435         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55436         * stdlib/strtol_l.c (INTERNAL): Likewise.
55437         * string/memmem.c (memmem): Likewise.
55438         * string/strerror.c (strerror): Likewise.
55439         * string/strnlen.c (__strnlen): Likewise.
55440         * string/test-memmem.c (simple_memmem): Likewise.
55441         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
55442         * sunrpc/pm_getport.c (__get_socket): Likewise.
55443         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
55444         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
55445         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
55446         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
55447         Likewise.
55448         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
55449         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
55450         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
55451         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
55452         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
55453         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
55454         Likewise.
55455         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
55456         Likewise.
55457         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
55458         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
55459         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55460         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
55461         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
55462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
55463         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
55464         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
55465         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
55466         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
55467         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55468         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
55469         Likewise.
55470         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
55471         Likewise.
55472         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
55473         Likewise.
55474         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
55475         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55476         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
55477         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
55478         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
55479         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
55480         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55481         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
55482         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
55483         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
55484         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
55485         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55486         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55487         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
55488         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55489         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
55490         Likewise.
55491         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
55492         Likewise.
55493         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
55494         Likewise.
55495         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
55496         Likewise.
55497         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55498         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55499         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
55500         Likewise.
55501         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
55502         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
55503         * sysdeps/posix/opendir.c (__opendirat): Likewise.
55504         * sysdeps/posix/sleep.c: Likewise.
55505         * sysdeps/posix/tempname.c: Likewise.
55506         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
55507         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55508         Likewise.
55509         * sysdeps/powerpc/powerpc32/dl-machine.h
55510         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
55511         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
55512         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55513         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
55514         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
55515         Likewise.
55516         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
55517         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
55518         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55519         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
55520         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55521         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
55522         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
55523         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
55524         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55525         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
55526         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
55527         (elf_machine_lazy_rel): Likewise.
55528         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55529         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
55530         (elf_machine_lazy_rel): Likewise.
55531         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
55532         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
55533         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
55534         * sysdeps/unix/grantpt.c (grantpt): Likewise.
55535         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
55536         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
55537         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
55538         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55539         Likewise.
55540         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
55541         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
55542         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
55543         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
55544         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55545         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55546         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
55547         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
55548         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
55549         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55550         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55551         Likewise.
55552         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
55553         (__posix_fallocate64_l64): Likewise.
55554         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
55555         (posix_fallocate): Likewise.
55556         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
55557         Likewise.
55558         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55559         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
55560         (getifaddrs_internal): Likewise.
55561         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
55562         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
55563         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
55564         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
55565         * sysdeps/unix/sysv/linux/posix_fallocate64.c
55566         (__posix_fallocate64_l64): Likewise.
55567         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
55568         Likewise.
55569         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
55570         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
55571         (__get_clockfreq): Likewise.
55572         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
55573         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
55574         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
55575         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55576         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55577         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
55578         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
55579         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
55580         Likewise.
55581         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
55582         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
55583         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
55584         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
55585         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55586         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
55587         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
55588         Likewise.
55589         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55590         (posix_fallocate): Likewise.
55591         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55592         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
55593         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
55594         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
55595         (elf_machine_rela, elf_machine_rela_relative)
55596         (elf_machine_lazy_rel): Likewise.
55597         * time/asctime.c (asctime_internal): Likewise.
55598         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
55599         * time/tzset.c (__tzset_parse_tz): Likewise.
55600         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
55601         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
55602         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
55603         * wcsmbs/wcsmbsload.h: Likewise.
55605         [BZ #15894]
55606         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
55608         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
55609         (arena_get2): Remove THREAD_STATS conditionals.
55610         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
55611         (__malloc_stats, int): Likewise.
55613 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
55615         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
55616         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
55618         * manual/setjmp.texi: Fix typos/grammar errors.
55620         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
55621         Only return early when n is <= 0.  Delete unused return statement.
55623         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
55624         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
55625         * debug/tst-longjmp_chk3.c: New file.
55627         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
55628         (test_main): Replace code with set_fortify_handler call.
55629         * debug/test-strcpy_chk.c: Likewise.
55630         * debug/tst-chk1.c: Likewise.
55631         * debug/tst-longjmp_chk.c: Likewise.
55632         * test-skeleton.c: Include fcntl.h & paths.h
55633         (set_fortify_handler): Define.
55635         * debug/tst-longjmp_chk.c: Add header comment and include
55636         ../test-skeleton.c.
55637         (do_test): Mark static.
55638         (TEST_FUNCTION): Define.
55640         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
55641         (IP_PMTUDISC_INTERFACE): Likewise.
55642         (IP_MULTICAST_IF): Likewise.
55643         (IP_MULTICAST_TTL): Likewise.
55644         (IP_MULTICAST_LOOP): Likewise.
55645         (IP_ADD_MEMBERSHIP): Likewise.
55646         (IP_DROP_MEMBERSHIP): Likewise.
55647         (IP_UNBLOCK_SOURCE): Likewise.
55648         (IP_BLOCK_SOURCE): Likewise.
55649         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
55650         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
55651         (IP_MSFILTER): Likewise.
55652         (MCAST_JOIN_GROUP): Likewise.
55653         (MCAST_BLOCK_SOURCE): Likewise.
55654         (MCAST_UNBLOCK_SOURCE): Likewise.
55655         (MCAST_LEAVE_GROUP): Likewise.
55656         (MCAST_JOIN_SOURCE_GROUP): Likewise.
55657         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
55658         (MCAST_MSFILTER): Likewise.
55659         (IP_MULTICAST_ALL): Likewise.
55660         (IP_UNICAST_IF): Likewise.
55662         * timezone/Makefile: Delete $(have-ksh) check.
55663         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
55664         * timezone/tzselect.ksh: Add +x mode bits.
55666         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
55667         (ANON_INODE_FS_MAGIC): Likewise.
55668         (BDEVFS_MAGIC): Likewise.
55669         (BINFMTFS_MAGIC): Likewise.
55670         (BTRFS_TEST_MAGIC): Likewise.
55671         (CRAMFS_MAGIC_WEND): Likewise.
55672         (DEBUGFS_MAGIC): Likewise.
55673         (ECRYPTFS_SUPER_MAGIC): Likewise.
55674         (EXT3_SUPER_MAGIC): Likewise.
55675         (EXT4_SUPER_MAGIC): Likewise.
55676         (FUTEXFS_SUPER_MAGIC): Likewise.
55677         (HOSTFS_SUPER_MAGIC): Likewise.
55678         (HUGETLBFS_MAGIC): Likewise.
55679         (MINIX3_SUPER_MAGIC): Likewise.
55680         (MTD_INODE_FS_MAGIC): Likewise.
55681         (NILFS_SUPER_MAGIC): Likewise.
55682         (OPENPROM_SUPER_MAGIC): Likewise.
55683         (PIPEFS_MAGIC): Likewise.
55684         (PSTOREFS_MAGIC): Likewise.
55685         (QNX6_SUPER_MAGIC): Likewise.
55686         (RAMFS_MAGIC): Likewise.
55687         (REISERFS_SUPER_MAGIC_STRING): Likewise.
55688         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
55689         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
55690         (SECURITYFS_MAGIC): Likewise.
55691         (SELINUX_MAGIC): Likewise.
55692         (SMACK_MAGIC): Likewise.
55693         (SOCKFS_MAGIC): Likewise.
55694         (SQUASHFS_MAGIC): Likewise.
55695         (STACK_END_MAGIC): Likewise.
55696         (TMPFS_MAGIC): Likewise.
55697         (USBDEVICE_SUPER_MAGIC): Likewise.
55698         (V9FS_MAGIC): Likewise.
55699         (XENFS_SUPER_MAGIC): Likewise.
55700         (CRAMFS_MAGIC): Fix typo in comment.
55701         (EXT2_SUPER_MAGIC): Update comment.
55702         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
55704 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
55706         * sysdeps/arm: Move directory from ports/sysdeps/arm.
55707         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
55708         * sysdeps/unix/sysv/linux/arm: Move directory from
55709         ports/sysdeps/unix/sysv/linux/arm.
55710         * README: Update listing for arm-*-linux-gnueabi.
55712         * README: Remove mention of am33.
55714 2014-02-07  Roland McGrath  <roland@hack.frob.com>
55716         * bits/sigset.h (__sigemptyset): Use a statement expression rather
55717         than the comma operator, to avoid "rhs of comma has no effect"
55718         compiler warnings.
55719         (__sigfillset, __sigandset, __sigorset): Likewise.
55720         * include/signal.h (__sigemptyset): Likewise.
55721         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
55723 2014-02-07  Allan McRae  <allan@archlinux.org>
55725         * version.h (RELEASE): Set to "development".
55726         (VERSION): Set to "2.19.90"
55727         * NEWS: Add 2.20 section.
55729 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
55731         [BZ #16529]
55732         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
55734 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55736         * manual/contrib.texi: Update entry for Carlos O'Donell,
55737         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
55739 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
55741         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
55743         * sysdeps/unix/sysv/linux/kernel-features.h
55744         [__LINUX_KERNEL_VERSION >= 0x020621]
55745         (__ASSUME_PROC_PID_TASK_COMM): Define.
55747 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55749         [BZ #16398]
55750         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
55751         conversion when destination buffer does not have enough space.
55752         * libio/tst-ftell-partial-wide.c: New test case.
55753         * libio/Makefile (tests): Add tst-ftell-partial-wide.
55755         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
55756         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
55757         Leonard and Allan McRae.
55759 2014-02-04  David S. Miller  <davem@davemloft.net>
55761         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
55762         32-bit.
55764 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
55767         New file
55768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
55769         New file
55770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
55771         New file.
55772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
55773         New file.
55774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
55775         New file.
55776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
55777         New file.
55778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
55779         New file.
55780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
55781         New file.
55782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
55783         New file.
55784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
55785         New file.
55786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
55787         New file.
55788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
55789         New file.
55790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
55791         New file.
55793 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55795         * nptl/shlib-versions: Change powerpc*le start to 2.17.
55796         * shlib-versions: Likewise.
55798 2014-02-04  Roland McGrath  <roland@hack.frob.com>
55799             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55801         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
55802         (abilist-pattern): New variable, set to %-le.abilist.
55804         * Makerules (abilist-pattern): New variable.
55805         (vpath): Use $(abilist-pattern) in place of %.abilist.
55806         (check-abi-% pattern rule): Likewise.
55807         (check-abi, update-abi): Likewise.
55809 2014-02-04  Eric Wong  <normalperson@yhbt.net>
55811         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55813 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
55815         * manual/startup.texi: Add next, previous, and top entries for
55816         the `Program Arguments' and `Environment Variables' nodes.
55818 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
55820         * manual/macros.texi: Add comments before MTASC-safety macros.
55822         * manual/users.texi: Document MTASC-safety properties.
55824         * manual/threads.texi (pthread_key_create, pthread_key_delete)
55825         (pthread_getspecific, pthread_setspecific): Format with
55826         @deftypefun, and add @safety note.
55827         * manual/signal.texi: Move comments that analyze the above
55828         functions to their home place.
55830 2014-02-03  Allan McRae  <allan@archlinux.org>
55832         * po/sl.po: Update Slovenian translation from translation project.
55834 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
55836         * manual/time.texi (timegm): Add missing blank after @c.
55837         Reported by Joseph Myers <joseph@codesourcery.com>.
55839 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
55841         * manual/check-safety.sh: New.
55842         * manual/Makefile ($(objpfx)stamp-summary): Run it.
55844         * manual/terminal.texi: Document MTASC-safety properties.
55846         * manual/filesys.texi: Document MTASC-safety properties.
55848         * manual/errno.texi: Document MTASC-safety properties.
55850         * manual/intro.texi: Document safety identifiers and
55851         conditionals.
55853         * manual/string.texi (wcstok): Fix prototype.
55854         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
55856         * manual/time.texi: Document MTASC-safety properties.
55858         * manual/string.texi: Document MTASC-safety properties.
55860         * manual/threads.texi: Document MTASC-safety properties.
55862         * manual/stdio.texi: Document MTASC-safety properties.
55864         * manual/syslog.texi: Document MTASC-safety properties.
55866         * manual/sysinfo.texi: Document MTASC-safety properties.
55868         * manual/startup.texi: Document MTASC-safety properties.
55870         * manual/socket.texi: Document MTASC-safety properties.
55872         * manual/signal.texi: Document MTASC-safety properties.
55874 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
55876         * manual/setjmp.texi: Document MTASC-safety properties.
55878         * manual/search.texi: Document MTASC-safety properties.
55880         * manual/resource.texi: Document MTASC-safety properties.
55882         * manual/process.texi: Document MTASC-safety properties.
55884         * manual/platform.texi: Document MTASC-safety properties.
55886         * manual/pipe.texi: Document MTASC-safety properties.
55888         * manual/pattern.texi: Document MTASC-safety properties.
55890         * manual/message.texi: Document MTASC-safety properties.
55892         [BZ #12751]
55893         * manual/memory.texi: Document MTASC-safety properties.
55895         * manual/math.texi: Document MTASC-safety properties.
55897         * manual/locale.texi: Document MTASC-safety properties.
55899         * manual/llio.texi: Document MTASC-safety properties.
55901         * manual/libdl.texi: New.
55903         * manual/lang.texi: Document MTASC-safety properties.
55905         * manual/job.texi: Document MTASC-safety properties.
55907         * manual/getopt.texi: Document MTASC-safety properties.
55909         * manual/ctype.texi: Document MTASC-safety properties.
55911 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
55913         [BZ #16046]
55914         * csu/libc-tls.c (static_map): Remove variable.
55915         (__libc_setup_tls): Use main executable's link map for TLS data.
55916         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
55917         casing for LM_ID_BASE and GL(dl_nns).
55918         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
55919         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
55920         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
55921         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
55922         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
55923         member.
55924         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
55925         l_phnum members.
55927 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
55929         * manual/debug.texi: Document MTASC-safety properties.
55931 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
55933         [BZ #16510]
55934         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
55935         of __x86_64__ when disabling x87 inline functions.
55937 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
55939         * manual/charset.texi: Document MTASC-safety properties.
55941         * manual/crypt.texi: Document MTASC-safety properties.
55943         * manual/conf.texi: Document MTASC-safety properties.
55945         * manual/arith.texi: Document MTASC-safety properties.
55947         * manual/argp.texi: Document MTASC-safety properties.
55949         * manual/macros.texi: Introduce macros to document multi
55950         thread, asynchronous signal and asynchronous cancellation
55951         safety properties.
55952         * manual/intro.texi: Introduce the properties themselves.
55954 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55956         * sysdeps/sh/sh4/Makefile: New file.
55958 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
55960         * math/gen-libm-test.pl ($srcdir): New variable.
55961         ($auto_input): Use it.
55963 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55965         [BZ #16506]
55966         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
55967         access beyond array bounds when parsing netgroups file.
55969         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
55970         the old buffer before realloc.
55972 2014-01-27  Allan McRae  <allan@archlinux.org>
55974         * po/fr.po: Update French translation from translation project.
55976 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55978         * sysdeps/sh/libm-test-ulps: Regenerate.
55980 2014-01-24  David S. Miller  <davem@davemloft.net>
55982         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
55984 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55986         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
55987         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
55989 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55991         [BZ #16474]
55992         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
55993         string pointers after reallocation.
55995 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55997         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
55998         __SH4A__ instead of __SH_FPU_ANY__.
56000 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56002         * sysdeps/sh/fpu_control.h: New file.
56003         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
56004         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
56005         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
56006         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
56007         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
56008         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
56009         * sysdeps/sh/sys/ucontext.h: Remove.
56010         * sysdeps/sh/sys: Remove directory.
56012 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56014         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
56015         s390/sys/ucontext.h.
56016         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
56017         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
56019 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
56021         [BZ #15605]
56022         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
56024 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56026         [BZ #16431]
56027         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56028         Adjust the vDSO correctly for internal calls.
56029         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
56031 2014-01-20  Allan McRae  <allan@archlinux.org>
56033         * po/ca.po: Update Catalan translation from translation project.
56035 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
56037         * sysdeps/s390/sotruss-lib.c: New file.
56039 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56041         [BZ #16430]
56042         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
56043         (__GI___gettimeofday): Alias for a different internal symbol to avoid
56044         local calls issues by not having a PLT stub required for IFUNC calls.
56045         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
56047 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
56049         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
56050         * math/test-fpucw-static.c: Likewise.
56052 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56054         [BZ #16453]
56055         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
56057 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56059         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
56060         implementation for powerpc.
56062 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
56064         [BZ #14782]
56065         * sysdeps/posix/system.c (__libc_system): Do not enable
56066         asynchronous cancellation.
56068 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56070         [BZ #16427]
56071         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
56072         handling only for numbers special also in the IEEE case.
56074 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56076         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56078 2014-01-11  Allan McRae  <allan@archlinux.org>
56080         * po/bg.po: Update Bulgarian translation from translation project.
56082         * po/de.po: Update German translation from translation project.
56084 2014-01-10  Roland McGrath  <roland@hack.frob.com>
56086         * sysdeps/generic/gcc-compat.h: New file.
56088 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56090         * benchtests/asin-inputs: Correct slow inputs.
56091         * benchtests/acos-inputs: Likewise.
56093 2014-01-10  Allan McRae  <allan@archlinux.org>
56095         * po:sv.po: Update Swedish translation from translation project.
56097         * po/vi.po: Update Vietnamese translation from translation project.
56099         * po/eo.po: Update Esperanto translation from translation project.
56101         * po/cs.po: Update Czech translation from translation project.
56103         * po/nl.po: Update Dutch translation from translation project.
56105         * po/pl.po: Update Polish translation from translation project.
56107         * po/ru.po: Update Russian translation from translation project.
56109         * po/uk.po: Update Ukrainian translation from translation project.
56111 2014-01-08  Brooks Moses  <bmoses@google.com>
56113         * elf/dl-load.c: Fix comment typo.
56115 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
56117         * po/header.pot: Rename to...
56118         * po/pot.header: ... this.
56119         * po/Makefile: Use pot.header.
56121 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
56122             Maxim Kuvyrkov  <maxim@kugelworks.com>
56124         [BZ #16394]
56125         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
56126         SRC and DEST against LEN.
56128 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56130         [BZ #16414]
56131         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
56132         implementation.
56133         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
56135 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56139 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
56141         [BZ #16408]
56142         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
56143         for large positive arguments.
56145 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
56147         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56149         * math/auto-libm-test-in: Mark various tests with
56150         xfail-rounding:ldbl-128ibm.
56151         * math/auto-libm-test-out: Regenerated.
56153         [BZ #16407]
56154         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
56155         Increase overflow threshold.
56157 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
56159         [BZ #14286]
56160         * stdio-common/vfprintf.c: Check for integer overflow.
56162 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56164         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
56165         the first argument and return value of __tls_get_addr_internal.
56167 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56169         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
56170         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
56172 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56174         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
56175         * sysdeps/s390/rtld-global-offsets.sym: New file.
56176         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
56177         GLIBC_2.19 symbol.
56178         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
56179         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
56180         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
56181         ... this.
56182         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
56183         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
56184         ... this.
56185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56186         Regenerate.
56187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56188         Regenerate.
56189         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
56190         halfs of GPRs for high_gprs contexts.
56191         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
56192         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
56193         field.
56194         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
56195         uc_flags field.
56196         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
56197         64 bit versions:
56198         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
56199         for high GPRs (uc_high_gprs) and for future extensions
56200         (__reserved).
56201         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
56202         for future extensions (__reserved).
56203         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
56204         64 bit versions:
56205         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
56206         SC_HIGHGPRS offset definition.
56207         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
56208         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
56210         * Versions.def: Add GLIBC_2.19 for libpthread.
56211         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
56212         siglongjmp for libpthread with GLIBC_2.19 symver.
56213         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
56214         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
56215         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
56216         * sysdeps/s390/__longjmp.c: New file.
56217         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
56218         * sysdeps/s390/longjmp.c: New file.
56219         * sysdeps/s390/setjmp.S: New file.
56220         * sysdeps/s390/sigjmp.S: New file.
56221         * sysdeps/s390/v1-longjmp.c: New file.
56222         * sysdeps/s390/v1-setjmp.h: New file.
56223         * sysdeps/s390/v1-sigjmp.c: New file.
56224         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
56225         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
56226         GLIBC_2.19 version.
56227         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
56228         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
56229         versioned symbols for ____longjmp_chk.
56230         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
56231         Likewise.
56232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56233         Regenerate.
56234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56235         Regenerate.
56236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56237         Regenerate.
56238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56239         Regenerate.
56240         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
56241         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
56242         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
56243         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
56244         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
56245         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
56246         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
56247         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
56248         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
56249         * sysdeps/s390/rtld-__longjmp.c: New file.
56250         * sysdeps/s390/rtld-setjmp.S: New file.
56252 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
56254         [BZ #16400]
56255         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56256         Return -__logl (x) for small positive arguments without evaluating
56257         a polynomial.
56259 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
56261         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
56262         Rename to ...
56263         (__ptrace_peeksiginfo_args): ... this.
56264         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56265         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56266         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56268 2014-01-06  Allan McRae  <allan@archlinux.org>
56270         * inet/netinet/in.h: Fix typo in comment.
56272 2014-01-05  Andreas Jaeger  <aj@suse.de>
56274         * sysdeps/i386/fpu/libm-test-ulps: Update.
56276 2014-01-05  Allan McRae  <allan@archlinux.org>
56278         * po/libc.pot: Regenerated.
56280         * malloc/memusagestat.c: Fix gettext call formatting.
56282 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
56284         * nscd/nscd.c: Improve usage() output.
56286 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
56288         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
56289         * sysdeps/unix/sysv/linux/configure: Regenerated.
56290         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
56291         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
56293 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56295         [BZ #16390]
56296         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56297         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
56299 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56301         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
56302         extra tokens at end of #undef directive.
56303         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
56304         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
56305         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
56307 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56309         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56311         * math/auto-libm-test-in: Mark various tests with
56312         xfail-rounding:ldbl-128ibm.
56313         * math/auto-libm-test-out: Regenerated.
56315 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
56317         [BZ #16386]
56318         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
56319         numbers with subnormal high part when calculating exponent.
56321         [BZ #16385]
56322         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
56323         fabs.
56325         [BZ #16384]
56326         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
56327         M_LN2l.
56328         (__ieee754_acoshl): Use __log1pl not __log1p.
56330 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
56332         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
56333         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
56334         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
56335         (grow_heap, heap_trim, _int_new_arena, get_free_list)
56336         (reused_arena, arena_get2): Convert to GNU style.
56337         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
56338         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
56339         (memalign_check, __malloc_set_state): Likewise.
56340         * malloc/mallocbug.c (main): Likewise.
56341         * malloc/malloc.c (__malloc_assert, malloc_init_state)
56342         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
56343         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
56344         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
56345         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
56346         (__posix_memalign, malloc_info): Likewise.
56347         * malloc/malloc.h: Likewise.
56348         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
56349         (mallochook, memalignhook, reallochook, mabort): Likewise.
56350         * malloc/mcheck.h: Likewise.
56351         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
56352         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
56353         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
56354         * malloc/morecore.c (__default_morecore): Likewise.
56355         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
56356         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
56357         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
56358         (print_and_abort): Likewise.
56359         * malloc/obstack.h: Likewise.
56360         * malloc/set-freeres.c (__libc_freeres): Likewise.
56361         * malloc/tst-mallocstate.c (main): Likewise.
56362         * malloc/tst-mtrace.c (main): Likewise.
56363         * malloc/tst-realloc.c (do_test): Likewise.
56365 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56367         [BZ #16366]
56368         * nscd/netgroupcache.c (do_notfound): New function.
56369         (addgetnetgrentX): Use it.
56371         [BZ # 16365]
56372         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
56373         NSS_STATUS_NOTFOUND.
56375 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
56377         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56380 2014-01-01  Allan McRae  <allan@archlinux.org>
56382         * scripts/update-copyrights: Update configure input file suffix.
56384         * NEWS: Update copyright year.
56385         * catgets/gencat.c: Likewise.
56386         * csu/version.c: Likewise.
56387         * debug/catchsegv.sh: Likewise.
56388         * debug/pcprofiledump.c: Likewise.
56389         * debug/xtrace.sh: Likewise.
56390         * elf/ldconfig.c: Likewise.
56391         * elf/ldd.bash.in: Likewise.
56392         * elf/pldd.c: Likewise.
56393         * elf/sotruss.ksh: Likewise.
56394         * elf/sprof.c: Likewise.
56395         * iconv/iconv_prog.c: Likewise.
56396         * iconv/iconvconfig.c: Likewise.
56397         * locale/programs/locale.c: Likewise.
56398         * locale/programs/localedef.c: Likewise.
56399         * login/programs/pt_chown.c: Likewise.
56400         * malloc/memusage.sh: Likewise.
56401         * malloc/memusagestat.c: Likewise.
56402         * malloc/mtrace.pl: Likewise.
56403         * manual/libc.texinfo: Likewise.
56404         * nscd/nscd.c: Likewise.
56405         * nss/getent.c: Likewise.
56406         * nss/makedb.c: Likewise.
56407         * posix/getconf.c: Likewise.
56408         * scripts/test-installation.pl: Likewise.
56410         * All files with FSF copyright notices: Update copyright dates
56411         using scripts/update-copyrights.
56412         * intl/plural.c: Regenerated.
56413         * locale/programs/charmap-kw.h: Likewise.
56414         * locale/programs/locfile-kw.h: Likewise.
56416 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
56418         * sysdeps/unix/sysv/linux/configure: Regenerated.
56419         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
56420         the linux/fanotify.h header.
56421         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
56422         HAVE_LINUX_FANOTIFY_H is defined.
56424 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56426         * benchtests/cos-inputs: New inputs.
56427         * benchtests/sin-inputs: Likewise.
56429         * benchtests/atan-inputs: New inputs. Fix name of multiple
56430         precision fallback inputs.
56432         * benchtests/atanh-inputs: New inputs.
56433         * benchtests/tanh-inputs: Likewise.
56435         * benchtests/acosh-inputs: New inputs.
56436         * benchtests/asinh-inputs: Likewise.
56438         * benchtests/cosh-inputs: New inputs.
56439         * benchtests/sinh-inputs: Likewise.
56441         * benchtests/acos-inputs: Add more inputs.
56442         * benchtests/asin-inputs: Likewise.
56444 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
56446         [BZ #16375]
56447         * manual/arith.texi: Fix spelling.
56448         * manual/charset.texi: Likewise.
56449         * manual/errno.texi: Likewise.
56450         * manual/filesys.texi: Likewise.
56451         * manual/lang.texi: Likewise.
56452         * manual/llio.texi: Likewise.
56453         * manual/locale.texi: Likewise.
56454         * manual/message.texi: Likewise.
56455         * manual/resource.texi: Likewise.
56456         * manual/search.texi: Likewise.
56457         * manual/setjmp.texi: Likewise.
56458         * manual/stdio.texi: Likewise.
56459         * manual/string.texi: Likewise.
56460         * manual/sysinfo.texi: Likewise.
56461         * manual/time.texi: Likewise.
56463 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
56465         * po/sl.po: New file.
56467 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
56469         * .gitignore: Add core/.gdbinit/.gdb_history.
56471 2013-12-27  Allan McRae  <allan@archlinux.org>
56473         [BZ #16369]
56474         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
56475         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
56477 2013-12-24  Brooks Moses  <bmoses@google.com>
56479         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
56480         all compilers that claim C++98 compliance, not just GCC.
56481         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
56482         Likewise.
56484 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
56486         * NEWS: Restore accidentally deleted bug-fix entries.
56488 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
56489             Ondřej Bílka  <neleai@seznam.cz>
56491         [BZ #15073]
56492         * malloc/malloc.c (_int_free): Perform sanity check only if we
56493         have_lock.
56495 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
56497         [BZ #12986]
56498         * manual/stdio.texi (String Input Conversions): Clarify that character
56499         classes are not supported.
56501 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56505 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
56507         [BZ #16337]
56508         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56509         Calculate results for small negative arguments directly rather
56510         than using reflection formula with special underflow handling.
56512         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
56513         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
56514         sysdeps/unix/bsd/bsd4.4/syscalls.list.
56515         (fchflags): Likewise.
56516         (revoke): Likewise.
56517         (setlogin): Likewise.
56518         (sigaltstack): Likewise.
56519         (wait4): Likewise.
56520         (sigblock): Remove.
56521         (sigsetmask): Likewise.
56522         (wait3): Likewise.
56523         (waitpid): Likewise.
56524         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
56525         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
56526         file.
56527         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
56528         * sysdeps/unix/bsd/Makefile: ... here.
56529         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
56530         * sysdeps/unix/bsd/Versions: ... here.
56531         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
56532         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
56533         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
56534         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
56535         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
56536         * sysdeps/unix/bsd/sigblock.c: ... here.
56537         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
56538         * sysdeps/unix/bsd/sigsetmask.c: ... here.
56539         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
56540         * sysdeps/unix/bsd/sigvec.c: ... here.
56541         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
56542         * sysdeps/unix/bsd/tcdrain.c: ... here.
56543         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
56544         * sysdeps/unix/bsd/tcgetattr.c: ... here.
56545         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
56546         * sysdeps/unix/bsd/tcsetattr.c: ... here.
56547         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
56548         * sysdeps/unix/bsd/wait.c: ... here.
56549         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
56550         * sysdeps/unix/bsd/wait3.c: ... here.
56551         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
56552         * sysdeps/unix/bsd/waitpid.c: ... here.
56554 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
56556         [BZ #16356]
56557         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
56558         round-to-nearest for [!USE_AS_EXPM1L].
56559         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
56560         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
56561         more tests of exp and exp10.  Expect some exp10 tests to miss
56562         exceptions or fail in directed rounding modes.
56563         * math/auto-libm-test-out: Regenerated.
56564         * math/libm-test.inc (exp10_tonearest_test_data): New array.
56565         (exp10_test_tonearest): New function.
56566         (exp10_towardzero_test_data): New array.
56567         (exp10_test_towardzero): New function.
56568         (exp10_downward_test_data): New array.
56569         (exp10_test_downward): New function.
56570         (exp10_upward_test_data): New array.
56571         (exp10_test_upward): New function.
56572         (main): Call the new functions.
56573         * sysdeps/i386/fpu/libm-test-ulps: Update.
56574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56576 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
56578         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
56579         asinh, atan, atan2, atanh, cbrt, cos and cosh.
56580         * math/auto-libm-test-out: Regenerated.
56581         * math/libm-test.inc (acosh_test_data): Add more tests.
56582         (atanh_test_data): Likewise.
56583         (ceil_test_data): Likewise.
56584         (copysign_test_data): Likewise.
56585         * sysdeps/i386/fpu/libm-test-ulps: Update.
56586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56588         * timezone/checktab.awk: Update from tzcode 2013i.
56589         * timezone/private.h: Likewise.
56590         * timezone/scheck.c: Likewise.
56591         * timezone/tzfile.h: Likewise.
56592         * timezone/tzselect.ksh: Likewise.
56593         * timezone/zdump.c: Likewise.
56594         * timezone/zic.c: Likewise.
56596         * math/auto-libm-test-in: Add tests of cpow.
56597         * math/auto-libm-test-out: Regenerated.
56598         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
56599         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56600         mpc_cc_c.
56601         (func_calc_desc): Add mpc_cc_c union field.
56602         (test_functions): Add cpow.
56603         (special_fill_2pi): New function.
56604         (special_real_inputs): Add 2pi.
56605         (calc_generic_results): Handle mpc_cc_c.
56606         * sysdeps/i386/fpu/libm-test-ulps: Update.
56607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56609         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
56610         csqrt, ctan and ctanh.
56611         * math/auto-libm-test-out: Regenerated.
56612         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56613         (TEST_COND_x86): Likewise.
56614         (ccos_test_data): Use AUTO_TESTS_c_c.
56615         (ccosh_test_data): Likewise.
56616         (cexp_test_data): Likewise.
56617         (clog_test_data): Likewise.
56618         (csqrt_test_data): Likewise.
56619         (ctan_test_data): Likewise.
56620         (ctan_tonearest_test_data): Likewise.
56621         (ctan_towardzero_test_data): Likewise.
56622         (ctan_downward_test_data): Likewise.
56623         (ctan_upward_test_data): Likewise.
56624         (ctanh_test_data): Likewise.
56625         (ctanh_tonearest_test_data): Likewise.
56626         (ctanh_towardzero_test_data): Likewise.
56627         (ctanh_downward_test_data): Likewise.
56628         (ctanh_upward_test_data): Likewise.
56629         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56630         mpc_c_c.
56631         (func_calc_desc): Add mpc_c_c union field.
56632         (FUNC_mpc_c_c): New macro.
56633         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
56634         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
56635         ctanh.
56636         (special_fill_min_subnorm_p120): New function.
56637         (special_real_inputs): Add min_subnorm_p120.
56638         (calc_generic_results): Handle mpc_c_c.
56639         * sysdeps/i386/fpu/libm-test-ulps: Update.
56640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56642 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56644         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
56645         (do_sin_slow): New functions.
56646         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
56647         (cslow2, csloww1, csloww2): Use the new functions.
56649         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
56650         Use M to change sign of result instead of X.  Assume X is
56651         positive.
56652         (csloww1): Likewise.
56653         (__sin): Adjust.
56654         (__cos): Adjust.
56656         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
56657         arguments A and DA.
56658         (__sin): Adjust.
56659         (__cos): Likewise.
56661         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
56662         (__cos): Likewise.
56663         (sloww1): Don't adjust sign of DX.
56664         (csloww1): Likewise.
56665         (sloww2): Use X directly and don't adjust sign of DX.
56666         (csloww2): Likewise.
56668 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
56670         * math/auto-libm-test-in: Add tests of cabs and carg.
56671         * math/auto-libm-test-out: Regenerated.
56672         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
56673         (carg_test_data): Likewise.
56674         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56675         mpc_c_f.
56676         (func_calc_desc): Add mpc_c_f union field.
56677         (test_functions): Add cabs and carg.
56678         (calc_generic_results): Handle mpc_c_f.
56680         * sysdeps/powerpc/powerpc32/libgcc-compat.S
56681         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
56682         as a macro and a compat symbol.
56683         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
56684         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
56685         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
56686         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
56687         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
56688         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
56689         not use .hidden.
56690         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
56691         Likewise.
56692         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
56693         Likewise.
56694         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
56695         Likewise.
56696         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
56697         Likewise.
56698         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
56699         Likewise.
56700         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
56701         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
56702         from GLIBC_2.3.2.
56704 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56708 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
56710         * manual/texinfo.tex: Update to version 2013-11-26.10 with
56711         trailing whitespace removed.
56712         * scripts/config.guess: Update to version 2013-11-29.
56713         * scripts/config.sub: Update to version 2013-10-01.
56715         * math/auto-libm-test-in: Add tests of sincos.
56716         * math/auto-libm-test-out: Regenerated.
56717         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
56718         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56719         mpfr_f_11.
56720         (func_calc_desc): Add mpfr_f_11 union field.
56721         (test_functions): Add sincos.
56722         (calc_generic_results): Handle mpfr_f_11.
56723         * sysdeps/i386/fpu/libm-test-ulps: Update.
56724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56726 2013-12-19  Andreas Schwab  <schwab@suse.de>
56728         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
56729         CALL_MCOUNT.
56730         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56731         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
56732         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
56734 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
56736         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
56737         * sysdeps/i386/fpu/libm-test-ulps: Update.
56738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56740         [BZ #16293]
56741         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
56742         round-to-nearest mode when using frndint.
56743         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
56744         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56745         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
56746         Likewise.
56747         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
56748         sinh test to fail.
56749         * math/auto-libm-test-out: Regenerated.
56750         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
56751         (TEST_COND_x86): Likewise.
56752         (expm1_tonearest_test_data): New array.
56753         (expm1_test_tonearest): New function.
56754         (expm1_towardzero_test_data): New array.
56755         (expm1_test_towardzero): New function.
56756         (expm1_downward_test_data): New array.
56757         (expm1_test_downward): New function.
56758         (expm1_upward_test_data): New array.
56759         (expm1_test_upward): New function.
56760         (main): Run the new test functions.
56761         * sysdeps/i386/fpu/libm-test-ulps: Update.
56762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56764         * include/features.h: Update comment documenting feature test
56765         macros.  Mention _DEFAULT_SOURCE in comment.
56766         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
56767         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
56768         _BSD_SOURCE and _SVID_SOURCE.
56769         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
56770         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
56771         !_SVID_SOURCE]: Likewise.
56772         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56773         (__USE_POSIX_IMPLICITLY): Define.
56774         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56775         (_POSIX_SOURCE): Undefine and redefine.
56776         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56777         (_POSIX_C_SOURCE): Likewise.
56778         * manual/creature.texi (_DEFAULT_SOURCE): Document.
56779         (Feature Test Macros): Update documentation of default features.
56781 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56783         * benchtests/Makefile: Add bench-strtok.
56784         * benchtests/bench-strtok.c: New file: strtok benchtest.
56786 2013-12-19  Allan McRae  <allan@archlinux.org>
56788         * manual/install.texi: Suppress menu for plain text output.
56789         * INSTALL: Regenerated.
56791 2013-12-18  Brooks Moses  <bmoses@google.com>
56793         [BZ #15846]
56794         * misc/getauxval.c: Include errno.h.
56795         (__getauxval): Set errno to ENOENT if the requested type is not
56796         found.
56797         * misc/sys/auxv.h (getauxval): Document that it may set errno;
56798         don't declare with __attribute_const__.
56799         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
56800         * manual/startup.texi: Document that getauxval sets errno.
56802 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
56804         * math/auto-libm-test-in: Add tests of jn and yn.
56805         * math/auto-libm-test-out: Regenerated.
56806         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
56807         (yn_test_data): Likewise.
56808         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56809         mpfr_if_f.
56810         (func_calc_desc): Add mpfr_if_f union field.
56811         (FUNC_mpfr_if_f): New macro.
56812         (test_functions): Add jn and yn.
56813         (calc_generic_results): Assert type of second input for
56814         mpfr_ff_f.  Handle mpfr_if_f.
56815         (output_for_one_input_case): Disable all checking for arguments
56816         fitting floating-point types in case of an integer argument.
56817         * sysdeps/i386/fpu/libm-test-ulps: Update.
56818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56821         Don't expect fegetround reference in libm.so.
56823 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56825         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
56826         $(config-cflags-nofma).
56828 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
56830         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
56831         * math/auto-libm-test-out: Regenerated.
56833         [BZ #16338]
56834         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
56835         to determine exponent and adjust argument to have exponent of -1.
56836         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
56837         log2.
56838         * math/auto-libm-test-out: Regenerated.
56839         * sysdeps/i386/fpu/libm-test-ulps: Update.
56840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56842 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
56844         * manual/probes.texi: Remove cases when per-thread arenas are
56845         disabled.
56847 2013-12-18  Andreas Schwab  <schwab@suse.de>
56849         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
56850         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
56851         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
56852         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
56853         * sysdeps/i386/i686/multiarch/Makefile: Update.
56854         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
56856 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56858         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
56859         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
56861 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
56863         [BZ #15968]
56864         Support TZ transition times < 00:00:00.
56865         This is needed for version-3 tz-format files; it supports time
56866         stamps past 2037 for America/Godthab (the only entry in the tz
56867         database for which this change is relevant).
56868         * manual/time.texi (TZ Variable): Document transition times
56869         from -167:59:59 through -00:00:01.
56870         * time/tzset.c (tz_rule): Time of day is now signed.
56871         (__tzset_parse_tz): Parse negative time of day.
56873         Document TZ transition times >= 25:00:00.
56874         * manual/time.texi (TZ Variable): Document transition times from
56875         25:00:00 through 167:59:59.  These are already supported, and this
56876         support will help with version-3 tz-format files.
56878         * manual/time.texi (TZ Variable): Modernize North America example
56879         to reflect current (i.e., 2007-and-later) daylight saving rules.
56881         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
56883 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56885         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
56886         * sysdeps/unix/bsd/bits/stat.h: Likewise.
56887         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
56888         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56889         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
56890         * sysdeps/unix/bsd/bsdstat.h: Likewise.
56891         * sysdeps/unix/bsd/clock.c: Likewise.
56892         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
56893         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
56894         * sysdeps/unix/bsd/init-posix.c: Likewise.
56895         * sysdeps/unix/bsd/poll.c: Likewise.
56896         * sysdeps/unix/bsd/ptsname.c: Likewise.
56897         * sysdeps/unix/bsd/seekdir.c: Likewise.
56898         * sysdeps/unix/bsd/setegid.c: Likewise.
56899         * sysdeps/unix/bsd/seteuid.c: Likewise.
56900         * sysdeps/unix/bsd/setgid.c: Likewise.
56901         * sysdeps/unix/bsd/setrgid.c: Likewise.
56902         * sysdeps/unix/bsd/setruid.c: Likewise.
56903         * sysdeps/unix/bsd/setsid.c: Likewise.
56904         * sysdeps/unix/bsd/setuid.c: Likewise.
56905         * sysdeps/unix/bsd/sigaction.c: Likewise.
56906         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
56907         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
56908         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
56909         * sysdeps/unix/bsd/telldir.c: Likewise.
56910         * sysdeps/unix/bsd/times.c: Likewise.
56911         * sysdeps/unix/bsd/usleep.c: Likewise.
56913         * misc/Makefile (install-lib): Remove libbsd-compat.a.
56914         ($(objpfx)libbsd-compat.a): Remove rule.
56916         * include/features.h (__FAVOR_BSD): Do not define.
56917         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
56918         features conflicting with POSIX.
56919         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
56920         (_BSD_SOURCE): Remove description of not being a subset of other
56921         feature test macros.
56922         * manual/job.texi (getpgrp): Do not document BSD version.
56923         (getpgid): Do not document by reference to BSD getpgrp.
56924         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
56925         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
56926         * signal/signal.h [__FAVOR_BSD]: Likewise.
56927         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
56928         instead of making contents conditional on [__FAVOR_BSD].
56929         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
56931 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56935 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56937         [BZ #16314]
56938         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
56939         values below 2**-450, not 2**-500.
56940         * math/auto-libm-test-in: Don't allow spurious underflow from
56941         hypot.
56942         * math/auto-libm-test-out: Regenerated.
56944         [BZ #16316]
56945         [BZ #16330]
56946         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
56947         values of ha and hb and sort them after adjusting subnormal
56948         arguments.
56949         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
56950         Likewise.
56951         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
56952         values of ea and eb and sort them after adjusting subnormal
56953         arguments.
56954         * math/auto-libm-test-in: Do not expect some hypot tests of
56955         subnormals to fail.  Add more hypot tests.
56956         * math/auto-libm-test-out: Regenerated.
56958 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56960         [BZ #13304]
56961         * sysdeps/sh/s_fma.c: New file.
56962         * sysdeps/sh/s_fmaf.c: New file.
56963         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
56964         version.
56965         * sysdeps/sh/Implies: Add sh/soft-fp.
56967 2013-12-16  Roland McGrath  <roland@hack.frob.com>
56969         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
56970         level of indirection to members `objname', `errstring', `malloced'.
56971         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
56972         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
56973         it as the __longjmp argument (just pass 1 instead).
56974         (_dl_catch_error): Initialize C with argument pointers and address of
56975         volatile local ERRCODE rather than copying values out of C at return.
56977 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
56979         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
56980         * math/auto-libm-test-out: Regenerated.
56981         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
56982         (hypot_test_data): Likewise.
56983         (pow_test_data): Likewise.
56984         (pow_tonearest_test_data): Likewise.
56985         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56986         mpfr_ff_f.
56987         (func_calc_desc): Add mpfr_ff_f union field.
56988         (FUNC_mpfr_ff_f): New macro.
56989         (test_functions): Add atan2, hypot and pow.
56990         (special_fill_min): New function.
56991         (special_fill_minus_min): Likewise.
56992         (special_fill_min_subnorm): Likewise.
56993         (special_fill_minus_min_subnorm): Likewise.
56994         (special_real_inputs): Add min, -min, min_subnorm and
56995         -min_subnorm.
56996         (calc_generic_results): Handle mpfr_ff_f.
56997         * sysdeps/i386/fpu/libm-test-ulps: Update.
56998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57000 2013-12-16  Will Newton  <will.newton@linaro.org>
57002         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
57003         (Aligned Memory Blocks): Add documentation for aligned_alloc
57004         and suggest it as an alternative to posix_memalign.
57005         (Hooks for Malloc): Document __memalign_hook is also called
57006         for aligned_alloc.  (Summary of Malloc): Add summary for
57007         aligned alloc.  Document __memalign_hook is also called
57008         for aligned_alloc.
57010 2013-12-16  Will Newton  <will.newton@linaro.org>
57012         * manual/memory.texi (Malloc Examples): Clarify default
57013         alignment documentation.  Suggest posix_memalign rather
57014         than memalign or valloc.
57015         (Aligned Memory Blocks): Remove suggestion to use memalign
57016         or valloc.  Remove obsolete comment about BSD.
57017         Document memalign errno values and mark the function obsolete.
57018         Document posix_memalign returned error codes.  Mark valloc
57019         as obsolete.  (Hooks for Malloc): __memalign_hook is also
57020         called for posix_memalign and valloc.
57021         (Summary of Malloc): Add posix_memalign to function summary.
57022         __memalign_hook is also called for posix_memalign and valloc.
57024 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57026         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
57027         TAYLOR_SIN.
57028         (__sin): Adjust.
57029         (__cos): Likewise.
57030         (sloww): Use mynumber union.  Expand ternary operator into
57031         if-else statements.
57032         (cslow): use mynumber union.
57034 2013-12-16  Allan McRae  <allan@archlinux.org>
57036         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
57037         * configure: Regenerated.
57039         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
57041         [BZ #14120]
57042         * configure.ac: Added --enable-maintainer-mode. Check for
57043         autoconf when enabled.
57044         * configure: Regenerated.
57046         * nscd/nscd.service: New file.
57047         * nscd/nscd.tmpfiles: New file.
57049 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
57051         [BZ #12100]
57052         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
57053         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
57054         * sysdeps/x86_64/multiarch/strstr.c: ... here.
57055         (strstr): Add __strstr_sse2_unaligned ifunc.
57056         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
57057         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
57058         (strcasestr): Remove __strcasestr_sse42 ifunc.
57059         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
57060         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57061         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57063 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57065         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
57066         * sysdeps/sh/bits/fenv.h: ... here.
57067         * sysdeps/sh/sh4/fpu/bits: Remove directory.
57069 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57071         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
57073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
57074         hypotf multiarch implementations.
57075         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
57076         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
57077         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
57078         multiarch hypot for PPC64.
57079         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
57080         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
57081         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
57082         multiarch hypotf for PPC64.
57084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
57085         modff multiarch implementations.
57086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
57087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
57088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
57089         multiarch modf for PPC64.
57090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
57091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
57092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
57093         multiarch modff for PPC64.
57095         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
57096         and logl multiarch implementations.
57097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
57098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
57099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
57100         multiarch logb for PPC64.
57101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
57102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
57103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
57104         multiarch logb for PPC64.
57105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
57106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
57107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
57108         multiarch logb for PPC64.
57110         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
57111         isinff multiarch implementation.
57112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
57113         file.
57114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
57115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
57116         multiarch isinf for PPC64.
57117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
57118         file.
57119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
57120         multiarch isinff for PPC64.
57122         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
57123         finitef multiarch implementation.
57124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
57125         file.
57126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
57127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
57128         multiarch finite for PPC64.
57129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
57130         file.
57131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
57132         multiarch finitef for PPC64.
57134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
57135         lrint multiarch implementation.
57136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
57137         file.
57138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
57139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
57140         multiarch llrint for PPC64.
57141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
57142         multiarch lrint for PPC64.
57144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
57145         copysignf multiarch implementation.
57146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
57147         file.
57148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
57149         file.
57150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
57151         multiarch copysign for PPC64.
57152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
57153         multiarch copysignf for PPC64.
57155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
57156         multiarch implementation.
57157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
57158         file.
57159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
57160         file.
57161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
57162         file.
57163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
57164         file.
57165         multiarch llround for PPC64.
57166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
57167         multiarch trunc for PPC64.
57168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
57169         multiarch truncf for PPC64.
57171         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
57172         multiarch implementation.
57173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
57174         file.
57175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
57176         file.
57177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
57178         file.
57179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
57180         file.
57181         multiarch llround for PPC64.
57182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
57183         multiarch round for PPC64.
57184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
57185         multiarch roundf for PPC64.
57187         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
57188         multiarch implementation.
57189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
57190         file.
57191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
57192         file.
57193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
57194         file.
57195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
57196         file.
57197         multiarch llround for PPC64.
57198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
57199         multiarch floor for PPC64.
57200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
57201         multiarch floorf for PPC64.
57203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
57204         multiarch implementation.
57205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
57206         file.
57207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
57208         file.
57209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
57210         file.
57211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
57212         file.
57213         multiarch llround for PPC64.
57214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
57215         multiarch ceil for PPC64.
57216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
57217         multiarch ceilf for PPC64.
57219         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
57220         multiarch implementation.
57221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
57222         file.
57223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
57224         file.
57225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
57226         file.
57227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
57228         multiarch llround for PPC64.
57229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
57230         multiarch lround for PPC64.
57232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
57233         multiarch implementation.
57234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
57235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
57236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
57237         file.
57238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
57239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
57240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
57241         multiarch isnan for PPC64.
57242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
57243         multiarch isnanf for PPC64.
57245         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
57246         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
57247         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
57248         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
57249         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
57250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
57252         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
57253         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57254         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57255         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
57258         multiarch implementations.
57259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57260         (__libc_ifunc_impl_list): Likewise.
57261         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
57262         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
57263         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
57264         multiarch stpcpy for PPC64.
57266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
57267         multiarch implementations.
57268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57269         (__libc_ifunc_impl_list): Likewise.
57270         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
57271         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
57272         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
57273         multiarch strcpy for PPC64.
57275         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
57276         redefine function name.
57277         (_wordcopy_fwd_dest_aligned): Likewise.
57278         (_wordcopy_bwd_aligned): Likewise.
57279         (_wordcopy_bwd_dest_aligned): Likewise.
57280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
57281         multiarch implementations.
57282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57283         (__libc_ifunc_impl_list): Likewise.
57284         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
57285         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
57286         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
57287         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
57288         multiarch wcscpy for PPC64.
57290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
57291         multiarch implementations.
57292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57293         (__libc_ifunc_impl_list): Likewise.
57294         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
57295         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
57296         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
57297         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
57298         multiarch wcscpy for PPC64.
57300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
57301         multiarch implementations.
57302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57303         (__libc_ifunc_impl_list): Likewise.
57304         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
57305         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
57306         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
57307         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
57308         multiarch wcsrchr for PPC64.
57310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
57311         multiarch implementations.
57312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57313         (__libc_ifunc_impl_list): Likewise.
57314         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
57315         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
57316         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
57317         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
57318         multiarch wcschr for PPC64.
57320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
57321         multiarch implementations.
57322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57323         (__libc_ifunc_impl_list): Likewise.
57324         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
57325         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
57326         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
57327         multiarch strchrnul for PPC64.
57329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
57330         implementations.
57331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57332         (__libc_ifunc_impl_list): Likewise.
57333         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
57334         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
57335         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
57336         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
57337         strchr for PPC64.
57339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
57340         implementations.
57341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57342         (__libc_ifunc_impl_list): Likewise.
57343         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
57344         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
57345         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
57346         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
57347         strncmp for PPC64.
57349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
57350         multiarch implementations.
57351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57352         (__libc_ifunc_impl_list): Likewise.
57353         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
57354         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
57355         strncasecmp for PPC64.
57356         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
57357         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
57358         multiarch strncasecmp_l for PPC64.
57360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
57361         multiarch implementations.
57362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
57363         (__libc_ifunc_impl_list): Likewise.
57364         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
57365         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
57366         multiarch strcasecmp for PPC64.
57367         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
57368         file.
57369         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
57370         multiarch strcasecmp_l for PPC64.
57372         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
57373         implementations.
57374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57375         (__libc_ifunc_impl_list): Likewise.
57376         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
57377         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
57378         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
57379         strnlen for PPC64.
57381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
57382         implementations.
57383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57384         (__libc_ifunc_impl_list): Likewise.
57385         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
57386         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
57387         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
57388         strlen for PPC64.
57390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
57391         implementations.
57392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57393         (__libc_ifunc_impl_list): Likewise.
57394         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
57395         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
57396         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
57397         rawmemrchr for PPC64.
57399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
57400         implementation.
57401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57402         (__libc_ifunc_impl_list): Likewise.
57403         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
57404         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
57405         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
57406         memrchr for PPC64.
57408         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
57409         implementation.
57410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57411         (__libc_ifunc_impl_list): Likewise.
57412         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
57413         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
57414         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
57415         memchr for PPC64.
57417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
57418         implementation.
57419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57420         (__libc_ifunc_impl_list): Likewise.
57421         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
57422         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
57423         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
57424         mempcpy for PPC64.
57426         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
57427         avoid cretion of __bzero symbol.
57428         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
57429         Likewise.
57430         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
57431         Likewise.
57432         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
57433         Likewise.
57434         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
57435         multiarch implementations.
57436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57437         (__libc_ifunc_impl_list): Likewise.
57438         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
57439         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
57440         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
57441         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
57442         bzero for PPC32.
57443         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
57444         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
57445         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
57446         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
57447         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
57448         memset for PPC64.
57449         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
57451         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
57452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
57453         implementations.
57454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57455         (__libc_ifunc_impl_list): Likewise.
57456         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
57457         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
57458         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
57459         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
57460         memcmp for PPC64.
57462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
57463         multiarch for POWER/PPC64.
57464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
57465         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
57466         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
57467         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
57468         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
57469         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
57470         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
57471         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
57472         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
57473         memcpy for PPC64.
57475         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
57476         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
57477         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
57478         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
57479         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
57480         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
57481         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
57482         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
57483         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
57484         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
57485         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
57486         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
57487         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
57488         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
57489         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
57490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
57491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
57492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
57493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
57494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
57495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
57496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
57498 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57500         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
57502 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57504         * benchtests/Makefile (bench): Add exp2 and log2.
57505         (LDLIBS-bench-exp2): Add -lm.
57506         (LDLIBS-bench-log2): Likewise.
57507         * benchtests/exp2-inputs: New inputs file.
57508         * benchtests/log2-inputs: New inputs file.
57509         * benchtests/log-inputs: Add new inputs.
57510         * benchtests/tan-inputs: Likewise.
57512 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57514         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
57515         definition...
57516         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
57517         (csloww2): ... from here.
57519         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
57520         instead of structures.
57521         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
57522         (POLYNOMIAL): Likewise.
57523         (TAYLOR_SLOW): Likewise.
57524         (__sin): Likewise.
57525         (__cos): Likewise.
57526         (slow1): Likewise.
57527         (slow2): Likewise.
57528         (sloww): Likewise.
57529         (sloww1); Likewise.
57530         (sloww2): Likewise.
57531         (bsloww1): Likewise.
57532         (bsloww2): Likewise.
57533         (cslow2): Likewise.
57534         (csloww): Likewise.
57535         (csloww1): Likewise.
57536         (csloww2): Likewise.
57538 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
57540         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57541         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
57542         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
57543         * malloc/hooks.c (realloc_check): Likewise.
57545         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
57546         * malloc/arena.c: Remove PER_THREAD conditional.
57547         [!PER_THREAD]: Remove code.
57548         (ptmalloc_unlock_all2): Likewise.
57549         (ptmalloc_init): Likewise.
57550         (_int_new_arena): Likewise.
57551         (arena_get2): Likewise.
57552         * malloc/hooks.c (__malloc_get_state): Likewise.
57553         (__malloc_set_state): Likewise.
57554         * malloc/malloc.c: Likewise.
57555         (struct malloc_state): Likewise.
57556         (struct malloc_par): Likewise.
57557         (__libc_realloc): Likewise.
57558         (__libc_mallopt): Likewise.
57560 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57562         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
57564 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
57566         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
57567         macro to a function.  Check for zero perturb_byte.
57568         (_int_malloc, _int_free): Remove zero perturb_byte checks.
57570         * malloc/malloc.c: (force_reg): Remove.
57571         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
57572         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
57573         force_reg by atomic_forced_read.
57574         * malloc/arena.c (ptmalloc_init): Likewise.
57575         * malloc/hooks.c (top_check): Likewise.
57577 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57581 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
57583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57585 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
57587         * math/auto-libm-test-in: Add tests of lgamma.
57588         * math/auto-libm-test-out: Regenerated.
57589         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
57590         (M_LOG_2_SQRT_PIl): Likewise.
57591         (lgamma_test_data): Use AUTO_TESTS_f_f1.
57592         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57593         mpfr_f_f1.
57594         (func_calc_desc): Add mpfr_f_f1 union field.
57595         (ARGS1): New macro.
57596         (ARGS2): Likewise.
57597         (ARGS3): Likewise.
57598         (ARGS4): Likewise.
57599         (RET1): Likewise.
57600         (RET2): Likewise.
57601         (CALC): Likewise.
57602         (FUNC): Likewise.
57603         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
57604         (test_functions): Add lgamma.
57605         (calc_generic_results): Handle mpfr_f_f1.
57606         * sysdeps/i386/fpu/libm-test-ulps: Update.
57607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57609 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57611         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
57612         __mpn_add_n for PowerPC64/POWER7.
57613         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
57614         __mpn_sub_n for PowerPC64/POWER7.
57616         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
57617         __mpn_addmul_1 for PowerPC64.
57618         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
57619         __mpn_submul_1 for PowerPC64.
57620         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
57621         for PowerPC64.
57622         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
57623         for PowerPC64.
57625 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
57627         [BZ #15089]
57628         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
57630 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57632         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
57634         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
57635         add multiarch folders.
57636         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
57637         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
57638         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
57639         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
57640         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
57641         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
57642         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
57643         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
57644         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
57645         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
57646         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
57647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
57648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
57649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
57650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
57651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
57652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
57654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
57655         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
57656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
57657         New file.
57658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
57659         New file.
57660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
57661         multiarch __ieee754_hypot for PowerPC32.
57662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
57663         New file.
57664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
57665         New file.
57666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
57667         multiarch __ieee754_hypotf for PowerPC32.
57669         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
57670         long_double_symbol only if __logbl is defined.
57671         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
57672         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
57673         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
57674         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
57675         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
57676         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
57677         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
57678         path for implementation.
57679         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
57680         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
57681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
57682         logb, and logbl multiarch implementations for PowerPC32.
57683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
57684         file.
57685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
57686         file.
57687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
57688         multiarch logb for PowerPC32.
57689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
57690         file.
57691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
57692         file.
57693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
57694         multiarch logbf for PowerPC32.
57695         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
57696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
57697         file.
57698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
57699         multiarch logbl implementation for PowerPC32.
57701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
57702         and modff multiarch implementations.
57703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
57704         New file.
57705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
57706         New file.
57707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
57708         multiarch modf for PowerPC32.
57709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
57710         New file.
57711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
57712         New file.
57713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
57714         multiarch modff for PowerPC32.
57716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
57717         and lrintf multiarch implementations.
57718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
57719         New file.
57720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
57721         New file.
57722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
57723         multiarch lrint for PowerPC32.
57724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
57725         file: multiarch lrintf for PowerPC32.
57727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
57728         and lroundf multiarch implementations.
57729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
57730         New file.
57731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
57732         New file.
57733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
57734         New file.
57735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
57736         multiarch lround for PowerPC32.
57737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
57738         file: multiarch lroundf for PowerPC32.
57740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
57741         copysign and copysignf multiarch implementations.
57742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
57743         New file.
57744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
57745         New file.
57746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
57747         file: multiarch copysign for PowerPC32.
57748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
57749         file: multiarch copysignf for PowerPC32.
57751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
57752         and truncf multiarch implementations.
57753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
57754         New file.
57755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
57756         file.
57757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
57758         multiarch trunc for PowerPC32.
57759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
57760         New file.
57761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
57762         New file.
57763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
57764         multiarch truncf for PowerPC32.
57766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
57767         and roundf multiarch implementations.
57768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
57769         New file.
57770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
57771         file.
57772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
57773         multiarch round for PowerPC32.
57774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
57775         New file.
57776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
57777         New file.
57778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
57779         multiarch roundf for PowerPC32.
57781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
57782         and floorf multiarch implementations.
57783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
57784         New file.
57785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
57786         file.
57787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
57788         multiarch floor for PowerPC32.
57789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
57790         New file.
57791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
57792         New file.
57793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
57794         multiarch floorf for PowerPC32.
57796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
57797         and ceilf multiarch implementations.
57798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
57799         New file.
57800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
57801         file.
57802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
57803         multiarch ceil for PowerPC32.
57804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
57805         New file.
57806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
57807         file.
57808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
57809         multiarch ceilf for PowerPC32.
57811         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
57812         is defined.
57813         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
57814         FINITEF is defined.
57815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
57816         and finitef multiarch implementations.
57817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
57818         New file.
57819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
57820         file.
57821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
57822         multiarch finite for PowerPC32.
57823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
57824         New file.
57825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
57826         file: multiarch finitef for PowerPC32.
57828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
57829         and isinff multiarch implementations.
57830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
57831         file.
57832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
57833         file.
57834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
57835         multiarch isinf for PowerPC32.
57836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
57837         New file.
57838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
57839         multiarch isinff for PowerPC32.
57841         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
57842         alias when __isnan is defined.
57843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
57844         and isnanf multiarch implementations.
57845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
57846         file.
57847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
57848         file.
57849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
57850         file.
57851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
57852         file.
57853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
57854         multiarch isnan for PowerPC32.
57855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
57856         New file.
57857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
57858         New file.
57859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
57860         multiarch isnanf for PowerPC32.
57862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
57863         and sqrtf multiarch implementations.
57864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
57865         file.
57866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
57867         file.
57868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
57869         multiarch sqrt for PowerPC32.
57870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
57871         file.
57872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
57873         file.
57874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
57875         multiarch sqrtf for PowerPC32.
57877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
57878         and llroundf multiarch implementations.
57879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
57880         New file.
57881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
57882         New file.
57883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
57884         New file.
57885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
57886         file: multiarch llround for PowerPC32.
57887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
57888         file: multiarch llroundf for PowerPC32.
57890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
57891         multiarch PowerPC32 fpu implementations.
57892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
57893         New file.
57894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
57895         New file.
57896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
57897         multiarch llrint for PowerPC32.
57898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
57899         New file.
57900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
57901         New file.
57902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
57903         file.
57905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
57907         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
57908         file.
57909         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
57910         file.
57911         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
57912         file.
57913         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
57914         multiarch wordcopy for PPC32.
57915         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57916         wordcopy objects.
57917         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57918         (__libc_ifunc_impl_list): Likewise.
57919         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
57920         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
57921         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
57922         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
57923         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
57924         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
57926         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
57927         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
57928         file.
57929         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
57930         file.
57931         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
57932         file.
57933         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
57934         multiarch wcscpy for PPC32.
57935         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57936         multiarch objects.
57937         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57938         (__libc_ifunc_impl_list): Likewise.
57939         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57940         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57941         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
57942         sysdeps/powerpc/power6/wcscpy.c.
57944         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
57945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
57946         file.
57947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
57948         file.
57949         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
57950         file.
57951         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
57952         multiarch wcsrchr for PPC32.
57953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57954         multiarch objects.
57955         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57956         (__libc_ifunc_impl_list): Likewise.
57957         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57958         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57959         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
57960         sysdeps/powerpc/power6/wcsrchr.c.
57962         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
57963         file.
57964         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
57965         file.
57966         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
57967         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
57968         multiarch wcschr for PPc32.
57969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57970         multiarch objects.
57971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57972         (__libc_ifunc_impl_list): Likewise.
57973         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
57974         * sysdeps/powerpc/power6/wcschr.c: ... to here.
57975         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
57976         sysdeps/powerpc/power6/wcschr.c.
57978         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
57979         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
57980         file.
57981         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
57982         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
57983         file: multiarch strchr for PPC32.
57984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
57985         multiarch objects.
57986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57987         (__libc_ifunc_impl_list): Likewise.
57989         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
57990         name.
57991         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
57992         file.
57993         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
57994         file.
57995         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
57996         multiarch strchrnul for PPC32.
57997         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
57998         multiarch objects.
57999         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58000         (__libc_ifunc_impl_list): Likewise.
58002         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
58003         file.
58004         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
58005         multiarch strncasecmp for PPC32.
58006         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
58007         file.
58008         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
58009         multiarch strncasecmp_l for PPC32.
58010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
58011         strncasecmp multiarch objects.
58012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58013         (__libc_ifunc_impl_list): Likewise.
58015         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
58016         file.
58017         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
58018         multiarch strncasecmp for PPC32.
58019         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
58020         New file.
58021         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
58022         multiarch strcasecmp_l for PPC32.
58023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
58024         multiarch objects.
58025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58026         (__libc_ifunc_impl_list): Likewise.
58028         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
58029         file.
58030         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
58031         file.
58032         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
58033         multiarch strncmp for PPC32.
58034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
58035         multiarch objects.
58036         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58037         (__libc_ifunc_impl_list): Likewise.
58039         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
58040         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
58041         file.
58042         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
58043         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
58044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
58045         multiarch objects.
58046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58047         (__libc_ifunc_impl_list): Likewise.
58049         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
58050         file.
58051         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
58052         file.
58053         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
58054         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
58055         multiarch objects.
58056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58057         (__libc_ifunc_impl_list): Likewise.
58059         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
58060         file.
58061         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
58062         file.
58063         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
58064         multiarch rawmemchr for PPC32.
58065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
58066         multiarch objects.
58067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58068         (__libc_ifunc_impl_list): Likewise.
58070         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
58071         file.
58072         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
58073         file.
58074         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
58075         file: memrchr multiarch for PPC32.
58076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
58077         multiarch objects.
58078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58079         (__libc_ifunc_impl_list): Likewise.
58081         * string/memchr.c (__memchr): Using macro to redefine symbol name.
58082         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
58083         file.
58084         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
58085         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
58086         multiarch memchr for PPC32.
58087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
58088         multiarch objects.
58089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58090         (__libc_ifunc_impl_list): Likewise.
58092         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
58093         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
58094         file.
58095         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
58096         file.
58097         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
58098         file: multiarch mempcpy for PPC32.
58099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
58100         multiarch objects.
58101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58102         (__libc_ifunc_impl_list): Likewise.
58104         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
58105         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
58106         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
58107         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
58108         multiarch bzero for PPC32.
58109         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
58110         file.
58111         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
58112         file.
58113         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
58114         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
58115         file: multiarch memset for PPC32.
58116         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
58117         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
58118         memset multiarch objects.
58119         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58120         (__libc_ifunc_impl_list): Likewise.
58122         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
58123         file.
58124         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
58125         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
58126         memcmp for PPC32.
58127         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
58128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
58129         multiarch objects.
58130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58131         (__libc_ifunc_impl_list): Likewise.
58133         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
58134         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
58135         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
58136         file.
58137         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
58138         file.
58139         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
58140         file.
58141         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
58142         multiarch memcpy for PPC32.
58143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
58144         multiarch objects.
58145         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58146         (__libc_ifunc_impl_list): Likewise.
58148         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
58149         support multiarch for POWER/PPC32.
58150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
58151         Likewise.
58152         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
58153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
58154         Implies file to make multiarch folder appers before the fpu and
58155         default folder for power4 configuration.
58157 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58159         * scripts/bench.pl: Append volatile keyword to type.
58161 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58163         * sysdeps/sh/sotruss-lib.c: New file.
58164         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
58166 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58170 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
58172         [BZ #6810]
58173         * math/w_tgamma.c: Include <errno.h>.
58174         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
58175         * math/w_tgammaf.c: Include <errno.h>.
58176         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
58177         * math/w_tgammal.c: Include <errno.h>.
58178         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
58179         * math/auto-libm-test-in: Do not allow missing errno on tgamma
58180         underflow.  Add more tgamma tests.
58181         * math/auto-libm-test-out: Regenerated.
58182         * sysdeps/i386/fpu/libm-test-ulps: Update.
58183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58185         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
58186         sin, sinh, tan, tanh, tgamma, y0 and y1.
58187         * math/auto-libm-test-out: Regenerated.
58188         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58189         (TEST_COND_x86): Likewise.
58190         (M_E2l): Remove macro.
58191         (M_E3l): Likewise.
58192         (M_2_SQRT_PIl): Likewise.
58193         (M_SQRT_PIl): Likewise.
58194         (M_1_DIV_El): Likewise.
58195         (log_test_data): Use AUTO_TESTS_f_f.
58196         (log10_test_data): Likewise.
58197         (log1p_test_data): Likewise.
58198         (log2_test_data): Likewise.
58199         (sin_test_data): Likewise.
58200         (sin_tonearest_test_data): Likewise.
58201         (sin_towardzero_test_data): Likewise.
58202         (sin_downward_test_data): Likewise.
58203         (sin_upward_test_data): Likewise.
58204         (sinh_test_data): Likewise.
58205         (sinh_tonearest_test_data): Likewise.
58206         (sinh_towardzero_test_data): Likewise.
58207         (sinh_downward_test_data): Likewise.
58208         (sinh_upward_test_data): Likewise.
58209         (tan_test_data): Likewise.
58210         (tan_tonearest_test_data): Likewise.
58211         (tan_towardzero_test_data): Likewise.
58212         (tan_downward_test_data): Likewise.
58213         (tan_upward_test_data): Likewise.
58214         (tanh_test_data): Likewise.
58215         (tgamma_test_data): Likewise.
58216         (y0_test_data): Likewise.
58217         (y1_test_data): Likewise.
58218         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
58219         (special_real_inputs): Add pi/4.
58220         * sysdeps/i386/fpu/libm-test-ulps: Update.
58221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58223 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58225         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
58226         "longjmp_target" static probes.
58227         (__longjmp): Rename to __longjmp_symbol.
58228         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58229         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
58230         on which longjmp to generate.
58231         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58232         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
58233         probe.
58234         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58235         (__sigjmp_save): Rename to __sigjmp_save_symbol.
58236         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
58237         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
58238         and __sigjmp_save_symbol based on which sigsetjmp to generated.
58239         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
58241         __longjmp_symbol based on which __longjmp to generate.
58242         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
58243         probe.
58244         (setjmp): Rename to setjmp_symbol.
58245         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58246         (_setjmp): Rename to _setjmp_symbol.
58247         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58248         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
58249         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
58250         which setjmp to generate.
58251         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
58252         "longjmp_target" static probes.
58254 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58256         * benchtests/README: Add note about output arguments.
58257         * benchtests/bench-sincos.c: Remove file.
58258         * benchtests/sincos-inputs: New file.
58259         * scripts/bench.pl: Identify output arguments and define
58260         static variables for them.
58262         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
58264         [BZ #15941]
58265         * Makefile (INSTALL): Add install-plain.texi as the primary
58266         dependency.
58267         * manual/install-plain.texi: New file.
58268         * manual/install.texi: Include node directive only for
58269         non-plaintext output.
58271 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
58273         * stdlib/longlong.h: Update from GCC.
58275         [BZ #6807]
58276         [BZ #15901]
58277         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
58278         * math/w_j0f.c (y0f): Likewise.
58279         * math/w_j0l.c (__y0l): Likewise.
58280         * math/w_j1.c (y1): Likewise.
58281         * math/w_j1f.c (y1f): Likewise.
58282         * math/w_j1l.c (__y1l): Likewise.
58283         * math/w_jn.c (yn): Likewise.
58284         * math/w_jnf.c (ynf): Likewise.
58285         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
58286         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
58287         value for Bessel function domain errors outside _SVID_ mode.
58288         Adjust sign of return value for yn (negative integer, 0).
58289         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
58290         by zero in return for negative x and set sign appropriately for
58291         negative n.
58292         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
58293         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58294         * math/libm-test.inc (y0_test_data): Add more tests and adjust
58295         expectations in error cases.
58296         (y1_test_data): Likewise.
58297         (yn_test_data): Likewise.
58298         * sysdeps/i386/fpu/libm-test-ulps: Update.
58299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58301 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58303         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
58304         "64" to "64-v1".  Add "64-v2".
58305         (abi-64-options): Rename to ...
58306         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
58307         (abi-64-condition): Rename to ...
58308         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
58309         (abi-64-ld-soname): Rename to ...
58310         (abi-64-v1-ld-soname): ... this.
58311         (abi-64-v2-options): Define.
58312         (abi-64-v2-condition): Likewise.
58313         (abi-64-v2-ld-soname): Likewise.
58314         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
58315         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
58316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
58317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
58318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
58320 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58321             Alan Modra  <amodra@gmail.com>
58323         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
58324         New versions for use with the ELFv2 ABI.
58325         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
58326         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
58327         declaration.
58328         (struct La_ppc64v2_retval): Likewise.
58329         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
58330         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
58331         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
58332         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
58333         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
58334         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58335         Do not save or restore CR.
58336         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
58337         (_dl_profile_resolve): Do no save or restore CR.  Support extended
58338         return values for ELFv2 ABI.  Fix location of FPR return registers.
58339         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
58340         updated values for _CALL_ELF == 2.
58341         (La_regs, La_retval, int_retval): Likewise.
58343 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58345         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
58346         (FRAME_MIN_SIZE_PARM): Likewise.
58347         (FRAME_BACKCHAIN): Likewise.
58348         (FRAME_CR_SAVE): Likewise.
58349         (FRAME_LR_SAVE): Likewise.
58350         (FRAME_TOC_SAVE): Likewise.
58351         (FRAME_PARM_SAVE): Likewise.
58352         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
58353         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
58354         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58355         (call_mcount_parm_offset): New macro.
58356         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
58357         (PROF): Use symbolic stack frame offsets.
58358         (TAIL_CALL_SYSCALL_ERROR): Likewise.
58359         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
58360         Redefine in terms of FRAME_MIN_SIZE.
58361         (_dl_runtime_resolve): Use symbolic stack frame offsets.
58362         (_dl_profile_resolve): Likewise.  Update comment.
58363         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
58364         symbols stack frame offsets.
58365         (__sigsetjmp): Likewise.
58366         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
58367         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
58368         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
58369         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
58371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
58372         (FRAME_BACKCHAIN): Remove.
58373         (FRAME_CR_SAVE): Likewise.
58374         (FRAME_LR_SAVE): Likewise.
58375         (FRAME_COMPILER_DW): Likewise.
58376         (FRAME_LINKER_DW): Likewise.
58377         (FRAME_TOC_SAVE): Likewise.
58378         (FRAME_PARM_SAVE): Likewise.
58379         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
58380         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
58381         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
58383         (CHECK_SP): Use symbolic stack frame offsets.
58384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
58385         zone" instead of caller's parameter save area for temp storage.
58386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58387         Likewise.  Also, use symbolic stack frame offsets.
58388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
58389         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
58390         our own stack frame instead of the caller's.
58391         (__socket): Use symbolic stack frame offsets.
58393 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58394             Alan Modra  <amodra@gmail.com>
58396         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
58397         Define.
58398         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
58399         (PPC64_LOCAL_ENTRY_OFFSET): Define.
58400         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
58401         New function.
58402         (elf_machine_fixup_plt): Call it.
58403         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
58404         reloc arguments.
58405         (elf_machine_rela): Update call to elf_machine_plt_conflict.
58406         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58407         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
58408         r2 before calling target.
58410 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58411             Alan Modra  <amodra@gmail.com>
58413         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
58414         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
58415         versions of macros to support ELFv2 ABI.
58416         (LOCALENTRY): New macro.
58417         (ENTRY, EALIGN): Use it.
58418         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
58419         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
58420         fall through into ENTRY entry point.
58421         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
58422         Only define if _CALL_ELF != 2.
58424         (elf_machine_matches_host): Verify ABI version matches.
58425         (RTLD_START): Use LOCALENTRY.
58426         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
58427         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
58428         (PLT_ENTRY_WORDS): New macro.
58429         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
58430         (elf_machine_runtime_setup): Support ELFv2 ABI.
58431         (elf_machine_fixup_plt): Likewise.
58432         (elf_machine_plt_conflict): Likewise.
58433         (resolve_ifunc): Likewise.
58434         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
58435         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58436         Likewise.
58437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
58438         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
58439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58440         (makecontext): Support ELFv2 ABI.
58441         * elf/elf.h (EF_PPC64_ABI): Define.
58443 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58445         * sysdeps/powerpc/powerpc64/sysdep.h
58446         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
58447         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
58448         (ENTRY) [ASSEMBLER]: ... but instead here ...
58449         (EALIGN) [ASSEMBLER]: ... and here.
58450         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
58451         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
58452         (ENTRY_2) [!ASSEMBLER]: Use it.
58453         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
58454         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
58455         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58456         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
58457         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
58458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
58459         Use PPC64_LOAD_FUNCPTR.
58461         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
58463 2013-12-04  Alan Modra  <amodra@gmail.com>
58465         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
58466         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
58467         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
58468         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
58470         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
58471         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
58472         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
58473         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
58474         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
58475         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
58477 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58480         (__makecontext): Fix incorrect CFI when backtracing out of
58481         context created via makecontext.
58482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
58483         (__setcontext): Fix incorrect CFI during switch to new context.
58484         (__novec_setcontext): Likewise.
58486 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
58488         [BZ #4772]
58489         * time/strptime_l.c (__strptime_internal): Allow modifiers
58490         in strptime.
58491         * time/tst-strptime.c (day_tests): Add testcase.
58493 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58495         * scripts/bench.pl: Skip over blank lines.
58497 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
58499         [BZ #926]
58500         * manual/time.texi (Calendar Time): Clarify what timezone functions
58501         use.
58503 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58507 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
58509         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
58510         implementation.
58511         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
58512         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
58513         * debug/memset_chk.c (__memset_chk): Likewise.
58514         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
58515         * debug/strncpy_chk.c: Likewise.
58517 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
58519         [BZ #15268]
58520         [BZ #15425]
58521         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
58522         (__ieee754_exp): For possibly underflowing results, check size of
58523         result and force underflow exception if required.
58524         * math/auto-libm-test-in: Add more tests of exp.
58525         * math/auto-libm-test-out: Regenerated.
58526         * sysdeps/i386/fpu/libm-test-ulps: Update.
58527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58529         [BZ #16283]
58530         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
58531         * math/w_exp2f.c (__exp2f): Likewise.
58532         * math/w_exp2l.c (__exp2l): Likewise.
58533         * math/auto-libm-test-in: Do not allow missing errno on exp2
58534         underflow.
58535         * math/auto-libm-test-out: Regenerated.
58537 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
58539         [BZ #16274]
58540         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
58541         handle filename validation.
58542         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
58543         (do_open): Delete.
58545 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
58547         [BZ #6786]
58548         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
58549         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
58550         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
58551         <float.h>.
58552         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
58553         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
58554         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58555         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
58556         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58557         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
58558         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58559         * math/auto-libm-test-in: Don't allow missing errno from erfc.
58560         Add more erfc tests.
58561         * math/auto-libm-test-out: Regenerated.
58562         * sysdeps/i386/fpu/libm-test-ulps: Update.
58563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58565         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
58566         exp2, expm1, j0 and j1.
58567         * math/auto-libm-test-out: Regenerated.
58568         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
58569         (erfc_test_data): Likewise.
58570         (exp_test_data): Likewise.
58571         (exp_tonearest_test_data): Likewise.
58572         (exp_towardzero_test_data): Likewise.
58573         (exp_downward_test_data): Likewise.
58574         (exp_upward_test_data): Likewise.
58575         (exp10_test_data): Likewise.
58576         (exp2_test_data): Likewise.
58577         (expm1_test_data): Likewise.
58578         (j0_test_data): Likewise.
58579         (j1_test_data): Likewise.
58580         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
58581         (input_flag_type): Add flag_xfail_rounding.
58582         (input_flags): Add xfail-rounding.
58583         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
58584         (output_for_one_input_case): Handle flag_xfail_rounding.
58585         * sysdeps/i386/fpu/libm-test-ulps: Update.
58586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58588 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
58590         [BZ #16289]
58591         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
58592         division by 0.
58594 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58596         [BZ #16195]
58597         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
58598         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
58599         (STAP_PROBE0): New macro.
58600         (STAP_PROBE1): Likewise.
58601         (STAP_PROBE2): Likewise.
58602         (STAP_PROBE3): Likewise.
58603         (STAP_PROBE4): Likewise.
58605 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
58607         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
58609 2013-12-02  Steve Ellcey  <sellcey@mips.com>
58611         * benchtests/Makefile (bench): Add sqrt.
58612         (LDLIBS-bench-sqrt): New.
58613         * benchtests/sqrt-input: New.
58615 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
58617         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
58618         (GAIH_EAI): Likewise.
58619         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
58620         (gaih_inet): Likewise.
58621         (getaddrinfo): Don't use GAIH_EAI.
58623         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
58624         (struct gaih): Remove definition.
58626 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58628         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
58629         Use HERRNOP directly.
58631 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58635 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
58637         * math/gen-auto-libm-tests.c (test_functions): Add more
58638         single-argument functions.
58639         (special_fill_pi_2): New function.
58640         (special_fill_minus_pi_2): Likewise.
58641         (special_fill_pi_6): Likewise.
58642         (special_fill_minus_pi_6): Likewise.
58643         (special_fill_pi_3): Likewise.
58644         (special_fill_2pi_3): Likewise.
58645         (special_fill_e): Likewise.
58646         (special_fill_1_e): Likewise.
58647         (special_fill_e_minus_1): Likewise.
58648         (special_real_inputs): Add more special inputs.
58649         (output_for_one_input_case): Do not require ERANGE on underflow to
58650         zero if round-to-nearest result does not underflow to zero, unless
58651         exact results required.
58652         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
58653         atan, atanh, cbrt, cos and cosh.
58654         * math/auto-libm-test-out: Regenerated.
58655         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
58656         (acos_tonearest_test_data): Likewise.
58657         (acos_towardzero_test_data): Likewise.
58658         (acos_downward_test_data): Likewise.
58659         (acos_upward_test_data): Likewise.
58660         (acosh_test_data): Likewise.
58661         (asin_test_data): Likewise.
58662         (asin_tonearest_test_data): Likewise.
58663         (asin_towardzero_test_data): Likewise.
58664         (asin_upward_test_data): Likewise.
58665         (asinh_test_data): Likewise.
58666         (atan_test_data): Likewise.
58667         (atanh_test_data): Likewise.
58668         (cbrt_test_data): Likewise.
58669         (cos_test_data): Likewise.
58670         (cos_tonearest_test_data): Likewise.
58671         (cos_towardzero_test_data): Likewise.
58672         (cos_downward_test_data): Likewise.
58673         (cos_upward_test_data): Likewise.
58674         (cosh_test_data): Likewise.
58675         (cosh_tonearest_test_data): Likewise.
58676         (cosh_towardzero_test_data): Likewise.
58677         (cosh_downward_test_data): Likewise.
58678         (cosh_upward_test_data): Likewise.
58679         * sysdeps/i386/fpu/libm-test-ulps: Update.
58680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58682 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
58684         [BZ #6787]
58685         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
58686         * math/w_exp10f.c (__exp10f): Likewise.
58687         * math/w_exp10l.c (__exp10l): Likewise.
58688         * math/libm-test.inc (exp10_test_data): Add more tests and expect
58689         errno settings in existing tests.
58691         [BZ #14032]
58692         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
58693         precision control set to double precision.
58694         * sysdeps/i386/fpu/w_sqrt.c: New file.
58695         * math/auto-libm-test-in: Add more tests.
58696         * math/auto-libm-test-out: Update.
58698         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
58699         (sqrt_test_tonearest): New function.
58700         (sqrt_towardzero_test_data): New variable.
58701         (sqrt_test_towardzero): New function.
58702         (sqrt_downward_test_data): New variable.
58703         (sqrt_test_downward): New function.
58704         (sqrt_upward_test_data): New variable.
58705         (sqrt_test_upward): New function.
58706         (main): Call the new functions.
58708         * math/gen-auto-libm-tests.c: New file.
58709         * math/auto-libm-test-in: Likewise.
58710         * math/auto-libm-test-out: New generated file.
58711         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
58712         variables.
58713         (%beautify): Add generated representations of zero.
58714         (top level): Set $auto_input and call parse_auto_input.
58715         (beautify): Remove trailing "f" from hex float constants.
58716         (parse_args): Handle XFAIL_TEST.
58717         (convert_condition): New function.
58718         (or_value): Likewise.
58719         (or_cond_value): Likewise.
58720         (generate_testfile): Handle AUTO_TESTS_* lines.
58721         (parse_auto_input): New function.
58722         * math/libm-test.inc (XFAIL_TEST): New macro.
58723         (ERRNO_UNCHANGED): Update value.
58724         (ERRNO_EDOM): Likewise.
58725         (ERRNO_ERANGE): Likewise.
58726         (IGNORE_RESULT): Likewise.
58727         (TEST_COND_flt_32): New macro.
58728         (TEST_COND_dbl_64): Likewise.
58729         (TEST_COND_ldbl_96_intel): Likewise.
58730         (TEST_COND_ldbl_96_m68k): Likewise.
58731         (TEST_COND_ldbl_128): Likewise.
58732         (TEST_COND_ldbl_128ibm): Likewise.
58733         (TEST_COND_long32): Likewise.
58734         (TEST_COND_long64): Likewise.
58735         (TEST_COND_before_rounding): Likewise.
58736         (TEST_COND_after_rounding): Likewise.
58737         (enable_test): Handle XFAIL_TEST flag.
58738         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
58739         with finite results.
58740         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
58741         auto-libm-test-out.
58743 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58744             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58746         [BZ #16214]
58747         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
58748         __tls_get_addr_internal instead of __tls_get_offset in order to
58749         avoid GOT pointer dependency.  Make rtld export
58750         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
58751         __tls_get_addr since we are a __tls_get_offset platform.
58752         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
58753         GOT pointer being set up before.
58754         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
58756 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
58758         * manual/math.texi (Errors in Math Functions): Document accuracy
58759         goals.
58761         [BZ #15004]
58762         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
58763         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
58764         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58765         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58766         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58767         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58768         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58769         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
58770         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
58771         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58772         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58773         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58774         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58775         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58776         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58777         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
58779         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
58780         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
58781         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
58782         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
58783         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
58784         Likewise.
58785         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
58786         Likewise.
58787         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
58788         Likewise.
58789         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
58790         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
58791         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
58792         atomic-feupdateenv and flt-rounds.
58793         * sysdeps/powerpc/nofpu/Versions (libc): Add
58794         __atomic_feholdexcept, __atomic_feclearexcept,
58795         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
58796         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
58797         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
58798         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
58799         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
58800         here.
58801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
58802         Update.
58804         * manual/arith.texi (FP Exceptions): Document that exceptions may
58805         not be raised when matherr is used.
58806         (Math Error Reporting): Document overflow in directed rounding
58807         modes.  Document that errno may not be set when finite values are
58808         returned on overflow.  Document intent to set errno on underflow
58809         only for underflow to zero.
58811         [BZ #16271]
58812         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
58813         round-to-nearest then adjust result for other rounding modes.
58814         * include/fenv.h (fegetround): Use libm_hidden_proto.
58815         * math/fegetround.c (fegetround): Use libm_hidden_def.
58816         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
58817         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
58818         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
58819         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
58820         Likewise.
58821         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
58822         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58823         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
58824         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
58826 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58828         [BZ #16077]
58829         * nss/Versions (libnss_files): Add
58830         _nss_files_gethostbyname3_r.
58831         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
58832         New function.
58833         (HOST_DB_LOOKUP): Remove macro.
58834         (_nss_files_gethostbyname_r): Implement function without the
58835         HOST_DB_LOOKUP macro.
58836         (_nss_files_gethostbyname2_r): Likewise.
58838 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
58840         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
58842 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
58844         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
58845         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
58846         warning.
58848 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58850         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
58851         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
58852         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
58853         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
58854         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
58855         __fe_nomask_env_priv and attribute_hidden.
58856         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
58857         (libc_feupdateenv_test_ppc): Likewise.
58858         (libc_feresetround_ppc): Likewise.
58859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58860         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
58861         compat_symbol macro.
58862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58863         (__fe_nomask_env): Likewise.
58864         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
58866 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58868         * string/Makefile: Remove ifunc tests.
58869         * string/test-string.h: Define TEST_IFUNC.
58870         * string/test-bcopy-ifunc.c: Remove.
58871         * string/test-bzero-ifunc.c: Likewise.
58872         * string/test-memccpy-ifunc.c: Likewise.
58873         * string/test-memchr-ifunc.c: Likewise.
58874         * string/test-memcmp-ifunc.c: Likewise.
58875         * string/test-memcpy-ifunc.c: Likewise.
58876         * string/test-memmem-ifunc.c: Likewise.
58877         * string/test-memmove-ifunc.c: Likewise.
58878         * string/test-mempcpy-ifunc.c: Likewise.
58879         * string/test-memrchr-ifunc.c: Likewise.
58880         * string/test-memset-ifunc.c: Likewise.
58881         * string/test-rawmemchr-ifunc.c: Likewise.
58882         * string/test-stpcpy-ifunc.c: Likewise.
58883         * string/test-stpncpy-ifunc.c: Likewise.
58884         * string/test-strcasecmp-ifunc.c: Likewise.
58885         * string/test-strcasestr-ifunc.c: Likewise.
58886         * string/test-strcat-ifunc.c: Likewise.
58887         * string/test-strchr-ifunc.c: Likewise.
58888         * string/test-strchrnul-ifunc.c: Likewise.
58889         * string/test-strcmp-ifunc.c: Likewise.
58890         * string/test-strcpy-ifunc.c: Likewise.
58891         * string/test-strcspn-ifunc.c: Likewise.
58892         * string/test-strlen-ifunc.c: Likewise.
58893         * string/test-strncasecmp-ifunc.c: Likewise.
58894         * string/test-strncat-ifunc.c: Likewise.
58895         * string/test-strncmp-ifunc.c: Likewise.
58896         * string/test-strncpy-ifunc.c: Likewise.
58897         * string/test-strnlen-ifunc.c: Likewise.
58898         * string/test-strpbrk-ifunc.c: Likewise.
58899         * string/test-strrchr-ifunc.c: Likewise.
58900         * string/test-strspn-ifunc.c: Likewise.
58901         * string/test-strstr-ifunc.c: Likewise.
58903 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58905         * benchtests/Makefile: Remove ifunc tests.
58906         * benchtests/bench-string.h: Define TEST_IFUNC.
58907         * benchtests/bench-bcopy-ifunc.c: Remove.
58908         * benchtests/bench-bzero-ifunc.c: Likewise.
58909         * benchtests/bench-memccpy-ifunc.c: Likewise.
58910         * benchtests/bench-memchr-ifunc.c: Likewise.
58911         * benchtests/bench-memcmp-ifunc.c: Likewise.
58912         * benchtests/bench-memcpy-ifunc.c: Likewise.
58913         * benchtests/bench-memmem-ifunc.c: Likewise.
58914         * benchtests/bench-memmove-ifunc.c: Likewise.
58915         * benchtests/bench-mempcpy-ifunc.c: Likewise.
58916         * benchtests/bench-memrchr-ifunc.c: Likewise.
58917         * benchtests/bench-memset-ifunc.c: Likewise.
58918         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
58919         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
58920         * benchtests/bench-stpcpy-ifunc.c: Likewise.
58921         * benchtests/bench-stpncpy-ifunc.c: Likewise.
58922         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
58923         * benchtests/bench-strcasestr-ifunc.c: Likewise.
58924         * benchtests/bench-strcat-ifunc.c: Likewise.
58925         * benchtests/bench-strchr-ifunc.c: Likewise.
58926         * benchtests/bench-strchrnul-ifunc.c: Likewise.
58927         * benchtests/bench-strcmp-ifunc.c: Likewise.
58928         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
58929         * benchtests/bench-strcpy-ifunc.c: Likewise.
58930         * benchtests/bench-strcspn-ifunc.c: Likewise.
58931         * benchtests/bench-strlen-ifunc.c: Likewise.
58932         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
58933         * benchtests/bench-strncat-ifunc.c: Likewise.
58934         * benchtests/bench-strncmp-ifunc.c: Likewise.
58935         * benchtests/bench-strncpy-ifunc.c: Likewise.
58936         * benchtests/bench-strnlen-ifunc.c: Likewise.
58937         * benchtests/bench-strpbrk-ifunc.c: Likewise.
58938         * benchtests/bench-strrchr-ifunc.c: Likewise.
58939         * benchtests/bench-strsep-ifunc.c: Likewise.
58940         * benchtests/bench-strspn-ifunc.c: Likewise.
58941         * benchtests/bench-strstr-ifunc.c: Likewise.
58943 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58945         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
58947 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58949         * resolv/netdb.h: Use __glibc_reserved instead __unused.
58950         * rt/aio.h: Likewise.
58951         * sysdeps/gnu/bits/utmp.h: Likewise.
58952         * sysdeps/gnu/bits/utmpx.h: Likewise.
58953         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58954         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
58955         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
58956         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
58957         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
58958         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
58959         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
58960         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
58961         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
58962         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
58963         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
58964         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
58965         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
58966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
58967         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58968         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
58969         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
58970         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
58971         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
58972         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
58973         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
58974         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
58975         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
58976         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58977         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
58978         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58979         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
58980         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
58981         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
58982         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
58983         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
58984         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
58985         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
58986         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
58987         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
58988         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
58989         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
58990         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
58991         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
58992         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
58993         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
58994         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58996 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
58998         [BZ #16245]
58999         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
59000         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
59002 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
59004         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
59005         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
59006         Likewise.
59008 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59010         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
59011         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
59012         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
59013         (__fesetround): Remove define.
59014         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
59015         rounding and exceptions handling.
59016         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
59017         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
59018         (__fe_nomask_env): Likewise.
59019         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
59020         __fegetround instead of fegetround.
59021         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
59022         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
59024 2013-11-21  Roland McGrath  <roland@hack.frob.com>
59026         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
59027         it's there.
59029         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
59031 2013-11-21  Meador Inge  <meadori@codesourcery.com>
59033         [BZ #11157]
59034         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
59035         (encrypt_r): Likewise.
59036         * malloc/obstack.h (obstack_free): Likewise.
59037         * posix/unistd.h (encrypt): Likewise.
59039 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
59041         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
59042         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
59043         DL_CALL_DT_FINI() that call the functions directly.
59044         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
59045         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
59046         * elf/dl-fini.c: Likewise.
59048 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
59050         * malloc/hooks.c (memalign_check): Add alignment rounding.
59051         * malloc/malloc.c (_mid_memalign): New function.
59052         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
59053         Implement by calling _mid_memalign.
59054         * manual/probes.texi (Memory Allocation Probes): Remove
59055         memory_valloc_retry and memory_pvalloc_retry.
59057 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59059         * locale/programs/locarchive.c (open_archive): Add const
59060         qualifier to ARCHIVEFNAME and copy default fname to
59061         DEFAULT_FNAME.
59063         [BZ #15601]
59064         * libio/tst-widetext.input: Rename Oriya to Odia.
59065         * locale/iso-639.def: Likewise.
59067         * manual/probes.texi (Mathematical Function Probes): Add
59068         documentation for sin, cos, asin and acos probes.
59069         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
59070         (__sin32): Add slowasin probe.
59071         (__cos32): Add slowacos probe.
59072         (__mpsin): Add slowsin probe.
59073         (__mpcos): Add slowcos probe.
59075 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
59077         [BZ #15483]
59078         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
59079         thread-local __sim_exceptions_thread and global
59080         __sim_exceptions_global.
59081         (__sim_disabled_exceptions): Change to thread-local
59082         __sim_disabled_exceptions_thread and global
59083         __sim_disabled_exceptions_global.
59084         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59085         and global __sim_round_mode_global.
59086         (__simulate_exceptions): Use thread-local floating-point state and
59087         set global state from it as needed.
59088         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
59089         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
59090         __sim_round_mode_thread.
59091         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
59092         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
59093         and global __sim_exceptions_global.
59094         (__sim_disabled_exceptions): Change to thread-local
59095         __sim_disabled_exceptions_thread and global
59096         __sim_disabled_exceptions_global.
59097         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59098         and global __sim_round_mode_global.
59099         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
59100         (SIM_SET_GLOBAL): Likewise.
59101         * sysdeps/powerpc/soft-fp/sfp-machine.h
59102         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
59103         __sim_round_mode_thread.
59104         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
59105         __sim_disabled_exceptions_thread.
59106         (__sim_exceptions): Change to __sim_exceptions_thread.
59107         (__sim_disabled_exceptions): Change to
59108         __sim_disabled_exceptions_thread.
59109         (__sim_round_mode): Change to __sim_round_mode_thread.
59110         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
59111         thread-local floating-point state and set global state from it as
59112         needed.
59113         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
59114         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
59115         (__sim_disabled_exceptions): Remove extern declaration.
59116         (feenableexcept): Use thread-local floating-point state and set
59117         global state from it as needed.
59118         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
59119         extern declaration.
59120         (__sim_disabled_exceptions): Likewise.
59121         (__sim_round_mode): Likewise.
59122         (__fegetenv): Use thread-local floating-point state.
59123         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
59124         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59125         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
59126         floating-point state and set global state from it as needed.
59127         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
59128         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
59129         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
59130         Likewise.
59131         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
59132         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
59133         Likewise.
59134         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
59135         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
59136         Use __sim_round_mode_thread.
59137         * math/test-fenv-tls.c: New file.
59138         * math/Makefile (tests): Add test-fenv-tls.
59139         ($(objpfx)test-fenv-tls): Depend on
59140         $(common-objpfx)nptl/libpthread.so.
59142 2013-11-19  Andreas Schwab  <schwab@suse.de>
59144         * locale/programs/locale.c (show_info): Decode wordarray elements.
59145         * locale/categories.def (LC_MONETARY): Add element for
59146         _NL_MONETARY_CRNCYSTR.
59147         * locale/C-monetary.c (conversion_rate): New variable.
59148         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
59149         element.
59151 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
59153         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
59154         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
59156 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59158         * elf/Makefile (tst-auxv): New test.
59159         * elf/tst-auxv.c: New
59160         * elf/rtld.c (dl_main): Adjust AT_EXECFN
59162 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
59164         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
59165         (hidden_proto): Caller changed.
59166         (hidden_tls_proto): New macro.
59167         (libc_hidden_tls_proto): Likewise.
59168         (rtld_hidden_tls_proto): Likewise.
59169         (libm_hidden_tls_proto): Likewise.
59170         (libresolv_hidden_tls_proto): Likewise.
59171         (librt_hidden_tls_proto): Likewise.
59172         (libdl_hidden_tls_proto): Likewise.
59173         (libnss_files_hidden_tls_proto): Likewise.
59174         (libnsl_hidden_tls_proto): Likewise.
59175         (libnss_nisplus_hidden_tls_proto): Likewise.
59176         (libutil_hidden_tls_proto): Likewise.
59178 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
59180         [BZ #10253]
59181         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
59182         (decompose_rpath): Defer expansion to fillin_rpath.
59183         (_dl_init_paths): Pass linkmap to fillin_rpath.
59185 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
59187         * benchtests/Makefile: Add strsep.
59188         * benchtests/bench-strsep.c: New file: strsep benchtest.
59189         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
59191 2013-11-18  Andreas Schwab  <schwab@suse.de>
59193         * locale/programs/locale.c (show_info) [case byte]: Check for
59194         '\377' instead of '\177'.
59195         * locale/C-monetary.c (not_available): Always use "\377".
59196         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
59197         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
59198         detect unavailable sign_posn locale elements.
59199         * locale/localeconv.c (__localeconv): For grouping and
59200         mon_grouping handle "\177" and "\377" like no grouping.
59201         (INT_ELEM): New macro.  Use it to set all numeric members.
59202         * locale/programs/ld-monetary.c (monetary_read)
59203         <tok_mon_grouping>: Normalize single -1 to the empty string.
59204         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
59205         Likewise.
59207 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59209         [BZ #16055]
59210         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
59211         when we match (nil).
59212         * stdio-common/tst-sscanf.c (struct test): Add testcase.
59214 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
59216         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
59217         (NO_TEST_INLINE): Update value.
59218         (ERRNO_UNCHANGED): Likewise.
59219         (ERRNO_EDOM): Likewise.
59220         (ERRNO_ERANGE): Likewise.
59221         (IGNORE_RESULT): Likewise.
59222         (check_float_internal): Check signs of NaN results if
59223         TEST_NAN_SIGN used.
59224         (check_complex): Pass TEST_NAN_SIGN flag through to second
59225         check_float_internal call.
59226         (copysign_test_data): Add tests with quiet NaNs as second
59227         argument.  Use TEST_NAN_SIGN.
59228         (fabs_test_data): Add test of negative quiet NaN argument.  Use
59229         TEST_NAN_SIGN.
59230         (signbit_test_data): Add tests of quiet NaN argument.
59231         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
59233         * math/gen-libm-test.pl (show_exceptions): Take extra argument
59234         $ignore_result.
59235         (parse_args): Handle function results specified as IGNORE.
59236         * math/libm-test.inc (IGNORE_RESULT): New macro.
59237         (check_float_internal): Do not check numerical result if flag
59238         IGNORE_RESULT set.
59239         (check_complex): Pass through IGNORE_RESULT to second
59240         check_float_internal call.
59241         (check_int): Do not check numerical result if flag IGNORE_RESULT
59242         set.
59243         (check_long): Likewise.
59244         (check_bool): Likewise.
59245         (check_longlong): Likewise.
59246         (lrint_test_data): Add tests of infinite and NaN arguments.
59247         (lrint_tonearest_test_data): Likewise.
59248         (lrint_towardzero_test_data): Likewise.
59249         (lrint_downward_test_data): Likewise.
59250         (lrint_upward_test_data): Likewise.
59251         (llrint_test_data): Likewise.
59252         (llrint_tonearest_test_data): Likewise.
59253         (llrint_towardzero_test_data): Likewise.
59254         (llrint_downward_test_data): Likewise.
59255         (llrint_upward_test_data): Likewise.
59256         (lround_test_data): Likewise.
59257         (llround_test_data): Likewise.
59259         * math/libm-test.inc (NO_TEST_INLINE): New macro.
59260         (ERRNO_UNCHANGED): Update value.
59261         (ERRNO_EDOM): Likewise.
59262         (ERRNO_ERANGE): Likewise.
59263         (NO_TEST_INLINE_FLOAT): New macro.
59264         (NO_TEST_INLINE_DOUBLE): Likewise.
59265         (enable_test): New function.
59266         (RUN_TEST_f_f): Check enable_test before running test.
59267         (RUN_TEST_2_f): Likewise.
59268         (RUN_TEST_fff_f): Likewise.
59269         (RUN_TEST_c_f): Likewise.
59270         (RUN_TEST_f_f1): Likewise.
59271         (RUN_TEST_fF_f1): Likewise.
59272         (RUN_TEST_fI_f1): Likewise.
59273         (RUN_TEST_ffI_f1): Likewise.
59274         (RUN_TEST_c_c): Likewise.
59275         (RUN_TEST_cc_c): Likewise.
59276         (RUN_TEST_f_i): Likewise.
59277         (RUN_TEST_f_i_tg): Likewise.
59278         (RUN_TEST_ff_i_tg): Likewise.
59279         (RUN_TEST_f_b): Likewise.
59280         (RUN_TEST_f_b_tg): Likewise.
59281         (RUN_TEST_f_l): Likewise.
59282         (RUN_TEST_f_L): Likewise.
59283         (RUN_TEST_fFF_11): Likewise.
59284         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
59285         conditionals.
59286         (cosh_test_data): Likewise.
59287         (exp_test_data): Likewise.
59288         (expm1_test_data): Likewise.
59289         (hypot_test_data): Likewise.
59290         (pow_test_data): Likewise.
59291         (sinh_test_data): Likewise.
59292         (tanh_test_data): Likewise.
59293         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
59294         flags argument.
59296         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
59297         tests with quiet NaN input and output.
59298         (acosh_test_data): Likewise.
59299         (asin_test_data): Likewise.
59300         (asinh_test_data): Likewise.
59301         (atan_test_data): Likewise.
59302         (atanh_test_data): Likewise.
59303         (atan2_test_data): Likewise.
59304         (cbrt_test_data): Likewise.
59305         (cos_test_data): Likewise.
59306         (cosh_test_data): Likewise.
59307         (erf_test_data): Likewise.
59308         (erfc_test_data): Likewise.
59309         (exp_test_data): Likewise.
59310         (exp10_test_data): Likewise.
59311         (exp2_test_data): Likewise.
59312         (expm1_test_data): Likewise.
59313         (hypot_test_data): Likewise.
59314         (j0_test_data): Likewise.
59315         (j1_test_data): Likewise.
59316         (jn_test_data): Likewise.
59317         (lgamma_test_data): Likewise.
59318         (log_test_data): Likewise.
59319         (log10_test_data): Likewise.
59320         (log1p_test_data): Likewise.
59321         (log2_test_data): Likewise.
59322         (pow_test_data): Likewise.
59323         (scalb_test_data): Likewise.
59324         (sin_test_data): Likewise.
59325         (sincos_test_data): Likewise.
59326         (sinh_test_data): Likewise.
59327         (tan_test_data): Likewise.
59328         (tanh_test_data): Likewise.
59329         (tgamma_test_data): Likewise.
59330         (y0_test_data): Likewise.
59331         (y1_test_data): Likewise.
59332         (yn_test_data): Likewise.
59334         [BZ #16167]
59335         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
59336         argument being NaN and avoid computations with second argument in
59337         that case.
59338         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59339         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
59340         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59342 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
59344         * locale/iso-639.def: Add Chitwani Tharu (the).
59346 2013-11-14  Andreas Schwab  <schwab@suse.de>
59348         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
59349         word instead of empty string.
59351 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59354         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
59355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59356         (__fe_nomask_env): Likewise.
59358 2013-11-13  Steve Ellcey  <sellcey@mips.com>
59360         * benchtests/bench-timing.h: Include time.h.
59362 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
59364         [BZ #15997]
59365         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
59366         to 3.4.0 for x32.
59367         * sysdeps/unix/sysv/linux/configure: Regenerated.
59369 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
59371         [BZ #16151]
59372         * stdlib/strtod_l.c (round_and_return): Do not consider
59373         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
59374         exponent one less than half the least subnormal exponent.
59375         * stdlib/test-strtod-round-data: Add more tests.
59376         * stdlib/tst-strtod-round.c (tests): Regenerated.
59378 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59380         [BZ #14143]
59381         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
59382         (__fe_mask_env): Likewise.
59383         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
59384         libm_hidden_proto and add function prototype.
59385         (__fe_mask_env): Add function prototype.
59386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59387         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
59388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59389         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
59390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59391         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
59393 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59395         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
59396         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
59398 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59400         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
59401         of htab_find_slot().
59403 2013-11-11  David S. Miller  <davem@davemloft.net>
59405         [BZ #16150]
59406         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
59407         symbol in the non-vis3 case in static builds.
59408         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
59409         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
59410         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
59411         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
59413 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
59415         [BZ #387]
59416         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
59417         it is empty.
59419 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59421         * benchtests/Makefile: Add bench-strtod.
59422         * benchtests/bench-strtod.c: New file: strtod benchtest
59424 2013-11-11  Andreas Schwab  <schwab@suse.de>
59426         [BZ #16153]
59427         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
59428         terminating NUL in key length.
59430 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59432         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59433         Add artificial ODP entry for vDSO symbol for PPC64.
59434         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
59435         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
59437 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59439         [BZ #15374]
59440         * nss/getent.c (services_keys): Recognize services starting with digit.
59442 2013-11-06  David S. Miller  <davem@davemloft.net>
59444         [BZ #15985]
59445         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
59446         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
59448 2013-11-06  Will Newton  <will.newton@linaro.org>
59450         * manual/memory.texi (Malloc Examples): Remove register
59451         keyword from examples.
59453 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
59455         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
59457 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
59459         [BZ #6981]
59460         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
59461         depending on [__GCC_IEC_559 > 0].
59462         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
59463         depending on [__GCC_IEC_559_COMPLEX > 0].
59465 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
59467         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
59468         to iso-639.def.
59470 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
59472         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
59474 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
59476         [BZ #16112]
59477         * malloc/malloc (malloc_info): Do not handle first bin as
59478         special case.
59480 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
59482         * locale/iso-639.def: Add Central Nahuatl (nhn).
59484 2013-11-01  Bruno Haible  <bruno@clisp.org>
59486         [BZ #7003]
59487         * manual/math.texi (BSD Random): Specify range upper bound as
59488         in POSIX.
59490 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
59492         * locale/iso-639.def: Add Meadow Mari (mhr).
59494 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
59496         [BZ #14752], [BZ #15763]
59497         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
59498         Validate name.
59499         * rt/tst_shm.c: Add test for escaping directory.
59501 2013-10-31  Andreas Schwab  <schwab@suse.de>
59503         [BZ #15917]
59504         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
59505         followed by 'x' as part of digit sequence.
59506         * stdio-common/tst-sscanf.c (double_tests2): New tests.
59508 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
59510         [BZ #16037]
59511         * configure.ac: allow GNU Make 4.0 and greater.
59512         * configure: Regenerated.
59514 2013-10-30  Will Newton  <will.newton@linaro.org>
59516         [BZ #16038]
59517         * malloc/hooks.c (memalign_check): Limit alignment to the
59518         maximum representable power of two.
59519         * malloc/malloc.c (__libc_memalign): Likewise.
59520         * malloc/tst-memalign.c (do_test): Add test for very
59521         large alignment values.
59522         * malloc/tst-posix_memalign.c (do_test): Likewise.
59524 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
59526         [BZ #11087]
59527         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
59528         (munmap_chunk): Likewise.
59529         (mremap_chunk): Likewise.
59531 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
59533         [BZ #15799]
59534         * stdlib/div.c (div): Remove obsolete code.
59535         * stdlib/ldiv.c (ldiv): Likewise.
59536         * stdlib/lldiv.c (lldiv): Likewise.
59538 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59540         [BZ #16071]
59541         * nss/nss_files/files-XXX.c (get_contents_ret): New
59542         enumerator.
59543         (get_contents): New function.
59544         (internal_getent): Use it.  Expand size of LINEBUFLEN.
59546 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
59548         * configure.in: Moved to ...
59549         * configure.ac: ... here. Change reference to configure.in
59550         to configure.ac.
59551         * sysdeps/arm/preconfigure.ac: ... here.
59552         configure.in to configure.ac.
59553         * sysdeps/gnu/configure.in: Moved to ...
59554         * sysdeps/gnu/configure.ac: ... here.
59555         * sysdeps/i386/configure.in: Moved to ...
59556         * sysdeps/i386/configure.ac: ... here.
59557         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
59558         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
59559         * sysdeps/mach/configure.in: Moved to ...
59560         * sysdeps/mach/configure.ac: ... here.
59561         * sysdeps/mach/hurd/configure.in: Moved to ...
59562         * sysdeps/mach/hurd/configure.ac: ... here.
59563         * sysdeps/powerpc/configure.in: Moved to ...
59564         * sysdeps/powerpc/configure.ac: ... here.
59565         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
59566         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
59567         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
59568         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
59569         * sysdeps/s390/s390-32/configure.in: Moved to ...
59570         * sysdeps/s390/s390-32/configure.ac: ... here.
59571         * sysdeps/s390/s390-64/configure.in: Moved to ...
59572         * sysdeps/s390/s390-64/configure.ac: ... here.
59573         * sysdeps/sh/configure.in: Moved to ...
59574         * sysdeps/sh/configure.ac: ... here.
59575         * sysdeps/sparc/configure.in: Moved to ...
59576         * sysdeps/sparc/configure.ac: ... here.
59577         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
59578         * sysdeps/unix/sysv/linux/configure.ac: ... here.
59579         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
59580         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
59581         * sysdeps/x86_64/configure.in: Moved to ...
59582         * sysdeps/x86_64/configure.ac: ... here.
59583         * sysdeps/x86_64/preconfigure.in: Moved to ...
59584         * sysdeps/x86_64/preconfigure.ac: ... here.
59585         * aclocal.m4: Change reference to configure.in to configure.ac.
59586         * config.h.in: Likewise.
59587         * manual/install.texi: Likewise.
59588         * manual/maint.texi: Likewise.
59589         * Makefile: Likewise.
59590         * malloc/Makefile: Likewise.
59591         * nscd/Makefile: Likewise.
59592         * Makeconfig: Change reference to configure.in and
59593         preconfigure.in to configure.ac and preconfigure.ac
59594         respectively.
59595         * INSTALL: Regenerated.
59596         * configure: Likewise.
59597         * sysdeps/gnu/configure: Likewise.
59598         * sysdeps/i386/configure: Likewise.
59599         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
59600         * sysdeps/mach/configure: Likewise.
59601         * sysdeps/mach/hurd/configure: Likewise.
59602         * sysdeps/powerpc/configure: Likewise.
59603         * sysdeps/powerpc/powerpc32/configure: Likewise.
59604         * sysdeps/powerpc/powerpc64/configure: Likewise.
59605         * sysdeps/s390/s390-32/configure: Likewise.
59606         * sysdeps/s390/s390-64/configure: Likewise.
59607         * sysdeps/sh/configure: Likewise.
59608         * sysdeps/sparc/configure: Likewise.
59609         * sysdeps/unix/sysv/linux/configure: Likewise.
59610         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
59611         * sysdeps/x86_64/configure: Likewise.
59612         * sysdeps/x86_64/preconfigure: Likewise.
59614 2013-10-29  Andreas Schwab  <schwab@suse.de>
59616         * stdio-common/Makefile (tst-swscanf-ENV): Define.
59618 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59620         * benchtests/pow-inputs: Add new inputs.
59622         * benchtests/exp-inputs: Add new inputs.
59624         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
59625         conditional check for return value.
59626         (__cos32): Likewise.
59628 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59630         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
59631         to provide a boost for large inputs with word alignment.
59632         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
59633         implementation based on optimized PPC64 strcpy.
59634         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
59635         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
59636         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
59637         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
59639 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
59641         [BZ #2801]
59642         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
59644 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
59646         [BZ #14876]
59647         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
59648         * time/tst-strptime.c (day_tests): Add testcase.
59650 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
59652         [BZ #14029]
59653         * manual/pattern.texi: Acknowledge that fnmatch can fail.
59655 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
59657         [BZ #16074]
59658         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
59659         MAP_FAILED on error.
59661 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59663         [BZ #16072]
59664         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
59665         heap for large requests.
59667 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
59669         [BZ #9954]
59670         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
59671         result if the result has no associated interface.
59672         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
59673         interface for all 127.X.Y.Z addresses.
59675 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
59677         * locale/iso-639.def: Add Ligurian (lij)
59679 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
59681         [BZ #15825]
59682         * sunrpc/rpc_main.c: Document rpcgen -5.
59684 2013-10-19  Michael Stahl  <mstahl@redhat.com>
59686         * elf/rtld.c (do_preload): Print the reason why preloading failed.
59688 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
59690         [BZ #10278]
59691         * posix/glob.c: Match only directories when trailing slash is present.
59692         * posix/tst-gnuglob.c (my_opendir): Do not open files.
59693         (main): Add testcase.
59695 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
59697         [BZ #15670]
59698         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
59700 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
59702         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
59703         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
59704         AUTH_DES and cindex for FIPS 140-2.
59705         (DES Encryption): Add cindex FIPS 46-3.
59707         * locale/locarchive.h (struct locarhandle): Add fname.
59708         * locale/programs/localedef.c (main): Pass ARGV[remaining]
59709         if an optional argument was specified to --list-archive,
59710         otherwise NULL.
59711         * locale/programs/locarchive.c (show_archive_content): Take new
59712         argument fname and pass it via ah.fname to open_archive.
59713         * locale/programs/localedef.h: Update decl.
59714         (open_archive): If AH->fname is non-null, open that file
59715         rather than the default file name, and don't ignore ENOENT.
59716         (create_archive): Set AH.fname to NULL.
59717         (delete_locales_from_archive): Likewise.
59718         (add_locales_to_archive): Likewise.
59719         * locale/programs/locfile.c (write_all_categories): Likewise.
59721 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
59722             Aldy Hernandez  <aldyh@redhat.com>
59724         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
59725         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
59726         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
59727         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
59728         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
59729         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
59730         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
59731         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
59732         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
59733         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
59734         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
59735         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
59736         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
59737         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
59738         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
59739         Likewise.
59740         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
59741         Likewise.
59742         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
59743         Likewise.
59744         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
59745         Likewise.
59746         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
59747         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
59748         Likewise.
59749         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
59750         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
59751         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
59752         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
59753         Likewise.
59754         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
59755         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
59756         * sysdeps/powerpc/preconfigure: Likewise.
59757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
59758         Likewise.
59759         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
59760         Replace contents of file by #include of <fenv_libc.h>.
59761         * sysdeps/powerpc/soft-fp/sfp-machine.h
59762         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
59763         and <sys/prctl.h>.
59764         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
59765         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
59766         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
59767         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
59768         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
59769         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
59770         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
59771         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
59772         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
59773         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
59774         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
59775         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
59776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59777         Allow copysignl PLT reference to be missing.
59779 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
59780             Joseph Myers  <joseph@codesourcery.com
59782         [BZ #15948]
59783         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
59784         single character.
59785         (add_to_tablewc): Assert sequence of wide characters is nonempty.
59787 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59789         * elf/tst-tls-dlinfo.c: Don't include tls.h.
59790         * elf/tst-tls1.c: Likewise.
59791         * elf/tst-tls10.h: Likewise.
59792         * elf/tst-tls14.c: Likewise.
59793         * elf/tst-tls2.c: Likewise.
59794         * elf/tst-tls3.c: Likewise.
59795         * elf/tst-tls4.c: Likewise.
59796         * elf/tst-tls5.c: Likewise.
59797         * elf/tst-tls6.c: Likewise.
59798         * elf/tst-tls7.c: Likewise.
59799         * elf/tst-tls8.c: Likewise.
59800         * elf/tst-tls9.c: Likewise.
59801         * elf/tst-tlsmod1.c: Likewise.
59802         * elf/tst-tlsmod13.c: Likewise.
59803         * elf/tst-tlsmod13a.c: Likewise.
59804         * elf/tst-tlsmod14a.c: Likewise.
59805         * elf/tst-tlsmod16a.c: Likewise.
59806         * elf/tst-tlsmod16b.c: Likewise.
59807         * elf/tst-tlsmod2.c: Likewise.
59808         * elf/tst-tlsmod3.c: Likewise.
59809         * elf/tst-tlsmod4.c: Likewise.
59810         * elf/tst-tlsmod5.c: Likewise.
59811         * elf/tst-tlsmod6.c: Likewise.
59813 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
59815         [BZ #12486]
59816         * malloc/malloc.c: remove checks for statistics.
59818 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
59820         [BZ #15277]
59821         * inet/inet_net.c (inet_network): Detect additional invalid strings.
59822         * inet/tst-network.c: Add testcase.
59824 2013-10-17  Andreas Schwab  <schwab@suse.de>
59826         [BZ #15218]
59827         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
59828         to determine canonical name.
59830 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
59832         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
59833         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
59834         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59835         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59836         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59837         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59838         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59839         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59840         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59841         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59842         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59843         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59844         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59845         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59846         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59847         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59848         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59849         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59850         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59851         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59852         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59853         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59854         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59855         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
59856         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
59857         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59858         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59859         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
59860         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59861         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
59862         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59863         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59864         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59865         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59866         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59867         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59868         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59869         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59870         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59871         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59872         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59873         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59874         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59875         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59876         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59877         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59878         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59879         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59880         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59881         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59882         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59883         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59884         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59885         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59886         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59887         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59888         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59889         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59891 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
59893         [BZ #16041]
59894         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
59895         make result into a quiet NaN.
59897 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
59899         * soft-fp/adddf3.c: Fix horizontal whitespace.
59900         * soft-fp/addsf3.c: Likewise.
59901         * soft-fp/addtf3.c: Likewise.
59902         * soft-fp/divdf3.c: Likewise.
59903         * soft-fp/divsf3.c: Likewise.
59904         * soft-fp/divtf3.c: Likewise.
59905         * soft-fp/double.h: Likewise.
59906         * soft-fp/eqdf2.c: Likewise.
59907         * soft-fp/eqsf2.c: Likewise.
59908         * soft-fp/eqtf2.c: Likewise.
59909         * soft-fp/extenddftf2.c: Likewise.
59910         * soft-fp/extended.h: Likewise.
59911         * soft-fp/extendsfdf2.c: Likewise.
59912         * soft-fp/extendsftf2.c: Likewise.
59913         * soft-fp/extendxftf2.c: Likewise.
59914         * soft-fp/fixdfdi.c: Likewise.
59915         * soft-fp/fixdfsi.c: Likewise.
59916         * soft-fp/fixdfti.c: Likewise.
59917         * soft-fp/fixsfdi.c: Likewise.
59918         * soft-fp/fixsfsi.c: Likewise.
59919         * soft-fp/fixsfti.c: Likewise.
59920         * soft-fp/fixtfdi.c: Likewise.
59921         * soft-fp/fixtfsi.c: Likewise.
59922         * soft-fp/fixtfti.c: Likewise.
59923         * soft-fp/fixunsdfdi.c: Likewise.
59924         * soft-fp/fixunsdfsi.c: Likewise.
59925         * soft-fp/fixunsdfti.c: Likewise.
59926         * soft-fp/fixunssfdi.c: Likewise.
59927         * soft-fp/fixunssfsi.c: Likewise.
59928         * soft-fp/fixunssfti.c: Likewise.
59929         * soft-fp/fixunstfdi.c: Likewise.
59930         * soft-fp/fixunstfsi.c: Likewise.
59931         * soft-fp/fixunstfti.c: Likewise.
59932         * soft-fp/floatdidf.c: Likewise.
59933         * soft-fp/floatdisf.c: Likewise.
59934         * soft-fp/floatditf.c: Likewise.
59935         * soft-fp/floatsidf.c: Likewise.
59936         * soft-fp/floatsisf.c: Likewise.
59937         * soft-fp/floatsitf.c: Likewise.
59938         * soft-fp/floattidf.c: Likewise.
59939         * soft-fp/floattisf.c: Likewise.
59940         * soft-fp/floattitf.c: Likewise.
59941         * soft-fp/floatundidf.c: Likewise.
59942         * soft-fp/floatundisf.c: Likewise.
59943         * soft-fp/floatunditf.c: Likewise.
59944         * soft-fp/floatunsidf.c: Likewise.
59945         * soft-fp/floatunsisf.c: Likewise.
59946         * soft-fp/floatunsitf.c: Likewise.
59947         * soft-fp/floatuntidf.c: Likewise.
59948         * soft-fp/floatuntisf.c: Likewise.
59949         * soft-fp/floatuntitf.c: Likewise.
59950         * soft-fp/fmadf4.c: Likewise.
59951         * soft-fp/fmasf4.c: Likewise.
59952         * soft-fp/fmatf4.c: Likewise.
59953         * soft-fp/gedf2.c: Likewise.
59954         * soft-fp/gesf2.c: Likewise.
59955         * soft-fp/getf2.c: Likewise.
59956         * soft-fp/ledf2.c: Likewise.
59957         * soft-fp/lesf2.c: Likewise.
59958         * soft-fp/letf2.c: Likewise.
59959         * soft-fp/muldf3.c: Likewise.
59960         * soft-fp/mulsf3.c: Likewise.
59961         * soft-fp/multf3.c: Likewise.
59962         * soft-fp/negdf2.c: Likewise.
59963         * soft-fp/negsf2.c: Likewise.
59964         * soft-fp/negtf2.c: Likewise.
59965         * soft-fp/op-1.h: Likewise.
59966         * soft-fp/op-2.h: Likewise.
59967         * soft-fp/op-4.h: Likewise.
59968         * soft-fp/op-8.h: Likewise.
59969         * soft-fp/op-common.h: Likewise.
59970         * soft-fp/quad.h: Likewise.
59971         * soft-fp/single.h: Likewise.
59972         * soft-fp/soft-fp.h: Likewise.
59973         * soft-fp/sqrtdf2.c: Likewise.
59974         * soft-fp/sqrtsf2.c: Likewise.
59975         * soft-fp/sqrttf2.c: Likewise.
59976         * soft-fp/subdf3.c: Likewise.
59977         * soft-fp/subsf3.c: Likewise.
59978         * soft-fp/subtf3.c: Likewise.
59979         * soft-fp/truncdfsf2.c: Likewise.
59980         * soft-fp/trunctfdf2.c: Likewise.
59981         * soft-fp/trunctfsf2.c: Likewise.
59982         * soft-fp/trunctfxf2.c: Likewise.
59983         * soft-fp/unorddf2.c: Likewise.
59984         * soft-fp/unordsf2.c: Likewise.
59985         * soft-fp/unordtf2.c: Likewise.
59987 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
59989         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
59990         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
59992 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
59994         * elf/dl-libc.c: Clear initfini list after freeing.
59996 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
59998         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
59999         * soft-fp/addsf3.c: Likewise.
60000         * soft-fp/addtf3.c: Likewise.
60001         * soft-fp/divdf3.c: Likewise.
60002         * soft-fp/divsf3.c: Likewise.
60003         * soft-fp/divtf3.c: Likewise.
60004         * soft-fp/double.h: Likewise.
60005         * soft-fp/eqdf2.c: Likewise.
60006         * soft-fp/eqsf2.c: Likewise.
60007         * soft-fp/eqtf2.c: Likewise.
60008         * soft-fp/extenddftf2.c: Likewise.
60009         * soft-fp/extended.h: Likewise.
60010         * soft-fp/extendsfdf2.c: Likewise.
60011         * soft-fp/extendsftf2.c: Likewise.
60012         * soft-fp/extendxftf2.c: Likewise.
60013         * soft-fp/fixdfdi.c: Likewise.
60014         * soft-fp/fixdfsi.c: Likewise.
60015         * soft-fp/fixdfti.c: Likewise.
60016         * soft-fp/fixsfdi.c: Likewise.
60017         * soft-fp/fixsfsi.c: Likewise.
60018         * soft-fp/fixsfti.c: Likewise.
60019         * soft-fp/fixtfdi.c: Likewise.
60020         * soft-fp/fixtfsi.c: Likewise.
60021         * soft-fp/fixtfti.c: Likewise.
60022         * soft-fp/fixunsdfdi.c: Likewise.
60023         * soft-fp/fixunsdfsi.c: Likewise.
60024         * soft-fp/fixunsdfti.c: Likewise.
60025         * soft-fp/fixunssfdi.c: Likewise.
60026         * soft-fp/fixunssfsi.c: Likewise.
60027         * soft-fp/fixunssfti.c: Likewise.
60028         * soft-fp/fixunstfdi.c: Likewise.
60029         * soft-fp/fixunstfsi.c: Likewise.
60030         * soft-fp/fixunstfti.c: Likewise.
60031         * soft-fp/floatdidf.c: Likewise.
60032         * soft-fp/floatdisf.c: Likewise.
60033         * soft-fp/floatditf.c: Likewise.
60034         * soft-fp/floatsidf.c: Likewise.
60035         * soft-fp/floatsisf.c: Likewise.
60036         * soft-fp/floatsitf.c: Likewise.
60037         * soft-fp/floattidf.c: Likewise.
60038         * soft-fp/floattisf.c: Likewise.
60039         * soft-fp/floattitf.c: Likewise.
60040         * soft-fp/floatundidf.c: Likewise.
60041         * soft-fp/floatundisf.c: Likewise.
60042         * soft-fp/floatunsidf.c: Likewise.
60043         * soft-fp/floatunsisf.c: Likewise.
60044         * soft-fp/floatuntidf.c: Likewise.
60045         * soft-fp/floatuntisf.c: Likewise.
60046         * soft-fp/floatuntitf.c: Likewise.
60047         * soft-fp/fmadf4.c: Likewise.
60048         * soft-fp/fmasf4.c: Likewise.
60049         * soft-fp/fmatf4.c: Likewise.
60050         * soft-fp/gedf2.c: Likewise.
60051         * soft-fp/gesf2.c: Likewise.
60052         * soft-fp/getf2.c: Likewise.
60053         * soft-fp/ledf2.c: Likewise.
60054         * soft-fp/lesf2.c: Likewise.
60055         * soft-fp/letf2.c: Likewise.
60056         * soft-fp/muldf3.c: Likewise.
60057         * soft-fp/mulsf3.c: Likewise.
60058         * soft-fp/multf3.c: Likewise.
60059         * soft-fp/negdf2.c: Likewise.
60060         * soft-fp/negsf2.c: Likewise.
60061         * soft-fp/negtf2.c: Likewise.
60062         * soft-fp/op-1.h: Likewise.
60063         * soft-fp/op-2.h: Likewise.
60064         * soft-fp/op-4.h: Likewise.
60065         * soft-fp/op-8.h: Likewise.
60066         * soft-fp/op-common.h: Likewise.
60067         * soft-fp/quad.h: Likewise.
60068         * soft-fp/single.h: Likewise.
60069         * soft-fp/soft-fp.h: Likewise.
60070         * soft-fp/sqrtdf2.c: Likewise.
60071         * soft-fp/sqrtsf2.c: Likewise.
60072         * soft-fp/sqrttf2.c: Likewise.
60073         * soft-fp/subdf3.c: Likewise.
60074         * soft-fp/subsf3.c: Likewise.
60075         * soft-fp/subtf3.c: Likewise.
60076         * soft-fp/truncdfsf2.c: Likewise.
60077         * soft-fp/trunctfdf2.c: Likewise.
60078         * soft-fp/trunctfsf2.c: Likewise.
60079         * soft-fp/trunctfxf2.c: Likewise.
60080         * soft-fp/unorddf2.c: Likewise.
60081         * soft-fp/unordsf2.c: Likewise.
60082         * soft-fp/unordtf2.c: Likewise.
60084 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
60086         [BZ #15672]
60087         * misc/error.c (error_tail): Fix possible buffer overflow.
60089 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
60091         [BZ #13028]
60092         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
60093         address.
60095 2013-10-14  P. J. McDermott  <pj@pehjota.net>
60097         [BZ #832]
60098         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
60099         testing pipefail option.
60101 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60103         * soft-fp/double.h: Indent preprocessor directives inside #if.
60104         * soft-fp/extended.h: Likewise.
60105         * soft-fp/op-2.h: Likewise.
60106         * soft-fp/op-4.h: Likewise.
60107         * soft-fp/op-common.h: Likewise.
60108         * soft-fp/quad.h: Likewise.
60109         * soft-fp/single.h: Likewise.
60110         * soft-fp/soft-fp.h: Likewise.
60112 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
60114         * iconv/iconv_prog.c: Fix typos.
60115         * stdio-common/psiginfo-data.h: Likewise.
60117 2013-10-12   Reuben Thomas <rrt@sc3d.org>
60119         [BZ #15764]
60120         * locale/setlocale.c: Fix typo.
60122 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60124         [BZ #16036]
60125         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
60126         signaling NaN arguments.
60127         * soft-fp/unordsf2.c (__unordsf2): Likewise.
60128         * soft-fp/unordtf2.c (__unordtf2): Likewise.
60130         [BZ #14910]
60131         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
60132         unordered operands.
60133         * soft-fp/gesf2.c (__gesf2): Likewise.
60134         * soft-fp/getf2.c (__getf2): Likewise.
60135         * soft-fp/ledf2.c (__ledf2): Likewise.
60136         * soft-fp/lesf2.c (__lesf2): Likewise.
60137         * soft-fp/letf2.c (__letf2): Likewise.
60139         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
60140         * soft-fp/eqsf2.c (__eqsf2): Likewise.
60141         * soft-fp/eqtf2.c (__eqtf2): Likewise.
60142         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
60143         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
60144         * soft-fp/fixdfti.c (__fixdfti): Likewise.
60145         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
60146         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
60147         * soft-fp/fixsfti.c (__fixsfti): Likewise.
60148         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
60149         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
60150         * soft-fp/fixtfti.c (__fixtfti): Likewise.
60151         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
60152         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
60153         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
60154         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
60155         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
60156         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
60157         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
60158         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
60159         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
60160         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
60161         * soft-fp/floatdisf.c (__floatdisf): Likewise.
60162         * soft-fp/floatsisf.c (__floatsisf): Likewise.
60163         * soft-fp/floattidf.c (__floattidf): Likewise.
60164         * soft-fp/floattisf.c (__floattisf): Likewise.
60165         * soft-fp/floattitf.c (__floattitf): Likewise.
60166         * soft-fp/floatundidf.c (__floatundidf): Likewise.
60167         * soft-fp/floatundisf.c (__floatundisf): Likewise.
60168         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
60169         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
60170         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
60171         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
60172         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
60173         * soft-fp/gesf2.c (__gesf2): Likewise.
60174         * soft-fp/getf2.c (__getf2): Likewise.
60175         * soft-fp/ledf2.c (__ledf2): Likewise.
60176         * soft-fp/lesf2.c (__lesf2): Likewise.
60177         * soft-fp/letf2.c (__letf2): Likewise.
60179         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
60180         Undefine and redefine.
60181         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
60182         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
60183         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
60184         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
60185         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60186         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
60187         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60188         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
60189         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60190         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
60191         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60192         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
60193         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60194         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
60195         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60197         [BZ #16032]
60198         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
60199         without decrementing exponent if mantissa >= that for the
60200         denominator, not >.
60201         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
60202         denominator, not >.  Decrement exponent in < case instead of
60203         incrementing in >= case.
60204         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
60205         without decrementing exponent if mantissa >= that for the
60206         denominator, not >.
60208         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
60209         computing saturated result for unsigned overflow.
60211 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60212             Jeff Law  <law@redhat.com>
60214         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
60215         (atan2Mp): Add systemtap probe marker.
60216         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
60217         (__ieee754_log): Add systemtap probe marker.
60218         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
60219         (atanMp): Add systemtap probe marker.
60220         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
60221         (tanMp): Add systemtap probe marker.
60222         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
60223         (__slowexp): Add systemtap probe marker.
60224         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
60225         (__slowpow): Add systemtap probe marker.
60226         * manual/probes.texi: Document probes.
60228 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
60230         [BZ #15362]
60231         * libio/fileops.c (_IO_new_file_write): Return count of bytes
60232         written.
60233         (_IO_new_file_xsputn): Don't return EOF if nothing has been
60234         written.
60235         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
60236         written to buffer but not flushed.
60237         * libio/iofwrite_u.c:  Likewise.
60238         * libio/iopadn.c:  Return bytes returned even if EOF was
60239         encountered.
60240         * libio/iowpadn.c:  Likewise.
60241         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
60242         if _IO_padn does not write the whole buffer.
60243         [!COMPILE_WPRINTF] (PAD): Likewise.
60245 2013-10-10  David S. Miller  <davem@davemloft.net>
60247         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
60248         directory block.
60250 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60252         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
60253         instead of FSF address.
60254         * soft-fp/fixdfti.c: Likewise.
60255         * soft-fp/fixsfti.c: Likewise.
60256         * soft-fp/fixtfti.c: Likewise.
60257         * soft-fp/fixunsdfti.c: Likewise.
60258         * soft-fp/fixunssfti.c: Likewise.
60259         * soft-fp/fixunstfti.c: Likewise.
60260         * soft-fp/floattidf.c: Likewise.
60261         * soft-fp/floattisf.c: Likewise.
60262         * soft-fp/floattitf.c: Likewise.
60263         * soft-fp/floatuntidf.c: Likewise.
60264         * soft-fp/floatuntisf.c: Likewise.
60265         * soft-fp/floatuntitf.c: Likewise.
60266         * soft-fp/trunctfxf2.c: Likewise.
60268         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
60269         * soft-fp/fixdfti.c: Likewise.
60270         * soft-fp/fixsfti.c: Likewise.
60271         * soft-fp/fixtfti.c: Likewise.
60272         * soft-fp/fixunsdfti.c: Likewise.
60273         * soft-fp/fixunssfti.c: Likewise.
60274         * soft-fp/fixunstfti.c: Likewise.
60275         * soft-fp/floattidf.c: Likewise.
60276         * soft-fp/floattisf.c: Likewise.
60277         * soft-fp/floattitf.c: Likewise.
60278         * soft-fp/floatuntidf.c: Likewise.
60279         * soft-fp/floatuntisf.c: Likewise.
60280         * soft-fp/floatuntitf.c: Likewise.
60281         * soft-fp/trunctfxf2.c: Likewise.
60283 2013-10-10  David S. Miller  <davem@davemloft.net>
60285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60287 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
60289         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
60290         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
60291         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
60292         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
60293         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
60294         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
60295         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
60297         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
60298         for NaNs before doing comparisons on argument.
60299         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
60300         Likewise.
60302 2013-10-10  Will Newton  <will.newton@linaro.org>
60304         * malloc/hooks.c (memalign_check): Ensure the value of bytes
60305         passed to _int_memalign does not overflow.
60307 2013-10-10  Torvald Riegel  <triegel@redhat.com>
60309         * scripts/bench.pl: Add include-sources directive.
60310         * benchtests/README: Update documentation.
60312 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60314         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
60315         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
60316         instead of FP_INIT_ROUNDMODE.
60317         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
60318         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
60320         [BZ #16034]
60321         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
60322         copy class of input value.
60323         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
60324         not handle exceptions.
60325         * soft-fp/negsf2.c (__negsf2): Likewise.
60326         * soft-fp/negtf2.c (__negtf2): Likewise.
60327         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
60329 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
60331         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
60332         semicolon.  From Linux kernel.
60334 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
60336         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
60338 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
60340         [BZ #156]
60341         * manual/socket.texi: Added statement about buffer
60342         for gethostbyname2_r.
60344 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
60346         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
60347         Use .p2align directive instead, throughout.
60348         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60349         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
60350         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
60351         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60352         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60353         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
60354         * sysdeps/x86_64/strchr.S: Likewise.
60355         * sysdeps/x86_64/strrchr.S: Likewise.
60357 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60359         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
60361         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
60363         * sysdeps/generic/math_private.h (__mpsin1): Remove
60364         declaration.
60365         (__mpcos1): Likewise.
60366         (__mpsin): New argument __range_reduce.
60367         (__mpcos): Likewise.
60368         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60369         (slow): Use __mpsin and __mpcos.
60370         (slow1): Likewise.
60371         (slow2): Likewise.
60372         (sloww): Likewise.
60373         (sloww1): Likewise.
60374         (sloww2): Likewise.
60375         (bsloww): Likewise.
60376         (bsloww1): Likewise.
60377         (bsloww2): Likewise.
60378         (cslow2): Likewise.
60379         (csloww): Likewise.
60380         (csloww1): Likewise.
60381         (csloww2): Likewise.
60382         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
60383         range_reduce.  Merge in __mpsin1.
60384         (__mpcos): Likewise.
60385         (__mpsin1): Remove.
60386         (__mpcos1): Likewise.
60388 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
60390         * locale/loadlocale.c (_nl_intern_locale_data): Use
60391         LOCFILE_ALIGNED_P.
60392         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
60393         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
60394         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
60395         obstack data is appropriately aligned.
60396         (obstack_int32_grow_fast): Likewise.
60397         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
60398         * locale/programs/locfile.c (add_locale_uint32): Likewise.
60399         (add_locale_uint32_array): Likewise.
60401 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60403         * benchtests/Makefile: Remove ARGLIST and RET variables.
60404         ($(objpfx)bench-%.c): Pass only function name to the script.
60405         * benchtests/README: Update documentation.
60406         * benchtests/acos-inputs: Add new directives.
60407         * benchtests/acosh-inputs: Likewise.
60408         * benchtests/asin-inputs: Likewise.
60409         * benchtests/asinh-inputs: Likewise.
60410         * benchtests/atan-inputs: Likewise.
60411         * benchtests/atanh-inputs: Likewise.
60412         * benchtests/cos-inputs: Likewise.
60413         * benchtests/cosh-inputs: Likewise.
60414         * benchtests/exp-inputs: Likewise.
60415         * benchtests/log-inputs: Likewise.
60416         * benchtests/pow-inputs: Likewise.
60417         * benchtests/rint-inputs: Likewise.
60418         * benchtests/sin-inputs: Likewise.
60419         * benchtests/sinh-inputs: Likewise.
60420         * benchtests/tan-inputs: Likewise.
60421         * benchtests/tanh-inputs: Likewise.
60422         * scripts/bench.pl: Add support for new directives.
60424 2013-10-07  Alan Modra  <amodra@gmail.com>
60426         * README: Fix careless merge.
60428 2013-10-05  Alan Modra  <amodra@gmail.com>
60430         * NEWS: Mention powerpc64le support and bugs fixed.
60431         * README: Both big-endian and little-endian powerpc64 supported.
60433 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60435         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
60436         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
60437         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
60438         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
60440 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
60442         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
60443         match prototype.
60445 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
60447         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
60448         Move -mhard-float appending from
60449         ports/sysdeps/powerpc/powerpc32/Makefile.
60450         [$(with-fp) = yes] (ASFLAGS): Likewise.
60451         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
60452         * sysdeps/powerpc/nofpu: Move directory from
60453         ports/sysdeps/powerpc/nofpu.
60454         * sysdeps/powerpc/soft-fp: Move directory from
60455         ports/sysdeps/powerpc/soft-fp.
60456         * sysdeps/powerpc/powerpc32/405: Move directory from
60457         ports/sysdeps/powerpc/powerpc32/405.
60458         * sysdeps/powerpc/powerpc32/440: Move directory from
60459         ports/sysdeps/powerpc/powerpc32/440.
60460         * sysdeps/powerpc/powerpc32/464: Move directory from
60461         ports/sysdeps/powerpc/powerpc32/464.
60462         * sysdeps/powerpc/powerpc32/476: Move directory from
60463         ports/sysdeps/powerpc/powerpc32/476.
60464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
60465         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
60466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
60467         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
60468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
60469         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
60470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
60471         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
60472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
60473         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
60474         * README: Update for powerpc-*-linux-gnu software floating point
60475         support in libc.
60477         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
60478         case to powerpc/powerpc32*.
60479         * sysdeps/unix/sysv/linux/configure: Regenerated.
60481         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
60482         (_FPU_MASK_OM): Define as 0x04.
60483         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
60484         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
60485         0x00c10080.
60486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
60487         0x0000003c.
60488         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
60490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
60491         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60492         getcontext_e500.
60493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
60494         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60495         setcontext_e500.
60496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
60497         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
60498         and setcontext_e500.
60500 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
60502         * locale/iso-3166.def: Update iso-1366.def and related occurrences
60504 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60506         * manual/threads.texi (Default Thread Attributes): Fix typo.
60508 2013-10-04  Will Newton  <will.newton@linaro.org>
60510         * malloc/Makefile: Add tst-memalign.
60511         * malloc/tst-memalign.c: New file.
60513         * malloc/tst-posix_memalign.c: Add comments.
60514         (do_test): Add comments and call free on all potentially
60515         allocated pointers. Add space after cast.
60517         * malloc/tst-pvalloc.c: Add comments.
60518         (do_test): Add comments and call free on all potentially
60519         allocated pointers. Remove duplicate check for NULL pointer.
60520         Add space after cast.
60522         * malloc/tst-valloc.c: Add comments.
60523         (do_test): Add comments and call free on all potentially
60524         allocated pointers. Remove duplicate check for NULL pointer.
60525         Add space after cast.
60527 2013-10-04  Alan Modra  <amodra@gmail.com>
60529         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60530         Use stdint types in rather than __attribute__((mode())).
60531         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60533 2013-10-04  Alan Modra  <amodra@gmail.com>
60535         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60536         Correct handling of unaligned relocs for little-endian.
60537         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60539 2013-10-04  Alan Modra  <amodra@gmail.com>
60541         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
60542         * configure: Regenerate.
60543         * nptl/shlib-versions: Powerpc*le starts at 2.18.
60544         * shlib-versions: Likewise.
60546 2013-10-04  Alan Modra  <amodra@gmail.com>
60548         * string/tester.c (test_memrchr): Increment reported test cycle.
60550 2013-10-04  Alan Modra  <amodra@gmail.com>
60552         * string/test-memcpy.c (do_one_test): When reporting errors, print
60553         string address and don't overrun end of string.
60555 2013-10-04  Alan Modra  <amodra@gmail.com>
60557         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
60558         insrdi.  Make better use of reg selection to speed exit slightly.
60559         Schedule entry path a little better.  Remove useless "are we done"
60560         checks on entry to main loop.  Handle wrapping around zero address.
60561         Correct main loop count.  Handle single left-over word from main
60562         loop inline rather than by using loop_small.  Remove extra word
60563         case in loop_small caused by wrong loop count.  Add little-endian
60564         support.
60565         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
60566         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
60567         cache hint.
60568         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
60569         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
60570         support.  Avoid rlwimi.
60571         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
60573 2013-10-04  Alan Modra  <amodra@gmail.com>
60575         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
60576         insrdi.  Formatting.
60577         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
60578         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60579         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
60580         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60581         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60582         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
60584 2013-10-04  Alan Modra  <amodra@gmail.com>
60586         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
60587         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60588         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
60589         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
60590         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
60591         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60592         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60593         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60594         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
60595         use of regs.  Use power7 mtocrf.  Tidy function tails.
60597 2013-10-04  Alan Modra  <amodra@gmail.com>
60599         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
60600         Formatting.  Consistently use rXXX register defines or rN defines.
60601         Use early exit labels that avoid restoring unused non-volatile regs.
60602         Make cr field use more consistent with rWORDn compares.  Rename
60603         regs used as shift registers for unaligned loop, using rN defines
60604         for short lifetime/multiple use regs.
60605         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60606         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
60607         addi 1,1,64 to pop stack frame.  Simplify return value code.
60608         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60610 2013-10-04  Alan Modra  <amodra@gmail.com>
60612         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
60613         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
60614         rather than rlwimi.
60615         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
60616         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
60617         little-endian support.  Correct typos.
60618         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
60619         rather than rlwimi.
60620         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
60621         in loop and entry code to keep "and." results.
60622         (strchr): Add little-endian support.  Comment.  Move cntlzd
60623         earlier in tail.
60624         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
60626 2013-10-04  Alan Modra  <amodra@gmail.com>
60628         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
60629         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
60630         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
60631         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
60633 2013-10-04  Alan Modra  <amodra@gmail.com>
60635         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
60636         (rTMP): Define as r11.
60637         (strcmp): Add little-endian support.  Optimise tail.
60638         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
60639         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60640         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
60641         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60642         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
60643         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60644         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60646 2013-10-04  Alan Modra  <amodra@gmail.com>
60648         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
60649         little-endian support.  Remove unnecessary "are we done" tests.
60650         Handle "s" wrapping around zero and extremely large "size".
60651         Correct main loop count.  Handle single left-over word from main
60652         loop inline rather than by using small_loop.  Correct comments.
60653         Delete "zero" tail, use "end_max" instead.
60654         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
60656 2013-10-04  Alan Modra  <amodra@gmail.com>
60658         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
60659         support.  Don't branch over align.
60660         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
60661         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
60662         support.  Rearrange tmp reg use to suit.  Comment.
60663         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
60665 2013-10-04  Alan Modra  <amodra@gmail.com>
60667         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
60669 2013-10-04  Alan Modra  <amodra@gmail.com>
60671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
60672         conditional form of branch and link when obtaining pc.
60673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
60675 2013-10-04  Alan Modra  <amodra@gmail.com>
60677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
60678         HIWORD/LOWORD.
60679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
60680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
60682 2013-10-04  Alan Modra  <amodra@gmail.com>
60684         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
60685         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
60686         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
60687         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
60688         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60689         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60690         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
60691         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60692         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
60693         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
60695 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60696             Alistair Popple <alistair@ozlabs.au.ibm.com>
60697             Alan Modra <amodra@gmail.com>
60699         [BZ #15723]
60700         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
60701         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
60702         _dl_hwcap access for little-endian.
60703         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
60704         destroy vmx regs when saving unaligned.
60705         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
60706         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
60707         destroy vmx regs when saving unaligned.
60709 2013-10-04  Alan Modra  <amodra@gmail.com>
60711         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
60712         Don't use a union to pack hi/low value.
60714 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60716         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
60717         for little-endian.
60718         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60719         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
60720         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60721         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60722         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60724 2013-10-04  Alan Modra  <amodra@gmail.com>
60726         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
60727         constants to usual value for .cst8 section, and remove redundant
60728         high address load.
60729         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
60730         constant for 0x1p52.  Load little-endian words of double from
60731         correct stack offsets.
60733 2013-10-04  Alan Modra  <amodra@gmail.com>
60735         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
60736         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
60737         words of double from correct stack offsets.
60738         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
60739         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
60740         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60741         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60742         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60743         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60744         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60745         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
60746         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
60747         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60748         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60749         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60750         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60751         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60752         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60753         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
60754         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
60756 2013-10-04  Alan Modra  <amodra@gmail.com>
60758         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
60759         64-bit int/double union.
60760         (_FPU_SETCW): Likewise.
60761         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
60762         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
60764 2013-10-04  Alan Modra  <amodra@gmail.com>
60766         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
60767         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
60769 2013-10-04  Alan Modra  <amodra@gmail.com>
60771         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
60772         use vector int constants.
60773         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
60775 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60777         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
60778         array with long long.
60779         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
60780         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
60781         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
60782         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
60783         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
60784         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
60785         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
60786         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
60787         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
60788         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
60789         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
60790         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
60791         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
60793 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60795         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
60796         (__signbit): Likewise.  Correct for little-endian.
60797         (__signbitl): Call __signbit.
60798         (lrint): Correct for little-endian.
60799         (lrintf): Call lrint.
60801 2013-10-04  Alan Modra  <amodra@gmail.com>
60803         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
60804         union 32-bit int array member with 64-bit int array.
60805         (t515, tm256): Double rather than long double.
60806         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
60808 2013-10-04  Alan Modra  <amodra@gmail.com>
60810         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
60811         Delete.
60812         (IEEE854_LONG_DOUBLE_BIAS): Delete.
60813         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
60814         version of math_ldbl.h.
60816 2013-10-04  Alan Modra  <amodra@gmail.com>
60818         [BZ #15734], [BZ #15735]
60819         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
60820         all uses of ieee875 long double macros and unions.  Simplify test
60821         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
60822         ldbl_extract_mantissa value for ix,iy exponents.  Properly
60823         normalize after ldbl_extract_mantissa, and don't add hidden bit
60824         already handled.  Don't treat low word of ieee854 mantissa like
60825         low word of IBM long double and mask off bit when testing for
60826         zero.
60827         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
60828         all uses of ieee875 long double macros and unions.  Simplify tests
60829         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
60830         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
60831         two1022, instead use their values.  Recognise that tests for large
60832         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
60833         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
60834         Rewrite all uses of ieee875 long double macros and unions.  Simplify
60835         test for 0.0L and nan.  Correct negation.
60836         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
60837         ieee875 long double macros and unions.  Correct output for large
60838         magnitude x.  Correct absolute value calculation.
60839         (__erfcl): Likewise.
60840         * math/libm-test.inc: Add tests for errors discovered in IBM long
60841         double versions of fmodl, remainderl, erfl and erfcl.
60843 2013-10-04  Alan Modra  <amodra@gmail.com>
60845         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
60846         all uses of ieee854 long double macros and unions.  Simplify tests
60847         for long doubles that are fully specified by the high double.
60848         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
60849         Likewise.
60850         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
60851         Remove dead code too.
60852         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
60853         (__ieee754_ynl): Likewise.
60854         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
60855         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
60856         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
60857         Remove dead code too.
60858         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
60859         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
60860         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
60861         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
60862         Simplify.
60863         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
60864         Simplify.
60865         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
60866         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
60867         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
60868         Comment on variable precision.
60869         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
60870         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60871         Likewise.
60872         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
60873         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60874         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60875         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
60876         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
60878 2013-10-04  Alan Modra  <amodra@gmail.com>
60880         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
60881         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
60882         all uses of ieee854 long double macros and unions.
60883         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
60884         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60885         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
60886         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
60887         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
60888         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60889         Likewise.
60890         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
60891         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60892         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
60893         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60894         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
60895         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
60896         Simplify sign and nan test too.
60897         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
60898         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
60899         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
60900         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
60901         Likewise.
60902         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60903         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
60904         Likewise.
60905         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60906         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
60907         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
60908         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
60909         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
60910         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
60912 2013-10-04  Alan Modra  <amodra@gmail.com>
60914         * stdio-common/printf_size.c (__printf_size): Don't use
60915         union ieee854_long_double in fpnum union.
60916         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
60917         signbit macro to retrieve sign from long double.
60918         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
60919         retrieve sign from long double.
60920         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
60921         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
60922         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
60923         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60924         * math/test-misc.c (main): Don't use union ieee854_long_double.
60926 2013-10-04  Alan Modra  <amodra@gmail.com>
60928         [BZ #15680]
60929         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
60930         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
60931         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
60932         calculation.  Remove unnecessary test for denormal exponent.
60933         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
60934         Correct handling of denormals.  Avoid undefined shift behaviour.
60935         Correct normalisation of low mantissa when low double is denormal.
60936         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
60937         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
60938         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
60939         Correct normalisation of low mantissa.  Test for overflow of high
60940         mantissa and normalise.
60941         (ldbl_nearbyint): Use more readable constant for two52.
60942         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
60943         (__mpn_construct_long_double): Fix test for overflow of high
60944         mantissa and correct normalisation.  Avoid undefined shift.
60946 2013-10-04  Alan Modra  <amodra@gmail.com>
60948         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60949         (union ibm_extended_long_double): Define as an array of ieee754_double.
60950         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
60951         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
60952         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
60953         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60954         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60955         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
60956         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60957         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60958         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
60959         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
60960         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60962 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
60964         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
60965         page size instead of calling getpagesize.
60967         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
60968         (LOCFILE_ALIGN_MASK): Likewise.
60969         (LOCFILE_ALIGN_UP): Likewise.
60970         (LOCFILE_ALIGNED_P): Likewise.
60971         * locale/programs/ld-collate.c (collate_output): Use the new
60972         macros instead of __alignof__ (int32_t).
60973         * locale/weight.h (findidx): Likewise.
60975 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
60977         [BZ #431]
60978         * manual/string.texi: Fix strncat and wcsncat.
60980 2013-10-03  Brooks Moses  <bmoses@google.com>
60982         [BZ #15915]
60983         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
60984         * Makerules: ...here, and adjust associated comments.
60986 2013-10-02  Will Newton  <will.newton@linaro.org>
60988         * malloc/Makefile: Add tst-pvalloc.
60989         * malloc/tst-pvalloc.c: New file.
60991 2013-10-02  Will Newton  <will.newton@linaro.org>
60993         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
60994         improve test coverage.
60996 2013-10-02  Will Newton  <will.newton@linaro.org>
60998         * malloc/Makefile: Add tst-posix_memalign.
60999         * malloc/tst-posix_memalign.c: New file.
61001 2013-10-01  Eric Blake  <eblake@redhat.com>
61003         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
61004         Use __THROWNL rather than __THROW on static functions.
61006 2013-09-30  Petr Machata  <pmachata@redhat.com>
61008         * elf/elf.h (R_AARCH64_ABS16): New macro.
61009         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
61010         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
61011         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
61012         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
61013         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
61014         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
61015         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
61016         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
61017         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
61018         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
61019         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
61020         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
61021         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
61022         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
61023         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
61024         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
61025         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
61026         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
61027         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
61028         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
61029         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
61030         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
61031         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
61032         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
61033         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
61034         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
61035         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
61036         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
61037         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
61038         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
61039         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
61040         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
61041         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
61042         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
61043         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
61044         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
61045         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
61046         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
61047         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
61048         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
61049         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
61050         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
61051         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
61052         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
61053         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
61054         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
61055         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
61056         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
61057         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
61058         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
61059         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
61060         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
61061         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
61062         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
61063         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
61064         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
61065         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
61066         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
61067         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
61068         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
61069         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
61070         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
61071         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
61072         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
61073         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
61074         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
61075         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
61076         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
61077         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
61078         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
61079         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
61080         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
61081         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
61082         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
61083         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
61084         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
61085         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
61086         (R_AARCH64_TLSDESC_LDR): Likewise.
61087         (R_AARCH64_TLSDESC_ADD): Likewise.
61088         (R_AARCH64_TLSDESC_CALL): Likewise.
61090 2013-09-30  Andreas Schwab  <schwab@suse.de>
61092         [BZ #15048]
61093         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
61094         the nss database lookup.
61095         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61098 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
61100         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
61102 2013-09-28  P. J. McDermott  <pj@pehjota.net>
61104         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
61105         ${Bash-specific parameter/pattern/string} parameter expansion.
61106         * sysdeps/unix/make-syscalls.sh: Likewise.
61108 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61110         * sysdeps/sh/stackguard-macros.h: New file.
61112 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
61114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
61115         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
61116         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
61117         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
61118         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61119         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
61121 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61123         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
61124         Fix thread ID register.
61126 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
61128         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
61129         [POSIX || UNIX98]: Require rather than permitting all symbols from
61130         <time.h>.
61131         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
61132         element of struct sched_param.
61133         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
61134         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
61135         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
61136         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
61137         constant.
61139 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
61141         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
61142         argument calculation.
61144 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61146         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
61147         Expect macro.
61148         [POSIX] (pthread_attr_t): Do not require type.
61149         [POSIX] (pthread_cond_t): Likewise.
61150         [POSIX] (pthread_condattr_t): Likewise.
61151         [POSIX] (pthread_key_t): Likewise.
61152         [POSIX] (pthread_mutex_t): Likewise.
61153         [POSIX] (pthread_mutexattr_t): Likewise.
61154         [POSIX] (pthread_once_t): Likewise.
61155         [POSIX] (pthread_t): Likewise.
61156         [POSIX-based standards] (pthread_atfork): Expect function.
61158 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61159             Richard Sandiford  <richard@codesourcery.com>
61161         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
61162         (swap_endianness_p): New extern variable.
61163         (set_big_endian): New inline function.
61164         (maybe_swap_uint32): Likewise.
61165         (maybe_swap_uint32_array): Likewise.
61166         (maybe_swap_uint32_obstack): Likewise.
61167         * locale/programs/locfile.c: Include <stdbool.h>.
61168         (swap_endianness_p): New variable.
61169         (add_locale_uint32): Call maybe_swap_uint32.
61170         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
61171         (write_locale_data): Call maybe_swap_uint32_array.
61172         * locale/programs/ld-collate.c (obstack_int32_grow): Call
61173         maybe_swap_uint32.
61174         (obstack_int32_grow_fast): Likewise.
61175         (output_weightwc): Call maybe_swap_uint32_obstack.
61176         (collate_output): Likewise.
61177         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
61178         (OPT_LITTLE_ENDIAN): Likewise.
61179         (options): Add --little-endian and --big-endian options.
61180         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
61181         * locale/programs/locarchive.c: Include "locfile.h".
61182         (GET): New macro.
61183         (SET): Likewise.
61184         (INC): Likewise.
61185         (create_archive): Use the new macros to access fields of
61186         structures directly mapped from or written to locale archives.
61187         (oldlocrecentcmp): Likewise.
61188         (enlarge_archive): Likewise.
61189         (insert_name): Likewise.
61190         (add_alias): Likewise.
61191         (add_locale): Likewise.
61192         (delete_locales_from_archive): Likewise.
61193         (show_archive_content): Likewise.
61194         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
61195         locale data.
61197 2013-09-24  Roland McGrath  <roland@hack.frob.com>
61199         * manual/freemanuals.texi: Updated from (newly) canonical copy at
61200         http://www.gnu.org/doc/freemanuals.texi.
61201         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
61203 2013-09-24  Will Newton  <will.newton@linaro.org>
61205         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
61206         macro.
61208 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
61210         * locale/hashval.h (compute_hashval): Interpret bytes of key as
61211         unsigned char.
61213 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
61215         * manual/threads.texi (POSIX Threads): Fix a typo.
61217 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61219         [BZ #14547]
61220         * string/tst-strcoll-overflow.c: New test case.
61221         * string/Makefile (xtests): Add tst-strcoll-overflow.
61222         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
61223         cache if string sizes may cause integer overflow.
61225         [BZ #14547]
61226         * string/strcoll_l.c (coll_seq): New members rule, idx,
61227         save_idx and back_us.
61228         (get_next_seq_nocache): New function.
61229         (do_compare_nocache): New function.
61230         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
61231         when malloc fails.
61233 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
61235         [BZ #15754]
61236         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
61237         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
61238         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
61240         [BZ #15754]
61241         * elf/Makefile (tests): Add tst-ptrguard1.
61242         (tests-static): Add tst-ptrguard1-static.
61243         (tst-ptrguard1-ARGS): Define.
61244         (tst-ptrguard1-static-ARGS): Define.
61245         * elf/tst-ptrguard1.c: New file.
61246         * elf/tst-ptrguard1-static.c: New file.
61247         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
61248         * sysdeps/i386/stackguard-macros.h: Likewise.
61249         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61250         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61251         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61252         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61253         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61254         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61256 2013-09-23  Hector Marco  <hecmargi@upv.es>
61257             Ismael Ripoll  <iripoll@disca.upv.es>
61258             Carlos O'Donell  <carlos@redhat.com>
61260         [BZ #15754]
61261         * sysdeps/generic/stackguard-macros.h: Define
61262         __pointer_chk_guard_local and POINTER_CHK_GUARD.
61263         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
61264         Define __pointer_chk_guard_local.
61265         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
61266         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
61268 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
61270         [BZ #15859]
61271         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
61273 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
61275         * include/string.h (__ffs): Declare as hidden.
61276         * string/ffs.c (__ffs): Define as hidden.
61277         * sysdeps/i386/ffs.c (__ffs): Likewise.
61278         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
61279         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
61280         * sysdeps/s390/ffs.c (__ffs): Likewise.
61281         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
61283 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
61285         * NEWS: Mention malloc probes.
61287         * malloc/arena.c (new_heap): New memory_heap_new probe.
61288         (grow_heap): New memory_heap_more probe.
61289         (shrink_heap): New memory_heap_less probe.
61290         (heap_trim): New memory_heap_free probe.
61291         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
61292         (systrim): New memory_sbrk_less probe.
61293         * manual/probes.texi: Document them.
61295         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
61296         * manual/probes.texi: Document it.
61298         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
61299         (__libc_realloc): Add memory_realloc_retry probe.
61300         (__libc_memalign): Add memory_memalign_retry probe.
61301         (__libc_valloc): Add memory_valloc_retry probe.
61302         (__libc_pvalloc): Add memory_pvalloc_retry probe.
61303         (__libc_calloc): Add memory_calloc_retry probe.
61304         * manual/probes.texi: Document them.
61306         * malloc/arena.c (get_free_list): Add probe
61307         memory_arena_reuse_free_list.
61308         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
61309         and memory_arena_reuse.
61310         (arena_get2) [!PER_THREAD]: Likewise.
61311         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
61312         memory_arena_reuse_realloc.
61313         * manual/probes.texi: Document them.
61315         * malloc/malloc.c (__libc_free): Add
61316         memory_mallopt_free_dyn_thresholds probe.
61317         (__libc_mallopt): Add multiple memory_mallopt probes.
61318         * manual/probes.texi: Document them.
61320         * malloc/malloc.c: Include stap-probe.h.
61321         (__libc_mallopt): Add memory_mallopt probe.
61322         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
61323         * manual/probes.texi: New.
61324         * manual/Makefile (chapters): Add probes.
61325         * manual/threads.texi: Set next node.
61327 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
61329         [BZ #15963, #13985]
61330         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
61331         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
61332         Add `Chinese' to `nan' entry name.
61334 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61336         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
61337         (POLYNOMIAL): Likewise.
61338         (TAYLOR_SINCOS): Likewise.
61339         (TAYLOR_SLOW): Likewise.
61340         (__sin): Use TAYLOR_SINCOS.
61341         (__cos): Likewise.
61342         (slow): Use TAYLOR_SLOW.
61343         (sloww): Likewise.
61344         (bsloww): Likewise.
61345         (csloww): Likewise.
61347 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61349         * stdlib/strtod_l.c: Fix buffer overrun.
61351 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61353         * benchtests/Makefile (bench): Add sincos.
61354         * benchtests/bench-sincos.c: New file.
61356         * math/libm-test.inc (cos_test_data): New test inputs.
61357         (sin_test_data): Likewise.
61359         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
61360         macro.
61361         (__sin): Use it.
61362         (__cos): Likewise.
61363         (slow1): Likewise.
61364         (slow2): Likewise.
61365         (sloww1): Likewise.
61366         (sloww2): Likewise.
61367         (bsloww1): Likewise.
61368         (bsloww2): Likewise.
61369         (cslow2): Likewise.
61370         (csloww1): Likewise.
61371         (csloww2): Likewise.
61373         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
61374         function.
61375         (__sin): Use it.
61376         (__cos): Likewise.
61378         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
61379         gotos.
61380         (__cos): Likewise.
61382 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
61384         * config.h.in (HAVE_MIPS_NAN2008): New macro.
61385         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
61386         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
61387         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
61388         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
61389         * elf/cache.c (print_entry): Handle the new cache flags.
61391 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61392             Aldy Hernandez  <aldyh@redhat.com>
61394         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
61395         Change condition to [_SOFT_FLOAT].
61396         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
61397         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
61398         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
61399         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
61400         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
61401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
61402         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
61403         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
61404         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
61405         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
61406         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
61407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
61408         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
61409         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
61410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
61411         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
61412         declaration.
61414 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61416         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
61417         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61418         (__longjmp): Use LOAD_GP to load saved GPRs.
61419         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
61420         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61421         (__sigsetjmp): Use SAVE_GP to save GPRs.
61423         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
61424         Do not append -msoft-float.
61425         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
61427 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61429         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
61431 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
61433         [BZ #15966]
61434         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
61435         (_FPU_GETCW): Use initial "__" on variable and field names but not
61436         on macro parameter name.
61437         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
61438         parentheses around reference to macro parameter.
61440 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
61442         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
61443         prototype.
61444         (ctype_startup): Use uint32_t in cast and sizeof for
61445         ctype->charnames.
61447 2013-09-11  Jia Liu  <proljc@gmail.com>
61449         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
61450         __daddr_t_defined.
61451         [__FreeBSD__]: Likewise.
61453 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
61455         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
61456         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
61457         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
61458         (strchr): Remove __strchr_sse42 ifunc selection.
61459         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
61460         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
61462 2013-09-11  Will Newton  <will.newton@linaro.org>
61464         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
61465         parameter to RES. Remove hardcoded 1000 value.
61466         * benchtests/bench-skeleton.c (main): Pass RES parameter
61467         to TIMING_INIT and multiply result by 1000.
61469 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61473 2013-09-11  Andreas Schwab  <schwab@suse.de>
61475         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
61476         if not defined.
61477         (O_TMPFILE) [__USE_GNU]: Define.
61478         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
61479         Define.
61481 2013-09-11  Will Newton  <will.newton@linaro.org>
61483         [BZ #15857]
61484         * malloc/malloc.c (__libc_memalign): Check the value of bytes
61485         does not overflow.
61487 2013-09-11  Will Newton  <will.newton@linaro.org>
61489         [BZ #15856]
61490         * malloc/malloc.c (__libc_valloc): Check the value of bytes
61491         does not overflow.
61493 2013-09-11  Will Newton  <will.newton@linaro.org>
61495         [BZ #15855]
61496         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
61497         does not overflow.
61499 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
61501         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
61502         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61503         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61504         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61505         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61507 2013-09-10  Allan McRae  <allan@archlinux.org>
61509         [BZ #15748]
61510         * manual/arith.texi (Parsing of Floats): Clarify
61511         cross-reference.
61513         [BZ #15849]
61514         * manual/install.texi (Running make install): Mention
61515         --enable-pt-chown.
61516         * INSTALL: Regenerated.
61518 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
61520         * csu/init-first.c (_init): Remove the !SHARED condition around
61521         FPU control word initialization.
61522         * elf/dl-support.c (_dl_fpu_control): New variable.
61523         (_dl_aux_init) <AT_FPUCW>: Initialize it.
61524         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
61525         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
61526         * math/test-fpucw-static.c: New file.
61527         * math/test-fpucw-ieee.c: New file.
61528         * math/test-fpucw-ieee-static.c: New file.
61529         * math/Makefile (tests): Add `test-fpucw-ieee' and
61530         `$(tests-static)'.
61531         (tests-static): New variable.
61532         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
61533         dependency to...
61534         [($(build-shared),yes)]
61535         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
61536         ... this.
61537         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
61538         New dependency.
61540 2013-09-09  Allan McRae  <allan@archlinux.org>
61542         [BZ #15939]
61543         * manual/string.texi (Collation Functions): Fix typo in
61544         strcoll example.
61545         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
61547         [BZ #15893]
61548         * stdlib/isomac.c (get_null_defines): Fix memory leak.
61550         [BZ #15892]
61551         * libio/memstream.c (open_memstream): Fix memory leak.
61552         * libio/wmemstream.c (open_wmemstream): Likewise.
61554         [BZ #15895]
61555         * nscd/netgroupcache.c: Fix nesting of ifdefs.
61557 2013-09-09  Will Newton  <will.newton@linaro.org>
61559         * malloc/Makefile: Add tst-realloc to tests.
61560         * malloc/tst-realloc.c: New file.
61562 2013-09-09  Allan McRae  <allan@archlinux.org>
61564         [BZ #15844]
61565         * COPYING: Update from GNU website to fix FSF address.
61566         * COPYING.LIB: Likewise.
61568 2013-09-06  David S. Miller  <davem@davemloft.net>
61570         * po/zh_TW.po: Update Chinese (traditional) translation from
61571         translation project.
61573 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
61574             Joseph Myers  <joseph@codesourcery.com>
61576         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
61577         "localeinfo.h".
61578         (obstack_chunk_alloc): New macro.
61579         (obstack_chunk_free): Likewise.
61580         (record_offset): New function.
61581         (init_locale_data): Likewise.
61582         (align_locale_data): Likewise.
61583         (add_locale_empty): Likewise.
61584         (add_locale_raw_data): Likewise.
61585         (add_locale_raw_obstack): Likewise.
61586         (add_locale_string): Likewise.
61587         (add_locale_wstring): Likewise.
61588         (add_locale_uint32): Likewise.
61589         (add_locale_uint32_array): Likewise.
61590         (add_locale_char): Likewise.
61591         (start_locale_structure): Likewise.
61592         (end_locale_structure): Likewise.
61593         (start_locale_prelude): Likewise.
61594         (end_locale_prelude): Likewise.
61595         (write_locale_data): Take locale_file structure rather than an
61596         iovec.
61597         * locale/programs/locfile.h: Include "obstack.h".
61598         (struct locale_file): Change to store locale file contents instead
61599         of header.
61600         (init_locale_data): New prototype.
61601         (align_locale_data): Likewise.
61602         (add_locale_empty): Likewise.
61603         (add_locale_raw_data): Likewise.
61604         (add_locale_raw_obstack): Likewise.
61605         (add_locale_string): Likewise.
61606         (add_locale_wstring): Likewise.
61607         (add_locale_uint32): Likewise.
61608         (add_locale_uint32_array): Likewise.
61609         (add_locale_char): Likewise.
61610         (start_locale_structure): Likewise.
61611         (end_locale_structure): Likewise.
61612         (start_locale_prelude): Likewise.
61613         (end_locale_prelude): Likewise.
61614         (write_locale_data): Update prototype.
61615         * locale/programs/3level.h (struct TABLE): Remove result field.
61616         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
61617         Use new locale_file interface.
61618         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
61619         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
61620         * locale/programs/ld-address.c (address_output): Use new
61621         locale_file interface.
61622         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
61623         NO_ADD_LOCALE.
61624         (collate_finish): Don't call collseq_table_finalize.
61625         (collate_output): Use new locale_file interface.
61626         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
61627         in file.
61628         (NO_FINALIZE): Change to NO_ADD_LOCALE.
61629         (TABLE): Move defines earlier in file.
61630         (ELEMENT): Likewise.
61631         (DEFAULT): Likewise.
61632         (wctrans_table_add): Move macro and inline function earlier in
61633         file.
61634         (struct wctype_table): Move type earlier in file.
61635         (add_locale_wctype_table): New static prototype.
61636         (struct locale_ctype_t): Use logical types instead of struct iovec
61637         pointers for members.
61638         (ctype_output): Use new locale_file interface.
61639         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
61640         new locale_file interface.
61641         (allocate_arrays): Update for use of new locale_file interface.
61642         * locale/programs/ld-identification.c (identification_output): Use
61643         new locale_file interface.
61644         * locale/programs/ld-measurement.c (measurement_output): Likewise.
61645         * locale/programs/ld-messages.c (messages_output): Likewise.
61646         * locale/programs/ld-monetary.c (monetary_output): Likewise.
61647         * locale/programs/ld-name.c (name_output): Likewise.
61648         * locale/programs/ld-numeric.c (numeric_output): Likewise.
61649         * locale/programs/ld-paper.c (paper_output): Likewise.
61650         * locale/programs/ld-telephone.c (telephone_output): Likewise.
61651         * locale/programs/ld-time.c (time_output): Likewise.
61653 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61655         * benchtests/Makefile: Add memrchr benchmark.
61656         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
61657         benchmark as memrchr.
61658         * benchtests/bench-memrchr-ifunc.c: New file.
61659         * benchtests/bench-memrchr.c: New file.
61661 2013-09-06   Will Newton  <will.newton@linaro.org>
61663         * benchtests/Makefile (string-bench): Add memcpy.
61665 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
61666             Cong Wang  <amwang@redhat.com>
61668         [BZ #15850]
61669         * sysdeps/unix/sysv/linux/bits/in.h
61670         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
61671         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
61672         before __USE_KERNEL_IPV6_DEFS uses.
61673         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
61674         IPPROTO_BEETPH.
61675         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
61676         sockaddr_in6, or ipv6_mreq.
61678 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61680         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
61681         memory access for final bytes in some large inputs.
61682         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
61684 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61686         * string/test-memrchr.c: New file.
61687         * string/test-memrchr-ifunc.c: New file.
61688         * string/Makefile: Add new memrchr testcase.
61690 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
61692         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
61693         fanotify_init returns EPERM.
61695 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
61697         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
61698         errors.
61699         (top level): Treat second token from macro or constant entries for
61700         allowed headers as allowed.
61701         * include/complex.h: Condition internal declarations on
61702         [!_ISOMAC].
61703         * include/fenv.h: Condition include of <stdbool.h> and internal
61704         declarations on [!_ISOMAC].
61706 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
61708         [BZ #15923]
61709         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
61711 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
61713         * configure.in (--enable-versioning): Remove configure option.
61714         (libc_cv_asm_symver_directive): Remove configure test.
61715         (libc_cv_ld_version_script_option): Likewise.
61716         (VERSIONING): Remove variable and AC_SUBST.
61717         (DO_VERSIONING): Remove AC_DEFINE.
61718         * configure: Regenerated.
61719         * config.h.in (DO_VERSIONING): Remove macro.
61720         * Makerules [$(versioning) = yes]: Change conditionals to
61721         [$(build-shared) = yes].
61722         * config.make.in (versioning): Remove variable.
61723         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
61724         [$(build-shared) = yes].
61725         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
61726         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
61727         * elf/Makefile [$(versioning) = yes]: Change conditionals to
61728         [$(build-shared) = yes].
61729         * extra-lib.mk [$(versioning) = yes]: Likewise.
61730         * hurd/Makefile [$(versioning) = yes]: Likewise.
61731         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
61732         [SHARED].
61733         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
61734         [SHARED].
61735         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
61736         [SHARED && !NO_HIDDEN].
61737         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
61738         [SHARED].
61739         [SHARED && DO_VERSIONING]: Likewise..
61740         * libio/Makefile [$(versioning) = yes]: Change conditionals to
61741         [$(build-shared) = yes].
61742         * manual/install.texi (--disable-versioning): Remove
61743         documentation.
61744         * INSTALL: Regenerated.
61745         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
61746         to [SHARED].
61747         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
61748         [$(build-shared) = yes].
61749         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
61750         * sysdeps/i386/i686/multiarch/strstr-c.c
61751         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
61752         [SHARED && !NO_HIDDEN].
61753         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
61754         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
61755         * sysdeps/powerpc/powerpc32/dl-machine.c
61756         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
61757         * sysdeps/powerpc/powerpc32/sysdep.h
61758         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
61759         to [SHARED && PIC && !NO_HIDDEN].
61760         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
61761         conditional to [SHARED].
61763 2013-09-04   Will Newton  <will.newton@linaro.org>
61765         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
61766         * benchtests/bench-string.h: Include bench-timing.h instead
61767         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
61768         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
61769         call to HP_TIMING_DIFF_INIT.
61770         * benchtests/bench-memccpy.c: Use bench-timing.h macros
61771         instead of hp-timing.h macros.
61772         * benchtests/bench-memchr.c: Likewise.
61773         * benchtests/bench-memcmp.c: Likewise.
61774         * benchtests/bench-memcpy.c: Likewise.
61775         * benchtests/bench-memmem.c: Likewise.
61776         * benchtests/bench-memmove.c: Likewise.
61777         * benchtests/bench-memset.c: Likewise.
61778         * benchtests/bench-rawmemchr.c: Likewise.
61779         * benchtests/bench-strcasecmp.c: Likewise.
61780         * benchtests/bench-strcasestr.c: Likewise.
61781         * benchtests/bench-strcat.c: Likewise.
61782         * benchtests/bench-strchr.c: Likewise.
61783         * benchtests/bench-strcmp.c: Likewise.
61784         * benchtests/bench-strcpy.c: Likewise.
61785         * benchtests/bench-strcpy_chk.c: Likewise.
61786         * benchtests/bench-strlen.c: Likewise.
61787         * benchtests/bench-strncasecmp.c: Likewise.
61788         * benchtests/bench-strncat.c: Likewise.
61789         * benchtests/bench-strncmp.c: Likewise.
61790         * benchtests/bench-strncpy.c: Likewise.
61791         * benchtests/bench-strnlen.c: Likewise.
61792         * benchtests/bench-strpbrk.c: Likewise.
61793         * benchtests/bench-strrchr.c: Likewise.
61794         * benchtests/bench-strspn.c: Likewise.
61795         * benchtests/bench-strstr.c: Likewise.
61797 2013-09-04  Will Newton  <will.newton@linaro.org>
61799         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
61801 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
61803         [BZ #15427]
61804         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
61805         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
61806         * math/libm-test.inc (lgamma_test_data): Add more tests.
61807         * sysdeps/i386/fpu/libm-test-ulps: Update.
61808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61810 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
61812         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
61813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61814         Add ifunc.
61815         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61816         Add strcmp-sse2-unaligned
61817         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
61819 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
61821         * Versions.def (libc): Add GLIBC_2.19.
61823 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
61825         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
61826         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
61828 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
61830         [BZ #14155]
61831         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
61832         intermediate calculations in recurrence.
61833         (__ieee754_ynf): Likewise.
61834         * math/libm-test.inc (jn_test_data): Do not allow spurious
61835         underflow exception.  Add more tests.
61836         (yn_test_data): Add more tests.
61837         * sysdeps/i386/fpu/libm-test-ulps: Update.
61838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61840 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
61842         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
61844 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
61846         * csu/init-first.c: Fix then/than typos.
61847         * locale/programs/ld-collate.c: Likewise.
61848         * locale/programs/linereader.h: Likewise.
61849         * manual/charset.texi: Likewise.
61850         * manual/filesys.texi: Likewise.
61851         * manual/stdio.texi: Likewise.
61852         * manual/string.texi: Likewise.
61853         * stdlib/fmtmsg.c: Likewise.
61854         * sysdeps/i386/stpncpy.S: Likewise.
61855         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61856         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61857         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61858         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61860 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
61862         * elf/dl-open.c: Fix typos.
61863         * iconvdata/gbbig5.c: Likewise.
61864         * iconvdata/iso-2022-jp.c: Likewise.
61865         * iconv/gconv_int.h: Likewise.
61866         * iconv/loop.c: Likewise.
61867         * nis/rpcsvc/nis.h: Likewise.
61868         * resolv/ns_name.c: Likewise.
61869         * stdio-common/vfscanf.c: Likewise.
61870         * streams/stropts.h: Likewise.
61871         * sunrpc/rpc_thread.c: Likewise.
61872         * sysdeps/i386/strpbrk.S: Likewise.
61873         * sysdeps/ieee754/k_standard.c: Likewise.
61874         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61875         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61876         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
61877         * sysdeps/mach/hurd/profil.c: Likewise.
61878         * sysdeps/s390/dl-procinfo.h: Likewise.
61879         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
61880         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
61881         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
61882         * sysdeps/x86_64/dl-trampoline.S: Likewise.
61883         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
61885 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
61887         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
61888         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
61890 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
61892         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
61893         aix specific files.
61894         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
61895         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
61896         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
61897         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
61898         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
61899         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
61900         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
61901         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
61903 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61904             Roland McGrath  <roland@hack.frob.com>
61906         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
61907         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
61909 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61911         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
61912         __executable_start symbol instead of _start.
61914 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61916         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
61917         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
61918         Move macros to...
61919         * sysdeps/gnu/ldsodefs.h: ... this new file.
61921         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
61922         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
61923         instead of ELFOSABI_LINUX.
61925         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
61926         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
61927         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
61928         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
61929         Likewise.
61930         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
61931         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
61932         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
61933         Likewise.
61934         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61935         (ibm_extended_long_double): Add ieee_nan member.
61936         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
61937         (do_test): New function.
61939         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
61940         TEST_TRUNC.
61941         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
61942         functions, renamed from truncdfsf_test, trunctfsf_test,
61943         trunctfdf_test.
61944         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
61945         functions.
61946         (do_test): Run all these.
61948 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
61950         * argp/argp-help.c: Fix typos.
61951         * argp/argp-parse.c: Likewise.
61952         * debug/backtracesyms.c: Likewise.
61953         * elf/elf.h: Likewise.
61954         * malloc/malloc.c: Likewise.
61955         * nis/nis_print.c: Likewise.
61956         * resolv/res_comp.c: Likewise.
61957         * stdlib/stdlib.h: Likewise.
61958         * sunrpc/clnt_tcp.c: Likewise.
61959         * sunrpc/clnt_udp.c: Likewise.
61960         * sunrpc/clnt_unix.c: Likewise.
61961         * sysdeps/unix/bsd/ptsname.c: Likewise.
61962         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
61963         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
61964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
61965         Likewise.
61966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
61967         Likewise.
61968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
61969         Likewise.
61970         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61972 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61974         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
61975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61977 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
61979         [BZ #15897]
61980         * dlfcn/Makefile (tests): Add bug-dl-leaf.
61981         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
61982         ($(objpfx)bug-dl-leaf): New rule.
61983         ($(objpfx)bug-dl-leaf.so): Likewise.
61984         ($(objpfx)bug-dl-leaf.out): Likewise.
61985         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
61986         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
61987         * dlfcn/bug-dl-leaf.c: New test.
61988         * dlfcn/bug-dl-leaf-lib.c: Likewise.
61989         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
61990         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
61991         (dlclose): Likewise.
61992         (dlmopen): Likewise.
61994 2013-08-27  Roland McGrath  <roland@hack.frob.com>
61996         * include/netdb.h [!_ISOMAC]:
61997         Don't include <tls.h>.
61998         (h_errno, __libc_h_errno): Move declaration and macros out of
61999         [_LIBC_REENTRANT].
62001         * include/resolv.h [_RESOLV_H_]:
62002         Don't include <tls.h>.
62003         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
62004         * resolv/res_libc.c: Don't include <tls.h>.
62005         (_res): Use __attribute__ ((nocommon)) in place of
62006         __attribute__ ((section (".bss"))).
62008         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
62009         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
62011         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
62013         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
62014         only under [SIOCGIFCONF && SIOCGIFNETMASK].
62016         * resolv/res_mkquery.c: Include <sys/time.h>.
62018         * inet/ifreq.c: Moved to ...
62019         * sysdeps/unix/ifreq.c: ... here.
62020         * inet/ifreq.c: New file, true stub version.
62022         * socket/sa_len.c: New file.
62023         * socket/Makefile (aux): Add it.
62024         * sysdeps/unix/sysv/linux/Makefile
62025         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
62026         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
62027         and #include <socket/sa_len.c>.
62028         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
62029         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
62031         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
62032         * bits/socket.h: ... here.
62034         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
62035         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
62036         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
62038 2013-08-27  Andreas Schwab  <schwab@suse.de>
62040         [BZ #15736]
62041         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
62042         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
62043         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
62044         * string/test-strcasecmp.c (test_main): Run tests in several
62045         locales.
62046         * string/test-strncasecmp.c (test_main): Likewise.
62048         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
62049         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
62050         to __strcasecmp_nonascii and __strncasecmp_nonascii.
62051         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
62052         (__strncasecmp_ssse3) [PIC]: Likewise.
62054 2013-08-26  Roland McGrath  <roland@hack.frob.com>
62056         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
62058         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
62059         instead of explicitly declaring xdecrypt.
62060         * nis/nss_nis/nis-publickey.c: Likewise.
62062 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62064         [BZ #15890]
62065         * nscd/aicache.c: Include res_hconf.h.
62066         (addhstaiX): Initialize res_hconf.
62068 2013-08-26  Andreas Schwab  <schwab@suse.de>
62070         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
62071         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
62073 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62075         * nscd/aicache.c (addhstaiX): Fix indentation.
62077 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
62079         * configure.ac: Quote $build_pt_chown test.
62080         * configure: Regenerated.
62082 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
62084         [BZ #15532]
62085         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
62086         * math/s_cexpf.c (__cexpf): Likewise.
62087         * math/s_cexpl.c (__cexpl): Likewise.
62088         * math/libm-test.inc (cexp_test_data): Correct expected return
62089         value for NaN + i0.  Add another test.
62091 2013-08-22  David S. Miller  <davem@davemloft.net>
62093         * po/ca.po: Update Catalan translation from translation project.
62094         * po/uk.po: Add Ukrainian translations from translation project.
62096 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
62098         [BZ #15797]
62099         * math/s_fdim.c (__fdim): Check for infinite arguments if result
62100         is infinite, not alongside NaN test.
62101         * math/s_fdimf.c (__fdimf): Likewise.
62102         * math/s_fdiml.c (__fdiml): Likewise.
62103         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
62104         errno is unchanged.
62106 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
62108         * argp/argp-help.c: Fix typos.
62109         * crypt/speeds.c: Likewise.
62110         * csu/check_fds.c: Likewise.
62111         * elf/dl-load.c: Likewise.
62112         * elf/dl-open.c: Likewise.
62113         * elf/reldep3.c: Likewise.
62114         * elf/reldep.c: Likewise.
62115         * elf/sprof.c: Likewise.
62116         * iconv/iconv_charmap.c: Likewise.
62117         * iconv/skeleton.c: Likewise.
62118         * iconv/strtab.c: Likewise.
62119         * io/lockf64.c: Likewise.
62120         * libio/libioP.h: Likewise.
62121         * resolv/gai_notify.c: Likewise.
62122         * resolv/ns_name.c: Likewise.
62123         * resolv/ns_samedomain.c: Likewise.
62124         * resolv/res_send.c: Likewise.
62125         * stdlib/random.c: Likewise.
62126         * sunrpc/rpc/xdr.h: Likewise.
62127         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
62128         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62129         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62130         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62131         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62132         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62133         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62134         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62135         * sysdeps/mach/hurd/check_fds.c: Likewise.
62136         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62137         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62138         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62139         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62140         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62141         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62142         * sysdeps/pthread/aio_notify.c: Likewise.
62143         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
62144         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
62145         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
62146         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62147         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
62149 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62151         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
62152         version if bit_Slow_SSE4_2 is set.
62153         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62154         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62156 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62158         [BZ #15867]
62159         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
62160         trampoline stack frame information.
62161         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
62162         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
62163         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
62164         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
62165         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
62166         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62167         (_libc_vdso_platform_setup): Initialize the signal trampolines.
62168         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
62169         sa_flags value.
62170         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
62171         interrupting a syscall and set with option SA_SIGINFO.
62173 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62175         [BZ #15531]
62176         * math/s_cproj.c (__cproj): Only return an infinity if one part of
62177         argument is infinite.
62178         * math/s_cprojf.c (__cprojf): Likewise.
62179         * math/s_cprojl.c (__cprojl): Likewise.
62180         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
62181         * math/libm-test.inc (cproj_test_data): Add more tests.
62183         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
62185         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
62186         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
62187         size.  Use __ffs to determine corresponding shift.
62189 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62190             Roland McGrath  <roland@hack.frob.com>
62192         * Makefile (INSTALL): Remove trailing blank lines from output of
62193         makeinfo.
62195 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62197         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
62198         Align 32 bit compat elf_greg to 8 bytes.
62200 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
62202         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
62204 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62206         * string/strcoll_l.c (coll_seq): New structure.
62207         (get_next_seq_cached): New function.
62208         (get_next_seq): New function.
62209         (do_compare): New function.
62210         (STRCOLL): Use GNU style definition.  Simplify implementation
62211         by using get_next_seq, get_next_seq_cached and do_compare.
62213 2013-08-16  Florian Weimer  <fweimer@redhat.com>
62215         [BZ #14699]
62216         CVE-2013-4237
62217         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
62218         member.
62219         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
62220         member.
62221         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
62222         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
62223         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
62224         conditional.
62225         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
62226         GETDENTS_64BIT_ALIGNED.
62227         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62228         * manual/filesys.texi (Reading/Closing Directory): Document
62229         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
62230         strongly.
62231         * manual/conf.texi (Limits for Files): Add portability note to
62232         NAME_MAX, PATH_MAX.
62233         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
62235 2013-08-13  Andreas Schwab  <schwab@suse.de>
62237         [BZ #15749]
62238         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
62239         of fabs.
62240         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
62241         LDBL_MAX_EXP >= 16384]: Add tests for it.
62243 2013-08-12  David S. Miller  <davem@davemloft.net>
62245         * version.h (RELEASE): Set to "development".
62246         (VERSION): Set to "2.18.90".
62247         * NEWS: Add 2.19 section.
62249 2013-08-03  David S. Miller  <davem@davemloft.net>
62251         * po/ko.po: Update Korean translation from translation project.
62253 2013-08-01  David S. Miller  <davem@davemloft.net>
62255         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
62256         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
62257         Bilka.
62259 2013-07-30  David S. Miller  <davem@davemloft.net>
62261         * po/fr.po: Update French translation from translation project.
62263 2013-07-28  David S. Miller  <davem@davemloft.net>
62265         * po/cs.po: Update Czech translation from translation project.
62267         * po/sv.po: Update Swedish translation from translation project.
62269 2013-07-27  David S. Miller  <davem@davemloft.net>
62271         * po/eo.po: Update Esperanto translation from translation project.
62273         * po/vi.po: Update Vietnamese translation from translation project.
62275         * po/de.po: Update German translation from translation project.
62277 2013-07-26  David S. Miller  <davem@davemloft.net>
62279         * po/bg.po: Update Bulgarian translation from translation project.
62281         * po/nl.po: Update Dutch translation from translation project.
62282         * po/pl.po: Update Polish translation from translation project.
62283         * po/ru.po: Update Russian translation from translation project.
62285 2013-07-24  David S. Miller  <davem@davemloft.net>
62287         * po/libc.pot: Update.
62289 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62291         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
62292         variable page size.
62293         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
62294         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
62295         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
62297 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62299         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
62301 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62302             Andreas Schwab  <schwab@suse.de>
62303             Roland McGrath  <roland@hack.frob.com>
62304             Joseph Myers  <joseph@codesourcery.com>
62305             Carlos O'Donell  <carlos@redhat.com>
62307         [BZ #15755]
62308         * config.h.in: Define HAVE_PT_CHOWN.
62309         * config.make.in (build-pt-chown): New variable.
62310         * configure.in (--enable-pt_chown): New configure option.
62311         * configure: Regenerate.
62312         * login/Makefile: Include Makeconfig.  Build pt_chown only if
62313         build-pt-chown is enabled.
62314         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
62315         pt_chown to fix pty ownership.
62316         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
62317         CLOSE_ALL_FDS.
62318         * manual/install.texi (Configuring and compiling): Mention
62319         --enable-pt_chown. Add @findex for grantpt.
62320         * INSTALL: Regenerate.
62322 2013-07-20  David S. Miller  <davem@davemloft.net>
62324         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
62325         difference between 32-bit and 64-bit.
62327 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
62329         [BZ #15711]
62330         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
62331         Avoid system header dependency with -ffreestanding.
62332         ($(objpfx)bits/syscall%d): Likewise.
62334 2013-07-13  David S. Miller  <davem@davemloft.net>
62336         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
62337         underflows from atanl/atan2l due to bug 15319.
62338         (casinh_test_data): Likewise.
62340 2013-07-07  David S. Miller  <davem@davemloft.net>
62342         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
62344 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
62346         * sysdeps/i386/fpu/libm-test-ulps: Update.
62347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62349 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62351         * configure.in (--enable-lock-elision): Fix message text.
62352         * INSTALL: Regenerate.
62353         * configure: Regenerate.
62355 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62359 2013-07-03  Andreas Jaeger  <aj@suse.de>
62361         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
62362         define.
62363         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
62364         (ptrace_peeksiginfo_args): Add.
62365         (__ptrace_peeksiginfo_flags): Add.
62366         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62367         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62368         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62370 2013-07-03  Allan McRae  <allan@archlinux.org>
62372         * sysdeps/i386/fpu/libm-test-ulps: Update.
62374 2013-07-02  David S. Miller  <davem@davemloft.net>
62376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62378 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
62380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62382 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62384         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
62385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62387 2013-07-02  Andi Kleen <ak@linux.intel.com>
62389         * config.h.in (ENABLE_LOCK_ELISION): Add.
62390         * configure.in (--enable-lock-elision): Add option.
62391         * manual/install.texi: Document --enable lock elision.
62392         * configure: Regenerate
62393         * INSTALL: Regenerate.
62395 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
62397         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
62398         SSE4.2 strcasecmp for libc.a.
62399         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
62401 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62403         [BZ #13304]
62404         * soft-fp/op-common.h (_FP_FMA): New macro.
62405         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
62406         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
62407         (_FP_MUL_MEAT_1_imm): ... here.
62408         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
62409         (_FP_MUL_MEAT_1_wide): ... here.
62410         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
62411         (_FP_MUL_MEAT_1_hard): ... here.
62412         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
62413         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
62414         (_FP_MUL_MEAT_2_wide): ... here.
62415         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
62416         (_FP_MUL_MEAT_2_wide_3mul): ... here.
62417         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
62418         (_FP_MUL_MEAT_2_gmp): ... here.
62419         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
62420         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
62421         (_FP_MUL_MEAT_4_wide): ... here.
62422         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
62423         (_FP_MUL_MEAT_4_gmp): ... here.
62424         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
62425         (_FP_WFRACBITS_DW_S): Likewise.
62426         (_FP_WFRACXBITS_DW_S): Likewise.
62427         (_FP_HIGHBIT_DW_S): Likewise.
62428         (FP_FMA_S): Likewise.
62429         (_FP_FRAC_HIGH_DW_S): Likewise.
62430         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
62431         (_FP_WFRACBITS_DW_D): Likewise.
62432         (_FP_WFRACXBITS_DW_D): Likewise.
62433         (_FP_HIGHBIT_DW_D): Likewise.
62434         (FP_FMA_D): Likewise.
62435         (_FP_FRAC_HIGH_DW_D): Likewise.
62436         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
62437         (_FP_WFRACBITS_DW_E): Likewise.
62438         (_FP_WFRACXBITS_DW_E): Likewise.
62439         (_FP_HIGHBIT_DW_E): Likewise.
62440         (FP_FMA_E): Likewise.
62441         (_FP_FRAC_HIGH_DW_E): Likewise.
62442         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
62443         (_FP_WFRACBITS_DW_Q): Likewise.
62444         (_FP_WFRACXBITS_DW_Q): Likewise.
62445         (_FP_HIGHBIT_DW_Q): Likewise.
62446         (FP_FMA_Q): Likewise.
62447         (_FP_FRAC_HIGH_DW_Q): Likewise.
62448         * soft-fp/fmasf4.c: New file.
62449         * soft-fp/fmadf4.c: Likewise.
62450         * soft-fp/fmatf4.c: Likewise.
62452 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62455         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
62456         Silvermont.
62457         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
62458         macro.
62459         (index_Slow_SSE4_2): Likewise.
62460         (index_Prefer_PMINUB_for_stringop): Likewise.
62461         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
62462         bit_Slow_SSE4_2 is set.
62463         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62464         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62466 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62468         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
62469         rtld_global._dl_hwcap2.
62470         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
62471         POWER8.
62472         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
62473         POWER8 feature descriptions defined in _dl_hwcap2.
62474         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
62475         string handling for POWER8 feature bits.
62476         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
62477         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
62478         _dl_powerpc_cap_flags.
62479         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
62480         * sysdeps/powerpc/rtld-global-offsets.sym
62481         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
62482         _dl_hwcap2 in the rtld_global_ro structure.
62484 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62486         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
62487         hardware capabilities in support of AT_HWCAP2.
62488         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
62489         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
62490         GLRO(dl_hwcap2).
62491         (_dl_show_auxv): Add support for calling _dl_procinfo to display
62492         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
62493         explicitly the unknown a_type display mechanism is used.
62494         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
62495         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
62496         struct member.
62497         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
62498         to macro prototype for AT_HWCAP2 support.
62499         * sysdeps/i386/dl-procinfo.h: Likewise.
62500         * sysdeps/s390/dl-procinfo.h: Likewise.
62501         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
62502         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
62503         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
62504         return -1 for unknown a_type display fallback.
62505         * sysdeps/sparc/dl-procinfo.h: Likewise.
62506         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
62507         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
62509 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
62511         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
62512         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
62514 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
62516         [BZ #12492]
62517         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
62518         mprotect making __stack_prot writable.
62520 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
62521             Joseph Myers  <joseph@codesourcery.com>
62523         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
62524         as being properly aligned.
62526 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
62528         * dlfcn/modstatic5.c: New file.
62529         * dlfcn/tststatic5.c: New file.
62530         * dlfcn/Makefile (tests): Add tststatic5.
62531         (tests-static): Likewise.
62532         (modules-names): Add modstatic5.
62533         (tststatic5-ENV): New variable.
62534         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
62536         [BZ #15022]
62537         * elf/dl-support.c (_dl_main_map): New variable.
62538         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
62539         (_dl_nns, _dl_load_adds): Set to 1.
62540         (_dl_initial_searchlist): Refer to _dl_main_map.
62541         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
62542         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
62543         call to _dl_get_origin.
62544         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
62545         around call_map.
62546         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
62547         * dlfcn/modstatic3.c: New file.
62548         * dlfcn/tststatic3.c: New file.
62549         * dlfcn/tststatic4.c: New file.
62550         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
62551         (tests-static): Likewise.
62552         (modules-names): Add modstatic3.
62553         (tststatic3-ENV, tststatic4-ENV): New variables.
62554         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
62555         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
62557 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
62559         * configure.in (CC): Require GCC version 4.4 or later.
62560         * configure: Regenerated.
62561         * manual/install.texi (Tools for Compilation): Update GCC version
62562         requirement.
62563         * INSTALL: Regenerated.
62565 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62567         [BZ #15674]
62568         * string/test-memcmp.c (check2): New.
62569         (main): Call check2.
62571         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
62573 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
62575         [BZ #15022]
62576         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
62577         over to...
62578         (dl_open_worker) [!SHARED]: ... here.
62580 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62582         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
62584 2013-06-25  Richard Henderson  <rth@redhat.com>
62586         * locale/programs/locarchive.c: Include <libc-internal.h>
62588 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
62590         * manual/texinfo.tex: Update to version 2013-06-21.17, with
62591         trailing whitespace removed.
62593 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
62595         [BZ #10283]
62596         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
62597         * locale/programs/locarchive.c: Include libc-mmap.h.
62598         (prepare_address_space): Take two new outputs (the mmap base and len).
62599         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
62600         values.
62601         (create_archive): Declare new mmap base and len values for
62602         prepare_address_space, and store the result in ah.
62603         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
62604         (enlarge_archive): If ah->mmap_base is not NULL, use that and
62605         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62606         Declare new mmap base and len values for
62607         prepare_address_space, and store the result in new_ah.
62608         (open_archive): Declare new mmap base and len values for
62609         prepare_address_space, and store the result in ah.
62610         (close_archive): If ah->mmap_base is not NULL, use that and
62611         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62612         * sysdeps/generic/libc-mmap.h: New file.
62614 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
62616         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
62617         (ALIGN_UP): Likewise.
62618         (PTR_ALIGN_DOWN): Likewise.
62619         (PTR_ALIGN_UP): Likewise.
62621 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62623         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
62624         entry mapped to PPC_PLATFORM_POWER8.
62625         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
62626         POWER8.
62627         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
62628         (_dl_string_platform): Add case for exporting platform position for
62629         POWER8.
62630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
62631         search path to sysdeps/powerpc/powerpc32/power8 directory.
62632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
62633         search path to sysdeps/powerpc/powerpc64/power8 directory.
62634         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
62635         power7 directories.
62636         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
62637         power7 directories.
62639 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62641         * INSTALL: Regenerate.
62643         * nscd/connections.c (nscd_init): Fix comment.
62645 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
62647         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
62649         [BZ #15667]
62650         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
62651         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
62653 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
62655         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
62656         DL_DST_REQ_STATIC.
62657         (DL_DST_REQ_STATIC): Remove macro.
62659 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
62661         [BZ #7006]
62662         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
62663         with a shift of 0 bits.
62665 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
62667         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
62668         $(tststatic-ENV).
62670 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62672         [BZ #15655]
62673         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
62675 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62677         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
62678         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
62679         accepts -fno-tree-loop-distribute-patterns.
62680         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
62681         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
62682         recursive call.
62683         * string/memset.c (memset): Likewise.
62684         * string/test-memmove.c (simple_memmove): Disable loop transformation
62685         to library calls.
62686         * string/test-memset.c (simple_memset): Likewise.
62687         * benchtests/bench-memmove.c (simple_memmove): Likewise.
62688         * benchtests/bench-memset.c (simple_memset): Likewise.
62689         * configure: Regenerated.
62691 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
62693         * math/test-misc.c (main): Ignore fesetround failure when failures
62694         of subsequent rounding tests would be ignored.
62696         [BZ #15654]
62697         * math/fedisblxcpt.c (fedisableexcept): Return 0.
62698         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
62699         * math/fegetenv.c (__fegetenv): Return 0.
62700         * math/fegetexcept.c (fegetexcept): Return 0.
62701         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
62702         FE_TONEAREST.
62703         * math/feholdexcpt.c (feholdexcept): Return 0.
62704         * math/fesetenv.c (__fesetenv): Return 0.
62705         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
62706         argument FE_TONEAREST.
62707         * math/feupdateenv.c (__feupdateenv): Return 0.
62708         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
62710 2013-06-18  Roland McGrath  <roland@hack.frob.com>
62712         * elf/rtld-Rules (rtld-compile-command.S): New variable.
62713         (rtld-compile-command.s, rtld-compile-command.c): New variables.
62714         ($(objpfx)rtld-%.os rules): Use them.
62716 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62718         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
62719         fields.
62721 2013-06-17  Roland McGrath  <roland@hack.frob.com>
62723         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
62724         length of target pattern, then descending length of dependency pattern.
62725         * configure.in (AWK): Require gawk 3.1.2 or newer.
62726         * manual/install.texi (Tools for Compilation): Say that we do.
62727         * configure: Regenerated.
62729         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
62730         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
62731         * scripts/sysd-rules.awk: ... this new script.
62732         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
62733         than a glob-style pattern.
62735 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
62737         * math/test-misc.c (main): Do not treat incorrectly rounded
62738         conversions as failure unless ROUNDING_TESTS passes.
62740 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
62742         [BZ #15631]
62743         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
62744         restore exception state around main square root computation, then
62745         check for inexactness explicitly.
62747         * math/libm-test.inc (fma_test_data): Add another test.
62749 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62751         * manual/threads.texi (Non-POSIX Extensions): New document
62752         node.  Document pthread_getattr_default_np and
62753         pthread_setattr_default_np.
62755         * Versions.def (libpthread): Add GLIBC_2.18.
62756         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
62757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62758         Likewise.
62759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62760         Likewise.
62761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62762         Likewise.
62763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62764         Likewise.
62765         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
62766         Likewise.
62767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62768         Likewise.
62769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62770         Likewise.
62771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62772         Likewise.
62773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62774         Likewise.
62776 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62779         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
62781 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62782             H.J. Lu  <hjl.tools@gmail.com>
62784         [BZ #15627]
62785         * sysdeps/x86_64/rtld-memset.c: Remove file.
62786         * sysdeps/x86_64/rtld-memset.S: New file.
62788 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
62790         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
62791         (test_in_one_mode): Take arguments for whether the rounding mode
62792         is supported for each floating-point type.
62793         (do_test): Pass new arguments to test_in_one_mode using
62794         ROUNDING_TESTS.
62796 2013-06-13  Roland McGrath  <roland@hack.frob.com>
62798         * posix/tst-waitid.c (do_test): Distinguish different instances of
62799         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
62800         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
62801         before entering the kernel for waitpid.
62803 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62805         * NEWS: Fix note on clock function precision.  Text by Roland
62806         McGrath.
62808 2013-06-13  Roland McGrath  <roland@hack.frob.com>
62810         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
62811         it into place only when and if the sanity check passes.
62813 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
62815         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
62816         output for whether conversion result is exact.  Take argument
62817         indicating whether type is IBM long double.
62818         (round_for_all): Change need_exact field to ibm_ld.
62819         * stdlib/tst-strtod-round.c (struct exactness): New type.
62820         (struct test): Change bool ld_ok field to struct exactness exact.
62821         (TEST): Update all definitions for change to field.
62822         (tests): Regenerate array contents.
62823         (test_in_one_mode): Take pointer to new field instead of old ld_ok
62824         field value.  Check for IBM long double here.
62825         (do_test): Update calls to test_in_one_mode.
62827 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62829         [BZ #12515]
62830         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
62831         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
62833 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62835         [BZ #15605]
62836         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
62837         generated by the compiler on loop optimizations.
62838         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
62839         general definitions.
62841 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
62843         * math/bug-nextafter.c: Include <math-tests.h>.
62844         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62845         the relevant type.
62846         * math/bug-nexttoward.c: Include <math-tests.h>.
62847         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62848         the relevant type.
62849         * math/test-misc.c: Include <math-tests.h>.
62850         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62851         the relevant type.
62853 2013-06-12  Andreas Jaeger  <aj@suse.de>
62855         * po/ia.po: Update Interlingua translation from translation
62856         project.
62858 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62860         * include/fenv.h: Include stdbool.h.
62861         (struct rm_ctx): New structure.
62862         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
62863         Define macro.
62864         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
62865         (SET_RESTORE_ROUNDF): Likewise.
62866         (SET_RESTORE_ROUNDL): Likewise.
62867         (SET_RESTORE_ROUND_NOEX): Likewise.
62868         (SET_RESTORE_ROUND_NOEXF): Likewise.
62869         (SET_RESTORE_ROUND_NOEXL): Likewise.
62870         (SET_RESTORE_ROUND_53BIT): Likewise.
62871         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
62872         (libc_feresetround_noexf_ctx): Likewise.
62873         (libc_feresetround_noexl_ctx): Likewise.
62874         (libc_feholdsetround_53bit_ctx): Likewise.
62875         (libc_feresetround_53bit_ctx): Likewise.
62876         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
62877         (libc_feholdexcept_setround_sse_ctx): New function.
62878         (libc_fesetenv_sse_ctx): Likewise.
62879         (libc_feupdateenv_sse_ctx): Likewise.
62880         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
62881         (libc_feholdexcept_setround_387_ctx): Likewise.
62882         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
62883         (libc_feholdsetround_387_prec_ctx): Likewise.
62884         (libc_feholdsetround_387_ctx): Likewise.
62885         (libc_feholdsetround_387_53bit_ctx): Likewise.
62886         (libc_feholdsetround_sse_ctx): Likewise.
62887         (libc_feresetround_sse_ctx): Likewise.
62888         (libc_feresetround_387_ctx): Likewise.
62889         (libc_feupdateenv_387_ctx): Likewise.
62890         (libc_feholdexcept_setroundf_ctx): Define macro.
62891         (libc_fesetenvf_ctx): Likewise.
62892         (libc_feupdateenvf_ctx): Likewise.
62893         (libc_feholdsetroundf_ctx): Likewise.
62894         (libc_feresetroundf_ctx): Likewise.
62895         (libc_feholdexcept_setround_ctx): Likewise.
62896         (libc_fesetenv_ctx): Likewise.
62897         (libc_feupdateenv_ctx): Likewise.
62898         (libc_feholdsetround_ctx): Likewise.
62899         (libc_feresetround_ctx): Likewise.
62900         (libc_feholdexcept_setroundl_ctx): Likewise.
62901         (libc_feupdateenvl_ctx): Likewise.
62902         (libc_feholdsetroundl_ctx): Likewise.
62903         (libc_feresetroundl_ctx): Likewise.
62904         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
62905         (libc_feresetround_53bit_ctx): Likewise.
62907 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62909         * locale/iso-639.def: Convert to UTF-8.
62911 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
62913         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
62914         (EXCEPTION_TESTS_double): Likewise.
62915         (EXCEPTION_TESTS_long_double): Likewise.
62916         (EXCEPTION_TESTS): Likewise.
62917         * math/libm-test.inc (test_exceptions): Only test exceptions if
62918         EXCEPTION_TESTS (FLOAT).
62920 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62922         * benchtests/Makefile (string-bench): Add strcpy_chk and
62923         stpcpy_chk.
62924         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
62925         * benchtests/bench-stpcpy_chk.c: New file.
62926         * benchtests/bench-strcpy_chk-ifunc.c: New file.
62927         * benchtests/bench-strcpy_chk.c: New file.
62928         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
62929         code.
62930         (do_test): Likewise.
62932 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62934         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
62935         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
62936         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
62937         with tabs where appropriate.
62938         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
62939         dl-procinfo.h.
62940         [PPC_PLATFORM_PPC440]: Likewise.
62941         [PPC_PLATFORM_PPC464]: Likewise.
62942         [PPC_PLATFORM_PPC476]: Likewise.
62943         (_dl_string_platform): Add support for detecting ppc405, ppc440,
62944         ppc464, and ppc476 platform strings merging from ports/
62945         dl-procinfo.h.
62947 2013-06-11  Andreas Schwab  <schwab@suse.de>
62949         [BZ #14991]
62950         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
62951         (from_ucs4_idx): Regenerate.
62952         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
62953         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
62954         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
62955         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
62956         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
62957         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
62958         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
62959         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
62960         from FROM_LOOP and TO_LOOP specific macros.
62961         (BODY): Handle combining characters.
62962         * iconvdata/BIG5HKSCS.irreversible: Update.
62963         * iconvdata/BIG5HKSCS.precomposed: New file.
62964         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
62965         characters.
62966         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
62968 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62970         * include/sys/time.h: Fix indentation and add copyright header.
62972         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
62973         (do_test): Likewise.
62974         * string/test-memchr.c (do_one_test): Likewise.
62975         (do_test): Likewise.
62976         * string/test-memcmp.c (do_one_test): Likewise.
62977         (do_test): Likewise.
62978         * string/test-memcpy.c (do_one_test): Likewise.
62979         (do_test): Likewise.
62980         * string/test-memmem.c (do_one_test): Likewise.
62981         (do_test): Likewise.
62982         (do_random_tests): Likewise.
62983         * string/test-memmove.c (do_one_test): Likewise.
62984         (do_test): Likewise.
62985         * string/test-memset.c (do_one_test): Likewise.
62986         (do_test): Likewise.
62987         * string/test-rawmemchr.c (do_one_test): Likewise.
62988         (do_test): Likewise.
62989         * string/test-strcasecmp.c (do_one_test): Likewise.
62990         (do_test): Likewise.
62991         * string/test-strcasestr.c (do_one_test): Likewise.
62992         (do_test): Likewise.
62993         * string/test-strcat.c (do_one_test): Likewise.
62994         (do_test): Likewise.
62995         * string/test-strchr.c (do_one_test): Likewise.
62996         (do_test): Likewise.
62997         * string/test-strcmp.c (do_one_test): Likewise.
62998         (do_test): Likewise.
62999         * string/test-strcpy.c (do_one_test): Likewise.
63000         (do_test): Likewise.
63001         * string/test-string.h: Likewise.
63002         (test_init): Likewise.
63003         * string/test-strlen.c (do_one_test): Likewise.
63004         (do_test): Likewise.
63005         * string/test-strncasecmp.c (do_one_test): Likewise.
63006         (do_test): Likewise.
63007         * string/test-strncat.c (do_one_test): Likewise.
63008         (do_test): Likewise.
63009         * string/test-strncmp.c (do_one_test): Likewise.
63010         (do_test_limit): Likewise.
63011         (do_test): Likewise.
63012         * string/test-strncpy.c (do_one_test): Likewise.
63013         (do_test): Likewise.
63014         * string/test-strnlen.c (do_one_test): Likewise.
63015         (do_test): Likewise.
63016         * string/test-strpbrk.c (do_one_test): Likewise.
63017         (do_test): Likewise.
63018         * string/test-strrchr.c (do_one_test): Likewise.
63019         (do_test): Likewise.
63020         * string/test-strspn.c (do_one_test): Likewise.
63021         (do_test): Likewise.
63022         * string/test-strstr.c (do_one_test): Likewise.
63023         (do_test): Likewise.
63025         * benchtests/Makefile (string-bench): Add string benchmarks.
63026         * benchtests/bench-bcopy-ifunc.c: New file.
63027         * benchtests/bench-bcopy.c: New file.
63028         * benchtests/bench-bzero-ifunc.c: New file.
63029         * benchtests/bench-bzero.c: New file.
63030         * benchtests/bench-memccpy-ifunc.c: New file.
63031         * benchtests/bench-memccpy.c: New file.
63032         * benchtests/bench-memchr-ifunc.c: New file.
63033         * benchtests/bench-memchr.c: New file.
63034         * benchtests/bench-memcmp-ifunc.c: New file.
63035         * benchtests/bench-memcmp.c: New file.
63036         * benchtests/bench-memmem-ifunc.c: New file.
63037         * benchtests/bench-memmem.c: New file.
63038         * benchtests/bench-memmove-ifunc.c: New file.
63039         * benchtests/bench-memmove.c: New file.
63040         * benchtests/bench-mempcpy-ifunc.c: New file.
63041         * benchtests/bench-mempcpy.c: New file.
63042         * benchtests/bench-memset-ifunc.c: New file.
63043         * benchtests/bench-memset.c: New file.
63044         * benchtests/bench-rawmemchr-ifunc.c: New file.
63045         * benchtests/bench-rawmemchr.c: New file.
63046         * benchtests/bench-stpcpy-ifunc.c: New file.
63047         * benchtests/bench-stpcpy.c: New file.
63048         * benchtests/bench-stpncpy-ifunc.c: New file.
63049         * benchtests/bench-stpncpy.c: New file.
63050         * benchtests/bench-strcasecmp-ifunc.c: New file.
63051         * benchtests/bench-strcasecmp.c: New file.
63052         * benchtests/bench-strcasestr-ifunc.c: New file.
63053         * benchtests/bench-strcasestr.c: New file.
63054         * benchtests/bench-strcat-ifunc.c: New file.
63055         * benchtests/bench-strcat.c: New file.
63056         * benchtests/bench-strchr-ifunc.c: New file.
63057         * benchtests/bench-strchr.c: New file.
63058         * benchtests/bench-strchrnul-ifunc.c: New file.
63059         * benchtests/bench-strchrnul.c: New file.
63060         * benchtests/bench-strcmp-ifunc.c: New file.
63061         * benchtests/bench-strcmp.c: New file.
63062         * benchtests/bench-strcpy-ifunc.c: New file.
63063         * benchtests/bench-strcpy.c: New file.
63064         * benchtests/bench-strcspn-ifunc.c: New file.
63065         * benchtests/bench-strcspn.c: New file.
63066         * benchtests/bench-strlen-ifunc.c: New file.
63067         * benchtests/bench-strlen.c: New file.
63068         * benchtests/bench-strncasecmp-ifunc.c: New file.
63069         * benchtests/bench-strncasecmp.c: New file.
63070         * benchtests/bench-strncat-ifunc.c: New file.
63071         * benchtests/bench-strncat.c: New file.
63072         * benchtests/bench-strncmp-ifunc.c: New file.
63073         * benchtests/bench-strncmp.c: New file.
63074         * benchtests/bench-strncpy-ifunc.c: New file.
63075         * benchtests/bench-strncpy.c: New file.
63076         * benchtests/bench-strnlen-ifunc.c: New file.
63077         * benchtests/bench-strnlen.c: New file.
63078         * benchtests/bench-strpbrk-ifunc.c: New file.
63079         * benchtests/bench-strpbrk.c: New file.
63080         * benchtests/bench-strrchr-ifunc.c: New file.
63081         * benchtests/bench-strrchr.c: New file.
63082         * benchtests/bench-strspn-ifunc.c: New file.
63083         * benchtests/bench-strspn.c: New file.
63084         * benchtests/bench-strstr-ifunc.c: New file.
63085         * benchtests/bench-strstr.c: New file.
63087         * benchtests/Makefile: Disable parallel execution of targets.
63088         (string-bench): Add memcpy.
63089         (benchset): New variable to store a list of benchmark sets.
63090         (bench-func): Renamed from bench.
63091         (bench-set): New target.
63092         (bench): Depend on bench-func and bench-set.
63093         * benchtests/README: Add section on benchmark sets.
63094         * benchtests/bench-memcpy-ifunc.c: New file.
63095         * benchtests/bench-memcpy.c: New file.
63096         * benchtests/bench-string.h: New file.
63098 2013-06-11  Andreas Schwab  <schwab@suse.de>
63100         [BZ #15577]
63101         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
63102         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
63103         values in the triple.
63104         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
63105         terminator in the group key.
63107 2013-06-11  Andreas Jaeger  <aj@suse.de>
63109         * po/zh_TW.po: Update Chinese (traditional) translation from
63110         translation project.
63112 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63114         * include/time.h (__clock_gettime): Add libc_hidden_proto.
63115         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
63116         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
63117         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63118         (clock_getcpuclockid): Likewise.
63119         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
63120         Add weak_alias and libc_hidden_def.
63121         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
63122         * rt/clock_gettime.c (clock_gettime): Rename to
63123         __clock_gettime.  Add weak_alias and libc_hidden_def.
63124         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
63125         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
63126         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
63127         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
63128         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
63129         Likewise.
63130         * rt/clock_settime.c (clock_settime): Rename to
63131         __clock_settime.  Add weak_alias and libc_hidden_def.
63132         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
63134 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
63136         * mach/err_boot.sub: Remove trailing whitespace.
63137         * mach/err_ipc.sub: Likewise.
63138         * mach/err_mach.sub: Likewise.
63140         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
63141         (ROUNDING_TESTS_double): Likewise.
63142         (ROUNDING_TESTS_long_double): Likewise.
63143         (ROUNDING_TESTS): Likewise.
63144         * math/libm-test.inc: Include <math-tests.h>.
63145         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
63146         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63147         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63148         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63150 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63152         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
63153         of assigning.
63155 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
63157         * sysdeps/gnu/errlist.awk: Do not generate space at end of
63158         otherwise empty TRANS lines.
63159         * sysdeps/gnu/errlist.c: Regenerated.
63161         * catgets/gencat.c (error_print): Use (void) in function
63162         definition.
63163         * crypt/crypt_util.c (__init_des): Likewise.
63164         * crypt/speeds.c (Stop): Likewise.
63165         (main): Likewise.
63166         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
63167         * inet/ruserpass.c (token): Likewise.
63168         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63169         * intl/localealias.c (extend_alias_table): Likewise.
63170         * intl/plural-exp.c (init_germanic_plural): Likewise.
63171         * libio/fcloseall.c (__fcloseall): Likewise.
63172         * libio/genops.c (_IO_flush_all): Likewise.
63173         (_IO_flush_all_linebuffered): Likewise.
63174         (_IO_cleanup): Likewise.
63175         (_IO_iter_begin): Likewise.
63176         (_IO_iter_end): Likewise.
63177         (_IO_list_lock): Likewise.
63178         (_IO_list_unlock): Likewise.
63179         (_IO_list_resetlock): Likewise.
63180         * libio/getchar.c (getchar): Likewise.
63181         * libio/getchar_u.c (getchar_unlocked): Likewise.
63182         * libio/getwchar.c (getwchar): Likewise.
63183         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
63184         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
63185         * login/getpt.c (__getpt): Likewise.
63186         * login/tst-utmp.c (main): Likewise.
63187         * malloc/hooks.c (__malloc_check_init): Likewise.
63188         * malloc/malloc.c (__malloc_stats): Likewise.
63189         * malloc/mtrace.c (tr_break): Likewise.
63190         (mtrace): Likewise.
63191         (muntrace): Likewise.
63192         * misc/fstab.c (endfsent): Likewise.
63193         * misc/getclktck.c (__getclktck): Likewise.
63194         * misc/getdtsz.c (__getdtablesize): Likewise.
63195         * misc/gethostid.c (gethostid): Likewise.
63196         * misc/getpagesize.c (__getpagesize): Likewise.
63197         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
63198         (__get_nprocs): Likewise.
63199         (__get_phys_pages): Likewise.
63200         (__get_avphys_pages): Likewise.
63201         * misc/getttyent.c (getttyent): Likewise.
63202         (setttyent): Likewise.
63203         (endttyent): Likewise.
63204         * misc/getusershell.c (getusershell): Likewise.
63205         (endusershell): Likewise.
63206         (setusershell): Likewise.
63207         (initshells): Likewise.
63208         * misc/hsearch.c (__hdestroy): Likewise.
63209         * misc/sync.c (sync): Likewise.
63210         * misc/syslog.c (closelog_internal): Likewise.
63211         (closelog): Likewise.
63212         * misc/ttyslot.c (ttyslot): Likewise.
63213         * misc/vhangup.c (vhangup): Likewise.
63214         * posix/fork.c (__fork): Likewise.
63215         * posix/getegid.c (__getegid): Likewise.
63216         * posix/geteuid.c (__geteuid): Likewise.
63217         * posix/getgid.c (__getgid): Likewise.
63218         * posix/getpid.c (__getpid): Likewise.
63219         * posix/getppid.c (__getppid): Likewise.
63220         * posix/getuid.c (__getuid): Likewise.
63221         * posix/pause.c (pause): Likewise.
63222         * posix/setpgrp.c (setpgrp): Likewise.
63223         * posix/setsid.c (__setsid): Likewise.
63224         * posix/test-vfork.c (noop): Likewise.
63225         * resolv/gethnamaddr.c (_endhtent): Likewise.
63226         (_gethtent): Likewise.
63227         (ht_endhostent): Likewise.
63228         (gethostent): Likewise.
63229         (dns_service): Likewise.
63230         * stdlib/drand48.c (drand48): Likewise.
63231         * stdlib/lrand48.c (lrand48): Likewise.
63232         * stdlib/mrand48.c (mrand48): Likewise.
63233         * stdlib/rand.c (rand): Likewise.
63234         * stdlib/random.c (__random): Likewise.
63235         * stdlib/setenv.c (clearenv): Likewise.
63236         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
63237         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
63238         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
63239         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
63240         (__get_nprocs): Likewise.
63241         (__get_phys_pages): Likewise.
63242         (__get_avphys_pages): Likewise.
63243         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
63244         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
63245         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
63246         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
63247         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
63248         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
63249         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
63250         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
63251         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
63252         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
63253         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
63254         * sysdeps/mach/hurd/sync.c (sync): Likewise.
63255         * sysdeps/posix/clock.c (clock): Likewise.
63256         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
63257         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
63258         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
63259         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
63260         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
63261         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
63262         (__get_nprocs_conf): Likewise.
63263         (__get_phys_pages): Likewise.
63264         (__get_avphys_pages): Likewise.
63265         * time/clock.c (clock): Likewise.
63266         * time/tzset.c (__tzname_max): Likewise.
63268 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
63270         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
63271         (__bswap_32): Do not use "register".
63272         * crypt/crypt.c (_ufc_doit_r): Likewise.
63273         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
63274         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
63275         * gmon/gmon.c (__monstartup): Likewise.
63276         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
63277         * hurd/hurdmalloc.c (more_memory): Likewise.
63278         (malloc): Likewise.
63279         (free): Likewise.
63280         (realloc): Likewise.
63281         (malloc_fork_prepare): Likewise.
63282         (malloc_fork_parent): Likewise.
63283         (malloc_fork_child): Likewise.
63284         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
63285         (_svcauth_des): Likewise.
63286         * inet/inet_lnaof.c (inet_lnaof): Likewise.
63287         * inet/inet_net.c (inet_network): Likewise.
63288         * inet/inet_netof.c (inet_netof): Likewise.
63289         * inet/rcmd.c (__validuser2_sa): Likewise.
63290         * io/fts.c (fts_open): Likewise.
63291         (fts_load): Likewise.
63292         (fts_close): Likewise.
63293         (fts_read): Likewise.
63294         (fts_children): Likewise.
63295         (fts_build): Likewise.
63296         (fts_stat): Likewise.
63297         (fts_sort): Likewise.
63298         (fts_alloc): Likewise.
63299         (fts_lfree): Likewise.
63300         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
63301         (_IO_file_xsgetn): Likewise.
63302         (_IO_file_xsgetn_mmap): Likewise.
63303         * libio/iofopncook.c (_IO_cookie_read): Likewise.
63304         (_IO_cookie_write): Likewise.
63305         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
63306         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
63307         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
63308         * malloc/obstack.c (_obstack_begin): Likewise.
63309         (_obstack_begin_1): Likewise.
63310         (_obstack_newchunk): Likewise.
63311         (_obstack_allocated_p): Likewise.
63312         (obstack_free): Likewise.
63313         (_obstack_memory_used): Likewise.
63314         * misc/getttyent.c (getttynam): Likewise.
63315         (getttyent): Likewise.
63316         (skip): Likewise.
63317         (value): Likewise.
63318         * misc/getusershell.c (initshells): Likewise.
63319         * misc/syslog.c (__vsyslog_chk): Likewise.
63320         * misc/ttyslot.c (ttyslot): Likewise.
63321         * nis/nis_hash.c (__nis_hash): Likewise.
63322         * posix/fnmatch_loop.c (FCT): Likewise.
63323         * posix/getconf.c (print_all): Likewise.
63324         (main): Likewise.
63325         * posix/getopt.c (exchange): Likewise.
63326         * posix/glob.c (globfree): Likewise.
63327         (prefix_array): Likewise.
63328         (__glob_pattern_type): Likewise.
63329         * resolv/arpa/nameser.h (NS_GET16): Likewise.
63330         (NS_GET32): Likewise.
63331         (NS_PUT16): Likewise.
63332         (NS_PUT32): Likewise.
63333         * resolv/gethnamaddr.c (getanswer): Likewise.
63334         (gethostbyname2): Likewise.
63335         (gethostbyaddr): Likewise.
63336         (_gethtent): Likewise.
63337         (_gethtbyname2): Likewise.
63338         (_gethtbyaddr): Likewise.
63339         * resolv/ns_print.c (dst_s_get_int16): Likewise.
63340         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
63341         * resolv/res_init.c (__res_vinit): Likewise.
63342         (net_mask): Likewise.
63343         * resolv/res_mkquery.c (outchar): Likewise.
63344         (PRINT): Likewise.
63345         * stdio-common/printf_fp.c (outchar): Likewise.
63346         (PRINT): Likewise.
63347         * stdio-common/printf_fphex.c (outchar): Likewise.
63348         (PRINT): Likewise.
63349         * stdio-common/printf_size.c (outchar): Likewise.
63350         (PRINT): Likewise.
63351         * stdio-common/test_rdwr.c (main): Likewise.
63352         * stdio-common/tfformat.c (matches): Likewise.
63353         * stdio-common/vfprintf.c (outchar): Likewise.
63354         (printf_unknown): Likewise.
63355         (buffered_vfprintf): Likewise.
63356         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
63357         * stdio-common/xbug.c (AppendToBuffer): Likewise.
63358         (ReadFile): Likewise.
63359         * stdlib/qsort.c (SWAP): Likewise.
63360         (_quicksort): Likewise.
63361         * stdlib/setenv.c (__add_to_environ): Likewise.
63362         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
63363         * stdlib/strtol_l.c (__strtol_l): Likewise.
63364         * stdlib/tst-strtod.c (main): Likewise.
63365         * stdlib/tst-strtol.c (main): Likewise.
63366         * stdlib/tst-strtoll.c (main): Likewise.
63367         * string/bits/string2.h (__strcmp_cc): Likewise.
63368         (__strcmp_cg): Likewise.
63369         (__strcspn_c1): Likewise.
63370         (__strcspn_c2): Likewise.
63371         (__strcspn_c3): Likewise.
63372         (__strspn_c1): Likewise.
63373         (__strspn_c2): Likewise.
63374         (__strspn_c3): Likewise.
63375         (__strsep_1c): Likewise.
63376         (__strsep_2c): Likewise.
63377         (__strsep_3c): Likewise.
63378         * string/memccpy.c (__memccpy): Likewise.
63379         * string/stpcpy.c (__stpcpy): Likewise.
63380         * string/strcmp.c (strcmp): Likewise.
63381         * string/strrchr.c (strrchr): Likewise.
63382         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
63383         Likewise.
63384         * sysdeps/mach/hurd/getcwd.c
63385         (_hurd_canonicalize_directory_name_internal): Likewise.
63386         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
63387         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
63388         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
63389         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
63390         Likewise, in both definitions.
63391         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
63392         definitions.
63393         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
63394         64] (__bswap_64): Likewise.
63395         * time/test_time.c (main): Likewise.
63396         * time/tzfile.c (__tzfile_read): Likewise.
63397         (__tzfile_compute): Likewise.
63398         * time/tzset.c (__tzset_parse_tz): Likewise.
63399         (tzset_internal): Likewise.
63400         (compute_change): Likewise.
63401         * wcsmbs/wcscat.c (__wcscat): Likewise.
63402         * wcsmbs/wcschr.c (wcschr): Likewise.
63403         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
63404         * wcsmbs/wcscspn.c (wcscspn): Likewise.
63405         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
63406         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
63407         * wcsmbs/wcsspn.c (wcsspn): Likewise.
63408         * wcsmbs/wcsstr.c (wcsstr): Likewise.
63409         * wcsmbs/wmemchr.c (wmemchr): Likewise.
63410         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63411         * wcsmbs/wmemset.c (wmemset): Likewise.
63413 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
63415         * scripts/config.guess: Update to version 2013-05-16.
63416         * scripts/config.sub: Update to version 2013-04-24.
63417         * scripts/install-sh: Update to version 2011-11-20.07.
63418         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
63419         * scripts/move-if-change: Update to version 2012-01-06 07:23.
63421 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
63423         * debug/fgetws_u_chk.c: Fix leading whitespaces.
63424         * elf/sln.c: Likewise.
63425         * hurd/hurd/ioctl.h: Likewise.
63426         * hurd/hurdmalloc.c: Likewise.
63427         * hurd/xattr.c: Likewise.
63428         * include/shlib-compat.h: Likewise.
63429         * inet/ruserpass.c: Likewise.
63430         * libio/iofgets_u.c: Likewise.
63431         * libio/iofgetws_u.c: Likewise.
63432         * locale/programs/ld-identification.c: Likewise.
63433         * locale/programs/ld-time.c: Likewise.
63434         * mach/msg-destroy.c: Likewise.
63435         * nss/nss_files/files-netgrp.c: Likewise.
63436         * resolv/res_data.c: Likewise.
63437         * soft-fp/op-1.h: Likewise.
63438         * soft-fp/op-2.h: Likewise.
63439         * soft-fp/op-4.h: Likewise.
63440         * soft-fp/op-common.h: Likewise.
63441         * stdio-common/printf_fphex.c: Likewise.
63442         * stdlib/strtod_l.c: Likewise.
63443         * sunrpc/rpc/clnt.h: Likewise.
63444         * sysdeps/generic/framestate.c: Likewise.
63445         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63446         * sysdeps/i386/bsd-setjmp.S: Likewise.
63447         * sysdeps/i386/__longjmp.S: Likewise.
63448         * sysdeps/i386/setjmp.S: Likewise.
63449         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63450         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63451         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63452         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63453         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63454         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63455         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63456         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63457         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63458         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
63459         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63460         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63461         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63462         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63463         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63464         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63465         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63466         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
63467         * sysdeps/ieee754/support.c: Likewise.
63468         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63469         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
63470         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
63471         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
63472         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
63473         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
63474         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
63475         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
63476         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
63477         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
63478         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
63479         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
63480         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
63481         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
63482         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
63483         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
63484         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
63487 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
63489         * posix/transbug.c: Remove executable mode.
63491 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
63493         * crypt/speeds.c: Remove trailing whitespace.
63494         * dlfcn/default.c: Likewise.
63495         * elf/ifuncdep2.c: Likewise.
63496         * elf/ifuncmain1.c: Likewise.
63497         * elf/ifuncmain1vis.c: Likewise.
63498         * elf/testobj.h: Likewise.
63499         * elf/tst-stackguard1.c: Likewise.
63500         * gmon/sys/gmon.h: Likewise.
63501         * hurd/hurdmsg.c: Likewise.
63502         * hurd/new-fd.c: Likewise.
63503         * hurd/ports-get.c: Likewise.
63504         * iconvdata/ibm1008_420.c: Likewise.
63505         * inet/tst-getni1.c: Likewise.
63506         * inet/tst-getni2.c: Likewise.
63507         * libio/ioungetc.c: Likewise.
63508         * libio/wfiledoalloc.c: Likewise.
63509         * manual/libm-err-tab.pl: Likewise.
63510         * math/w_dremf.c: Likewise.
63511         * misc/ftruncate.c: Likewise.
63512         * posix/bug-glob2.c: Likewise.
63513         * posix/tst-pcre.c: Likewise.
63514         * posix/wait4.c: Likewise.
63515         * resolv/README: Likewise.
63516         * resolv/res_debug.h: Likewise.
63517         * resolv/tst-inet_ntop.c: Likewise.
63518         * setjmp/bug269-setjmp.c: Likewise.
63519         * soft-fp/extended.h: Likewise.
63520         * soft-fp/op-1.h: Likewise.
63521         * soft-fp/op-2.h: Likewise.
63522         * soft-fp/op-4.h: Likewise.
63523         * soft-fp/op-8.h: Likewise.
63524         * soft-fp/testit.c: Likewise.
63525         * stdio-common/bug16.c: Likewise.
63526         * stdlib/random.c: Likewise.
63527         * sunrpc/rpcsvc/rquota.x: Likewise.
63528         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
63529         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63530         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63531         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63532         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63533         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63534         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63535         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63536         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63537         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63538         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63539         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63540         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63541         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63542         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63543         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63544         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63545         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63546         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63547         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63548         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63549         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63550         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
63551         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63552         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63553         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63554         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63555         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63556         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63557         * sysdeps/ieee754/s_lib_version.c: Likewise.
63558         * sysdeps/mach/hurd/check_fds.c: Likewise.
63559         * sysdeps/mach/hurd/getsockname.c: Likewise.
63560         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
63561         * sysdeps/mach/hurd/recvfrom.c: Likewise.
63562         * sysdeps/powerpc/bits/link.h: Likewise.
63563         * sysdeps/powerpc/dl-procinfo.c: Likewise.
63564         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
63565         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
63566         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
63567         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
63568         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63569         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
63570         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
63571         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
63572         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63573         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
63574         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
63575         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
63576         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63577         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63578         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63579         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
63580         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
63581         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63582         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63583         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63584         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
63585         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63586         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
63587         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
63588         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63589         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
63590         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63591         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63592         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
63593         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
63594         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
63595         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63596         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63597         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
63598         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
63599         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
63600         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
63601         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
63602         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
63603         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
63604         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
63605         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
63606         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
63607         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
63608         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
63609         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
63610         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
63611         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
63612         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
63613         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63614         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63615         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
63616         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
63617         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
63618         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
63619         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
63620         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63621         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
63622         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
63623         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
63624         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
63625         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
63626         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63627         * sysdeps/powerpc/sysdep.h: Likewise.
63628         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63629         * sysdeps/s390/s390-64/sub_n.S: Likewise.
63630         * sysdeps/sh/dl-trampoline.S: Likewise.
63631         * sysdeps/sh/memset.S: Likewise.
63632         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
63633         * sysdeps/sh/strlen.S: Likewise.
63634         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
63635         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
63636         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
63637         * sysdeps/sparc/sparc32/rem.S: Likewise.
63638         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
63639         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
63640         * sysdeps/sparc/sparc32/strchr.S: Likewise.
63641         * sysdeps/sparc/sparc32/udiv.S: Likewise.
63642         * sysdeps/sparc/sparc32/urem.S: Likewise.
63643         * sysdeps/sparc/sparc64/add_n.S: Likewise.
63644         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63645         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
63646         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
63647         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
63648         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
63649         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
63650         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
63651         * sysdeps/unix/bsd/times.c: Likewise.
63652         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
63653         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
63654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
63655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
63656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
63657         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
63658         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
63659         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
63660         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
63661         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
63662         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
63663         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63664         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
63665         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
63666         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63667         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
63668         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63669         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
63670         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
63671         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
63672         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
63673         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
63674         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
63675         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
63676         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
63677         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
63678         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
63679         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63680         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
63681         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
63682         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
63683         * sysdeps/x86_64/strcspn.S: Likewise.
63685 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63687         * locale/C-translit.h: Revert #include <stdint.h> because this is a
63688         generated file.  Regenerate properly from gen-translit.pl.
63689         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
63690         locale/C-translit.h.
63692 2013-06-05  Andreas Schwab  <schwab@suse.de>
63694         [BZ #15100]
63695         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
63696         week as 6 instead of -1.
63697         * time/tst-strptime.c (day_tests): Add test case.
63699 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63701         * sysdeps/generic/math_private.h
63702         (libc_feholdexcept_setround_53bit): Replace with
63703         libc_feholdsetround_53bit.
63704         (libc_feupdateenv_53bit): Replace with
63705         libc_feresetround_53bit.
63706         (SET_RESTORE_ROUND_53BIT): Adjust.
63708 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
63710         * string/test-strchrnul.c: Add copyright header.
63712         * posix/tst-getaddrinfo4.c: Increase test timeout.
63714 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
63716         [BZ #15536]
63717         * math/libm-test.inc (MAX_EXP): Remove
63718         (MIN_EXP): Define.
63719         (ulp): Use MIN_EXP - MANT_DIG.
63720         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
63722 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
63724         * po/be.po: Revert last change.
63725         * po/zh_CN.po: Likewise.
63726         * po/header.pot: Likewise.
63728 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
63730         * Makefile ($(common-objpfx)linkobj/libc.so): Define
63731         link-libc-deps to empty as target-specific variable.
63732         * Makerules (link-libc-args): New variable.
63733         (libc-for-link): Likewise.
63734         (link-libc-deps): Likewise.
63735         (lib%.so): Depend on $(link-libc-deps).  Link with
63736         $(link-libc-args).
63737         (build-module): Link with $(link-libc-args).
63738         (build-module-asneeded): Likewise.
63739         (build-module-helper-objlist): Filter out $(link-libc-deps) from
63740         list of objects.
63741         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
63742         target-specific variable.
63743         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
63744         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
63745         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
63746         libc.
63747         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
63748         libc and ld.so.
63749         ($(objpfx)libpcprofile.so): Likewise.
63750         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
63751         libc_nonshared.a.
63752         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
63753         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
63754         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
63755         $(link-libc-deps).
63756         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
63757         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
63758         * login/Makefile ($(objpfx)libutil.so): Likewise.
63759         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
63760         * math/Makefile ($(objpfx)libm.so): Likewise.
63761         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
63762         $(objpfx)libnsl.so): Define libc-for-link as target-specific
63763         variable instead of depending directly on libc.
63764         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
63765         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
63766         $(link-libc-deps).
63767         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
63768         libc.
63769         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
63770         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
63771         ($(objpfx)libanl.so): Likewise.
63772         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
63773         ld.so.
63774         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
63775         $(link-libc-deps).
63776         * sysdeps/i386/fpu/Makefile: Remove file.
63777         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
63778         ($(objpfx)libm.so): Remove dependency on ld.so.
63780 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
63782         [BZ # 15553]
63783         * nis/yp_xdr.c (XDRMAXNAME): Define.
63784         (XDRMAXRECORD): Define.
63785         (xdr_domainname): Use XDRMAXNAME.
63786         (xdr_mapname): Likewise.
63787         (xdr_peername): Likewise.
63788         (xdr_keydat): Use XDRMAXRECORD.
63789         (xdr_valdat): Likewise.
63791 2013-05-30  Jeff Law  <law@redhat.com>
63793         [BZ #14256]
63794         * manual/errno.texi (ESTALE): Update to account for more than
63795         just NFS file systems.
63796         * sysdeps/gnu/errlist.c: Regenerated.
63798 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63800         [BZ #15465]
63801         * elf/Makefile (tests): Add tst-null-argv.
63802         (modules-names):  Add tst-null-argv-lib.
63803         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
63804         (tst-null-argv-ENV): Set environment for tst-null-argv.
63805         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
63806         (RTLD_PROGNAME): New macro.
63807         * elf/tst-null-argv.c: New test case.
63808         * elf/tst-null-argv-lib.c: Library for test case.
63809         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
63810         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
63811         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
63812         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
63813         * elf/dl-init.c (call_init): Likewise.
63814         (_dl_init): Likewise.
63815         * elf/dl-load.c (print_search_path): Likewise.
63816         (_dl_map_object): Likewise.
63817         * elf/dl-lookup.c (do_lookup_x): Likewise.
63818         (add_dependency): Likewise.
63819         (_dl_lookup_symbol_x): Likewise.
63820         (_dl_debug_bindings): Likewise.
63821         * elf/dl-open.c (_dl_show_scope): Likewise.
63822         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
63823         * elf/dl-version.c (match_symbol): Likewise.
63824         (_dl_check_map_versions): Likewise.
63825         * elf/rtld.c (dl_main): Likewise.
63826         (print_unresolved): Use RTLD_PROGNAME.
63827         (print_missing_version): Likewise.
63828         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
63829         (elf_machine_rela): Likewise.
63830         * sysdeps/powerpc/powerpc32/dl-machine.c
63831         (__process_machine_rela): Likewise.
63832         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63833         Likewise.
63834         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63835         Likewise.
63836         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
63837         Likewise.
63838         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
63839         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
63840         Likewise.
63841         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
63842         Likewise.
63843         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
63845 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
63847         * po/be.po: Add descriptive title.
63848         * po/zh_CN.po: Likewise.
63849         * po/header.pot: Likewise.
63851 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
63853         * locale/programs/locarchive.c (create_archive): Inlucde fname in
63854         error message.
63855         (enlarge_archive): Likewise.
63857 2013-05-28  Ben North  <ben@redfrontdoor.org>
63859         * manual/arith.texi (frexp): It is the magnitude of the return
63860         value which lies in [0.5, 1), not the return value itself.
63862 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63866 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
63868         * stdio-common/bug26.c (main): Correct fscanf template.
63870         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
63871         declare _dl_skip_args.
63873         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
63874         Don't declare.
63876         * manual/platform.texi: Add missing @end deftypefun.
63878 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63880         [BZ #15529]
63881         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
63882         bit of mantissa of 2^16382.
63883         * math/libm-test.inc (hypot_test_data): Add more tests.
63885         * math/libm-test.inc: Add drem and pow10 to list of tested
63886         functions.
63887         (pow10_test): New function.
63888         (drem_test): Likewise.
63889         (drem_test_tonearest): Likewise.
63890         (drem_test_towardzero): Likewise.
63891         (drem_test_downward): Likewise.
63892         (drem_test_upward): Likewise.
63893         (main): Call the new functions.
63895         * math/libm-test.inc (finite_test_data): Remove.
63896         (finite_test): Run tests from isfinite_test_data.
63897         (gamma_test_data): Remove.
63898         (gamma_test): Run tests from lgamma_test_data.
63899         * sysdeps/i386/fpu/libm-test-ulps: Update.
63900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63902 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63904         * manual/platform.texi: Add PowerPC PPR function set documentation.
63905         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
63906         implementation.
63908 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
63910         * math/libm-test.inc (MAX_EXP): Define.
63911         (ULPDIFF): Define.
63912         (ulp): New function.
63913         (check_float_internal): Use ULPDIFF.
63914         (cpow_test): Disable failing test.
63915         (check_ulp): Test ulp() implementation.
63916         (main): Call check_ulp before starting tests.
63918 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63920         * math/gen-libm-test.pl (generate_testfile): Do not handle
63921         START_DATA and END_DATA.
63922         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
63923         END_DATA.
63924         (acos_tonearest_test_data): Likewise.
63925         (acos_towardzero_test_data): Likewise.
63926         (acos_downward_test_data): Likewise.
63927         (acos_upward_test_data): Likewise.
63928         (acosh_test_data): Likewise.
63929         (asin_test_data): Likewise.
63930         (asin_tonearest_test_data): Likewise.
63931         (asin_towardzero_test_data): Likewise.
63932         (asin_downward_test_data): Likewise.
63933         (asin_upward_test_data): Likewise.
63934         (asinh_test_data): Likewise.
63935         (atan_test_data): Likewise.
63936         (atanh_test_data): Likewise.
63937         (atan2_test_data): Likewise.
63938         (cabs_test_data): Likewise.
63939         (cacos_test_data): Likewise.
63940         (cacosh_test_data): Likewise.
63941         (carg_test_data): Likewise.
63942         (casin_test_data): Likewise.
63943         (casinh_test_data): Likewise.
63944         (catan_test_data): Likewise.
63945         (catanh_test_data): Likewise.
63946         (cbrt_test_data): Likewise.
63947         (ccos_test_data): Likewise.
63948         (ccosh_test_data): Likewise.
63949         (ceil_test_data): Likewise.
63950         (cexp_test_data): Likewise.
63951         (cimag_test_data): Likewise.
63952         (clog_test_data): Likewise.
63953         (clog10_test_data): Likewise.
63954         (conj_test_data): Likewise.
63955         (copysign_test_data): Likewise.
63956         (cos_test_data): Likewise.
63957         (cos_tonearest_test_data): Likewise.
63958         (cos_towardzero_test_data): Likewise.
63959         (cos_downward_test_data): Likewise.
63960         (cos_upward_test_data): Likewise.
63961         (cosh_test_data): Likewise.
63962         (cosh_tonearest_test_data): Likewise.
63963         (cosh_towardzero_test_data): Likewise.
63964         (cosh_downward_test_data): Likewise.
63965         (cosh_upward_test_data): Likewise.
63966         (cpow_test_data): Likewise.
63967         (cproj_test_data): Likewise.
63968         (creal_test_data): Likewise.
63969         (csin_test_data): Likewise.
63970         (csinh_test_data): Likewise.
63971         (csqrt_test_data): Likewise.
63972         (ctan_test_data): Likewise.
63973         (ctan_tonearest_test_data): Likewise.
63974         (ctan_towardzero_test_data): Likewise.
63975         (ctan_downward_test_data): Likewise.
63976         (ctan_upward_test_data): Likewise.
63977         (ctanh_test_data): Likewise.
63978         (ctanh_tonearest_test_data): Likewise.
63979         (ctanh_towardzero_test_data): Likewise.
63980         (ctanh_downward_test_data): Likewise.
63981         (ctanh_upward_test_data): Likewise.
63982         (erf_test_data): Likewise.
63983         (erfc_test_data): Likewise.
63984         (exp_test_data): Likewise.
63985         (exp_tonearest_test_data): Likewise.
63986         (exp_towardzero_test_data): Likewise.
63987         (exp_downward_test_data): Likewise.
63988         (exp_upward_test_data): Likewise.
63989         (exp10_test_data): Likewise.
63990         (exp2_test_data): Likewise.
63991         (expm1_test_data): Likewise.
63992         (fabs_test_data): Likewise.
63993         (fdim_test_data): Likewise.
63994         (finite_test_data): Likewise.
63995         (floor_test_data): Likewise.
63996         (fma_test_data): Likewise.
63997         (fma_towardzero_test_data): Likewise.
63998         (fma_downward_test_data): Likewise.
63999         (fma_upward_test_data): Likewise.
64000         (fmax_test_data): Likewise.
64001         (fmin_test_data): Likewise.
64002         (fmod_test_data): Likewise.
64003         (fpclassify_test_data): Likewise.
64004         (frexp_test_data): Likewise.
64005         (gamma_test_data): Likewise.
64006         (hypot_test_data): Likewise.
64007         (ilogb_test_data): Likewise.
64008         (isfinite_test_data): Likewise.
64009         (isgreater_test_data): Likewise.
64010         (isgreaterequal_test_data): Likewise.
64011         (isinf_test_data): Likewise.
64012         (isless_test_data): Likewise.
64013         (islessequal_test_data): Likewise.
64014         (islessgreater_test_data): Likewise.
64015         (isnan_test_data): Likewise.
64016         (isnormal_test_data): Likewise.
64017         (issignaling_test_data): Likewise.
64018         (isunordered_test_data): Likewise.
64019         (j0_test_data): Likewise.
64020         (j1_test_data): Likewise.
64021         (jn_test_data): Likewise.
64022         (ldexp_test_data): Likewise.
64023         (lgamma_test_data): Likewise.
64024         (lrint_test_data): Likewise.
64025         (lrint_tonearest_test_data): Likewise.
64026         (lrint_towardzero_test_data): Likewise.
64027         (lrint_downward_test_data): Likewise.
64028         (lrint_upward_test_data): Likewise.
64029         (llrint_test_data): Likewise.
64030         (llrint_tonearest_test_data): Likewise.
64031         (llrint_towardzero_test_data): Likewise.
64032         (llrint_downward_test_data): Likewise.
64033         (llrint_upward_test_data): Likewise.
64034         (log_test_data): Likewise.
64035         (log10_test_data): Likewise.
64036         (log1p_test_data): Likewise.
64037         (log2_test_data): Likewise.
64038         (logb_test_data): Likewise.
64039         (logb_downward_test_data): Likewise.
64040         (lround_test_data): Likewise.
64041         (llround_test_data): Likewise.
64042         (modf_test_data): Likewise.
64043         (nearbyint_test_data): Likewise.
64044         (nextafter_test_data): Likewise.
64045         (nexttoward_test_data): Likewise.
64046         (pow_test_data): Likewise.
64047         (pow_tonearest_test_data): Likewise.
64048         (pow_towardzero_test_data): Likewise.
64049         (pow_downward_test_data): Likewise.
64050         (pow_upward_test_data): Likewise.
64051         (remainder_test_data): Likewise.
64052         (remainder_tonearest_test_data): Likewise.
64053         (remainder_towardzero_test_data): Likewise.
64054         (remainder_downward_test_data): Likewise.
64055         (remainder_upward_test_data): Likewise.
64056         (remquo_test_data): Likewise.
64057         (rint_test_data): Likewise.
64058         (rint_tonearest_test_data): Likewise.
64059         (rint_towardzero_test_data): Likewise.
64060         (rint_downward_test_data): Likewise.
64061         (rint_upward_test_data): Likewise.
64062         (round_test_data): Likewise.
64063         (scalb_test_data): Likewise.
64064         (scalbn_test_data): Likewise.
64065         (scalbln_test_data): Likewise.
64066         (signbit_test_data): Likewise.
64067         (sin_test_data): Likewise.
64068         (sin_tonearest_test_data): Likewise.
64069         (sin_towardzero_test_data): Likewise.
64070         (sin_downward_test_data): Likewise.
64071         (sin_upward_test_data): Likewise.
64072         (sincos_test_data): Likewise.
64073         (sinh_test_data): Likewise.
64074         (sinh_tonearest_test_data): Likewise.
64075         (sinh_towardzero_test_data): Likewise.
64076         (sinh_downward_test_data): Likewise.
64077         (sinh_upward_test_data): Likewise.
64078         (sqrt_test_data): Likewise.
64079         (tan_test_data): Likewise.
64080         (tan_tonearest_test_data): Likewise.
64081         (tan_towardzero_test_data): Likewise.
64082         (tan_downward_test_data): Likewise.
64083         (tan_upward_test_data): Likewise.
64084         (tanh_test_data): Likewise.
64085         (tgamma_test_data): Likewise.
64086         (trunc_test_data): Likewise.
64087         (y0_test_data): Likewise.
64088         (y1_test_data): Likewise.
64089         (yn_test_data): Likewise.
64090         (significand_test_data): Likewise.
64092         * math/gen-libm-test.pl (@functions): Remove variable.
64093         (generate_testfile): Don't handle START and END lines.
64094         * math/libm-test.inc (START): New macro.
64095         (END): Likewise.
64096         (END_COMPLEX): Likewise.
64097         (acos_test): Use END macro without arguments.
64098         (acos_test_tonearest): Likewise.
64099         (acos_test_towardzero): Likewise.
64100         (acos_test_downward): Likewise.
64101         (acos_test_upward): Likewise.
64102         (acosh_test): Likewise.
64103         (asin_test): Likewise.
64104         (asin_test_tonearest): Likewise.
64105         (asin_test_towardzero): Likewise.
64106         (asin_test_downward): Likewise.
64107         (asin_test_upward): Likewise.
64108         (asinh_test): Likewise.
64109         (atan_test): Likewise.
64110         (atanh_test): Likewise.
64111         (atan2_test): Likewise.
64112         (cabs_test): Likewise.
64113         (cacos_test): Use END_COMPLEX macro without arguments.
64114         (cacosh_test): Likewise.
64115         (carg_test): Use END macro without arguments.
64116         (casin_test): Use END_COMPLEX macro without arguments.
64117         (casinh_test): Likewise.
64118         (catan_test): Likewise.
64119         (catanh_test): Likewise.
64120         (cbrt_test): Use END macro without arguments.
64121         (ccos_test): Use END_COMPLEX macro without arguments.
64122         (ccosh_test): Likewise.
64123         (ceil_test): Use END macro without arguments.
64124         (cexp_test): Use END_COMPLEX macro without arguments.
64125         (cimag_test): Use END macro without arguments.
64126         (clog_test): Use END_COMPLEX macro without arguments.
64127         (clog10_test): Likewise.
64128         (conj_test): Likewise.
64129         (copysign_test): Use END macro without arguments.
64130         (cos_test): Likewise.
64131         (cos_test_tonearest): Likewise.
64132         (cos_test_towardzero): Likewise.
64133         (cos_test_downward): Likewise.
64134         (cos_test_upward): Likewise.
64135         (cosh_test): Likewise.
64136         (cosh_test_tonearest): Likewise.
64137         (cosh_test_towardzero): Likewise.
64138         (cosh_test_downward): Likewise.
64139         (cosh_test_upward): Likewise.
64140         (cpow_test): Use END_COMPLEX macro without arguments.
64141         (cproj_test): Likewise.
64142         (creal_test): Use END macro without arguments.
64143         (csin_test): Use END_COMPLEX macro without arguments.
64144         (csinh_test): Likewise.
64145         (csqrt_test): Likewise.
64146         (ctan_test): Likewise.
64147         (ctan_test_tonearest): Likewise.
64148         (ctan_test_towardzero): Likewise.
64149         (ctan_test_downward): Likewise.
64150         (ctan_test_upward): Likewise.
64151         (ctanh_test): Likewise.
64152         (ctanh_test_tonearest): Likewise.
64153         (ctanh_test_towardzero): Likewise.
64154         (ctanh_test_downward): Likewise.
64155         (ctanh_test_upward): Likewise.
64156         (erf_test): Use END macro without arguments.
64157         (erfc_test): Likewise.
64158         (exp_test): Likewise.
64159         (exp_test_tonearest): Likewise.
64160         (exp_test_towardzero): Likewise.
64161         (exp_test_downward): Likewise.
64162         (exp_test_upward): Likewise.
64163         (exp10_test): Likewise.
64164         (exp2_test): Likewise.
64165         (expm1_test): Likewise.
64166         (fabs_test): Likewise.
64167         (fdim_test): Likewise.
64168         (finite_test): Likewise.
64169         (floor_test): Likewise.
64170         (fma_test): Likewise.
64171         (fma_test_towardzero): Likewise.
64172         (fma_test_downward): Likewise.
64173         (fma_test_upward): Likewise.
64174         (fmax_test): Likewise.
64175         (fmin_test): Likewise.
64176         (fmod_test): Likewise.
64177         (fpclassify_test): Likewise.
64178         (frexp_test): Likewise.
64179         (gamma_test): Likewise.
64180         (hypot_test): Likewise.
64181         (ilogb_test): Likewise.
64182         (isfinite_test): Likewise.
64183         (isgreater_test): Likewise.
64184         (isgreaterequal_test): Likewise.
64185         (isinf_test): Likewise.
64186         (isless_test): Likewise.
64187         (islessequal_test): Likewise.
64188         (islessgreater_test): Likewise.
64189         (isnan_test): Likewise.
64190         (isnormal_test): Likewise.
64191         (issignaling_test): Likewise.
64192         (isunordered_test): Likewise.
64193         (j0_test): Likewise.
64194         (j1_test): Likewise.
64195         (jn_test): Likewise.
64196         (ldexp_test): Likewise.
64197         (lgamma_test): Likewise.
64198         (lrint_test): Likewise.
64199         (lrint_test_tonearest): Likewise.
64200         (lrint_test_towardzero): Likewise.
64201         (lrint_test_downward): Likewise.
64202         (lrint_test_upward): Likewise.
64203         (llrint_test): Likewise.
64204         (llrint_test_tonearest): Likewise.
64205         (llrint_test_towardzero): Likewise.
64206         (llrint_test_downward): Likewise.
64207         (llrint_test_upward): Likewise.
64208         (log_test): Likewise.
64209         (log10_test): Likewise.
64210         (log1p_test): Likewise.
64211         (log2_test): Likewise.
64212         (logb_test): Likewise.
64213         (logb_test_downward): Likewise.
64214         (lround_test): Likewise.
64215         (llround_test): Likewise.
64216         (modf_test): Likewise.
64217         (nearbyint_test): Likewise.
64218         (nextafter_test): Likewise.
64219         (nexttoward_test): Likewise.
64220         (pow_test): Likewise.
64221         (pow_test_tonearest): Likewise.
64222         (pow_test_towardzero): Likewise.
64223         (pow_test_downward): Likewise.
64224         (pow_test_upward): Likewise.
64225         (remainder_test): Likewise.
64226         (remainder_test_tonearest): Likewise.
64227         (remainder_test_towardzero): Likewise.
64228         (remainder_test_downward): Likewise.
64229         (remainder_test_upward): Likewise.
64230         (remquo_test): Likewise.
64231         (rint_test): Likewise.
64232         (rint_test_tonearest): Likewise.
64233         (rint_test_towardzero): Likewise.
64234         (rint_test_downward): Likewise.
64235         (rint_test_upward): Likewise.
64236         (round_test): Likewise.
64237         (scalb_test): Likewise.
64238         (scalbn_test): Likewise.
64239         (scalbln_test): Likewise.
64240         (signbit_test): Likewise.
64241         (sin_test): Likewise.
64242         (sin_test_tonearest): Likewise.
64243         (sin_test_towardzero): Likewise.
64244         (sin_test_downward): Likewise.
64245         (sin_test_upward): Likewise.
64246         (sincos_test): Likewise.
64247         (sinh_test): Likewise.
64248         (sinh_test_tonearest): Likewise.
64249         (sinh_test_towardzero): Likewise.
64250         (sinh_test_downward): Likewise.
64251         (sinh_test_upward): Likewise.
64252         (sqrt_test): Likewise.
64253         (tan_test): Likewise.
64254         (tan_test_tonearest): Likewise.
64255         (tan_test_towardzero): Likewise.
64256         (tan_test_downward): Likewise.
64257         (tan_test_upward): Likewise.
64258         (tanh_test): Likewise.
64259         (tgamma_test): Likewise.
64260         (trunc_test): Likewise.
64261         (y0_test): Likewise.
64262         (y1_test): Likewise.
64263         (yn_test): Likewise.
64264         (significand_test): Likewise.
64266 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
64268         [BZ #15381]
64269         * libio/genops.c (_IO_no_init): Initialize wide struct info.
64271 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64273         [BZ #14894]
64274         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
64275         __ppc_mdoio and __ppc_mdoom.
64276         * manual/platform.texi: Document new functions __ppc_yield,
64277         __ppc_mdoio and __ppc_mdoom.
64279 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
64281         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
64282         (main): Mention "tls" pseudo-hwcap is legacy.
64283         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
64285 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64287         * math/gen-libm-test.pl (parse_args): Output only string of
64288         arguments as text for test name, not full call or descriptions of
64289         tests for extra outputs.
64290         (generate_testfile): Do not pass function name to parse_args.
64291         Generate this_func variable from START.
64292         * math/libm-test.inc (struct test_f_f_data): Rename test_name
64293         field to arg_str.
64294         (struct test_ff_f_data): Likewise.
64295         (test_ff_f_data_nexttoward): Likewise.
64296         (struct test_fi_f_data): Likewise.
64297         (struct test_fl_f_data): Likewise.
64298         (struct test_if_f_data): Likewise.
64299         (struct test_fff_f_data): Likewise.
64300         (struct test_c_f_data): Likewise.
64301         (struct test_f_f1_data): Likewise.  Remove field extra_name.
64302         (struct test_fF_f1_data): Likewise.
64303         (struct test_ffI_f1_data): Likewise.
64304         (struct test_c_c_data): Rename test_name field to arg_str.
64305         (struct test_cc_c_data): Likewise.
64306         (struct test_f_i_data): Likewise.
64307         (struct test_ff_i_data): Likewise.
64308         (struct test_f_l_data): Likewise.
64309         (struct test_f_L_data): Likewise.
64310         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
64311         and extra2_name.
64312         (COMMON_TEST_SETUP): New macro.
64313         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
64314         (COMMON_TEST_CLEANUP): Likewise.
64315         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
64316         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
64317         macros.
64318         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
64319         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
64320         macros.
64321         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
64322         (RUN_TEST_fff_f): Take argument string.  Call new setup and
64323         cleanup macros.
64324         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
64325         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
64326         macros.
64327         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
64328         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
64329         macros.
64330         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64331         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
64332         cleanup macros.
64333         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64334         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
64335         cleanup macros.
64336         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64337         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
64338         cleanup macros.
64339         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64340         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
64341         macros.
64342         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
64343         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
64344         macros.
64345         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
64346         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
64347         macros.
64348         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
64349         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
64350         cleanup macros.
64351         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
64352         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
64353         cleanup macros.
64354         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
64355         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
64356         macros.
64357         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
64358         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
64359         cleanup macros.
64360         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
64361         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
64362         macros.
64363         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
64364         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
64365         macros.
64366         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
64367         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
64368         cleanup macros.
64369         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
64371 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
64373         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
64374         to _sifields.sigfault.
64375         (si_addr_lsb): Define new macro.
64376         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64377         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64378         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
64380 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
64382         [BZ #15441]
64383         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
64384         returns -1.
64385         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
64386         null return -1.
64387         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
64388         loading the domain.
64390 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64392         * math/gen-libm-test.pl (parse_args): Do not include expected
64393         result in test name.
64394         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
64395         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64396         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64397         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64398         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64401 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64403         * benchtests/Makefile: Sort function entries.
64405         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
64406         tanh, asinh, acosh, atanh.
64407         * benchtests/acos-inputs: New file.
64408         * benchtests/acosh-inputs: New file.
64409         * benchtests/asin-inputs: New file.
64410         * benchtests/asinh-inputs: New file.
64411         * benchtests/atanh-inputs: New file.
64412         * benchtests/cosh-inputs: New file.
64413         * benchtests/log-inputs: New file.
64414         * benchtests/sinh-inputs: New file.
64415         * benchtests/tanh-inputs: New file.
64417 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
64419         [BZ #15339]
64420         * posix/tst-getaddrinfo4.c: New test.
64421         * posix/Makefile (tests): Add it.
64423 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64425         [BZ #15339]
64426         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
64427         when no services were used.
64428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
64429         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
64431 2013-05-21  Andreas Schwab  <schwab@suse.de>
64433         [BZ #15014]
64434         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
64435         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
64436         successful.
64437         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
64438         redundant variable declarations and reallocation of buffer when
64439         parsing as IPv6 address.  Always set NSS status when called from
64440         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
64441         buffer too small.  Correct computation of needed size.
64442         * nss/Makefile (tests): Add test-digits-dots.
64443         * nss/test-digits-dots.c: New test.
64445 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64447         * benchtests/Makefile: Remove instructions for adding
64448         benchmark tests.
64449         * benchtests/README: New file to explain how to execute and
64450         enhance the benchmark tests.
64452 2013-05-21  Andreas Schwab  <schwab@suse.de>
64454         [BZ #15493]
64455         * setjmp/Makefile (tests): Add tst-sigsetjmp.
64456         * setjmp/tst-sigsetjmp.c: New test.
64458 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
64460         * sysdeps/x86_64/memset.S (memset): New implementation.
64461         (__bzero): Likewise.
64462         (__memset_tail): New function.
64464 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
64466         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
64467         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
64468         __memcpy_sse2_unaligned ifunc selection.
64469         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64470         Add memcpy-sse2-unaligned.S.
64471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64472         Add: __memcpy_sse2_unaligned.
64474 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
64476         [BZ #15490]
64477         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64478         math_force_eval before restoring floating-point envrionment.
64479         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
64480         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
64481         Likewise.
64482         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
64483         <math_private.h>.
64484         (__nearbyintl): Use math_force_eval before restoring
64485         floating-point environment.
64486         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
64488         * math/gen-libm-test.pl (special_functions): Remove.
64489         (parse_args): Don't handle TEST_extra.  Handle functions with no
64490         return value.
64491         * math/libm-test.inc (struct test_sincos_data): Replace with
64492         struct test_fFF_11_data.
64493         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
64494         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
64495         (sincos_test_data): Change element type to struct
64496         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
64497         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
64498         RUN_TEST_LOOP_sincos.
64499         * math/README.libm-test: Don't mention special handling of
64500         individual functions.
64501         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
64502         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64503         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64504         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64505         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64508         * math/gen-libm-test.pl (get_variable): Remove function.
64509         (parse_args): Don't show pointer parameters to call in test
64510         names.  Use "extra output N" in test names for extra outputs
64511         rather than naming variables.
64513 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
64515         [BZ #15488]
64516         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
64517         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
64518         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
64519         double tests.
64520         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
64521         disable.
64522         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
64523         check_long_double.
64525         * math/gen-libm-test.pl (@tests): Remove variable.
64526         ($count): Likewise.
64527         (new_test): Remove function.
64528         (show_exceptions): New function.
64529         (special_functions): Use show_exceptions instead of new_test.
64530         (parse_args): Likewise.
64531         (generate_testfile): Pass only function name in generated call to
64532         print_max_error or print_complex_max_error.
64533         (get_ulps): Do not handle complex tests specially.
64534         (output_test): Rename to ...
64535         (get_all_ulps_for_test): ... this.  Return a string rather than
64536         printing to a file.  Require ulps to be present.
64537         (output_ulps): Generate arrays rather than #defines.
64538         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
64539         (struct ulp_data): New type.
64540         (BUILD_COMPLEX_ULP): Remove macro.
64541         (compare_ulp_data): New function.
64542         (find_ulps): Likewise.
64543         (find_test_ulps): Likewise.
64544         (find_function_ulps): Likewise.
64545         (find_complex_function_ulps): Likewise.
64546         (print_max_error): Determine allowed ulps using
64547         find_function_ulps.
64548         (print_complex_max_error): Determine allowed ulps using
64549         find_complex_function_ulps.
64550         (check_float_internal): Determine max ulps using find_test_ulps.
64551         (check_float): Do not take max_ulp parameter.  Update call to
64552         check_float_internal.
64553         (check_complex): Likewise.
64554         (check_int): Do not take max_ulp parameter.
64555         (check_long): Likewise.
64556         (check_bool): Likewise.
64557         (check_longlong): Likewise.
64558         (struct test_f_f_data): Remove max_ulp field.
64559         (struct test_ff_f_data): Likewise.
64560         (struct test_ff_f_data_nexttoward): Likewise.
64561         (struct test_fi_f_data): Likewise.
64562         (struct test_fl_f_data): Likewise.
64563         (struct test_if_f_data): Likewise.
64564         (struct test_fff_f_data): Likewise.
64565         (struct test_c_f_data): Likewise.
64566         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
64567         (struct test_fF_f1_data): Likewise.
64568         (struct test_ffI_f1_data): Likewise.
64569         (struct test_c_c_data): Remove max_ulp field.
64570         (struct test_cc_c_data): Likewise.
64571         (struct test_f_i_data): Likewise.
64572         (struct test_ff_i_data): Likewise.
64573         (struct test_f_l_data): Likewise.
64574         (struct test_f_L_data): Likewise.
64575         (struct test_sincos_data): Likewise.
64576         (RUN_TEST_f_f): Do not handle ulps.
64577         (RUN_TEST_LOOP_f_f): Likewise.
64578         (RUN_TEST_2_f): Likewise.
64579         (RUN_TEST_LOOP_2_f): Likewise.
64580         (RUN_TEST_fff_f): Likewise.
64581         (RUN_TEST_LOOP_fff_f): Likewise.
64582         (RUN_TEST_c_f): Likewise.
64583         (RUN_TEST_LOOP_c_f): Likewise.
64584         (RUN_TEST_f_f1): Likewise.
64585         (RUN_TEST_LOOP_f_f1): Likewise.
64586         (RUN_TEST_fF_f1): Likewise.
64587         (RUN_TEST_LOOP_fF_f1): Likewise.
64588         (RUN_TEST_fI_f1): Likewise.
64589         (RUN_TEST_LOOP_fI_f1): Likewise.
64590         (RUN_TEST_ffI_f1): Likewise.
64591         (RUN_TEST_LOOP_ffI_f1): Likewise.
64592         (RUN_TEST_c_c): Likewise.
64593         (RUN_TEST_LOOP_c_c): Likewise.
64594         (RUN_TEST_cc_c): Likewise.
64595         (RUN_TEST_LOOP_cc_c): Likewise.
64596         (RUN_TEST_f_i): Likewise.
64597         (RUN_TEST_LOOP_f_i): Likewise.
64598         (RUN_TEST_f_i_tg): Likewise.
64599         (RUN_TEST_LOOP_f_i_tg): Likewise.
64600         (RUN_TEST_ff_i_tg): Likewise.
64601         (RUN_TEST_LOOP_ff_i_tg): Likewise.
64602         (RUN_TEST_f_b): Likewise.
64603         (RUN_TEST_LOOP_f_b): Likewise.
64604         (RUN_TEST_f_b_tg): Likewise.
64605         (RUN_TEST_LOOP_f_b_tg): Likewise.
64606         (RUN_TEST_f_l): Likewise.
64607         (RUN_TEST_LOOP_f_l): Likewise.
64608         (RUN_TEST_f_L): Likewise.
64609         (RUN_TEST_LOOP_f_L): Likewise.
64610         (RUN_TEST_sincos): Likewise.
64611         (RUN_TEST_LOOP_sincos): Likewise.
64613 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
64615         [BZ #15480]
64616         [BZ #15485]
64617         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
64618         main case of finite arguments, set rounding mode to FE_TONEAREST
64619         and discard exceptions.
64620         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
64621         exceptions.
64622         (remainder_tonearest_test_data): New variable.
64623         (remainder_test_tonearest): New function.
64624         (remainder_towardzero_test_data): New variable.
64625         (remainder_test_towardzero): New function.
64626         (remainder_downward_test_data): New variable.
64627         (remainder_test_downward): New function.
64628         (remainder_upward_test_data): New variable.
64629         (remainder_test_upward): New function.
64630         (main): Call the new test functions.
64632         * math/libm-test.inc (struct test_f_f1_data): Remove field
64633         extra_init.
64634         (struct test_fF_f1_data): Likewise.
64635         (struct test_ffI_f1_data): Likewise.
64636         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
64637         based on value of EXTRA_EXPECTED.
64638         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64639         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
64640         EXTRA_VAR based on value of EXTRA_EXPECTED.
64641         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64642         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
64643         EXTRA_VAR based on value of EXTRA_EXPECTED.
64644         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64645         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
64646         EXTRA_VAR based on value of EXTRA_EXPECTED.
64647         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64648         * math/gen-libm-test.pl (parse_args): Don't output initializers
64649         for extra output values.
64651         * math/libm-test.inc (check_int): Expect result to be exactly
64652         equal to expected value and do not handle ulps.
64653         (check_long): Likewise.
64654         (check_longlong): Likewise.
64656         * math/libm-test.inc (ceil_test_data): Test for "inexact"
64657         exceptions.
64658         (cimag_test_data): Likewise.
64659         (conj_test_data): Likewise.
64660         (copysign_test_data): Likewise.
64661         (cproj_test_data): Likewise.
64662         (creal_test_data): Likewise.
64663         (fabs_test_data): Likewise.
64664         (fdim_test_data): Likewise.
64665         (finite_test_data): Likewise.
64666         (floor_test_data): Likewise.
64667         (fmax_test_data): Likewise.
64668         (fmin_test_data): Likewise.
64669         (fmod_test_data): Likewise.
64670         (fpclassify_test_data): Likewise.
64671         (frexp_test_data): Likewise.
64672         (ilogb_test_data): Likewise.
64673         (isfinite_test_data): Likewise.
64674         (isgreater_test_data): Likewise.
64675         (isgreaterequal_test_data): Likewise.
64676         (isinf_test_data): Likewise.
64677         (isless_test_data): Likewise.
64678         (islessequal_test_data): Likewise.
64679         (islessgreater_test_data): Likewise.
64680         (isnan_test_data): Likewise.
64681         (isnormal_test_data): Likewise.
64682         (issignaling_test_data): Likewise.
64683         (isunordered_test_data): Likewise.
64684         (ldexp_test_data): Likewise.
64685         (lrint_test_data): Likewise.
64686         (lrint_test_data) [TEST_FLOAT]: Disable one test.
64687         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
64688         (lrint_tonearest_test_data): Test for "inexact" exceptions.
64689         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
64690         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
64691         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
64692         test input.
64693         (lrint_towardzero_test_data): Test for "inexact" exceptions.
64694         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
64695         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
64696         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
64697         that test input.
64698         (lrint_downward_test_data): Test for "inexact" exceptions.
64699         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
64700         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
64701         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
64702         test input.
64703         (lrint_upward_test_data): Test for "inexact" exceptions.
64704         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
64705         test input.
64706         (llrint_test_data): Test for "inexact" exceptions.
64707         (llrint_test_data) [TEST_FLOAT]: Disable one test.
64708         (llrint_tonearest_test_data): Test for "inexact" exceptions.
64709         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
64710         (llrint_towardzero_test_data): Test for "inexact" exceptions.
64711         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
64712         (llrint_downward_test_data): Test for "inexact" exceptions.
64713         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
64714         (llrint_upward_test_data): Test for "inexact" exceptions.
64715         (logb_test_data): Likewise.
64716         (logb_downward_test_data): Likewise.
64717         (nextafter_test_data): Likewise.
64718         (nexttoward_test_data): Likewise.
64719         (remainder_test_data): Likewise.
64720         (remquo_test_data): Likewise.
64721         (scalbn_test_data): Likewise.
64722         (scalbln_test_data): Likewise.
64723         (signbit_test_data): Likewise.
64724         (sqrt_test_data): Likewise.
64725         (significand_test_data): Likewise.
64727 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64729         [BZ #15424]
64730         * benchtests/bench-modf.c (struct args): Mark arg0 as
64731         volatile.
64732         * scripts/bench.pl: Mark members of struct args as volatile.
64734 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64736         [BZ # 15497]
64737         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
64738         negative infinity on POWER6 or lower.
64739         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
64741 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
64743         [BZ #15442]
64744         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
64745         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
64746         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
64747         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
64748         (_FP_SETQNAN): New macro.
64749         (_FP_SETQNAN_SEMIRAW): Likewise.
64750         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
64751         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
64752         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
64753         (FP_EXTEND): Use _FP_FRAC_SNANP.
64754         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
64755         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
64756         into account.
64757         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
64758         New macro.
64759         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
64760         Likewise.
64762 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64764         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
64765         with DIVIDE_BY_ZERO_EXCEPTION.
64766         (gamma_test_data): Likewise.
64767         (lgamma_test_data): Likewise.
64768         (log_test_data): Likewise.
64769         (log10_test_data): Likewise.
64770         (log2_test_data): Likewise.
64771         (tgamma_test_data): Likewise.
64773         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
64774         (acos_test_tonearest): Likewise.
64775         (acos_test_towardzero): Likewise.
64776         (acos_test_downward): Likewise.
64777         (acos_test_upward): Likewise.
64778         (acosh_test): Likewise.
64779         (asin_test): Likewise.
64780         (asin_test_tonearest): Likewise.
64781         (asin_test_towardzero): Likewise.
64782         (asin_test_downward): Likewise.
64783         (asin_test_upward): Likewise.
64784         (asinh_test): Likewise.
64785         (atan_test): Likewise.
64786         (atanh_test): Likewise.
64787         (atan2_test): Likewise.
64788         (cabs_test): Likewise.
64789         (cacos_test): Likewise.
64790         (cacosh_test): Likewise.
64791         (casin_test): Likewise.
64792         (casinh_test): Likewise.
64793         (catan_test): Likewise.
64794         (catanh_test): Likewise.
64795         (cbrt_test): Likewise.
64796         (ccos_test): Likewise.
64797         (ccosh_test): Likewise.
64798         (cexp_test): Likewise.
64799         (clog_test): Likewise.
64800         (clog10_test): Likewise.
64801         (cos_test): Likewise.
64802         (cos_test_tonearest): Likewise.
64803         (cos_test_towardzero): Likewise.
64804         (cos_test_downward): Likewise.
64805         (cos_test_upward): Likewise.
64806         (cosh_test): Likewise.
64807         (cosh_test_tonearest): Likewise.
64808         (cosh_test_towardzero): Likewise.
64809         (cosh_test_downward): Likewise.
64810         (cosh_test_upward): Likewise.
64811         (cpow_test): Likewise.
64812         (csin_test): Likewise.
64813         (csinh_test): Likewise.
64814         (csqrt_test): Likewise.
64815         (ctan_test): Likewise.
64816         (ctan_test_tonearest): Likewise.
64817         (ctan_test_towardzero): Likewise.
64818         (ctan_test_downward): Likewise.
64819         (ctan_test_upward): Likewise.
64820         (ctanh_test): Likewise.
64821         (ctanh_test_tonearest): Likewise.
64822         (ctanh_test_towardzero): Likewise.
64823         (ctanh_test_downward): Likewise.
64824         (ctanh_test_upward): Likewise.
64825         (erf_test): Likewise.
64826         (erfc_test): Likewise.
64827         (exp_test): Likewise.
64828         (exp_test_tonearest): Likewise.
64829         (exp_test_towardzero): Likewise.
64830         (exp_test_downward): Likewise.
64831         (exp_test_upward): Likewise.
64832         (exp10_test): Likewise.
64833         (exp2_test): Likewise.
64834         (expm1_test): Likewise.
64835         (fmod_test): Likewise.
64836         (gamma_test): Likewise.
64837         (hypot_test): Likewise.
64838         (j0_test): Likewise.
64839         (j1_test): Likewise.
64840         (jn_test): Likewise.
64841         (lgamma_test): Likewise.
64842         (log_test): Likewise.
64843         (log10_test): Likewise.
64844         (log1p_test): Likewise.
64845         (log2_test): Likewise.
64846         (logb_test_downward): Likewise.
64847         (pow_test): Likewise.
64848         (pow_test_tonearest): Likewise.
64849         (pow_test_towardzero): Likewise.
64850         (pow_test_downward): Likewise.
64851         (pow_test_upward): Likewise.
64852         (remainder_test): Likewise.
64853         (remquo_test): Likewise.
64854         (sin_test): Likewise.
64855         (sin_test_tonearest): Likewise.
64856         (sin_test_towardzero): Likewise.
64857         (sin_test_downward): Likewise.
64858         (sin_test_upward): Likewise.
64859         (sincos_test): Likewise.
64860         (sinh_test): Likewise.
64861         (sinh_test_tonearest): Likewise.
64862         (sinh_test_towardzero): Likewise.
64863         (sinh_test_downward): Likewise.
64864         (sinh_test_upward): Likewise.
64865         (sqrt_test): Likewise.
64866         (tan_test): Likewise.
64867         (tan_test_tonearest): Likewise.
64868         (tan_test_towardzero): Likewise.
64869         (tan_test_downward): Likewise.
64870         (tan_test_upward): Likewise.
64871         (tanh_test): Likewise.
64872         (tgamma_test): Likewise.
64873         (y0_test): Likewise.
64874         (y1_test): Likewise.
64875         (yn_test): Likewise.
64877         * math/gen-libm-test.pl (adjust_arg): Remove function.
64878         (special_function): Remove argument $in_func.  Only handle
64879         generating output for tables of tests, not inside functions.
64880         (parse_args): Likewise.
64881         (generate_testfile): Remove variable $in_func.  Update call to
64882         parse_args.
64883         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
64884         (MINUS_ZERO_INIT): Rename macro to minus_zero.
64885         (PLUS_INFTY_INIT): Rename macro to plus_infty.
64886         (MINUS_INFTY_INIT): Rename macro to minus_infty.
64887         (QNAN_VALUE_INIT): Rename macro to qnan_value.
64888         (MAX_VALUE_INIT): Rename macro to max_value.
64889         (MIN_VALUE_INIT): Rename macro to min_value.
64890         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
64891         (plus_zero): Remove variable.
64892         (minus_zero): Likewise.
64893         (plus_infty): Likewise.
64894         (minus_infty): Likewise.
64895         (qnan_value): Likewise.
64896         (max_value): Likewise.
64897         (min_value): Likewise.
64898         (min_subnorm_value): Likewise.
64900 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64902         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
64903         uint64_t or uint32_t usage.
64904         * crypt/sha256-block.c: Likewise.
64905         * crypt/sha256-crypt.c: Likewise.
64906         * crypt/sha256.c: Likewise.
64907         * crypt/sha512-block.c: Likewise.
64908         * crypt/sha512-crypt.c: Likewise.
64909         * crypt/sha512.c: Likewise.
64910         * debug/backtrace-tst.c: Likewise.
64911         * debug/pcprofiledump.c: Likewise.
64912         * elf/cache.c: Likewise.
64913         * elf/dl-cache.c: Likewise.
64914         * elf/dl-misc.c: Likewise.
64915         * elf/dl-profile.c: Likewise.
64916         * elf/dl-support.c: Likewise.
64917         * elf/ldconfig.c: Likewise.
64918         * elf/sprof.c: Likewise.
64919         * iconv/dummy-repertoire.c: Likewise.
64920         * iconv/iconv_charmap.c: Likewise.
64921         * iconv/skeleton.c: Likewise.
64922         * iconvdata/8bit-generic.c: Likewise.
64923         * iconvdata/cp737.h: Likewise.
64924         * iconvdata/cp775.h: Likewise.
64925         * iconvdata/ibm1008.h: Likewise.
64926         * iconvdata/ibm1025.h: Likewise.
64927         * iconvdata/ibm1046.h: Likewise.
64928         * iconvdata/ibm1097.h: Likewise.
64929         * iconvdata/ibm1112.h: Likewise.
64930         * iconvdata/ibm1122.h: Likewise.
64931         * iconvdata/ibm1123.h: Likewise.
64932         * iconvdata/ibm1124.h: Likewise.
64933         * iconvdata/ibm1129.h: Likewise.
64934         * iconvdata/ibm1130.h: Likewise.
64935         * iconvdata/ibm1132.h: Likewise.
64936         * iconvdata/ibm1133.h: Likewise.
64937         * iconvdata/ibm1137.h: Likewise.
64938         * iconvdata/ibm1140.h: Likewise.
64939         * iconvdata/ibm1141.h: Likewise.
64940         * iconvdata/ibm1142.h: Likewise.
64941         * iconvdata/ibm1143.h: Likewise.
64942         * iconvdata/ibm1144.h: Likewise.
64943         * iconvdata/ibm1145.h: Likewise.
64944         * iconvdata/ibm1146.h: Likewise.
64945         * iconvdata/ibm1147.h: Likewise.
64946         * iconvdata/ibm1148.h: Likewise.
64947         * iconvdata/ibm1149.h: Likewise.
64948         * iconvdata/ibm1153.h: Likewise.
64949         * iconvdata/ibm1154.h: Likewise.
64950         * iconvdata/ibm1155.h: Likewise.
64951         * iconvdata/ibm1156.h: Likewise.
64952         * iconvdata/ibm1157.h: Likewise.
64953         * iconvdata/ibm1158.h: Likewise.
64954         * iconvdata/ibm1160.h: Likewise.
64955         * iconvdata/ibm1161.h: Likewise.
64956         * iconvdata/ibm1162.h: Likewise.
64957         * iconvdata/ibm1163.h: Likewise.
64958         * iconvdata/ibm1164.h: Likewise.
64959         * iconvdata/ibm1166.h: Likewise.
64960         * iconvdata/ibm1167.h: Likewise.
64961         * iconvdata/ibm12712.h: Likewise.
64962         * iconvdata/ibm1390.h: Likewise.
64963         * iconvdata/ibm1399.h: Likewise.
64964         * iconvdata/ibm16804.h: Likewise.
64965         * iconvdata/ibm4517.h: Likewise.
64966         * iconvdata/ibm4899.h: Likewise.
64967         * iconvdata/ibm4909.h: Likewise.
64968         * iconvdata/ibm4971.h: Likewise.
64969         * iconvdata/ibm5347.h: Likewise.
64970         * iconvdata/ibm803.h: Likewise.
64971         * iconvdata/ibm856.h: Likewise.
64972         * iconvdata/ibm901.h: Likewise.
64973         * iconvdata/ibm902.h: Likewise.
64974         * iconvdata/ibm9030.h: Likewise.
64975         * iconvdata/ibm9066.h: Likewise.
64976         * iconvdata/ibm921.h: Likewise.
64977         * iconvdata/ibm922.h: Likewise.
64978         * iconvdata/ibm9448.h: Likewise.
64979         * iconvdata/isiri-3342.h: Likewise.
64980         * iconvdata/jis0201.h: Likewise.
64981         * include/link.h: Likewise.
64982         * include/netdb.h: Likewise.
64983         * inet/check_native.c: Likewise.
64984         * inet/check_pf.c: Likewise.
64985         * inet/getipv4sourcefilter.c: Likewise.
64986         * inet/getnameinfo.c: Likewise.
64987         * inet/getsourcefilter.c: Likewise.
64988         * inet/htonl.c: Likewise.
64989         * inet/setipv4sourcefilter.c: Likewise.
64990         * inet/setsourcefilter.c: Likewise.
64991         * inet/test-inet6_opt.c: Likewise.
64992         * inet/tst-network.c: Likewise.
64993         * locale/C-collate.c: Likewise.
64994         * locale/C-ctype.c: Likewise.
64995         * locale/C-time.c: Likewise.
64996         * locale/C-translit.h: Likewise.
64997         * locale/loadarchive.c: Likewise.
64998         * locale/programs/3level.h: Likewise.
64999         * locale/programs/charmap.c: Likewise.
65000         * locale/programs/charmap.h: Likewise.
65001         * locale/programs/ld-address.c: Likewise.
65002         * locale/programs/ld-collate.c: Likewise.
65003         * locale/programs/ld-ctype.c: Likewise.
65004         * locale/programs/ld-identification.c: Likewise.
65005         * locale/programs/ld-measurement.c: Likewise.
65006         * locale/programs/ld-messages.c: Likewise.
65007         * locale/programs/ld-monetary.c: Likewise.
65008         * locale/programs/ld-name.c: Likewise.
65009         * locale/programs/ld-numeric.c: Likewise.
65010         * locale/programs/ld-paper.c: Likewise.
65011         * locale/programs/ld-telephone.c: Likewise.
65012         * locale/programs/ld-time.c: Likewise.
65013         * locale/programs/linereader.c: Likewise.
65014         * locale/programs/locale.c: Likewise.
65015         * locale/programs/locarchive.c: Likewise.
65016         * locale/programs/locfile.h: Likewise.
65017         * locale/programs/repertoire.c: Likewise.
65018         * locale/programs/simple-hash.c: Likewise.
65019         * locale/programs/simple-hash.h: Likewise.
65020         * malloc/memusage.c: Likewise.
65021         * malloc/memusagestat.c: Likewise.
65022         * nis/nis_defaults.c: Likewise.
65023         * nis/nis_hash.c: Likewise.
65024         * nis/nis_print.c: Likewise.
65025         * nis/nis_xdr.c: Likewise.
65026         * nscd/connections.c: Likewise.
65027         * nscd/hstcache.c: Likewise.
65028         * nscd/nscd_gethst_r.c: Likewise.
65029         * nscd/nscd_getserv_r.c: Likewise.
65030         * nscd/nscd_helper.c: Likewise.
65031         * nscd/servicescache.c: Likewise.
65032         * nss/makedb.c: Likewise.
65033         * nss/nss_db/db-XXX.c: Likewise.
65034         * nss/nss_db/db-initgroups.c: Likewise.
65035         * nss/nss_db/db-netgrp.c: Likewise.
65036         * nss/nss_files/files-network.c: Likewise.
65037         * nss/nss_files/files-parse.c: Likewise.
65038         * posix/bug-regex5.c: Likewise.
65039         * posix/fnmatch_loop.c: Likewise.
65040         * posix/regcomp.c: Likewise.
65041         * posix/regexec.c: Likewise.
65042         * posix/tst-rfc3484-2.c: Likewise.
65043         * posix/tst-rfc3484-3.c: Likewise.
65044         * posix/tst-rfc3484.c: Likewise.
65045         * resolv/nss_dns/dns-canon.c: Likewise.
65046         * resolv/nss_dns/dns-network.c: Likewise.
65047         * resolv/res_init.c: Likewise.
65048         * resolv/res_mkquery.c: Likewise.
65049         * resolv/tst-aton.c: Likewise.
65050         * stdlib/cxa_atexit.c: Likewise.
65051         * stdlib/cxa_finalize.c: Likewise.
65052         * stdlib/gen-fpioconst.c: Likewise.
65053         * stdlib/strtol_l.c: Likewise.
65054         * string/tst-endian.c: Likewise.
65055         * sunrpc/auth_des.c: Likewise.
65056         * sunrpc/clnt_udp.c: Likewise.
65057         * sunrpc/rtime.c: Likewise.
65058         * sunrpc/svcauth_des.c: Likewise.
65059         * sunrpc/xdr.c: Likewise.
65060         * sunrpc/xdr_intXX_t.c: Likewise.
65061         * sunrpc/xdr_rec.c: Likewise.
65062         * sysdeps/generic/ldconfig.h: Likewise.
65063         * sysdeps/generic/ldsodefs.h: Likewise.
65064         * sysdeps/generic/memusage.h: Likewise.
65065         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65066         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
65067         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
65068         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65069         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65070         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65071         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65072         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65073         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65074         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65075         * sysdeps/posix/getaddrinfo.c: Likewise.
65076         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65077         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65078         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65079         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65080         * sysdeps/powerpc/test-gettimebase.c: Likewise.
65081         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
65082         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
65083         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
65084         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
65085         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
65086         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65087         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65088         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
65089         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
65090         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
65091         * sysdeps/x86_64/dl-tls.h: Likewise.
65092         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
65093         * time/alt_digit.c: Likewise.
65094         * time/era.c: Likewise.
65095         * wcsmbs/tst-c16c32-1.c: Likewise.
65097 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65099         * math/libm-test.inc (struct test_sincos_data): New type.
65100         (RUN_TEST_LOOP_sincos): New macro.
65101         (sincos_test_data): New variable.
65102         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
65104 2013-05-16  Richard Henderson  <rth@redhat.com>
65106         * math/atest-exp2.c (LIMB64): New macro.
65107         (CONSTSZ): New macro.
65108         (mp_exp1, mp_exp_m1, mp_log2): New variables.
65109         (hexdig): Move ...
65110         (print_mpn_fp): ... to function scope.
65111         (read_mpn_hex): Remove.
65112         (get_log2): Remove.
65113         (exp2_mpn): Use mp_log2.
65114         (main): Use mp_exp1.
65116 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65118         * math/libm-test.inc: Remove comment about not testing "inexact"
65119         exceptions.
65120         (INEXACT_EXCEPTION): New macro.
65121         (NO_INEXACT_EXCEPTION): Likewise.
65122         (INVALID_EXCEPTION_OK): Update value.
65123         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65124         (OVERFLOW_EXCEPTION_OK): Likewise.
65125         (UNDERFLOW_EXCEPTION_OK): Likewise.
65126         (IGNORE_ZERO_INF_SIGN): Likewise.
65127         (ERRNO_UNCHANGED): Likewise.
65128         (ERRNO_EDOM): Likewise.
65129         (ERRNO_ERANGE): Likewise.
65130         (test_exceptions): Handle testing "inexact" exceptions.
65131         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
65132         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
65133         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
65134         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
65135         INEXACT_EXCEPTION.
65136         (rint_towardzero_test_data): Likewise.
65137         (rint_downward_test_data): Likewise.
65138         (rint_upward_test_data): Likewise.
65140         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
65141         with OVERFLOW_EXCEPTION.
65142         (exp10_test_data): Likewise.
65143         (exp2_test_data): Likewise.
65144         (expm1_test_data): Likewise.
65145         (lgamma_test_data): Likewise.
65146         (pow_test_data): Likewise.
65147         (tgamma_test_data): Likewise.
65148         (yn_test_data): Remove duplicate test of overflow.
65150         * math/libm-test.inc (struct test_cc_c_data): New type.
65151         (RUN_TEST_LOOP_cc_c): New macro.
65152         (cpow_test_data): New variable.
65153         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
65155         * math/libm-test.inc (struct test_f_L_data): New type.
65156         (RUN_TEST_LOOP_f_L): New macro.
65157         (llrint_test_data): New variable.
65158         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
65159         (llrint_tonearest_test_data): New variable.
65160         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65161         (llrint_towardzero_test_data): New variable.
65162         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
65163         (llrint_downward_test_data): New variable.
65164         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
65165         (llrint_upward_test_data): New variable.
65166         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
65167         (llround_test_data): New variable.
65168         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
65170 2013-05-13  Peter Collingbourne  <pcc@google.com>
65172         * math/atest-exp2.c (get_log2): Remove const attribute.
65174 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65176         * math/libm-test.inc (struct test_f_l_data): New type.
65177         (RUN_TEST_LOOP_f_l): New macro.
65178         (lrint_test_data): New variable.
65179         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
65180         (lrint_tonearest_test_data): New variable.
65181         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
65182         (lrint_towardzero_test_data): New variable.
65183         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
65184         (lrint_downward_test_data): New variable.
65185         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
65186         (lrint_upward_test_data): New variable.
65187         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
65188         (lround_test_data): New variable.
65189         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
65191 2013-05-15  Peter Collingbourne  <pcc@google.com>
65193         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
65194         (EXTRACT_WORDS64) Use where appropriate.
65195         (INSERT_WORDS64) Likewise.
65197         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
65198         constraints with x constraints.
65199         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
65201         * malloc/obstack.c (_obstack_compat): Add initializer.
65203 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
65205         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
65206         si_trapno and add si_addr_lsb to _sifields.sigfault.
65207         (si_trapno): Remove macro.
65208         (si_addr_lsb): Define new macro.
65209         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65211 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65213         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
65214         instead of TEST_f_l.
65215         (llrint_test_tonearest): Likewise.
65216         (llrint_test_towardzero): Likewise.
65217         (llrint_test_downward): Likewise.
65218         (llrint_test_upward): Likewise.
65219         (llround_test): Likewise.
65221         * math/libm-test.inc (struct test_f_i_data): Add comment.
65222         (RUN_TEST_LOOP_f_b): New macro.
65223         (RUN_TEST_LOOP_f_b_tg): Likewise.
65224         (finite_test_data): New variable.
65225         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
65226         (isfinite_test_data): New variable.
65227         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65228         (isinf_test_data): New variable.
65229         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65230         (isnan_test_data): New variable.
65231         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65232         (isnormal_test_data): New variable.
65233         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65234         (issignaling_test_data): New variable.
65235         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65236         (signbit_test_data): New variable.
65237         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65239         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
65240         with INVALID_EXCEPTION.
65241         (acosh_test_data): Likewise.
65242         (asin_test_data): Likewise.
65243         (atanh_test_data): Likewise.
65244         (fmod_test_data): Likewise.
65245         (log_test_data): Likewise.
65246         (log10_test_data): Likewise.
65247         (log2_test_data): Likewise.
65248         (pow_test_data): Likewise.
65249         (sqrt_test_data): Likewise.
65250         (y0_test_data): Likewise.
65251         (y1_test_data): Likewise.
65252         (yn_test_data): Likewise.
65254         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
65255         function contents.
65257         * math/libm-test.inc (struct test_ff_i_data): New type.
65258         (RUN_TEST_LOOP_ff_i_tg): New macro.
65259         (isgreater_test_data): New variable.
65260         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65261         (isgreaterequal_test_data): New variable.
65262         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65263         (isless_test_data): New variable.
65264         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65265         (islessequal_test_data): New variable.
65266         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65267         (islessgreater_test_data): New variable.
65268         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65269         (isunordered_test_data): New variable.
65270         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65272 2013-05-14  David S. Miller  <davem@davemloft.net>
65274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65276 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
65278         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
65280         * math/libm-test.inc (struct test_fF_f1_data): Change type of
65281         extra_test to int.
65282         (struct test_f_i_data): Change type of max_ulp to int.
65284         * math/libm-test.inc (test_ffI_f1_data): New type.
65285         (RUN_TEST_LOOP_ffI_f1): New macro.
65286         (remquo_test_data): New variable.
65287         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
65289         * setjmp/tst-setjmp-fp.c: New file.
65290         * setjmp/Makefile (tests): Add tst-setjmp-fp.
65291         (link-libm): New variable.
65292         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
65294         * math/libm-test.inc (struct test_f_i_data): New type.
65295         (RUN_TEST_LOOP_f_i): New macro.
65296         (RUN_TEST_LOOP_f_i_tg): Likewise.
65297         (fpclassify_test_data): New variable.
65298         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
65299         (ilogb_test_data): New variable.
65300         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
65302         * math/libm-test.inc (scalbln_test): Correct function name in END
65303         call.
65305         * math/libm-test.inc (struct test_f_f1_data): Add comment.
65306         (RUN_TEST_LOOP_fI_f1): New macro.
65307         (frexp_test_data): New variable.
65308         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
65310         * math/libm-test.inc (struct test_fF_f1_data): New type.
65311         (RUN_TEST_LOOP_fF_f1): New macro.
65312         (modf_test_data): New variable.
65313         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
65315         * math/libm-test.inc (struct test_f_f1_data): New type.
65316         (RUN_TEST_LOOP_f_f1): New macro.
65317         (gamma_test_data): New variable.
65318         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65319         (lgamma_test_data): New variable.
65320         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65322 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
65324         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
65325         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
65326         (main): Comment "tls" pseudo-hwcap.
65328 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
65330         * math/libm-test.inc (struct test_fl_f_data): New type.
65331         (RUN_TEST_LOOP_fl_f): New variable.
65332         (scalbln_test_data): New variable.
65333         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
65335         * math/libm-test.inc (struct test_fi_f_data): New type.
65336         (RUN_TEST_LOOP_fi_f): New macro.
65337         (ldexp_test_data): New variable.
65338         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
65339         (scalbn_test_data): New variable.
65340         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
65342         * math/libm-test.inc (struct test_c_f_data): New type.
65343         (RUN_TEST_LOOP_c_f): New macro.
65344         (cabs_test_data): New variable.
65345         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
65346         (carg_test_data): New variable.
65347         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
65348         (cimag_test_data): New variable.
65349         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
65350         (creal_test_data): New variable.
65351         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
65353         * math/libm-test.inc (struct test_if_f_data): New type.
65354         (RUN_TEST_LOOP_if_f): New macro.
65355         (jn_test_data): New variable.
65356         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
65357         (yn_test_data): New variable.
65358         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
65360         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
65362 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65364         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
65365         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
65367 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65369         * benchtests/Makefile (CPPFLAGS-nonlib): Add
65370         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
65371         (bench-deps): Add bench-timing.h.
65372         * benchtests-bench-skeleton.c: Include bench-timing.h.
65373         (main): Use TIMING_* macros instead of clock_gettime.
65374         * benchtests/bench-timing.h: New file.
65376         [BZ #14582]
65377         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
65378         Renamed from _LIB_VERSION.
65379         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
65381 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
65383         * math/libm-test.inc (struct test_fff_f_data): New type.
65384         (RUN_TEST_LOOP_fff_f): New macro.
65385         (fma_test_data): New variable.
65386         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
65387         (fma_towardzero_test_data): New variable.
65388         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
65389         (fma_downward_test_data): New variable.
65390         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
65391         (fma_upward_test_data): New variable.
65392         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
65394         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
65395         (struct test_c_c_data): New type.
65396         (RUN_TEST_LOOP_c_c): New macro.
65397         (cacos_test_data): New variable.
65398         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
65399         (cacosh_test_data): New variable.
65400         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
65401         (casin_test_data): New variable.
65402         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
65403         (casinh_test_data): New variable.
65404         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
65405         (catan_test_data): New variable.
65406         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
65407         (catanh_test_data): New variable.
65408         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
65409         (ccos_test_data): New variable.
65410         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
65411         (ccosh_test_data): New variable.
65412         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
65413         (cexp_test_data): New variable.
65414         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
65415         (clog_test_data): New variable.
65416         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
65417         (clog10_test_data): New variable.
65418         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
65419         (conj_test_data): New variable.
65420         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
65421         (cproj_test_data): New variable.
65422         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
65423         (csin_test_data): New variable.
65424         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
65425         (csinh_test_data): New variable.
65426         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
65427         (csqrt_test_data): New variable.
65428         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
65429         (ctan_test_data): New variable.
65430         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
65431         (ctan_tonearest_test_data): New variable.
65432         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65433         (ctan_towardzero_test_data): New variable.
65434         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65435         (ctan_downward_test_data): New variable.
65436         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65437         (ctan_upward_test_data): New variable.
65438         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65439         (ctanh_test_data): New variable.
65440         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
65441         (ctanh_tonearest_test_data): New variable.
65442         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65443         (ctanh_towardzero_test_data): New variable.
65444         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65445         (ctanh_downward_test_data): New variable.
65446         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65447         (ctanh_upward_test_data): New variable.
65448         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65449         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
65450         of BUILD_COMPLEX.
65452         * math/libm-test.inc (struct test_ff_f_data): New type.
65453         (struct test_ff_f_data_nexttoward): Likewise.
65454         (RUN_TEST_LOOP_2_f): New macro.
65455         (RUN_TEST_LOOP_ff_f): Likewise.
65456         (atan2_test_data): New variable.
65457         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
65458         (copysign_test_data): New variable.
65459         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
65460         (fdim_test_data): New variable.
65461         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
65462         (fmax_test_data): New variable.
65463         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
65464         (fmin_test_data): New variable.
65465         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
65466         (fmod_test_data): New variable.
65467         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
65468         (hypot_test_data): New variable.
65469         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
65470         (nextafter_test_data): New variable.
65471         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
65472         (nexttoward_test_data): New variable.
65473         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
65474         (pow_test_data): New variable.
65475         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
65476         (pow_tonearest_test_data): New variable.
65477         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
65478         (pow_towardzero_test_data): New variable.
65479         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
65480         (pow_downward_test_data): New variable.
65481         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
65482         (pow_upward_test_data): New variable.
65483         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
65484         (remainder_test_data): New variable.
65485         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
65486         (scalb_test_data): New variable.
65487         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
65488         * sysdeps/i386/fpu/libm-test-ulps: Update.
65490 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
65492         * math/libm-test.inc (fma_test): Use max_value instead of local
65493         variable fltmax.
65494         (nextafter_test): Likewise.
65496         * math/libm-test.inc (acos_towardzero_test_data): New variable.
65497         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65498         (acos_downward_test_data): New variable.
65499         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65500         (acos_upward_test_data): New variable.
65501         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65502         (acosh_test_data): New variable.
65503         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
65504         (asin_test_data): New variable.
65505         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
65506         (asin_tonearest_test_data): New variable.
65507         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65508         (asin_towardzero_test_data): New variable.
65509         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65510         (asin_downward_test_data): New variable.
65511         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65512         (asin_upward_test_data): New variable.
65513         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65514         (asinh_test_data): New variable.
65515         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
65516         (atan_test_data): New variable.
65517         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
65518         (atanh_test_data): New variable.
65519         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
65520         (cbrt_test_data): New variable.
65521         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
65522         (ceil_test_data): New variable.
65523         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
65524         (cos_test_data): New variable.
65525         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
65526         (cos_tonearest_test_data): New variable.
65527         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65528         (cos_towardzero_test_data): New variable.
65529         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65530         (cos_downward_test_data): New variable.
65531         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65532         (cos_upward_test_data): New variable.
65533         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65534         (cosh_test_data): New variable.
65535         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
65536         (cosh_tonearest_test_data): New variable.
65537         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65538         (cosh_towardzero_test_data): New variable.
65539         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65540         (cosh_downward_test_data): New variable.
65541         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65542         (cosh_upward_test_data): New variable.
65543         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65544         (erf_test_data): New variable.
65545         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
65546         (erfc_test_data): New variable.
65547         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
65548         (exp_test_data): New variable.
65549         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
65550         (exp_tonearest_test_data): New variable.
65551         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65552         (exp_towardzero_test_data): New variable.
65553         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65554         (exp_downward_test_data): New variable.
65555         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65556         (exp_upward_test_data): New variable.
65557         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65558         (exp10_test_data): New variable.
65559         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
65560         (exp2_test_data): New variable.
65561         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
65562         (expm1_test_data): New variable.
65563         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
65564         (fabs_test_data): New variable.
65565         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
65566         (floor_test_data): New variable.
65567         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
65568         (j0_test_data): New variable.
65569         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
65570         (j1_test_data): New variable.
65571         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
65572         (log_test_data): New variable.
65573         (log_test): Run tests with RUN_TEST_LOOP_f_f.
65574         (log10_test_data): New variable.
65575         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
65576         (log1p_test_data): New variable.
65577         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
65578         (log2_test_data): New variable.
65579         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
65580         (logb_test_data): New variable.
65581         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
65582         (logb_downward_test_data): New variable.
65583         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65584         (nearbyint_test_data): New variable.
65585         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
65586         (rint_test_data): New variable.
65587         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
65588         (rint_tonearest_test_data): New variable.
65589         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65590         (rint_towardzero_test_data): New variable.
65591         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65592         (rint_downward_test_data): New variable.
65593         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65594         (rint_upward_test_data): New variable.
65595         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65596         (round_test_data): New variable.
65597         (round_test): Run tests with RUN_TEST_LOOP_f_f.
65598         (sin_test_data): New variable.
65599         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
65600         (sin_tonearest_test_data): New variable.
65601         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65602         (sin_towardzero_test_data): New variable.
65603         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65604         (sin_downward_test_data): New variable.
65605         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65606         (sin_upward_test_data): New variable.
65607         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65608         (sinh_test_data): New variable.
65609         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
65610         (sinh_tonearest_test_data): New variable.
65611         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65612         (sinh_towardzero_test_data): New variable.
65613         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65614         (sinh_downward_test_data): New variable.
65615         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65616         (sinh_upward_test_data): New variable.
65617         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65618         (sqrt_test_data): New variable.
65619         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
65620         (tan_test_data): New variable.
65621         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
65622         (tan_tonearest_test_data): New variable.
65623         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65624         (tan_towardzero_test_data): New variable.
65625         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65626         (tan_downward_test_data): New variable.
65627         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65628         (tan_upward_test_data): New variable.
65629         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65630         (tanh_test_data): New variable.
65631         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
65632         (tgamma_test_data): New variable.
65633         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
65634         (trunc_test_data): New variable.
65635         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
65636         (y0_test_data): New variable.
65637         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
65638         (y1_test_data): New variable.
65639         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
65640         (significand_test_data): New variable.
65641         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
65643 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
65645         [BZ #12387]
65646         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
65648 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65650         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
65652 2013-05-10  Andreas Jaeger  <aj@suse.de>
65654         [BZ #15448]
65655         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
65656         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
65658 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
65660         * math/gen-libm-test.pl (adjust_arg): New function.
65661         (special_functions): Handle generating output in both functions
65662         and arrays.
65663         (parse_args): Likewise.
65664         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
65665         $in_func argument to parse_args.
65666         * math/libm-test.inc (struct test_f_f_data): New type.
65667         (IF_ROUND_INIT_): New macro.
65668         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
65669         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65670         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65671         (IF_ROUND_INIT_FE_UPWARD): Likewise.
65672         (ROUND_RESTORE_): Likewise.
65673         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
65674         (ROUND_RESTORE_FE_TONEAREST): Likewise.
65675         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
65676         (ROUND_RESTORE_FE_UPWARD): Likewise.
65677         (RUN_TEST_LOOP_f_f): New macro.
65678         (acos_test_data): New variable.
65679         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
65680         (acos_tonearest_test_data): New variable.
65681         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65683 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65685         * benchtests/bench-skeleton.c (startup): Fix coding style.
65687 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
65689         [BZ #6809]
65690         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
65691         negative infinity argument.
65692         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
65693         negative infinity argument.
65694         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
65695         negative infinity argument.
65696         * math/libm-test.inc (tgamma_test): Expect errno to be set for
65697         domain errors.
65699 2013-05-10  Florian Weimer  <fweimer@redhat.com>
65701         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
65702         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
65703         * iconv/iconv_prog.c (main): Likewise.
65704         * locale/programs/charmap-dir.c (charmap_readdir)
65705         (fopen_uncompressed): Likewise.
65706         * locale/programs/locfile.c (siblings_uncached)
65707         (write_locale_data): Use lstat64 instead of lstat.
65708         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
65709         stat.
65711 2013-05-10  Andreas Jaeger  <aj@suse.de>
65713         [BZ #15395]
65714         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
65715         localization.
65716         Include <locale.h>.
65718 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
65720         * elf/dl-close.c (_dl_close_worker): Add comments.
65722 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
65724         [BZ #15359]
65725         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
65726         high part of pi/2.
65727         (__ieee754_rem_pio2l): Update comments.
65729         [BZ #15429]
65730         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
65731         high part of pi/2.
65732         (__ieee754_rem_pio2l): Update comments.
65734         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
65735         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
65737         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
65738         M_PI_4l.
65740         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
65741         (M_PI_34_LOG10El): Likewise.
65742         (M_PI2_LOG10El): Likewise.
65743         (M_PI4_LOG10El): Likewise.
65744         (M_PI_LOG10El): Likewise.
65746 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65750 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
65752         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
65753         (MINUS_ZERO_INIT): Likewise.
65754         (PLUS_INFTY_INIT): Likewise.
65755         (MINUS_INFTY_INIT): Likewise.
65756         (QNAN_VALUE_INIT): Likewise.
65757         (MAX_VALUE_INIT): Likewise.
65758         (MIN_VALUE_INIT): Likewise.
65759         (MIN_SUBNORM_VALUE_INIT): Likewise.
65760         (plus_zero): Initialize with PLUS_ZERO_INIT.
65761         (minus_zero): Initialize with MINUS_ZERO_INIT.
65762         (plus_infty): Initialize with PLUS_INFTY_INIT.
65763         (minus_infty): Initialize with MINUS_INFTY_INIT.
65764         (qnan_value): Initialize with QNAN_VALUE_INIT.
65765         (max_value): Initialize with MAX_VALUE_INIT.
65766         (min_value): Initialize with MIN_VALUE_INIT.
65767         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
65769         * math/libm-test.inc (RUN_TEST_if_f): New macro.
65770         (jn_test): Use TEST_if_f instead of TEST_ff_f.
65771         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
65772         (yn_test): Use TEST_if_f instead of TEST_ff_f.
65774         * math/libm-test.inc (RUN_TEST_f_f): New macro.
65775         (RUN_TEST_2_f): Likewise.
65776         (RUN_TEST_ff_f): Likewise.
65777         (RUN_TEST_fi_f): Likewise.
65778         (RUN_TEST_fl_f): Likewise.
65779         (RUN_TEST_fff_f): Likewise.
65780         (RUN_TEST_c_f): Likewise.
65781         (RUN_TEST_f_f1): Likewise.
65782         (RUN_TEST_fF_f1): Likewise.
65783         (RUN_TEST_fI_f1): Likewise.
65784         (RUN_TEST_ffI_f1): Likewise.
65785         (RUN_TEST_c_c): Likewise.
65786         (RUN_TEST_cc_c): Likewise.
65787         (RUN_TEST_f_i): Likewise.
65788         (RUN_TEST_f_i_tg): Likewise.
65789         (RUN_TEST_ff_i_tg): Likewise.
65790         (RUN_TEST_f_b): Likewise.
65791         (RUN_TEST_f_b_tg): Likewise.
65792         (RUN_TEST_f_l): Likewise.
65793         (RUN_TEST_f_L): Likewise.
65794         (RUN_TEST_sincos): Likewise.
65795         * math/gen-libm-test.pl (new_test): Take new argument to indicate
65796         whether to show exceptions.  Do not include ");\n" in return
65797         value.
65798         (special_functions): Output call to RUN_TEST_sincos instead of
65799         check_float calls.  Update calls to new_test.
65800         (parse_args): Output call to single RUN_TEST_* macro instead of
65801         check_* calls and other assignments.  Update calls to new_test.
65803         [BZ #2546]
65804         [BZ #2560]
65805         [BZ #5159]
65806         [BZ #15426]
65807         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
65808         input to result for tgamma overflow.
65809         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
65810         (gamma_coeff): New variable.
65811         (NCOEFF): New macro.
65812         (gamma_positive): New function.
65813         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
65814         underflow here.  Use gamma_positive instead of exp (lgamma) for
65815         other arguments.
65816         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
65817         (gamma_coeff): New variable.
65818         (NCOEFF): New macro.
65819         (gammaf_positive): New function.
65820         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
65821         underflow here.  Use gamma_positive instead of exp (lgamma) for
65822         other arguments.
65823         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
65824         (gamma_coeff): New variable.
65825         (NCOEFF): New macro.
65826         (gammal_positive): New function.
65827         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
65828         underflow here.  Use gamma_positive instead of exp (lgamma) for
65829         other arguments.
65830         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
65831         (gamma_coeff): New variable.
65832         (NCOEFF): New macro.
65833         (gammal_positive): New function.
65834         (__ieee754_gammal_r): Handle positive infinity, overflow and
65835         underflow here.  Handle NaN the same as positive infinity.  Remove
65836         check x < 0xffffffff for negative integers.  Use gamma_positive
65837         instead of exp (lgamma) for other arguments.
65838         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
65839         (gamma_coeff): New variable.
65840         (NCOEFF): New macro.
65841         (gammal_positive): New function.
65842         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
65843         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
65844         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
65845         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
65846         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
65847         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
65848         * sysdeps/generic/math_private.h (__gamma_productf): New
65849         prototype.
65850         (__gamma_product): Likewise.
65851         (__gamma_productl): Likewise.
65852         * math/Makefile (libm-calls): Add gamma_product.
65853         * math/libm-test.inc (tgamma_test): Add more tests.
65854         * sysdeps/i386/fpu/libm-test-ulps: Update.
65855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65857 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
65859         * benchtests/bench-skeleton.c (main): Preheat CPU.
65861 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
65863         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
65865 2013-05-07  Roland McGrath  <roland@hack.frob.com>
65867         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
65868         and _dl_skip_args_internal.
65870 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
65872         * manual/message.texi (Message Translation): Talk about users.
65873         Message to key mapping impacts design.
65875 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65877         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
65879         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
65881         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
65882         * sysdeps/wordsize-64/glob64.c: ... here.
65884         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
65885         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
65886         New macros.
65888         * debug/getlogin_r_chk.c: Moved to ...
65889         * login/getlogin_r_chk.c: ... here.
65890         * debug/Makefile (routines): Move getlogin_r_chk to ...
65891         * login/Makefile (routines): ... here.
65892         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
65893         * login/Versions (libc: GLIBC_2.4): ... here.
65895         * io/poll.c (__poll): Renamed from poll.
65896         Add libc_hidden_def.
65897         (poll): Define as weak alias.
65899         * debug/ptsname_r_chk.c: Moved to ...
65900         * login/ptsname_r_chk.c: ... here.
65901         * debug/Makefile (routines): Move ptsname_r_chk to ...
65902         * login/Makefile (routines): ... here.
65903         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
65904         * login/Versions (libc: GLIBC_2.4): ... here.
65906         * posix/getlogin.c: Moved to ...
65907         * login/getlogin.c: ... here.
65908         * posix/getlogin_r.c: Moved to ...
65909         * login/getlogin_r.c: ... here.
65910         * posix/getlogin_r.c: Moved to ...
65911         * login/getlogin_r.c: ... here.
65912         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
65913         * login/Makefile (routines): ... here.
65914         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
65915         * login/Versions (libc: GLIBC_2.0): ... here.
65917         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
65918         (setrlimit): Define as weak alias.
65920         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
65921         Call __ names for open, ftruncate, and close.
65922         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
65923         (truncate): Define as weak alias.
65925 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
65927         * math/gen-libm-test.pl (parse_args): Initialize x before each
65928         test of frexp, modf and remquo.
65930         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
65931         test signgam value.
65933 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65935         [BZ #15418]
65936         [BZ #15419]
65937         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
65938         internal tests.
65939         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65941 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65943         * elf/dl-writev.h: New file.
65944         * elf/dl-misc.c: Include it.
65945         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
65946         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
65948 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
65950         * math/libm-test.inc (noXFails): Remove variable.
65951         (noXPasses): Likewise.
65952         (BUILD_COMPLEX_INT): Remove macro.
65953         (print_screen): Remove xfail argument.
65954         (print_screen_max_error): Likewise.
65955         (update_stats): Likewise.
65956         (print_max_error): Likewise.  Update calls to other affected
65957         functions.
65958         (print_complex_max_error): Likewise.
65959         (test_single_exception): Update calls to print_screen.
65960         (test_single_errno): Likewise.
65961         (check_float_internal): Remove xfail argument.  Update calls to
65962         other affected functions.
65963         (check_float): Likewise.
65964         (check_complex): Likewise.
65965         (check_int): Likewise.
65966         (check_long): Likewise.
65967         (check_bool): Likewise.
65968         (check_longlong): Likewise.
65969         (main): Don't print noXFails and noXPasses.
65970         * math/gen-libm-test.pl (top level): Don't mention expected
65971         failure handling in comment.
65972         (new_test): Don't handle expected failures.
65973         (parse_args): Don't mention expected failure handling in comment.
65974         (generate_testfile): Don't handle expected failures.
65975         (parse_ulps): Likewise.
65976         (print_ulps_file): Likewise.
65977         (get_failure): Remove function.
65978         (output_test): Don't handle expected failures.
65979         * make/README.libm-test: Don't mention expected failure handling.
65981         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
65982         (minus_zero): Likewise.
65983         (plus_infty): Likewise.
65984         (minus_infty): Likewise.
65985         (qnan_value): Likewise.
65986         (max_value): Likewise.
65987         (min_value): Likewise.
65988         (min_subnorm_value): Likewise.
65989         (initialize): Do not initialize those variables dynamically.
65991 2013-05-03  Roland McGrath  <roland@hack.frob.com>
65993         * io/open.c (__open_2): Moved to ...
65994         * io/open_2.c: ... this new file.
65995         * io/open64.c (__open64_2): Moved to ...
65996         * io/open64_2.c: ... this new file.
65997         * io/openat.c (__openat_2): Moved to ...
65998         * io/openat_2.c: ... this new file.
65999         * io/openat64.c (__openat64_2): Moved to ...
66000         * io/openat64_2.c: ... this new file.
66001         * io/Makefile (routines): Add them.
66002         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
66003         * sysdeps/unix/sysv/linux/open_2.c: File removed.
66004         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
66005         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
66006         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
66007         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
66008         (__openat64): Add hidden_ver.
66009         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
66010         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
66012         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
66013         Separately conditionalize setting of GLRO(dl_sysinfo) so
66014         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
66015         as well, but the actual setting is only under [NEED_DL_SYSINFO].
66017 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66019         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
66020         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
66021         definition.
66022         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
66023         * sysdeps/unix/sysv/linux/powerpc/init-first.c
66024         (_libc_vdso_platform_setup): Add __vdso_time initialization.
66025         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
66026         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
66028 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
66030         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
66031         test signgam value.
66033         * math/libm-test.inc (hypot_test): Do not use
66034         IGNORE_ZERO_INF_SIGN.
66036 2013-05-03  Andreas Jaeger  <aj@suse.de>
66038         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
66039         Linux 3.9.
66040         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
66041         (PF_MAX): Adjust for VSOCK change.
66043 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66047 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
66049         [BZ #15264]
66050         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
66051         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
66052         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
66054 2013-05-02  David S. Miller  <davem@davemloft.net>
66056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66058 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
66060         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
66062 2013-05-01  Roland McGrath  <roland@hack.frob.com>
66064         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
66066 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
66068         [BZ #14952]
66069         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
66070         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66071         Use __attribute__ ((__gnu_inline__)).
66072         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66073         Don't use __attribute__ ((__gnu_inline__)).
66075 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
66077         [BZ #15423]
66078         * math/s_catan.c (__catan): Handle small real or imaginary part of
66079         input specially to avoid spurious underflow.
66080         * math/s_catanf.c (__catanf): Likewise.
66081         * math/s_catanh.c (__catanh): Likewise.
66082         * math/s_catanhf.c (__catanhf): Likewise.
66083         * math/s_catanhl.c (__catanhl): Likewise.
66084         * math/s_catanl.c (__catanl): Likewise.
66085         * math/libm-test.inc (catan_test): Add more tests.
66086         (catanh_test): Likewise.
66087         * sysdeps/i386/fpu/libm-test-ulps: Update.
66088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66090 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66094 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
66096         [BZ #15416]
66097         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
66098         accurately for denominator in atan2.
66099         * math/s_catanf.c (__catanf): Likewise.
66100         * math/s_catanh.c (__catanh): Likewise.
66101         * math/s_catanhf.c (__catanhf): Likewise.
66102         * math/s_catanhl.c (__catanhl): Likewise.
66103         * math/s_catanl.c (__catanl): Likewise.
66104         * math/libm-test.inc (catan_test): Add more tests.
66105         (catanh_test): Likewise.
66106         * sysdeps/i386/fpu/libm-test-ulps: Update.
66107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66109 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66111         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
66113         * benchtests/Makefile (bench): Remove slow benchmarks.
66114         * benchtests/atan-inputs: Add slow benchmark inputs.
66115         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
66116         (BENCH_FUNC): Accept variant offset.
66117         (VARIANT): Define.
66118         * benchtests/bench-skeleton.c (main): Run benchmark for each
66119         variant.
66120         * benchtests/cos-inputs: Add slow benchmark inputs.
66121         * benchtests/exp-inputs: Likewise.
66122         * benchtests/pow-inputs: Likewise.
66123         * benchtests/sin-inputs: Likewise.
66124         * benchtests/slowatan-inputs: Remove.
66125         * benchtests/slowatan.c: Remove.
66126         * benchtests/slowcos-inputs: Remove.
66127         * benchtests/slowcos.c: Remove.
66128         * benchtests/slowexp-inputs: Remove.
66129         * benchtests/slowexp.c: Remove.
66130         * benchtests/slowpow-inputs: Remove.
66131         * benchtests/slowpow.c: Remove.
66132         * benchtests/slowsin-inputs: Remove.
66133         * benchtests/slowsin.c: Remove.
66134         * benchtests/slowtan-inputs: Remove.
66135         * benchtests/slowtan.c: Remove.
66136         * benchtests/tan-inputs: Add slow benchmark inputs.
66137         * scripts/bench.pl: Parse comments and directives.
66139         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
66140         in CPPFLAGS.
66141         ($(objpfx)bench-%.c): Remove *-ITER.
66142         * benchtests/bench-modf.c: Remove definition of ITER.
66143         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
66144         (main): Loop for DURATION seconds instead of fixed number of
66145         iterations.
66146         * scripts/bench.pl: Don't expect iterations in parameters.
66148 2013-04-29  Roland McGrath  <roland@hack.frob.com>
66150         * io/fchdir.c (__fchdir): Renamed from fchdir.
66151         (fchdir): Define as weak alias.
66153 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66155         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
66156         (ERRNO_EDOM): Likewise.
66157         (ERRNO_ERANGE): Likewise.
66158         (noErrnoTests): New variable.
66159         (init_max_error): Set errno to 0.
66160         (test_single_errno): New function.
66161         (test_errno): Likewise.
66162         (check_float_internal): Call test_errno.  Set errno to 0.
66163         (check_complex): Refer to errno tests in comment.
66164         (check_int): Call test_errno.  Set errno to 0.
66165         (check_long): Likewise.
66166         (check_bool): Likewise.
66167         (check_longlong): Likewise.
66168         (cos_test): Use ERRNO_* flags for errno tests instead of
66169         check_int.
66170         (expm1_test): Likewise.
66171         (fmod_test): Likewise.
66172         (ilogb_test): Likewise.
66173         (lgamma_test): Likewise.
66174         (pow_test): Likewise.
66175         (remainder_test): Likewise.
66176         (sin_test): Likewise.
66177         (tan_test): Likewise.
66178         (yn_test): Likewise.
66179         (initialize): Set errno to 0.
66180         (main): Print number of errno tests.
66181         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
66183 2013-04-29  Andreas Jaeger  <aj@suse.de>
66185         [BZ #15084]
66186         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
66187         and RES_USEVC.
66189         [BZ #15085]
66190         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
66191         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
66192         unimplemented.
66194         [BZ #15380]
66195         * stdlib/random.c (__initstate): Return NULL if
66196         __initstate fails.
66198         [BZ #15086]
66199         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
66200         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
66201         RES_SNGLKUPREOP.
66203 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66207 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66209         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
66210         of individual tests.
66211         (casin_test): Likewise.
66212         (casinh_test): Likewise.
66214 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
66216         [BZ #15409]
66217         * math/s_catan.c (__catan): Handle arguments with large real or
66218         imaginary part separately without squaring.
66219         * math/s_catanf.c (__catanf): Likewise.
66220         * math/s_catanh.c (__catanh): Likewise.
66221         * math/s_catanhf.c (__catanhf): Likewise.
66222         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66223         and redefine.
66224         (__catanhl): Handle arguments with large real or imaginary part
66225         separately without squaring.
66226         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66227         and redefine.
66228         (__catanl): Handle arguments with large real or imaginary part
66229         separately without squaring.
66230         * math/libm-test.inc (catan_test): Add more tests.
66231         (catanh_test): Likewise.
66232         * sysdeps/i386/fpu/libm-test-ulps: Update.
66233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66235 2013-04-27  Andreas Jaeger  <aj@suse.de>
66237         [BZ #15007]
66238         * stdlib/stdlib.h: Update guards for qecvt.
66239         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
66240         <stdlib.h>.
66242 2013-04-27  Allan McRae  <allan@archlinux.org>
66244         * sysdeps/i386/fpu/libm-test-ulps: Update.
66246 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
66248         [BZ #15406]
66249         * math/s_catan.c: Include <float.h>.
66250         (__catan): Ensure underflow exception occurs for underflowed
66251         result.
66252         * math/s_catanf.c: Include <float.h>.
66253         (__catanf): Ensure underflow exception occurs for underflowed
66254         result.
66255         * math/s_catanh.c: Include <float.h>.
66256         (__catanh): Ensure underflow exception occurs for underflowed
66257         result.
66258         * math/s_catanhf.c: Include <float.h>.
66259         (__catanhf): Ensure underflow exception occurs for underflowed
66260         result.
66261         * math/s_catanhl.c: Include <float.h>.
66262         (__catanhl): Ensure underflow exception occurs for underflowed
66263         result.
66264         * math/s_catanl.c: Include <float.h>.
66265         (__catanl): Ensure underflow exception occurs for underflowed
66266         result.
66267         * math/libm-test.inc (catan_test): Add more tests.
66268         (catanh_test): Likewise.
66270         [BZ #15405]
66271         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
66272         underflowed result.
66273         * math/s_ccoshf.c (__ccoshf): Likewise.
66274         * math/s_ccoshl.c (__ccoshl): Likewise.
66275         * math/s_csin.c (__csin): Likewise.
66276         * math/s_csinf.c (__csinf): Likewise.
66277         * math/s_csinh.c (__csinh): Likewise.
66278         * math/s_csinhf.c (__csinhf): Likewise.
66279         * math/s_csinhl.c (__csinhl): Likewise.
66280         * math/s_csinl.c (__csinl): Likewise.
66281         * math/libm-test.inc (ccos_test): Add more tests.
66282         (ccosh_test): Likewise.
66283         (csin_test): Likewise.
66284         (csinh_test): Likewise.
66286 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66288         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
66289         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
66290         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
66291         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
66292         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
66293         powerpc/power5+/fpu folders.
66294         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
66297 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66299         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66301 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
66303         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
66304         additions to variable.
66305         [$(config-machine) = x86_64] (modules-names): Likewise.
66306         ($(objpfx)tst-audit3): Remove dependency.
66307         ($(objpfx)tst-audit3.out): Likewise.
66308         ($(objpfx)tst-audit4): Likewise.
66309         ($(objpfx)tst-audit4.out): Likewise.
66310         ($(objpfx)tst-audit5): Likewise.
66311         ($(objpfx)tst-audit5.out): Likewise.
66312         ($(objpfx)tst-audit6): Likewise.
66313         ($(objpfx)tst-audit6.out): Likewise.
66314         ($(objpfx)tst-audit7): Likewise.
66315         ($(objpfx)tst-audit7.out): Likewise.
66316         (tst-audit3-ENV): Remove variable.
66317         (tst-audit4-ENV): Likewise.
66318         (tst-audit5-ENV): Likewise.
66319         (tst-audit6-ENV): Likewise.
66320         (tst-audit7-ENV): Likewise.
66321         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
66322         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
66323         addition to variable.
66324         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
66325         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
66326         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
66327         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
66328         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
66329         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
66330         tst-audit3, tst-audit4 and tst-audit5.
66331         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
66332         tst-audit6 and tst-audit7.
66333         [$(subdir) = elf] (modules-names): Add audit modules for those
66334         tests.
66335         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
66336         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
66337         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
66338         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
66339         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
66340         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
66341         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
66342         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
66343         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
66344         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
66345         [$(subdir) = elf] (tst-audit3-ENV): New variable.
66346         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
66347         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
66348         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
66349         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
66350         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
66351         Likewise.
66352         [$(subdir) = elf && $(config-cflags-avx) = yes]
66353         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
66354         [$(subdir) = elf && $(config-cflags-avx) = yes]
66355         (CFLAGS-tst-auditmod4a.c): Likewise.
66356         [$(subdir) = elf && $(config-cflags-avx) = yes]
66357         (CFLAGS-tst-auditmod4b.c): Likewise.
66358         [$(subdir) = elf && $(config-cflags-avx) = yes]
66359         (CFLAGS-tst-auditmod6b.c): Likewise.
66360         [$(subdir) = elf && $(config-cflags-avx) = yes]
66361         (CFLAGS-tst-auditmod6c.c): Likewise.
66362         [$(subdir) = elf && $(config-cflags-avx) = yes]
66363         (CFLAGS-tst-auditmod7b.c): Likewise.
66364         * elf/tst-audit3.c: Move to ...
66365         * sysdeps/x86_64/tst-audit3.c: ... here.
66366         * elf/tst-audit4.c: Move to ...
66367         * sysdeps/x86_64/tst-audit4.c: ... here.
66368         * elf/tst-audit5.c: Move to ...
66369         * sysdeps/x86_64/tst-audit5.c: ... here.
66370         * elf/tst-audit6.c: Move to ...
66371         * sysdeps/x86_64/tst-audit6.c: ... here.
66372         * elf/tst-audit7.c: Move to ...
66373         * sysdeps/x86_64/tst-audit7.c: ... here.
66374         * elf/tst-auditmod3a.c: Move to ...
66375         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
66376         * elf/tst-auditmod3b.c: Move to ...
66377         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
66378         * elf/tst-auditmod4a.c: Move to ...
66379         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
66380         * elf/tst-auditmod4b.c: Move to ...
66381         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
66382         * elf/tst-auditmod5a.c: Move to ...
66383         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
66384         * elf/tst-auditmod5b.c: Move to ...
66385         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
66386         * elf/tst-auditmod6a.c: Move to ...
66387         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
66388         * elf/tst-auditmod6b.c: Move to ...
66389         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
66390         * elf/tst-auditmod6c.c: Move to ...
66391         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
66392         * elf/tst-auditmod7a.c: Move to ...
66393         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
66394         * elf/tst-auditmod7b.c: Move to ...
66395         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
66397 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
66399         [BZ #15366]
66400         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
66401         define unconditionally.
66402         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
66403         define unconditionally.
66404         (INT8_C, INT16_C, etc.): Likewise.
66406 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
66408         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
66409         __ehdr_start with hidden visibility.
66411         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
66413 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
66415         * math/libm-test.inc (cos_test): Use accurate hex constants.
66416         (sincost_test): Likewise.
66418 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
66420         * math/libm-test.inc (catan_test): Add more tests.
66421         (catanh_test): Likewise.
66423         * math/s_catanf.c (__catanf): Use suffixed floating-point
66424         constants.
66425         * math/s_catanhf.c (__catanhf): Likewise.
66426         * math/s_catanhl.c (__catanhl): Likewise.
66427         * math/s_catanl.c (__catanl): Likewise.
66429         [BZ #15394]
66430         * math/s_catan.c (__catan): Calculate imaginary part of result
66431         with log1p not log unless computing log of number close to 0.
66432         * math/s_catanf.c (__catanf): Likewise.
66433         * math/s_catanl.c (__catanl): Likewise.
66434         * math/s_catanh.c (__catanh): Calculate real part of result with
66435         log1p not log unless computing log of number close to 0.
66436         * math/s_catanhf.c (__catanhf): Likewise.
66437         * math/s_catanhl.c (__catanhl): Likewise.
66438         * math/libm-test.inc (catan_test): Add more tests.
66439         (catanh_test): Likewise.
66440         * sysdeps/i386/fpu/libm-test-ulps: Update.
66441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66443 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
66445         * benchtests/Makefile: Mention files in which fast and slow
66446         paths of math functions are implemented.
66448 2013-04-23  Roland McGrath  <roland@hack.frob.com>
66450         * sysdeps/posix/timespec_get.c: New file.
66452 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66454         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
66455         POWER.
66456         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
66457         for POWER.
66458         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
66459         powerpc/power5/fpu folders.
66460         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
66461         * benchtests/Makefile: Add modf testcase.
66462         * benchtests/bench-modf.c: New file: Benchmark test for mo
66464 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
66466         [BZ #14888]
66467         * time/Makefile (tests): Add tst-strptime-whitespace.
66468         * time/strptime_l.c (get_number): Use ISSPACE.
66469         (__strptime_internal): Likewise.
66470         * time/tst-strptime-whitespace.c: New test case.
66472 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
66474         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
66475         member.
66476         (_nss_files_init): Set it here.
66478 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
66480         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
66481         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
66482         unsigned.
66484 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
66486         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
66488 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66490         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
66491         size just once.
66493 2013-04-21  David S. Miller  <davem@davemloft.net>
66495         * po/ru.po: Update Russion translation from translation project.
66497 2013-04-17  Adam Conrad  <adconrad@0c3.net>
66499         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
66500         and setfsgid.
66502 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
66504         * configure.in: Remove i386 configure warning. Remove i386 case.
66505         * configure: Regenerate.
66506         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
66507         Add example to error message.
66508         * sysdeps/i386/configure: Regenerate.
66510 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66512         * benchtests/Makefile (bench): Add cos, tan, slowcos and
66513         slowtan.
66514         * benchtests/cos-inputs: New file.
66515         * benchtests/slowcos-inputs: New file.
66516         * benchtests/slowcos.c: New file.
66517         * benchtests/slowtan-inputs: New file.
66518         * benchtests/slowtan.c: New file.
66519         * benchtests/tan-inputs: New file.
66521 2013-04-16  Roland McGrath  <roland@hack.frob.com>
66523         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
66524         considered kosher.
66526 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66528         * benchtests/Makefile: Include cppflags-iterator.mk to add
66529         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
66531         * Makefile.in (bench-clean): New target.
66532         * benchtests/Makefile (bench-clean): Likewise.
66534 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
66536         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
66538 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
66540         * stdio-common/tstdiomisc.c: Fix coding-style violation.
66542 2013-04-15  Andreas Schwab  <schwab@suse.de>
66544         * nscd/grpcache.c (cache_addgr): Properly check for short write.
66545         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66546         * nscd/pwdcache.c (cache_addpw): Likewise.
66547         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
66548         more than recsize.
66550 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66552         * benchtests/Makefile (bench): Write all output to
66553         bench-out.tmp together.
66555 2013-04-15  Andreas Schwab  <schwab@suse.de>
66557         * nscd/nscd.c (main): Don't fork again after closing files.
66559 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66561         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
66563         * benchtests/Rules (bench-deps): Collect dependencies into a
66564         single variable.  Add Makefile to dependencies.
66565         ($(objpfx)bench-%.c): Depend on bench-deps.
66567 2013-04-12  Roland McGrath  <roland@hack.frob.com>
66568             Xavier Roche  <roche+kml2@exalead.com>
66570         [BZ #15361]
66571         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
66572         just that it's a file descriptor.
66573         * manual/llio.texi (Synchronizing AIO Operations): Update description
66574         for EBADF error from aio_fsync.
66576 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
66578         * Rules (bench): Move target definition...
66579         * benchtests/Makefile: ... here.
66581 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
66583         * math/libm-test.inc (cos_test): Fix PI/2 test.
66584         (sincos_test): Likewise.
66585         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
66586         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
66588 2013-04-11  Andreas Schwab  <schwab@suse.de>
66590         [BZ #13988]
66591         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
66592         accept exponent character only when digits were seen.
66593         * stdio-common/Makefile (tests): Add bug26.
66594         * stdio-common/bug26.c: New file.
66596         [BZ #14293]
66597         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
66598         non-freeable.
66600 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66602         * Makeconfig (rtld-prefix): Define built linker prefix.
66603         * Rules (run-bench): Use it.
66604         * math/Makefile (run-regen-ulps): Likewise.
66606         * Rules (bench): Remove eval.
66608 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66609             Roland McGrath  <roland@hack.frob.com>
66610             Ondrej Bilka  <neleai@seznam.cz>
66612         [BZ #15346]
66613         * time/getdate.c: Include ctype.h and alloca.h.
66614         (__getdate_r): Trim leading and trailing spaces of input.
66615         * time/tst-getdate.c (tests): Add tests with leading and
66616         trailing spaces.
66618 2013-04-08  Roland McGrath  <roland@hack.frob.com>
66620         [BZ #14280]
66621         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
66622         when computing value.
66624 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66626         * math/README.libm-test (How can I generate "libm-test-ulps"?):
66627         Use testrun.sh to run libm tests.
66629         [BZ #15309]
66630         * elf/dl-open.c (dl_open_worker): memset all of seen array.
66632 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
66634         [BZ #15264]
66635         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
66637 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66639         * Makefile.in (regen-ulps): New target.
66640         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
66641         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
66642         [ifneq (no,$(PERL)] (regen-ulps): New target.
66643         [ifeq (no,$(PERL)] (regen-ulps): New target.
66644         * math/libm-test.inc (ulps_file_name): Define.
66645         (output_dir): New variable.
66646         (options): Add "output-dir" option.
66647         (parse_opt): Handle 'o' case.
66648         (main): If output_dir is non-NULL use it as a prefix
66649         otherwise use "".
66650         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
66652 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66654         [BZ #10060, #10062]
66655         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
66656         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
66657         fail configure if __sync_val_compare_and_swap is not inlined.
66658         * sysdeps/i386/configure: Regenerate.
66659         * configure.in: Build for i686 when configured for i386.
66660         * configure: Regenerate.
66661         * README: Remove i386 reference.
66663 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66665         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
66666         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66668 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66670         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
66671         (lmsnanval): New variables.
66672         (F): Add conversion tests.
66673         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
66674         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
66676         * stdio-common/tstdiomisc.c (F): Properly collect individual
66677         tests' results.
66679         [BZ #14686, #15336]
66680         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
66681         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
66682         Instead, use input NaN values or generate a qNaN by arithmetic
66683         operation.  Also fix bugs to comply with the standard.
66684         * math/libm-test.inc (remainder_test): Add more tests.
66686         [BZ #15335, #15342]
66687         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
66688         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
66689         input NaN values or generate a qNaN by arithmetic operation.
66691         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
66692         unreachable code.
66694         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
66695         definitions.
66697 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
66699         [BZ #14478]
66700         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
66701         underflowed result.
66702         * math/s_cexpf.c (__cexpf): Likewise.
66703         * math/s_cexpl.c (__cexpl): Likewise.
66704         * math/libm-test.inc (cexp_test): Add more tests.
66706 2013-04-03  Andreas Schwab  <schwab@suse.de>
66708         [BZ #15330]
66709         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
66710         order arrays from heap if bigger than alloca cutoff.
66712 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
66714         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
66715         (SNAN_TESTS_double): Refer to GCC PR56831.
66716         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
66717         GCC PR56828.
66719 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
66721         * Rules (bench): Move bench.out after the run is complete.
66723         * Rules (bench): Echo currently running benchmark.
66725         * benchtests/Makefile (bench): Add atan and slowatan.
66726         * benchtests/atan-inputs: New file.
66727         * benchtests/slowatan-inputs: New file.
66728         * benchtests/slowatan.c: New file.
66730         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
66731         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
66732         its value.
66734         [BZ #15305]
66735         * sysdeps/unix/sysv/linux/kernel-features.h
66736         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
66737         __ASSUME_XFS_RESTRICTED_CHOWN.
66738         * sysdeps/unix/sysv/linux/pathconf.c
66739         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
66740         Save and restore errno.
66742 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
66744         [BZ #15327]
66745         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
66746         arguments using __kernel_casinh.
66747         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
66748         arguments using __kernel_casinhf.
66749         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
66750         arguments using __kernel_casinhl.
66751         * math/libm-test.inc (cacosh_test): Add more tests.
66752         * sysdeps/i386/fpu/libm-test-ulps: Update.
66753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66755 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66757         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
66758         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
66760         * bench/Makefile (bench): Add sin and slowsin.
66761         * benchtests/sin-inputs: New file.
66762         * benchtests/slowsin-inputs: New file.
66763         * benchtests/slowsin.c: New file.
66765         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
66766         (bench): Add slowexp and slowpow.
66767         (exp-ITER): Increase iterations.
66768         (pow-ITER): Likewise.
66769         * benchtests/exp-inputs: Change input.
66770         * benchtests/pow-inputs: Likewise.
66771         * benchtests/slowexp-inputs: New file.
66772         * benchtests/slowexp.c: New file.
66773         * benchtests/slowpow-inputs: New file.
66774         * benchtests/slowpow.c: New file.
66776 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66778         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
66779         instructions.
66780         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66781         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
66782         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
66783         * benchtests/Makefile: Add rint benchtest.
66784         * benchtests/rint-inputs: Input for rint benchtest.
66786 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66788         * Versions.def (libm): Add GLIBC_2.18.
66789         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
66790         hidden libm prototypes.
66791         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
66792         * math/Makefile (libm-calls): Add s_issignaling.
66793         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
66794         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
66795         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
66796         declaration.
66797         * math/math.h [__USE_GNU] (issignaling): New macro.
66798         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
66799         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
66800         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
66801         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
66802         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
66803         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
66804         * manual/arith.texi (issignaling): New section.
66805         * manual/libm-err-tab.pl (@all_functions): Update comment.
66806         * math/gen-libm-test.pl (parse_args): Apply special handling for
66807         issignaling.
66808         * math/libm-test.inc (print_float, issignaling_test): New
66809         functions.
66810         (check_float_internal): Add issignaling checks.
66811         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
66812         default definition.
66813         * sysdeps/powerpc/math-tests.h: New file.
66814         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
66815         tests.
66816         * math/test-snan.c (TEST_FUNC): Likewise.
66818 2013-03-30  David S. Miller  <davem@davemloft.net>
66820         * po/de.po: Update from translation team.
66822 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
66824         [BZ #10357]
66825         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66826         imaginary part less than 1.0 and real part less than 0.5
66827         specially.
66828         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66829         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66830         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
66831         (cacos_test): Add more tests.
66832         (casin_test): Likewise.
66833         (casinh_test): Likewise.
66834         * sysdeps/i386/fpu/libm-test-ulps: Update.
66835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66837 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66839         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
66840         ONE with its value.
66842         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
66843         (__pow_mp): Replace ONE and MONE with their values.
66844         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66845         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
66846         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66847         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
66848         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66849         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66851         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
66853         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
66854         (__pow_mp): Replace ZERO and MZERO with their values.
66855         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66856         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66857         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66858         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66859         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66860         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
66861         (__sqr): Likewise.
66863         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
66865         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
66867 2013-03-28  Roland McGrath  <roland@hack.frob.com>
66869         * include/stdlib.h [!SHARED] (__call_tls_dtors):
66870         Declare with __attribute__ ((weak)).
66871         * stdlib/exit.c (__libc_atexit) [!SHARED]:
66872         Call __call_tls_dtors only if it's not NULL.
66874 2013-03-28  Roland McGrath  <roland@hack.frob.com>
66876         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
66877         didn't do it already, then set _dl_phdr and _dl_phnum based on the
66878         magic __ehdr_start linker symbol if it's defined.
66879         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
66880         them up here if it was already done.
66882         * elf/dl-support.c (_dl_phdr): Make pointer to const.
66883         (_dl_aux_init): Use const in cast when setting it.
66884         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
66885         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
66886         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
66888         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
66889         Declare them here.
66890         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
66891         * csu/libc-tls.c: Nor here.
66892         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
66894         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
66895         (__libc_message): Never call vsyslog.
66897 2013-03-28  Alan Modra  <amodra@gmail.com>
66899         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
66900         Define as empty.
66901         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
66902         Likewise.
66904 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66906         [BZ #15214]
66907         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
66908         underflow.
66909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66911 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66913         [BZ #15304]
66914         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
66915         Don't add gid passed as argument.
66917         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
66919 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
66921         [BZ #15307]
66922         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66923         imaginary part between 1.0 and 1.5 and real part less than 0.5
66924         specially.
66925         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66926         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66927         * math/libm-test.inc (cacos_test): Add more tests.
66928         (casin_test): Likewise.
66929         (casinh_test): Likewise.
66930         * sysdeps/i386/fpu/libm-test-ulps: Update.
66931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66933 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66935         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
66936         constants.
66937         (norm): Likewise.
66938         (denorm): Likewise.
66939         (__dbl_mp): Likewise.
66940         (add_magnitudes): Likewise.
66941         (sub_magnitudes): Likewise.
66942         (__add): Likewise.
66943         (__sub): Likewise.
66944         (__mul): Likewise.
66945         (__sqr): Likewise.
66946         (__inv): Likewise.
66947         (__dvd): Likewise.
66949         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
66950         commented code.
66951         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
66952         (__dubcos): Likewise.
66953         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
66954         (__ieee754_acos): Likewise.
66955         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66956         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
66957         (__exp1): Likewise.
66958         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66959         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66960         (log1): Likewise.
66961         (my_log2): Likewise.
66962         (checkint): Likewise.
66963         * sysdeps/ieee754/dbl-64/e_remainder.c
66964         (__ieee754_remainder): Likewise.
66965         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66966         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
66967         (bsloww): Likewise.
66968         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66970         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66971         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
66972         MANTISSA_STORE_T to store computations on mantissa.  Use
66973         macros for rounding and division.
66974         (denorm): Likewise.
66975         (__dbl_mp): Likewise.
66976         (add_magnitudes): Likewise.
66977         (sub_magnitudes): Likewise.
66978         (__mul): Likewise.
66979         (__sqr): Likewise.
66980         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66981         powers of two in terms of TWOPOW macro.
66982         (mp_no): Make type of mantissa as MANTISSA_T.
66983         [!RADIXI]: Define RADIXI.
66984         [!TWO52]: Define TWO52.
66985         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66987 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66989         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
66990         llroundl symbol when building for PPC32.
66992 2013-03-24  Mark H Weaver  <mhw@netris.org>
66994         * manual/arith.texi (Normalization Functions): Fix prototypes for
66995         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
66997 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66999         [BZ #13889]
67000         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
67001         high value to check if expl overflow.
67002         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
67003         to check for underflow and overflow.
67004         * math/libm-test.inc: Add exp test.
67006 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
67008         [BZ #11120]
67009         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
67010         with NOT_IN_libc.
67012 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67014         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
67015         symbol.
67017 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67019         * math/gen-libm-test.pl (parse_args, special_functions): Properly
67020         wrap blocks consisting of several statements.
67022         * sysdeps/generic/math-tests.h: New file.
67023         * sysdeps/i386/fpu/math-tests.h: Likewise.
67024         * math/test-snan.c: Include it.
67025         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
67027 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67029         [BZ #15285]
67030         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
67031         (__ieee754_j0l): Do not improve calculations using cos of twice
67032         input for inputs above LDBL_MAX / 2.0L.
67033         (__ieee754_y0l): Likewise.
67034         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
67035         (__ieee754_j1l): Do not improve calculations using cos of twice
67036         input for inputs above LDBL_MAX / 2.0L.
67037         (__ieee754_y1l): Likewise.
67038         * math/libm-test.inc (j0_test): Add another test.
67039         (j1_test): Likewise.
67040         (y0_test): Likewise.
67041         (y1_test): Likewise.
67042         * sysdeps/i386/fpu/libm-test-ulps: Update.
67044 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67046         * Rules ($(objpfx)bench-%.c): Include code from a C source
67047         file.
67049 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67051         [BZ #15287]
67052         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67053         imaginary part 1.0 and real part less than 0.5 specially.
67054         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67055         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67056         * math/libm-test.inc (cacos_test): Add more tests.
67057         (casin_test): Likewise.
67058         (casinh_test): Likewise.
67059         * sysdeps/i386/fpu/libm-test-ulps: Update.
67060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67062 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67064         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
67065         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
67067 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
67069         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
67070         * config.make.in (config-cflags-sse4): Remove variable.
67071         (config-cflags-avx): Likewise.
67072         (config-cflags-sse2avx): Likewise.
67073         (config-cflags-novzeroupper): Likewise.
67074         (config-asflags-i686): Likewise.
67075         (have-mfma4): Likewise.
67076         (have-as-vis3): Likewise.
67077         (MIG): Likewise.
67078         * configure.in (MIG): Do not AC_SUBST.
67079         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
67080         (libc_cv_cc_sse4): Do not AC_SUBST.
67081         (libc_cv_cc_avx): Likewise.
67082         (libc_cv_cc_sse2avx): Likewise.
67083         (libc_cv_cc_novzeroupper): Likewise.
67084         (libc_cv_cc_fma4): Likewise.
67085         (libc_cv_as_i686): Likewise.
67086         (libc_cv_sparc_as_vis3): Likewise.
67087         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
67088         LIBC_CONFIG_VAR.
67089         (config-asflags-i686): Likewise.
67090         (config-cflags-avx): Likewise.
67091         (config-cflags-sse2avx): Likewise.
67092         (have-mfma4): Likewise.
67093         (config-cflags-novzeroupper): Likewise.
67094         * sysdeps/mach/configure.in (MIG): Likewise.
67095         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
67096         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
67097         LIBC_CONFIG_VAR.
67098         (config-cflags-avx): Likewise.
67099         (config-cflags-sse2avx): Likewise.
67100         (have-mfma4): Likewise.
67101         (config-cflags-novzeroupper): Likewise.
67102         * configure: Regenerated.
67103         * sysdeps/i386/configure: Likewise.
67104         * sysdeps/mach/configure: Likewise.
67105         * sysdeps/sparc/configure: Likewise.
67106         * sysdeps/x86_64/configure: Likewise.
67108 2013-03-20  Roland McGrath  <roland@hack.frob.com>
67110         [BZ #14812]
67111         * locale/programs/localedef.c (options): Put N_ translation marker
67112         on argument names, not just descriptions.
67114 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67116         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
67118 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
67120         [BZ #14176]
67121         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
67123 2013-03-19  Roland McGrath  <roland@hack.frob.com>
67125         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
67126         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
67127         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
67128         [!BEFORE_ABORT] (before_abort): New function.
67129         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
67130         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
67131         (writev_for_fatal): New function.
67132         (WRITEV_FOR_FATAL): New macro; call that.
67133         (backtrace_and_maps): New function.
67134         (BEFORE_ABORT): New macro; call that.
67135         (struct str_list): Type removed.
67136         (__libc_message, __libc_fatal): Functions removed.
67137         Include <sysdeps/posix/libc_fatal.c> instead.
67139 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
67141         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
67142         constants.
67143         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
67144         double constants.
67146 2013-03-19  Andreas Schwab  <schwab@suse.de>
67148         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
67149         * sysdeps/gnu/configure: Regenerate.
67151         * configure.in: Substitute libc_cv_rtlddir.
67152         * configure: Regenerate.
67153         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
67154         * Makeconfig (rtlddir, inst_rtlddir): New variables.
67155         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
67156         * elf/Makefile (install-others, CFLAGS-interp.c)
67157         (ldso_install, common-ldd-rewrite): Likewise.
67158         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
67159         $(inst_slibdir)/$(rtld-installed-name).
67160         * scripts/rellns-sh: Add -p option.
67161         * Makerules (make-shlib-link): Use rellns-sh to get relative name
67162         for source.
67164 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67166         * manual/nptl.texi: Renamed to ...
67167         * manual/threads.texi: ... this.
67168         * manual/Makefile (chapters): Update.
67170 2013-03-18  Roland McGrath  <roland@hack.frob.com>
67172         [BZ #14812]
67173         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
67174         on argument names, not just descriptions.
67175         * malloc/memusagestat.c (options): Likewise.
67176         * nss/getent.c (options): Likewise.
67178 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
67180         [BZ #14812]
67181         * iconv/iconv_prog.c (options): Put N_ translation marker
67182         on argument names, not just descriptions.
67183         * iconv/iconvconfig.c (options): Likewise.
67185 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
67187         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
67188         implementation which is faster on all x86_64 architectures.
67189         Tested on AMD, Intel Nehalem, SNB, IVB.
67190         * sysdeps/x86_64/strnlen.S: Likewise.
67192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
67193         Remove all multiarch strlen and strnlen versions.
67194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
67195         Remove strlen and strnlen related parts.
67197         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
67198         Inline strlen part.
67199         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
67201         * sysdeps/x86_64/multiarch/strlen.S: Remove.
67202         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
67203         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
67204         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
67205         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67206         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
67208 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
67210         * manual/memory.texi (Malloc Tunable Parameters):
67211         Sort parameters alphabetically. Add comments for missing entries.
67213 2013-03-17  David S. Miller  <davem@davemloft.net>
67215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67217 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
67219         [BZ #15283]
67220         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
67221         for arguments at most half maximum finite value.
67222         * math/libm-test.inc (j0_test): Add more tests.
67223         (j1_test): Likewise.
67224         (y0_test): Likewise.
67225         (y1_test): Likewise.
67226         * sysdeps/i386/fpu/libm-test-ulps: Update.
67227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67229         [BZ #14155]
67230         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
67231         1 / x and functions P and Q for arguments above 0x1p256L.
67232         (__ieee754_y0l): Likewise.
67233         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
67234         (__ieee754_y1l): Likewise.
67235         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
67236         (j1_test): Likewise.
67237         (y0_test): Likewise.
67238         (y1_test): Likewise.
67240 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
67242         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
67243         variable.
67245 2013-03-15  Roland McGrath  <roland@hack.frob.com>
67247         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
67248         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
67249         zero since it's initialized to EXEC_PAGESIZE.
67251         * sysdeps/unix/sysv/linux/ldsodefs.h
67252         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
67253         * sysdeps/generic/ldsodefs.h: ... here.
67255 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
67257         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
67259         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
67260         math/test-snan.c.
67261         * math/test-snan.c: Renamed from
67262         sysdeps/powerpc/fpu/test-powerpc-snan.c.
67263         * math/Makefile (tests): Add test-snan.
67264         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
67265         test-powerpc-snan.
67267         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
67268         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
67269         functions.
67270         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
67271         __builtin_nan family of functions.
67272         * math/libm-test.inc (initialize): Initialize qnan_value with
67273         __builtin_nan family of functions.
67274         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
67275         Remove variables.
67276         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
67277         Remove functions.
67278         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
67279         storage class.  Initialize qNaN_var and sNaN_var with
67280         __builtin_nan and __builtin_nans families of functions,
67281         respectively.
67283         * math/libm-test.inc (acosh_test): Also test with qNaN input.
67284         (sqrt_test): Remove duplicate test with qNaN input.
67285         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
67286         (round_test, signbit_test, significand_test): Note missing +/-Inf
67287         as well as qNaN tests.
67289         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
67290         qNaN_var.  Fix a few strings, too.
67291         * math/libm-test.inc (nan_value): Rename to qnan_value.
67292         * math/gen-libm-test.pl (%beautify): Adjust to that.
67293         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
67294         * math/test-misc.c (main): Likewise.
67295         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
67296         to __qnan_bytes, and __qnan_union, respectively.
67297         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
67298         Likewise.
67299         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
67300         and lqnanval, respectively.
67301         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
67302         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
67303         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
67304         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
67306         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
67307         * math/test-misc.c (main) [__x86_64__]: Enable test for long
67308         doubles.
67310         * math/test-misc.c (main): Fix copy'n'pastos.
67311         * misc/tst-efgcvt.c (special): Likewise.
67313         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
67314         Remove declarations.
67316 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67318         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
67319         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
67320         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
67321         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
67323 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67325         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
67326         macro to return vdso values correctly in IFUNC implementations.
67327         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
67328         Optimization by using IFUNC.
67330 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67331             Richard Henderson  <rth@redhat.com>
67332             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67334         * Makefile.in (bench): New target.
67335         * NEWS: Mention the benchmark framework.
67336         * Rules (bench): Likewise.
67337         (binaries-bench): Generate binaries for functions to
67338         benchmark.
67339         * benchtests/Makefile: New makefile for benchmark tests.
67340         * benchtests/bench-skeleton.c: New skeleton file for benchmark
67341         programs.
67342         * benchtests/exp-inputs: New input file for EXP function.
67343         * benchtests/pow-inputs: New input file for POW function.
67344         * scripts/bench.pl: New script to generate source files for
67345         benchmark programs.
67347 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67349         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67350         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
67351         computations on mantissa.  Use macros for rounding and
67352         division.
67353         (denorm): Likewise.
67354         (__dbl_mp): Likewise.
67355         (add_magnitudes): Likewise.
67356         (sub_magnitudes): Likewise.
67357         (__mul): Likewise.
67358         (__sqr): Likewise.
67359         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67360         powers of two in terms of TWOPOW macro.
67361         (mp_no): Make type of mantissa as MANTISSA_T.
67362         [!RADIXI]: Define RADIXI.
67363         [!TWO52]: Define TWO52.
67364         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67366         * manual/nptl.texi (cindex): Modify threads to pthreads.
67368 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
67370         * sysdeps/x86_64/preconfigure: Regenerated.
67372 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
67374         [BZ #14155]
67375         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
67376         0x1p28 and above.
67377         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
67378         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
67379         0x1p28 and above.
67380         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
67381         * math/libm-test.inc (j0_test): Do not allow one spurious
67382         underflow exception.
67383         (y1_test): Likewise.
67385 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67387         * manual/Makefile (chapters): Add nptl.
67388         * manual/debug.texi (Debugging Support): Add link to Threads
67389         chapter.
67390         * manual/nptl.texi: New file.
67392         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
67394 2013-03-14  Petr Baudis  <pasky@ucw.cz>
67396         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
67397         for non-NULL pointer before the memory validity test. Pointed
67398         out by Holger Brunck <holger.brunck@keymile.com>.
67400 2013-03-13  Andreas Schwab  <schwab@suse.de>
67402         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
67403         instead of .os.
67405 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
67407         * timezone/zic.c: Update from tzcode 2013b.
67409 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
67411         * manual/install.texi (Configuring and compiling):
67412         Mention i686 and i586.
67413         * INSTALL: Regenerate.
67415 2013-03-12  Roland McGrath  <roland@hack.frob.com>
67417         * sysdeps/init_array/elf-init.c: New file.
67418         * csu/elf-init.c
67419         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
67420         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
67422         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
67423         __gmon_start__ as global, but as static with a .preinit_array pointer.
67424         * sysdeps/init_array/gmon-start.c: New file.  Use that.
67425         * sysdeps/init_array/crti.S: New file, empty except for comments.
67426         * sysdeps/init_array/crtn.S: Likewise.
67428 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
67430         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
67431         definining bcopy.
67432         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67433         Remove Prefer_SSE_for_memop.
67434         * sysdeps/x86_64/multiarch/init-arch.h: Remove
67435         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
67436         HAS_PREFER_SSE_FOR_MEMOP.
67437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
67438         memset-x86-64.
67439         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
67440         Remove bzero, memset ifunc support.
67441         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
67442         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
67443         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67444         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67446 2013-03-11  Andreas Schwab  <schwab@suse.de>
67448         [BZ #15234]
67449         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
67450         by SHLIB_COMPAT.
67451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
67452         (GLIBC_2.16): Remove pthread_atfork.
67454 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
67456         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
67457         (ptestcases.h): Likewise.
67459 2013-03-08  Roland McGrath  <roland@hack.frob.com>
67461         * Makeconfig ($(common-objpfx)config.status): Depend on
67462         sysdeps/*/preconfigure{,.in} too.
67464 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
67466         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
67467         (__free_hook): Use void * instead of __malloc_ptr_t.
67468         (__malloc_hook): Likewise.
67469         (__realloc_hook): Likewise.
67470         (__memalign_hook): Likewise.
67471         (__after_morecore_hook): Likewise.
67472         * malloc/arena.c (save_malloc_hook): Likewise.
67473         (save_free_hook): Likewise.
67474         * malloc/hooks.c (malloc_hook_ini): Likewise.
67475         (realloc_hook_ini): Likewise.
67476         (memalign_hook_ini): Likewise.
67477         * malloc/malloc.c (malloc_hook_ini): Likewise.
67478         (realloc_hook_ini): Likewise.
67479         (memalign_hook_ini): Likewise.
67480         (__free_hook): Likewise.
67481         (__malloc_hook): Likewise.
67482         (__realloc_hook): Likewise.
67483         (__memalign_hook): Likewise.
67484         (__libc_malloc): Likewise.
67485         (__libc_free): Likewise.
67486         (__libc_realloc): Likewise.
67487         (__libc_memalign): Likewise.
67488         (__libc_valloc): Likewise.
67489         (__libc_pvalloc): Likewise.
67490         (__libc_calloc): Likewise.
67491         (__posix_memalign): Likewise.
67492         * malloc/morecore.c (__sbrk): Likewise.
67493         (__default_morecore): Likewise.
67495         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
67497         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
67498         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
67499         __malloc_ptrdiff_t.
67501         * malloc/malloc.h (__malloc_size_t): Remove macro.
67502         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
67503         __malloc_size_t.
67504         (old_memalign_hook): Likewise.
67505         (old_realloc_hook): Likewise.
67506         (struct hdr): Likewise.
67507         (flood): Likewise.
67508         (mallochook): Likewise.
67509         (memalignhook): Likewise.
67510         (reallochook): Likewise.
67511         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
67512         (tr_old_realloc_hook): Likewise.
67513         (tr_old_memalign_hook): Likewise.
67514         (tr_mallochook): Likewise.
67515         (tr_reallochook): Likewise.
67516         (tr_memalignhook): Likewise.
67518 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67520         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
67521         default_ldbl_pack and using as default implementation.
67522         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
67523         implementation.
67524         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
67525         redundant definition.
67526         (ldbl_insert_mantissa): Likewise.
67527         (ldbl_canonicalize): Likewise.
67528         (ldbl_nearbyint): Likewise.
67529         (ldbl_pack): Rename to ldbl_pack_ppc.
67530         (ldbl_unpack): Rename to ldbl_unpack_ppc.
67531         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
67532         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
67534 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67536         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
67537         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
67538         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
67539         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
67540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
67541         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
67542         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
67543         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
67545 2013-03-07  Andreas Jaeger  <aj@suse.de>
67547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67548         bits/mman-linux.h.
67550 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
67552         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
67553         Include mpa.h and declare __MPEXP.
67554         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
67555         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67556         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67557         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
67558         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67559         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67560         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
67562         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
67563         (__slowpow): Use long double EXPL and LOGL functions to
67564         compute POW.
67565         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67566         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67567         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
67568         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67569         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67570         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
67572         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
67573         intermediate variable to calculate exponent.
67574         (__sqr): Likewise.
67575         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67576         Likewise.
67577         (__sqr): Likewise.
67579         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
67580         [!NO__SQR]: Define __sqr.
67581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
67582         and NO__SQR.  Remove all code except __mul and __sqr.  Include
67583         sysdeps/ieee754/dbl-64/mpa.c.
67584         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67586         [BZ #12723]
67587         * posix/Makefile (tests): Add tst-pathconf.
67588         * posix/tst-pathconf.c: New test case.
67589         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
67590         _PC_PIPE_BUF.
67591         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
67593 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
67595         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
67597 2013-03-06  Andreas Jaeger  <aj@suse.de>
67599         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
67600         definition via __MAP_ANONYMOUS.
67602         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
67603         it's not part of Linux headers.
67605         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
67606         (MAP_HUGE_MASK): Define.
67608         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67609         Define.
67610         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67611         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67612         Define.
67613         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67614         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67615         Define.
67616         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67617         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
67618         Define.
67619         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67621         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
67622         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
67623         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
67624         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
67625         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
67626         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
67628         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
67629         Handle f2fs.
67631         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67632         Handle f2fs and efivarfs.
67634         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
67635         f2fs.
67637         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
67638         (EFIVARFS_MAGIC): Add.
67639         (F2FS_LINK_MAX): Add.
67641 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67643         * stdio-common/vfprintf.c: Replace __builtin_expect with
67644         __glibc_unlikely.
67646 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
67648         [BZ #13550]
67649         * sysdeps/generic/bp-sym.h: Remove file.
67650         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
67651         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
67652         <bp-sym.h> and <bp-asm.h>.
67653         (__longjmp): Don't use BP_SYM.
67654         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
67655         and <bp-asm.h>.
67656         (memcpy): Don't use BP_SYM.
67657         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
67658         <bp-sym.h> and <bp-asm.h>.
67659         (memcpy): Don't use BP_SYM.
67660         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
67661         <bp-asm.h>.
67662         (memcpy): Don't use BP_SYM.
67663         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
67664         <bp-asm.h>.
67665         (memset): Don't use BP_SYM.
67666         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67667         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67668         (__bzero): Don't use BP_SYM.
67669         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67670         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67671         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
67672         <bp-sym.h> and <bp-asm.h>.
67673         (memcmp): Don't use BP_SYM.  Remove comment about bounded
67674         pointers.
67675         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
67676         <bp-sym.h> and <bp-asm.h>.
67677         (memcpy): Don't use BP_SYM.
67678         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
67679         <bp-sym.h> and <bp-asm.h>.
67680         (memset): Don't use BP_SYM.
67681         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67682         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67683         (__bzero): Don't use BP_SYM.
67684         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67685         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67686         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
67687         <bp-sym.h> and <bp-asm.h>.
67688         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67689         pointers.
67690         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
67691         <bp-sym.h> and <bp-asm.h>.
67692         (memcpy): Don't use BP_SYM.
67693         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
67694         <bp-sym.h> and <bp-asm.h>.
67695         (memset): Don't use BP_SYM.
67696         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67697         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67698         (__bzero): Don't use BP_SYM.
67699         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67700         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67701         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
67702         <bp-sym.h> and <bp-asm.h>.
67703         (__memchr): Don't use BP_SYM.
67704         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
67705         <bp-sym.h> and <bp-asm.h>.
67706         (memcmp): Don't use BP_SYM.  Remove comment about bounded
67707         pointers.
67708         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
67709         <bp-sym.h> and <bp-asm.h>.
67710         (memcpy): Don't use BP_SYM.
67711         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
67712         <bp-sym.h> and <bp-asm.h>.
67713         (__mempcpy): Don't use BP_SYM.
67714         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
67715         <bp-sym.h> and <bp-asm.h>.
67716         (__memrchr): Don't use BP_SYM.
67717         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
67718         <bp-sym.h> and <bp-asm.h>.
67719         (memset): Don't use BP_SYM.
67720         (__bzero): Likewise.
67721         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
67722         <bp-sym.h> and <bp-asm.h>.
67723         (__rawmemchr): Don't use BP_SYM.
67724         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
67725         <bp-sym.h> and <bp-asm.h>.
67726         (__STRCMP): Don't use BP_SYM.
67727         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
67728         <bp-sym.h> and <bp-asm.h>.
67729         (strchr): Don't use BP_SYM.
67730         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
67731         <bp-sym.h> and <bp-asm.h>.
67732         (__strchrnul): Don't use BP_SYM.
67733         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
67734         <bp-sym.h> and <bp-asm.h>.
67735         (strlen): Don't use BP_SYM.
67736         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
67737         <bp-sym.h> and <bp-asm.h>.
67738         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67739         pointers.
67740         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
67741         <bp-sym.h> and <bp-asm.h>.
67742         (__strnlen): Don't use BP_SYM.
67743         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
67744         <bp-sym.h> and <bp-asm.h>.
67745         (__GI__setjmp): Don't use BP_SYM.
67746         (_setjmp): Likewise.
67747         (__sigsetjmp): Likewise.
67748         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
67749         (L(start_addresses)): Don't use BP_SYM.
67750         (_start): Likewise.
67751         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
67752         <bp-asm.h>.
67753         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
67754         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
67755         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67756         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67757         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
67758         <bp-asm.h>.
67759         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
67760         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
67761         about bounded pointers.
67762         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67763         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67764         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
67765         <bp-asm.h>.
67766         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
67767         about bounded pointers.  Remove GKM FIXME comments.
67768         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67769         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
67770         <bp-asm.h>.
67771         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
67772         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
67773         Remove GKM FIXME comments.
67774         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67775         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67776         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
67777         <bp-asm.h>.
67778         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
67779         about bounded pointers.  Remove GKM FIXME comment.
67780         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
67781         and <bp-asm.h>.
67782         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67783         pointers.
67784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
67785         <bp-sym.h> and <bp-asm.h>.
67786         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
67788         <bp-sym.h> and <bp-asm.h>.
67789         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
67790         comment.
67792 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67794         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
67795         call free(NULL).
67797 2013-03-05  David S. Miller  <davem@davemloft.net>
67799         * po/es.po: Update from translation team.
67801 2013-03-05  Andreas Jaeger  <aj@suse.de>
67803         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
67804         <bits/mman-linux.h>.
67805         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67806         is fine.
67807         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
67808         <bits/mman-linux.h> to end of file.
67809         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67810         is fine.
67811         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
67812         <bits/mman-linux.h> to end of file.
67813         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67814         is fine.
67815         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
67816         <bits/mman-linux.h> to end of file.
67818         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
67819         (MCL_CURRENT, MCL_FUTURE): Define here.
67821 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67823         [BZ #15232]
67824         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
67825         attribute_hidden.
67826         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67828 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67830         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
67831         fourth parameter needed for rt_sigprocmask syscall.
67832         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
67833         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
67834         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
67835         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
67836         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
67837         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
67839 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
67841         [BZ #13550]
67842         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
67843         comment about bounded pointers.
67844         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
67845         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
67847 2013-03-04  Andreas Jaeger  <aj@suse.de>
67849         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
67850         common definitions.
67852         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
67853         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
67854         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
67855         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67856         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67857         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67859 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67861         [BZ #15055]
67862         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
67863         __ieee754_sqrl instead of __sqrl.
67865 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
67867         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
67868         * sysdeps/powerpc/fpu_control.h: ... here.
67869         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
67870         * sysdeps/powerpc/bits/fenvinline.h: ... here.
67871         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
67872         * sysdeps/powerpc/bits/mathinline.h: ... here.
67874 2013-03-01  Roland McGrath  <roland@hack.frob.com>
67876         * elf/dl-hwcaps.c (_dl_important_hwcaps):
67877         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
67878         to just [NEED_DL_SYSINFO_DSO].
67879         * elf/dl-support.c: Likewise.
67880         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
67881         * elf/rtld.c (dl_main): Likewise.
67882         * elf/setup-vdso.h (setup_vdso): Likewise.
67883         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
67884         * sysdeps/unix/sysv/linux/dl-sysdep.c
67885         (_dl_discover_osversion): Likewise.
67887 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
67889         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
67890         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67892 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
67894         * NEWS: Mention libm performance improvements and non-x86 PI
67895         futex support.
67897         * csu/libc-start.c (__pthread_initialize_minimal): Change
67898         function arguments.
67899         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67901 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
67903         [BZ #13550]
67904         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
67905         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
67906         <bp-sym.h> and <bp-asm.h>.
67907         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67908         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
67909         and <bp-asm.h>.
67910         (memcpy): Don't use BP_SYM.
67911         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
67912         <bp-asm.h>.
67913         (__mpn_add_n): Don't use BP_SYM.
67914         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
67915         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
67916         and <bp-asm.h>.
67917         (__mpn_addmul_1): Don't use BP_SYM.
67918         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67919         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
67920         <bp-sym.h>.
67921         (_setjmp): Don't use BP_SYM.
67922         (__novmx_setjmp): Likewise.
67923         (__GI__setjmp): Likewise.
67924         (__vmx_setjmp): Likewise.
67925         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
67926         <bp-sym.h>.
67927         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
67928         (__bzero): Don't use BP_SYM.
67929         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67930         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67931         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
67932         <bp-sym.h> and <bp-asm.h>.
67933         (memcpy): Don't use BP_SYM.
67934         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
67935         <bp-sym.h> and <bp-asm.h>.
67936         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67937         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
67938         <bp-sym.h> and <bp-asm.h>.
67939         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67940         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
67941         <bp-asm.h>.
67942         (__mpn_lshift): Don't use BP_SYM.
67943         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67944         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
67945         <bp-asm.h>.
67946         (memset): Don't use BP_SYM.
67947         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67948         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67949         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
67950         <bp-asm.h>.
67951         (__mpn_mul_1): Don't use BP_SYM.
67952         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67953         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
67954         <bp-sym.h> and <bp-asm.h>.
67955         (memcmp): Don't use BP_SYM.
67956         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
67957         <bp-sym.h> and <bp-asm.h>.
67958         (memcpy): Don't use BP_SYM.
67959         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
67960         <bp-sym.h> and <bp-asm.h>.
67961         (memset): Don't use BP_SYM.
67962         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
67963         <bp-sym.h> and <bp-asm.h>.
67964         (strncmp): Don't use BP_SYM.
67965         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
67966         <bp-sym.h> and <bp-asm.h>.
67967         (memcpy): Don't use BP_SYM.
67968         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
67969         <bp-sym.h> and <bp-asm.h>.
67970         (memset): Don't use BP_SYM.
67971         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
67972         <bp-sym.h> and <bp-asm.h>.
67973         (__memchr): Don't use BP_SYM.
67974         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
67975         <bp-sym.h> and <bp-asm.h>.
67976         (memcmp): Don't use BP_SYM.
67977         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
67978         <bp-sym.h> and <bp-asm.h>.
67979         (memcpy): Don't use BP_SYM.
67980         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
67981         <bp-sym.h> and <bp-asm.h>.
67982         (__mempcpy): Don't use BP_SYM.
67983         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
67984         <bp-sym.h> and <bp-asm.h>.
67985         (__memrchr): Don't use BP_SYM.
67986         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
67987         <bp-sym.h> and <bp-asm.h>.
67988         (memset): Don't use BP_SYM.
67989         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
67990         <bp-sym.h> and <bp-asm.h>.
67991         (__rawmemchr): Don't use BP_SYM.
67992         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
67993         <bp-sym.h> and <bp-asm.h>.
67994         (__STRCMP): Don't use BP_SYM.
67995         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
67996         <bp-sym.h> and <bp-asm.h>.
67997         (strchr): Don't use BP_SYM.
67998         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
67999         <bp-sym.h> and <bp-asm.h>.
68000         (__strchrnul): Don't use BP_SYM.
68001         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
68002         <bp-sym.h> and <bp-asm.h>.
68003         (strlen): Don't use BP_SYM.
68004         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
68005         <bp-sym.h> and <bp-asm.h>.
68006         (strncmp): Don't use BP_SYM.
68007         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
68008         <bp-sym.h> and <bp-asm.h>.
68009         (__strnlen): Don't use BP_SYM.
68010         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
68011         <bp-asm.h>.
68012         (__mpn_rshift): Don't use BP_SYM.
68013         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68014         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
68015         <bp-sym.h> and <bp-asm.h>.
68016         (__sigsetjmp): Don't use BP_SYM.
68017         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
68018         (L(start_addresses)): Don't use BP_SYM.
68019         (_start): Likewise.
68020         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
68021         <bp-asm.h>.
68022         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
68023         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68024         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68025         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
68026         <bp-asm.h>.
68027         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
68028         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68029         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68030         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
68031         <bp-asm.h>.
68032         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68033         comments.
68034         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68035         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
68036         <bp-asm.h>.
68037         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
68038         FIXME comments.
68039         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68040         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68041         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
68042         <bp-asm.h>.
68043         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68044         comment.
68045         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
68046         and <bp-asm.h>.
68047         (strncmp): Don't use BP_SYM,
68048         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
68049         <bp-asm.h>.
68050         (__mpn_sub_n): Don't use BP_SYM.
68051         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68052         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
68053         and <bp-asm.h>.
68054         (__mpn_submul_1): Don't use BP_SYM.
68055         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
68057         <bp-sym.h> and <bp-asm.h>.
68058         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
68060         <bp-sym.h> and <bp-asm.h>.
68061         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68062         comment.
68064 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68066         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
68067         Use ZK to minimize writes to Z.
68068         (sub_magnitudes): Simplify code a bit.
68069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
68070         Use ZK to minimize writes to Z.
68071         (sub_magnitudes): Simplify code a bit.
68073 2013-02-27  Roland McGrath  <roland@hack.frob.com>
68075         * csu/gmon-start.c: Add special exception to license text.
68077 2013-02-27  Richard Henderson  <rth@redhat.com>
68079         * scripts/config.guess: Update from config.git.
68080         * scripts/config.sub: Likewise.
68082 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68084         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
68086         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
68088         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
68090         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
68092         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
68094 2013-02-26  Roland McGrath  <roland@hack.frob.com>
68096         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
68097         [$(build-shared = yes].
68099 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68101         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
68102         (__mul): Reduce iterations for calculating mantissa.
68104         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
68105         MPTWO.
68106         (__mpranred): Likewise.
68108         [BZ #15160]
68109         * malloc/memusagestat.c (main): Draw graphs for heap and stack
68110         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
68112 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
68114         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
68115         Define __attribute__.
68117 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68119         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
68120         unused.
68121         * posix/regex_internal.h (__attribute): Remove.
68122         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
68123         (re_string_context_at): Likewise.
68124         (bitset_not): Use __attribute__ and mark function as possibly
68125         unused.
68126         (bitset_merge): Likewise.
68127         (bitset_mask): Likewise.
68128         (re_string_char_size_at): Likewise.
68129         (re_string_wchar_at): Likewise.
68130         (re_string_elem_size_at): Likewise.
68132 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68134         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
68135         code.
68136         (cc32): Likewise.
68138         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
68139         (__acr): Likewise.
68140         (__cpy): Likewise.
68141         (norm): Likewise.
68142         (denorm): Likewise.
68143         (__dbl_mp): Likewise.
68144         (add_magnitudes): Likewise.
68145         (sub_magnitudes): Likewise.
68146         (__mul): Likewise.
68147         (__inv): Likewise.
68149         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
68150         style.
68152         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
68153         style.
68155         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
68156         code.
68158         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
68159         up changes with default code.
68160         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
68161         Likewise.
68163 2013-02-24  Allan McRae  <allan@archlinux.org>
68165         * manual/socket.texi (The Internet Namespace): Order menu items
68166         to match that in the file.
68168         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
68169         node listing of the info page menu.
68171 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
68173         [BZ #13550]
68174         * sysdeps/i386/bp-asm.h: Remove file.
68175         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68176         (PARMS): Do not use macros from bp-asm.h.
68177         (S1): Likewise.
68178         (S2): Likewise.
68179         (SIZE): Likewise.
68180         (__mpn_add_n): Do not use BP_SYM
68181         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
68182         "bp-asm.h".
68183         (PARMS): Do not use macros from bp-asm.h.
68184         (S1): Likewise.
68185         (SIZE): Likewise.
68186         (__mpn_addmul_1): Do not use BP_SYM
68187         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
68188         "bp-asm.h".
68189         (PARMS): Do not use macros from bp-asm.h.
68190         (SIGMSK): Likewise.
68191         (_setjmp): Likewise.  Do not use BP_SYM.
68192         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
68193         "bp-asm.h".
68194         (PARMS): Do not use macros from bp-asm.h.
68195         (SIGMSK): Likewise.
68196         (setjmp): Likewise.  Do not use BP_SYM.
68197         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
68198         "bp-asm.h".
68199         (PARMS): Do not use macros from bp-asm.h.
68200         (__frexp): Do not use BP_SYM.
68201         (frexp): Likewise.
68202         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
68203         "bp-asm.h".
68204         (PARMS): Do not use macros from bp-asm.h.
68205         (__frexpf): Do not use BP_SYM.
68206         (frexpf): Likewise.
68207         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
68208         "bp-asm.h".
68209         (PARMS): Do not use macros from bp-asm.h.
68210         (__frexpl): Do not use BP_SYM.
68211         (frexpl): Likewise.
68212         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
68213         "bp-asm.h".
68214         (PARMS): Do not use macros from bp-asm.h.
68215         (__remquo): Do not use BP_SYM.
68216         (remquo): Likewise.
68217         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
68218         "bp-asm.h".
68219         (PARMS): Do not use macros from bp-asm.h.
68220         (__remquof): Do not use BP_SYM.
68221         (remquof): Likewise.
68222         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
68223         "bp-asm.h".
68224         (PARMS): Do not use macros from bp-asm.h.
68225         (__remquol): Do not use BP_SYM.
68226         (remquol): Likewise.
68227         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
68228         "bp-asm.h".
68229         (PARMS): Do not use macros from bp-asm.h.
68230         (DEST): Likewise.
68231         (SRC): Likewise.
68232         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
68233         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
68234         "bp-asm.h".
68235         (PARMS): Do not use macros from bp-asm.h.
68236         (strlen): Do not use BP_SYM.
68237         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
68238         "bp-asm.h".
68239         (PARMS): Do not use macros from bp-asm.h.
68240         (S1): Likewise.
68241         (S2): Likewise.
68242         (SIZE): Likewise.
68243         (__mpn_add_n): Do not use BP_SYM.
68244         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
68245         "bp-asm.h".
68246         (PARMS): Do not use macros from bp-asm.h.
68247         (S1): Likewise.
68248         (SIZE): Likewise.
68249         (__mpn_addmul_1): Do not use BP_SYM.
68250         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
68251         weak_alias.
68252         (bzero): Likewise.
68253         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
68254         "bp-asm.h".
68255         (PARMS): Do not use macros from bp-asm.h.
68256         (S): Likewise.
68257         (SIZE): Likewise.
68258         (__mpn_lshift): Do not use BP_SYM.
68259         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
68260         "bp-asm.h".
68261         (PARMS): Do not use macros from bp-asm.h.
68262         (DEST): Likewise.
68263         (SRC): Likewise.
68264         (LEN): Likewise.
68265         (memcpy): Likewise.  Do not use BP_SYM.
68266         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
68267         libc_hidden_def and weak_alias.
68268         (mempcpy): Do not use BP_SYM in weak_alias.
68269         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
68270         "bp-asm.h".
68271         (PARMS): Do not use macros from bp-asm.h.
68272         (DEST): Likewise.
68273         (LEN): Likewise.
68274         [!BZERO_P] (CHR): Likewise.
68275         (memset): Likewise.  Do not use BP_SYM.
68276         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
68277         "bp-asm.h".
68278         (PARMS): Do not use macros from bp-asm.h.
68279         (S1): Likewise.
68280         (SIZE): Likewise.
68281         (__mpn_mul_1): Do not use BP_SYM.
68282         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
68283         "bp-asm.h".
68284         (PARMS): Do not use macros from bp-asm.h.
68285         (S): Likewise.
68286         (SIZE): Likewise.
68287         (__mpn_rshift): Do not use BP_SYM.
68288         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
68289         "bp-asm.h".
68290         (PARMS): Do not use macros from bp-asm.h.
68291         (STR): Likewise.
68292         (CHR): Likewise.
68293         (strchr): Likewise.  Do not use BP_SYM.
68294         (index): Do not use BP_SYM in weak_alias.
68295         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
68296         "bp-asm.h".
68297         (PARMS): Do not use macros from bp-asm.h.
68298         (DEST): Likewise.
68299         (SRC): Likewise.
68300         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
68301         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
68302         "bp-asm.h".
68303         (PARMS): Do not use macros from bp-asm.h.
68304         (strlen): Do not use BP_SYM.
68305         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
68306         "bp-asm.h".
68307         (PARMS): Do not use macros from bp-asm.h.
68308         (S1): Likewise.
68309         (S2): Likewise.
68310         (SIZE): Likewise.
68311         (__mpn_sub_n): Do not use BP_SYM.
68312         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
68313         "bp-asm.h".
68314         (PARMS): Do not use macros from bp-asm.h.
68315         (S1): Likewise.
68316         (SIZE): Likewise.
68317         (__mpn_submul_1): Do not use BP_SYM.
68318         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
68319         "bp-asm.h".
68320         (PARMS): Do not use macros from bp-asm.h.
68321         (S1): Likewise.
68322         (S2): Likewise.
68323         (SIZE): Likewise.
68324         (__mpn_add_n): Do not use BP_SYM.
68325         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
68326         weak_alias.
68327         (bzero): Likewise.
68328         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
68329         "bp-asm.h".
68330         (PARMS): Do not use macros from bp-asm.h.
68331         (BLK2): Likewise.
68332         (LEN): Likewise.
68333         (memcmp): Do not use BP_SYM.
68334         (bcmp): Do not use BP_SYM in weak_alias.
68335         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
68336         "bp-asm.h".
68337         (PARMS): Do not use macros from bp-asm.h.
68338         (DEST): Likewise.
68339         (SRC): Likewise.
68340         (LEN): Likewise.
68341         (memcpy): Likewise.  Do not use BP_SYM.
68342         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
68343         "bp-asm.h".
68344         (PARMS): Do not use macros from bp-asm.h.
68345         (DEST): Likewise.
68346         (SRC): Likewise.
68347         (LEN): Likewise.
68348         (memmove): Likewise.  Do not use BP_SYM.
68349         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
68350         "bp-asm.h".
68351         (PARMS): Do not use macros from bp-asm.h.
68352         (DEST): Likewise.
68353         (SRC): Likewise.
68354         (LEN): Likewise.
68355         (__mempcpy): Likewise.  Do not use BP_SYM.
68356         (mempcpy): Do not use BP_SYM in weak_alias.
68357         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
68358         "bp-asm.h".
68359         (PARMS): Do not use macros from bp-asm.h.
68360         (DEST): Likewise.
68361         (LEN): Likewise.
68362         [!BZERO_P] (CHR): Likewise.
68363         (memset): Likewise.  Do not use BP_SYM.
68364         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
68365         "bp-asm.h".
68366         (PARMS): Do not use macros from bp-asm.h.
68367         (STR2): Likewise.
68368         (strcmp): Do not use BP_SYM.
68369         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
68370         "bp-asm.h".
68371         (PARMS): Do not use macros from bp-asm.h.
68372         (STR): Likewise.
68373         (DELIM): Likewise.
68374         [USE_AS_STRTOK_R] (SAVE): Likewise.
68375         (FUNCTION): Likewise.  Do not use BP_SYM.
68376         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
68377         aliases.
68378         (strtok_r): Likewise.
68379         (__GI___strtok_r): Likewise.
68380         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68381         (PARMS): Do not use macros from bp-asm.h.
68382         (S): Likewise.
68383         (SIZE): Likewise.
68384         (__mpn_lshift): Do not use BP_SYM.
68385         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68386         (PARMS): Do not use macros from bp-asm.h.
68387         (STR): Likewise.
68388         (CHR): Likewise.
68389         (__memchr): Do not use BP_SYM.
68390         (memchr): Do not use BP_SYM in weak_alias.
68391         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68392         (PARMS): Do not use macros from bp-asm.h.
68393         (BLK2): Likewise.
68394         (LEN): Likewise.
68395         (memcmp): Do not use BP_SYM.
68396         (bcmp): Do not use BP_SYM in weak_alias.
68397         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
68398         (PARMS): Do not use macros from bp-asm.h.
68399         (S1): Likewise.
68400         (SIZE): Likewise.
68401         (__mpn_mul_1): Do not use BP_SYM.
68402         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
68403         "bp-asm.h".
68404         (PARMS): Do not use macros from bp-asm.h.
68405         (STR): Likewise.
68406         (CHR): Likewise.
68407         (__rawmemchr): Do not use BP_SYM.
68408         (rawmemchr): Do not use BP_SYM in weak_alias.
68409         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68410         (PARMS): Do not use macros from bp-asm.h.
68411         (S): Likewise.
68412         (SIZE): Likewise.
68413         (__mpn_rshift): Do not use BP_SYM.
68414         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68415         (PARMS): Do not use macros from bp-asm.h.
68416         (SIGMSK): Likewise.
68417         (__sigsetjmp): Likewise.  Do not use BP_SYM.
68418         * sysdeps/i386/start.S: Do not include "bp-sym.h".
68419         (_start): Do not use BP_SYM.
68420         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
68421         (PARMS): Do not use macros from bp-asm.h.
68422         (DEST): Likewise.
68423         (SRC): Likewise.
68424         (__stpcpy): Likewise.  Do not use BP_SYM.
68425         (stpcpy): Do not use BP_SYM in weak_alias.
68426         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
68427         "bp-asm.h".
68428         (PARMS): Do not use macros from bp-asm.h.
68429         (DEST): Likewise.
68430         (SRC): Likewise.
68431         (LEN): Likewise.
68432         (__stpncpy): Likewise.  Do not use BP_SYM.
68433         (stpncpy): Do not use BP_SYM in weak_alias.
68434         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68435         (PARMS): Do not use macros from bp-asm.h.
68436         (STR): Likewise.
68437         (CHR): Likewise.
68438         (strchr): Likewise.  Do not use BP_SYM.
68439         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
68440         "bp-asm.h".
68441         (PARMS): Do not use macros from bp-asm.h.
68442         (STR): Likewise.
68443         (CHR): Likewise.
68444         (__strchrnul): Likewise.  Do not use BP_SYM.
68445         (strchrnul): Do not use BP_SYM in weak_alias.
68446         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
68447         "bp-asm.h".
68448         (PARMS): Do not use macros from bp-asm.h.
68449         (STOP): Likewise.
68450         (strcspn): Do not use BP_SYM.
68451         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
68452         "bp-asm.h".
68453         (PARMS): Do not use macros from bp-asm.h.
68454         (STR): Likewise.
68455         (STOP): Likewise.
68456         (strpbrk): Likewise.  Do not use BP_SYM.
68457         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
68458         "bp-asm.h".
68459         (PARMS): Do not use macros from bp-asm.h.
68460         (STR): Likewise.
68461         (CHR): Likewise.
68462         (strrchr): Likewise.  Do not use BP_SYM.
68463         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
68464         (PARMS): Do not use macros from bp-asm.h.
68465         (SKIP): Likewise.
68466         (strspn): Do not use BP_SYM.
68467         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
68468         (PARMS): Do not use macros from bp-asm.h.
68469         (STR): Likewise.
68470         (DELIM): Likewise.
68471         (SAVE): Likewise.
68472         (FUNCTION): Likewise.  Do not use BP_SYM.
68473         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
68474         aliases.
68475         (strtok_r): Likewise.
68476         (__GI___strtok_r): Likewise.
68477         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68478         (PARMS): Do not use macros from bp-asm.h.
68479         (S1): Likewise.
68480         (S2): Likewise.
68481         (SIZE): Likewise.
68482         (__mpn_sub_n): Do not use BP_SYM.
68483         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
68484         "bp-asm.h".
68485         (PARMS): Do not use macros from bp-asm.h.
68486         (S1): Likewise.
68487         (SIZE): Likewise.
68488         (__mpn_submul_1): Do not use BP_SYM.
68489         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
68490         <bp-sym.h>.
68491         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
68492         and <bp-asm.h>.
68493         (PARMS): Do not use macros from bp-asm.h.
68494         (FLAGS): Likewise.
68495         (PTID): Likewise.
68496         (TLS): Likewise.
68497         (CTID): Likewise.
68498         (__clone): Do not use BP_SYM.
68499         (clone): Do not use BP_SYM in weak_alias.
68500         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
68501         and <bp-asm.h>.
68502         (PARMS): Do not use macros from bp-asm.h.
68503         (LEN): Likewise.
68504         (__mmap64): Do not use BP_SYM.
68505         (mmap64): Do not use BP_SYM in weak_alias.
68506         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
68507         <bp-sym.h> and <bp-asm.h>.
68508         (PARMS): Do not use macros from bp-asm.h.
68509         (__posix_fadvise64_l64): Do not use BP_SYM.
68510         * sysdeps/unix/sysv/linux/i386/semtimedop.S
68511         (PARMS): Do not use macros from bp-asm.h.
68512         (NSOPS): Likewise.
68513         (semtimedop): Do not use BP_SYM.
68514         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
68515         and <bp-asm.h>.
68517 2013-02-21  Allan McRae  <allan@archlinux.org>
68519         * manual/message.texi (Charset conversion in gettext):
68520         Move @end statement to beginning of line.
68522 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68524         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
68525         static.
68526         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68527         Likewise.
68529         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
68530         (denorm): Likewise.
68531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
68532         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
68534 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68536         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
68537         tail-call to the resolved function if pltexit isn't needed.
68539 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68541         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
68542         or Y being zero as being unlikely.
68543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68544         Likewise.
68546 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
68548         * manual/nss.texi (System Databases and Name Service Switch):
68549         Remove frobnicate @pxref.
68551 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
68553         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68554         __attribute__ ((unused)) to __attribute__ ((__unused__)).
68556 2013-02-20  Petr Machata  <pmachata@redhat.com>
68558         * elf/elf.h (R_ARM_TARGET1): New macro.
68559         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
68560         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
68561         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
68562         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
68563         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
68564         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
68565         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
68566         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
68567         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
68568         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
68569         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
68570         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
68571         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
68572         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
68573         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
68574         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
68575         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
68576         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
68577         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
68578         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
68579         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
68580         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
68581         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
68582         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
68583         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
68584         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
68585         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
68586         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
68587         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
68588         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
68589         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
68590         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
68591         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
68592         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
68593         (R_ARM_THM_GOT_BREL12): Likewise.
68594         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
68595         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
68596         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
68597         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
68598         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
68599         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
68600         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
68601         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
68602         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
68604 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
68606         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68607         __attribute_used__ to __attribute__ ((unused)).
68609 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68611         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
68612         powerpc mpa.c.
68613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
68614         comment formatting.
68615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
68617 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
68619         [BZ #13550]
68620         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
68621         Remove macro.
68622         (ENTER): Remove both macro definitions.
68623         (LEAVE): Likewise.
68624         (CHECK_BOUNDS_LOW): Likewise.
68625         (CHECK_BOUNDS_HIGH): Likewise.
68626         (CHECK_BOUNDS_BOTH): Likewise.
68627         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
68628         (RETURN_BOUNDED_POINTER): Likewise.
68629         (RETURN_NULL_BOUNDED_POINTER): Likewise.
68630         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
68631         (POP_ERRNO_LOCATION_RETURN): Likewise.
68632         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
68633         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68634         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
68635         macros.
68636         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68637         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
68638         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
68639         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
68640         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
68641         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
68642         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
68643         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
68644         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
68645         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
68646         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
68647         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
68648         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68649         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
68650         removed macros.
68651         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68652         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
68653         macros.
68654         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68655         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
68656         * sysdeps/i386/i586/memset.S (memset): Likewise.
68657         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
68658         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68659         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
68660         macros.
68661         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68662         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
68663         Change uses of L(2) to L(out).
68664         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
68665         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
68666         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
68667         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68668         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
68669         removed macros.
68670         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68671         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
68672         macros.
68673         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68674         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
68675         (RETURN): Do not use macro LEAVE.
68676         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
68677         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
68678         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
68679         * sysdeps/i386/i686/memset.S (memset): Likewise.
68680         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
68681         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
68682         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68683         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
68684         Likewise.
68685         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68686         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
68687         L(1_2) and L(1_3) into L(1).
68688         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
68689         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
68690         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68691         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
68692         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68693         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
68694         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
68695         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68696         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
68697         macros.
68698         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
68699         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68700         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
68701         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
68702         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
68703         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68704         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
68705         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
68706         * sysdeps/i386/strcspn.S (strcspn): Likewise.
68707         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
68708         * sysdeps/i386/strrchr.S (strrchr): Likewise.
68709         * sysdeps/i386/strspn.S (strspn): Likewise.
68710         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
68711         conditional code.
68712         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68713         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
68714         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
68715         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
68716         L(1_3) into L(1_1).
68717         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
68718         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68719         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
68720         macros.
68721         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68723 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
68725         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
68726         macro.
68728 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68730         * math/atest-exp.c (exp_mpn): Remove ROUND.
68731         * math/atest-exp2.c (exp_mpn): Likewise.
68732         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
68734         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
68735         * stdlib/tst-tls-atexit-lib.c: Likewise.
68736         * stdlib/tst-tls-atexit.c: Likewise.
68738 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68740         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
68741         and __attribute_alloc_size__.
68743 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68745         * include/programs/xmalloc.h: Change __attribute_alloc_size to
68746         __attribute_alloc_size__.
68747         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
68748         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
68750 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68752         * include/programs/xmalloc.h: New file.
68753         * catgets/gencat.c: Include it.
68754         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
68755         * elf/pldd.c: Likewise.
68756         * iconv/iconv_charmap.c: Likewise.
68757         * iconv/iconvconfig.c: Likewise.
68758         * iconv/strtab.c: Likewise.
68759         * locale/programs/locale.c: Likewise.
68760         * locale/programs/localedef.h: Likewise.
68761         * locale/programs/simple-hash.c: Likewise.
68762         * nscd/nscd.h: Likewise.
68763         * nss/makedb.c: Likewise.
68764         * sysdeps/generic/ldconfig.h: Likewise.
68766 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68768         * Versions.def: Add GLIBC_2.18.
68769         * include/link.h (struct link_map): New member l_tls_dtor_count.
68770         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
68771         (__call_tls_dtors): Likewise.
68772         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
68773         __cxa_thread_atexit_impl.
68774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68775         Likewise.
68776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68777         Likewise.
68778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
68779         Likewise.
68780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
68781         Likewise.
68782         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
68784         Likewise.
68785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
68786         Likewise.
68787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68789         Likewise.
68790         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
68791         (tests): Add test case tst-tls-atexit.
68792         (modules-names): Add shared library for tst-tls-atexit.
68793         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
68794         (GLIBC_PRIVATE): Add __call_tls_dtors.
68795         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
68796         for libstdc++.
68797         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
68798         * stdlib/tst-tls-atexit.c: New test case.
68799         * stdlib/tst-tls-atexit-lib.c: New test case.
68801         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
68803         * elf/Versions (ld): Add _dl_find_dso_for_object.
68804         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
68805         * elf/dl-open.c (_dl_find_dso_for_object): New function.
68806         (dl_open_worker): Use _dl_find_dso_for_object.
68807         * elf/dl-sym.c (do_sym): Likewise.
68808         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
68810 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68812         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
68813         Syntactic changes only.
68814         (_dl_runtime_profile): Do a tail-call to the resolved function.
68816 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
68818         [BZ #13550]
68819         * sysdeps/x86_64/bp-asm.h: Remove file.
68820         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
68821         <bp-sym.h> and <bp-asm.h>.
68822         (__clone): Do not use BP_SYM.
68823         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
68824         <bp-sym.h> and <bp-asm.h>.
68825         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68826         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
68827         "bp-asm.h".
68828         (_setjmp): Do not use BP_SYM.
68829         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
68830         "bp-asm.h".
68831         (setjmp): Do not use BP_SYM.
68832         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
68833         libc_hidden_def.
68834         (mempcpy): Do not use BP_SYM in weak_alias.
68835         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
68836         "bp-asm.h".
68837         (strchr): Do not use BP_SYM.
68838         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
68839         "bp-asm.h".
68840         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
68841         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
68842         (_start): Do not use BP_SYM.
68843         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
68844         "bp-asm.h".
68845         (strcat): Do not use BP_SYM.
68846         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
68847         "bp-asm.h".
68848         (STRCMP): Do not use BP_SYM.
68849         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
68850         "bp-asm.h".
68851         (STRCPY): Do not use BP_SYM.
68852         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
68853         "bp-asm.h".
68854         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
68855         "bp-asm.h".
68856         (FUNCTION): Do not use BP_SYM.
68857         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
68858         weak_alias.
68859         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
68861 2013-02-17  Andreas Jaeger  <aj@suse.de>
68863         * time/Versions: Sort entries.
68864         * string/Versions: Likewise.
68865         * resolv/Versions: Likewise.
68866         * posix/Versions: Likewise.
68867         * iconv/Versions: Likewise.
68868         * elf/Versions: Likewise.
68869         * wcsmbs/Versions: Likewise.
68871 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68873         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
68874         loop termination condition.
68876         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
68877         variable to calculate EZ.
68878         (__sqr): Likewise.
68880         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
68881         the lower precision input.
68883 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
68885         [BZ #13550]
68886         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
68887         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
68888         (run-via-rtld-prefix): Do not handle %-bp tests.
68889         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
68890         (all-object-suffixes): Remove .ob.
68891         (bppfx): Remove variable.
68892         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
68893         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
68894         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
68895         [$(build-bounded) = yes] (libtype.ob): Likewise.
68896         * Makerules (elide-routines.ob): Remove variable.
68897         (do-tests-clean): Do not handle *-bp.out.
68898         (common-mostlyclean): Do not handle *-bp and *-bp.out.
68899         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
68900         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
68901         (tests): Do not include $(tests-bp.out).
68902         (xtests): Do not include $(xtests-bp.out).
68903         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
68904         [$(build-bounded) = yes] ($(addprefix
68905         $(objpfx),$(binaries-bounded))): Remove rule.
68906         ($(objpfx)%-bp.out): Remove rule.
68907         * config.make.in (build-bounded): Remove variable.
68908         * crypt/Makefile [$(build-bounded) = yes]
68909         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
68910         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
68911         append to variable.
68912         [$(build-bounded) = yes] (install-lib): Likewise.
68913         [$(build-bounded) = yes] (generated): Likewise.
68914         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
68915         Remove rule.
68916         * intl/Makefile [$(build-bounded) = yes]
68917         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
68918         * math/Makefile [$(build-bounded) = yes]
68919         ($(tests:%=$(objpfx)%-bp): Likewise.
68920         * misc/Makefile [$(build-bounded) = yes]
68921         ($(objpfx)tst-tsearch-bp): Likewise.
68922         * nptl/Makeconfig (bounded-thread-library): Remove variable.
68923         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
68924         Remove dependency.
68925         * string/Makefile (o-objects.ob): Remove variable.
68926         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
68927         (CFLAGS-.ob): Remove variable.
68928         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
68929         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
68930         both definitions of variable.
68931         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
68932         (ASFLAGS-.ob): Remove variable.
68934 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
68936         [BZ #13550]
68937         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
68938         Remove __BOUNDED_POINTERS__ from condition.
68939         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
68940         * string/bits/string2.h [!__NO_STRING_INLINES &&
68941         !__BOUNDED_POINTERS__]: Likewise.
68942         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
68943         Likewise.
68944         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
68945         Remove conditional code.
68946         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
68947         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
68948         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
68949         condition.
68951         [BZ #13550]
68952         * csu/libc-start.c: Do not include <bp-sym.h>.
68953         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
68954         * elf/dl-open.c: Do not include <bp-sym.h>.
68955         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
68956         * math/fegetenv.c: Do not include <bp-sym.h>.
68957         (fegetenv): Do not use BP_SYM in versioned symbols.
68958         * nptl/sysdeps/pthread/bits/libc-lockP.h
68959         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
68960         <bp-sym.h>.
68961         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68962         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
68963         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68964         (__pthread_mutex_destroy): Likewise.
68965         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68966         (__pthread_mutex_lock): Likewise.
68967         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68968         (__pthread_mutex_trylock): Likewise.
68969         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68970         (__pthread_mutex_unlock): Likewise.
68971         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68972         (__pthread_mutexattr_init): Likewise.
68973         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68974         (__pthread_mutexattr_destroy): Likewise.
68975         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68976         (__pthread_mutexattr_settype): Likewise.
68977         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68978         (__pthread_rwlock_init): Likewise.
68979         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68980         (__pthread_rwlock_destroy): Likewise.
68981         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68982         (__pthread_rwlock_rdlock): Likewise.
68983         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68984         (__pthread_rwlock_tryrdlock): Likewise.
68985         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68986         (__pthread_rwlock_wrlock): Likewise.
68987         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68988         (__pthread_rwlock_trywrlock): Likewise.
68989         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68990         (__pthread_rwlock_unlock): Likewise.
68991         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68992         (__pthread_key_create): Likewise.
68993         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68994         (__pthread_setspecific): Likewise.
68995         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68996         (__pthread_getspecific): Likewise.
68997         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
68998         Likewise.
68999         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69000         (_pthread_cleanup_push_defer): Likewise.
69001         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69002         (_pthread_cleanup_pop_restore): Likewise.
69003         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69004         (pthread_setcancelstate): Likewise.
69005         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
69006         <bp-sym.h>.
69007         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
69008         (memchr): Do not use BP_SYM in weak_alias.
69009         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
69010         (fegetenv): Do not use BP_SYM in versioned symbols.
69011         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
69012         (fesetenv): Do not use BP_SYM in versioned symbols.
69013         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69014         (feupdateenv): Do not use BP_SYM in versioned symbols.
69015         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69016         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69017         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
69018         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
69019         (open64): Do not use BP_SYM in weak_alias.
69020         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
69021         (fegetenv): Do not use BP_SYM in versioned symbols.
69022         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
69023         (fesetenv): Do not use BP_SYM in versioned symbols.
69024         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69025         (feupdateenv): Do not use BP_SYM in versioned symbols.
69026         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
69027         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
69028         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
69029         (feraiseexcept): Do not use BP_SYM in versioned symbols.
69030         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69031         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69032         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
69033         <bp-sym.h>.
69034         (__libc_start_main): Do not use BP_SYM.
69036 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69038         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
69039         redundant return line.
69040         (norm): Likewise.
69041         (denorm): Likewise.
69042         (dbl_mp): Likewise.
69043         (sub_magnitudes): Likewise.
69044         (__add): Likewise.
69045         (__sub): Likewise.
69046         (__mul): Likewise.
69047         (__inv): Likewise.
69048         (__dvd): Likewise.
69049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
69050         (norm): Likewise.
69051         (denorm): Likewise.
69052         (dbl_mp): Likewise.
69053         (sub_magnitudes): Likewise.
69054         (__add): Likewise.
69055         (__sub): Likewise.
69056         (__mul): Likewise.
69057         (__inv): Likewise.
69058         (__dvd): Likewise.
69060         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
69061         instead of __mul.
69062         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69063         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
69064         (cc32): Likewise.
69066         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
69067         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
69068         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
69069         of __mul for squares.
69070         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
69071         function
69072         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
69073         Likewise.
69074         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
69075         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69077 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
69079         [BZ #13550]
69080         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
69081         code.
69082         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
69083         prototype or function definition.  Rename ubp_* variables and
69084         parameters.  Remove argv definitions conditional on
69085         [__BOUNDED_POINTERS__].
69086         * debug/backtrace.c (__backtrace): Do not use __unbounded.
69087         * elf/dl-runtime.c (_dl_fixup): Likewise.
69088         * include/set-hooks.h (RUN_HOOK): Likewise.
69089         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
69090         definition.
69091         * string/strcpy.c (strcpy): Do not use __unbounded.
69092         * sysdeps/generic/frame.h (struct layout): Likewise.
69093         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
69094         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
69095         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
69096         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
69097         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
69098         (__backtrace): Likewise.
69099         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
69100         use __ptrvalue.
69101         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
69102         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
69103         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
69104         Likewise.
69105         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
69106         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
69107         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
69108         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69109         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
69110         Do not use __unbounded.
69111         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
69112         Rename __unboundedrlimits parameter to rlimits in prototype.
69113         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
69114         Do not use __unbounded.
69115         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
69116         not use __ptrvalue.
69117         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69118         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
69119         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69120         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
69121         __ptrvalue or __unbounded.
69122         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
69123         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
69124         use __unbounded.
69125         (__new_msgctl): Do not use __ptrvalue.
69126         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
69127         __unbounded.
69128         (__libc_msgrcv): Do not use __ptrvalue.
69129         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
69130         startup_info): Do not use __unbounded.
69131         (__libc_start_main): Likewise.  Rename ubp_* variables and
69132         parameters.  Remove argv definitions conditional on
69133         [__BOUNDED_POINTERS__].
69134         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
69135         __ptrvalue.
69136         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
69137         use __unbounded.
69138         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
69139         or __ptrvalue.
69140         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
69141         use __unbounded.
69142         (__new_shmctl): Do not use __ptrvalue.
69143         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
69144         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
69145         Likewise.
69146         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
69147         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
69148         (__libc_sigaction): Likewise.
69149         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
69150         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
69151         Likewise.
69152         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69154 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
69156         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
69158         * string/mempcpy.c: Implement by calling memcpy.
69160 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
69162         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
69164         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
69165         evaluation.
69167         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
69168         values in the mantissa.
69170         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
69171         minimize writes to Z.
69172         (sub_magnitudes): Simplify code a bit.
69174 2013-02-12  Roland McGrath  <roland@hack.frob.com>
69176         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
69177         from the message.  The linker prefixes all warnings with that already.
69179 2013-02-12  Andreas Schwab  <schwab@suse.de>
69181         [BZ #15078]
69182         * posix/regexec.c (extend_buffers): Add parameter min_len.
69183         (check_matching): Pass minimum needed length.
69184         (clean_state_log_if_needed): Likewise.
69185         (get_subexp): Likewise.
69186         * posix/Makefile (tests): Add bug-regex34.
69187         (bug-regex34-ENV): Define.
69188         * posix/bug-regex34.c: New file.
69190         [BZ #11561]
69191         * posix/regcomp.c (parse_bracket_exp): When looking up collating
69192         elements compare against the byte sequence of it, not its name.
69193         * posix/Makefile (tests): Add bug-regex35.
69194         (bug-regex35-ENV): Define.
69195         * posix/bug-regex35.c: New file.
69197 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69199         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
69200         comment.
69201         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
69202         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
69203         (CHECK_EOL): Add undef.
69205 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
69207         * bits/stdlib-bsearch.h: New file.
69208         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
69209         * stdlib/stdlib.h: Likewise.
69211 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69213         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
69214         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
69215         declaration.
69216         * manual/search.texi (Array Search Function): Add missing const in
69217         lfind prototype.
69218         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
69219         declaration to use rlim_t.
69220         (Basic Scheduling Functions): Remove erroneous const from
69221         sched_getparam prototype.  Remove erroneous * from
69222         sched_get_priority_max and sched_get_priority_min prototypes.
69223         (Resource Usage): Fix summary @comment on vtimes to refer to
69224         sys/vtimes.h rather than vtimes.h.
69225         Add missing *s in vtimes prototype.
69226         (Limits on Resources): Fix ulimit prototype to return long int.
69227         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
69228         prototypes to use long int rather than double.
69229         (BSD Random): Fix initstate and setstate to use char *, not void *.
69230         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
69231         prototype to make second argument 'struct aiocb64 *const[]'.
69232         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
69233         (Status of AIO Operations): Remove erroneous const in aio_return and
69234         aio_return64 prototypes.
69235         (Synchronizing I/O): Fix sync prototype to return void.
69236         * manual/startup.texi (Suboptions): Remove an erroneous const in
69237         getsubopt prototype.
69238         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
69239         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
69240         use size_t rather than int.
69241         (Scanning All Users): Likewise for getpwent_r.
69242         (Setting Groups): Add missing const to setgroups prototype.
69243         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
69244         * manual/socket.texi (Host Names): Fix gethostbyaddr and
69245         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
69246         'const void *' rather than 'const char *'.
69247         (Host Address Functions): Likewise for inet_ntop.
69248         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
69249         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
69250         ssize_t for return value.
69251         (Sending Data): Likewise for send, sendto, sendmsg.
69252         (Socket Option Functions): Add a missing const in setsockopt prototype.
69253         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
69254         use wchar_t for the argument.
69255         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
69256         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
69257         take no arguments.
69258         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
69259         double/float/long double for second argument.
69260         Fix return types of significand, significandf, significandl.
69261         * manual/filesys.texi (Setting Permissions): Use mode_t for second
69262         argument in fchmod prototype.
69263         (File Owner): Use uid_t and gid_t in fchown prototype.
69264         (File Times): Add const to utimes, futimes, and lutimes prototypes.
69265         (Making Special Files): Use mode_t and dev_t in mknod prototype.
69266         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
69267         use 'const struct dirent **' as argument types to CMP function pointer
69268         argument.
69269         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
69270         (File Times): Fix summary magic @comment for struct utimbuf and utime
69271         to refer to utime.h, not time.h.
69272         * manual/string.texi (Argz Functions): Add missing const in
69273         argz_extract and argz_next prototypes.
69274         (Finding Tokens in a String): Likewise for basename.
69275         (String/Array Comparison): Fix typo in wcscasecmp prototype.
69276         (Copying and Concatenation): Fix typo in wmemmove prototype.
69277         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
69278         (Signal Stack): Remove erroneous const in sigstack prototype.
69279         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
69280         prototype.
69281         (Simple Calendar Time): Likewise for stime.
69282         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
69283         prototype.
69284         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
69285         say sys/sysctl.h instead.
69286         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
69287         and vsyslog prototypes.
69289 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69291         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
69292         Remove.
69294 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69296         * misc/sys/mman.h: Fix typo in mremap comment.
69298 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69300         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
69301         the '\0' terminator.
69303 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69305         [BZ #13550]
69306         * debug/segfault.c: Don't include <bp-checks.h>.
69307         * sysdeps/generic/bp-checks.h: Remove file.
69308         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
69309         (__GETDENTS): Don't use CHECK_N.
69310         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
69311         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
69312         (__getgroups): Don't use CHECK_N.
69313         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
69314         (setgroups): Don't use CHECK_N.
69315         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
69316         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
69317         (__libc_msgrcv): Don't use CHECK_N.
69318         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
69319         (__libc_msgsnd): Don't use CHECK_N.
69320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
69321         <bp-checks.h>.
69322         (__libc_pread): Don't use CHECK_N.
69323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
69324         include <bp-checks.h>.
69325         (__libc_pread64): Don't use CHECK_N.
69326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
69327         include <bp-checks.h>.
69328         (__libc_pwrite): Don't use CHECK_N.
69329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
69330         include <bp-checks.h>.
69331         (__libc_pwrite64): Don't use CHECK_N.
69332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
69333         <bp-checks.h>.
69334         (__libc_pread): Don't use CHECK_N.
69335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
69336         include <bp-checks.h>.
69337         (__libc_pread64): Don't use CHECK_N.
69338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
69339         include <bp-checks.h>.
69340         (__libc_pwrite): Don't use CHECK_N.
69341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
69342         include <bp-checks.h>.
69343         (__libc_pwrite64): Don't use CHECK_N.
69344         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
69345         (do_pread): Don't use CHECK_N.
69346         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
69347         (do_pread64): Don't use CHECK_N.
69348         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
69349         (do_pwrite): Don't use CHECK_N.
69350         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
69351         (do_pwrite64): Don't use CHECK_N.
69352         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
69353         (__libc_readv): Don't use CHECK_N.
69354         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
69355         (semop): Don't use CHECK_N.
69356         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
69357         <bp-checks.h>.
69358         (semtimedop): Don't use CHECK_N.
69359         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
69360         (__libc_pread): Don't use CHECK_N.
69361         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
69362         <bp-checks.h>.
69363         (__libc_pread64): Don't use CHECK_N.
69364         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
69365         <bp-checks.h>.
69366         (__libc_pwrite): Don't use CHECK_N.
69367         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
69368         <bp-checks.h>.
69369         (__libc_pwrite64): Don't use CHECK_N.
69370         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
69371         <bp-checks.h>.
69372         (__libc_msgrcv): Don't use CHECK_N.
69373         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
69374         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
69375         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
69376         (__libc_writev): Don't use CHECK_N.
69378 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69380         * string/strcpy.c: Removed unused variable.
69382         * Makeconfig (+sysdep-includes): Define with := rather than =.
69383         Use an existing include/ subdir of each sysdeps dir before it.
69385 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69387         * nscd/connection.c (register_traced_file): Comment function.
69388         [HAVE_INOTIFY] (union __inev): Define.
69389         [HAVE_INOTIFY] (inotify_check_files): New function.
69390         [HAVE_INOTIFY] (clear_db_cache): Likewise.
69391         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
69392         clear_db_cache.
69393         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
69395 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69397         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
69398         loaded if not already and that a failure is permanent.
69400 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69402         [BZ #15006]
69403         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
69404         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
69406 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69408         [BZ #13550]
69409         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
69410         (CHECK_1_NULL_OK): Likewise.
69411         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
69412         (__fxstat): Do not use CHECK_1.
69413         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
69414         <bp-checks.h>.
69415         (___fxstat64): Do not use CHECK_1.
69416         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
69417         <bp-checks.h>.
69418         (__fxstatat): Do not use CHECK_1.
69419         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
69420         <bp-checks.h>.
69421         (__fxstatat64): Do not use CHECK_1.
69422         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
69423         <bp-checks.h>.
69424         (__fxstat): Do not use CHECK_1.
69425         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
69426         <bp-checks.h>.
69427         (__fxstatat): Do not use CHECK_1.
69428         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69429         <bp-checks.h>.
69430         (__getresgid): Do not use CHECK_1.
69431         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69432         <bp-checks.h>.
69433         (__getresuid): Do not use CHECK_1.
69434         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
69435         <bp-checks.h>.
69436         (__lxstat): Do not use CHECK_1.
69437         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69438         <bp-checks.h>.
69439         (__old_msgctl): Do not use CHECK_1.
69440         (__new_msgctl): Likewise.
69441         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
69442         <bp-checks.h>.
69443         (__new_setrlimit): Do not use CHECK_1.
69444         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69445         <bp-checks.h>.
69446         (__old_shmctl): Do not use CHECK_1.
69447         (__new_shmctl): Likewise.
69448         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
69449         <bp-checks.h>.
69450         (__xstat): Do not use CHECK_1.
69451         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
69452         (__lxstat): Do not use CHECK_1.
69453         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
69454         <bp-checks.h>.
69455         (___lxstat64): Do not use CHECK_1.
69456         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
69457         (__old_msgctl): Do not use CHECK_1.
69458         (__new_msgctl): Likewise.
69459         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
69460         <bp-checks.h>.
69461         (__gettimeofday): Do not use CHECK_1.
69462         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
69463         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
69464         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
69465         <bp-checks.h>.
69466         (__gettimeofday): Do not use CHECK_1.
69467         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
69468         (__old_shmctl): Do not use CHECK_1_NULL_OK.
69469         (__new_shmctl): Do not use CHECK_1.
69470         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
69471         <bp-checks.h>.
69472         (do_sigtimedwait): Do not use CHECK_1.
69473         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
69474         <bp-checks.h>.
69475         (do_sigwaitinfo): Do not use CHECK_1.
69476         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
69477         <bp-checks.h>.
69478         (msgctl): Do not use CHECK_1.
69479         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
69480         <bp-checks.h>.
69481         (shmctl): Do not use CHECK_1.
69482         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
69483         (ustat): Do not use CHECK_1.
69484         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
69485         <bp-checks.h>.
69486         (__fxstat): Do not use CHECK_1.
69487         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
69488         <bp-checks.h>.
69489         (__fxstatat): Do not use CHECK_1.
69490         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
69491         <bp-checks.h>.
69492         (__lxstat): Do not use CHECK_1.
69493         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
69494         <bp-checks.h>.
69495         (__xstat): Do not use CHECK_1.
69496         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
69497         (__xstat): Do not use CHECK_1.
69498         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
69499         (___xstat64): Do not use CHECK_1.
69501         [BZ #13550]
69502         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
69503         definitions.
69504         (CHECK_BOUNDS_HIGH): Likewise.
69505         * string/strcpy.c: Do not include <bp-checks.h>.
69506         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
69508 2013-02-07  Roland McGrath  <roland@hack.frob.com>
69510         * nscd/nscd-client.h (__nscd_drop_map_ref):
69511         Add __attribute__ ((unused)).
69512         * nis/nss-nisplus.h (niserr2nss): Likewise.
69514         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
69515         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
69517         * csu/libc-tls.c (init_static_tls, init_slotinfo):
69518         Remove inline keyword.
69519         * include/rounding-mode.h (round_away): Likewise.
69520         * libio/wfileops.c (adjust_wide_data): Likewise.
69521         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
69522         (__m128i_strloadu_tolower): Likewise.
69523         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
69524         (__m128i_strloadu_tolower): Likewise.
69525         * time/mktime.c (ydhms_diff): Likewise.
69526         * locale/elem-hash.h (elem_hash): Likewise.
69527         * locale/setlocale.c (setdata): Likewise.
69528         * posix/regex_internal.h (re_string_char_size_at): Likewise.
69529         (re_string_wchar_at): Likewise.
69530         (bitset_not, bitset_merge, bitset_mask): Likewise.
69531         [!(__GNUC__ > 3)] (inline): Remove macro.
69532         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
69533         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
69534         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
69535         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
69536         * string/memcmp.c (memcmp_bytes): Likewise.
69537         * locale/programs/locarchive.c (compute_hashval): Likewise.
69538         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
69539         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
69540         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
69541         * nss/getent.c (print_rpc, print_protocols): Likewise.
69542         (print_passwd, print_group, print_aliases): Likewise.
69543         * nis/nss-nisplus.h (niserr2nss): Likewise.
69544         * nscd/connections.c (restart_p): Likewise.
69545         Change return type to bool.
69547 2013-02-05  Roland McGrath  <roland@hack.frob.com>
69549         * Makeconfig (all-Depend-files): Add existing
69550         $(sorted-subdirs:=/Depend) files.
69551         (all-subdirs): Remove nss.
69552         * sysdeps/unix/inet/Subdirs: Add it here instead.
69553         * hesiod/Depend: New file.
69555         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
69556         instead of calling alloca.
69558         * io/lseek.c (__lseek): Rename to __libc_lseek.
69559         Define __lseek as an alias.
69561         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
69563 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
69565         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
69566         else clause and remove check for non-standard endianness.
69568 2013-02-04  David S. Miller  <davem@davemloft.net>
69570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69572 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
69574         [BZ #13550]
69575         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
69576         (__ubp_memchr): Remove prototype.
69577         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
69578         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69579         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
69580         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69581         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
69582         Remove alias.
69583         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
69584         (__ubp_memchr): Likewise.
69585         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
69586         (__ubp_memchr): Likewise.
69587         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
69588         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
69589         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
69590         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
69591         CHECK_STRING.
69592         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
69593         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
69594         (__getcwd): Do not use CHECK_STRING.
69595         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69596         <bp-checks.h>.
69597         (__real_chown): Do not use CHECK_STRING.
69598         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
69599         <bp-checks.h>.
69600         (fchownat): Do not use CHECK_STRING.
69601         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
69602         CHECK_STRING.
69603         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69604         <bp-checks.h>.
69605         (__lchown): Do not use CHECK_STRING.
69606         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69607         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69608         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69609         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
69610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69611         include <bp-checks.h>.
69612         (truncate64): Do not use CHECK_STRING.
69613         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69614         <bp-checks.h>.
69615         (__real_chown): Do not use CHECK_STRING.
69616         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69617         <bp-checks.h>.
69618         (__lchown): Do not use CHECK_STRING.
69619         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69620         <bp-checks.h>.
69621         (__chown): Do not use CHECK_STRING.
69622         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
69623         <bp-checks.h>.
69624         (truncate64): Do not use CHECK_STRING.
69625         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
69626         Likewise.
69627         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
69628         (__xmknod): Do not use CHECK_STRING.
69629         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
69630         <bp-checks.h>.
69631         (__xmknodat): Do not use CHECK_STRING.
69632         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69633         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
69635 2013-02-04  Andreas Schwab  <schwab@suse.de>
69637         [BZ #14142]
69638         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
69639         * include/netdb.h: Likewise for h_errno.
69640         * elf/tst-stackguard1.c: Include <tls.h>.
69642 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
69644         * elf/link.h (struct link_map): Extend the l_addr comment.
69645         * include/link.h (struct link_map): Likewise.
69647 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
69649         [BZ #13550]
69650         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
69651         (BOUNDED_1): Remove macro.
69652         * debug/backtrace.c: Don't include <bp-checks.h>.
69653         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
69654         (__backtrace): Likewise.
69655         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
69656         <bp-checks.h>.
69657         (__backtrace): Don't use BOUNDED_1.
69658         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
69659         <bp-checks.h>.
69660         (__backtrace): Don't use BOUNDED_1.
69661         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
69662         (__backtrace): Don't use BOUNDED_1.
69663         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
69664         (shmat): Don't use BOUNDED_N.
69666 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
69668         [BZ #13550]
69669         * sysdeps/generic/bp-start.h: Remove file.
69670         * csu/libc-start.c: Don't include <bp-start.h>.
69671         (LIBC_START_MAIN): Set up __environ directly instead of using
69672         INIT_ARGV_and_ENVIRON.
69673         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
69674         <bp-start.h>.
69676         [BZ #13550]
69677         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
69678         definitions.
69679         (CHECK_FCNTL): Likewise.
69680         (CHECK_N_PAGES): Likewise.
69682         [BZ #13550]
69683         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
69684         definitions.
69685         (CHECK_SIGSET_NULL_OK): Likewise.
69686         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
69687         <bp-checks.h>.
69688         (sigpending): Don't use CHECK_SIGSET.
69689         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
69690         <bp-checks.h>.
69691         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69692         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
69693         <bp-checks.h>.
69694         (do_sigsuspend): Don't use CHECK_SIGSET.
69695         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
69696         use CHECK_SIGSET.
69697         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
69698         (do_sigwait): Don't use CHECK_SIGSET.
69699         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
69700         use CHECK_SIGSET.
69701         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
69702         include <bp-checks.h>.
69703         (sigpending): Don't use CHECK_SIGSET.
69704         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
69705         include <bp-checks.h>.
69706         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69707         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
69708         <bp-checks.h>.
69709         (sigpending): Don't use CHECK_SIGSET.
69710         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
69711         <bp-checks.h>.
69712         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69714         [BZ #13550]
69715         * sysdeps/generic/bp-semctl.h: Remove file.
69716         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
69717         <bp-checks.h> and <bp-semctl.h>.
69718         (__old_semctl): Don't use CHECK_SEMCTL.
69719         (__new_semctl): Likewise.
69720         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
69721         and <bp-semctl.h>.
69722         (__old_semctl): Don't use CHECK_SEMCTL.
69723         (__new_semctl): Likewise.
69724         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
69725         <bp-checks.h> and <bp-semctl.h>.
69726         (__old_semctl): Don't use CHECK_SEMCTL.
69727         (__new_semctl): Likewise.
69728         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
69729         <bp-checks.h> and <bp-semctl.h>.
69730         (semctl): Don't use CHECK_SEMCTL.
69732         [BZ #13550]
69733         * Makerules (elide-bp-thunks): Remove variable.
69734         (elide-routines.oS): Don't use $(elide-bp-thunks).
69735         (elide-routines.os): Likewise.
69736         (elide-routines.o): Likewise.
69737         (elide-routines.op): Likewise.
69738         (elide-routines.og): Likewise.
69739         (objects): Don't use $(bp-thunks).
69740         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
69741         include.
69742         (common-generated): Do not add s-proto-bp.d.
69743         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
69744         (int): Likewise.
69745         (typ): Likewise.
69746         Do not generate makefile rules for bounded-pointer thunks.
69747         * sysdeps/generic/bp-thunks.h: Remove file.
69748         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
69749         * sysdeps/unix/s-proto-bp.S: Likewise.
69751         [BZ #15062]
69752         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
69753         parts of result separately when argument is not close to line from
69754         -i to i and one part of argument is small.
69755         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69756         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69757         * math/libm-test.inc (cacos_test): Add more tests.
69758         (casin_test): Likewise.
69759         (casinh_test): Likewise.
69760         * sysdeps/i386/fpu/libm-test-ulps: Update.
69761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69763 2013-01-31  David S. Miller  <davem@davemloft.net>
69765         * po/de.po: Update from translation team.
69767 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
69769         * time/tzfile.c: Include stdint.h for SIZE_MAX.
69771 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
69773         * configure.in (_AC_PROG_CC_C89): New definition.
69774         * configure: Regenerate.
69776         * configure.in (AC_PROG_CPP): New definition.
69777         * configure: Regenerate.
69779 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
69781         * debug/tst-backtrace.h: New file.
69782         * debug/tst-backtrace2.c: Include tst-backtrace.h.
69783         (ret): Remove variable.
69784         (x): Likewise.
69785         (FAIL): Remove macro.
69786         (NO_INLINE): Likewise.
69787         (fn1): Use match function instead of strstr.
69788         * debug/tst-backtrace3.c: Include tst-backtrace.h.
69789         (ret): Remove variable.
69790         (x): Likewise.
69791         (FAIL): Remove macro.
69792         (NO_INLINE): Likewise.
69793         (fn): Use match function instead of strstr.
69794         * debug/tst-backtrace4.c: Include tst-backtrace.h.
69795         (ret): Remove variable.
69796         (x): Likewise.
69797         (FAIL): Remove macro.
69798         (NO_INLINE): Likewise.
69799         (handle_signal): Use match function instead of strstr.
69800         * debug/tst-backtrace5.c: Include tst-backtrace.h.
69801         (ret): Remove variable.
69802         (x): Likewise.
69803         (FAIL): Remove macro.
69804         (NO_INLINE): Likewise.
69805         (handle_signal): Use match function instead of strstr.
69807 2013-01-23  Roland McGrath  <roland@hack.frob.com>
69809         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
69811 2013-01-23  David S. Miller  <davem@davemloft.net>
69813         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
69814         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
69815         argument of CAS if possible.
69816         * sysdeps/sparc/sparc64/bits/atomic.h
69817         (__arch_compare_and_exchange_val_32_acq): Likewise.
69818         (__arch_compare_and_exchange_val_64_acq): Likewise.
69820 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
69822         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
69823         * sysdeps/posix/ulimit.c: ... this.
69824         Include <limits.h>.
69825         * sysdeps/unix/bsd/ulimit.c: Remove file.
69827 2013-01-23  Adam Conrad  <adconrad@0c3.net>
69829         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
69830         (LDFLAGS-tst-array5): Likewise.
69832 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
69834         [BZ #15036]
69835         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
69836         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
69837         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
69838         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
69840 2013-01-21  David S. Miller  <davem@davemloft.net>
69842         * sysdeps/sparc/backtrace.c: New file.
69843         * sysdeps/sparc/sparc32/backtrace.h: New file.
69844         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
69845         * sysdeps/sparc/sparc64/backtrace.h: New file.
69846         * sysdeps/sparc/sparc64/backtrace.c: Delete.
69847         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
69848         -funwind-tables.
69850 2013-01-21  Andreas Schwab  <schwab@suse.de>
69852         [BZ #15020]
69853         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
69854         closed its stdout.
69856 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
69858         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
69859         "mpa2.h".
69860         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69862 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
69863             Mark Mitchell  <mark@codesourcery.com>
69864             Tom de Vries  <tom@codesourcery.com>
69865             Paul Pluzhnikov  <ppluzhnikov@google.com>
69867         * debug/tst-backtrace2.c: New file.
69868         * debug/tst-backtrace3.c: Likewise.
69869         * debug/tst-backtrace4.c: Likewise.
69870         * debug/tst-backtrace5.c: Likewise.
69871         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
69872         (CFLAGS-tst-backtrace3.c): Likewise.
69873         (CFLAGS-tst-backtrace4.c): Likewise.
69874         (CFLAGS-tst-backtrace5.c): Likewise.
69875         (LDFLAGS-tst-backtrace2): Likewise.
69876         (LDFLAGS-tst-backtrace3): Likewise.
69877         (LDFLAGS-tst-backtrace4): Likewise.
69878         (LDFLAGS-tst-backtrace5): Likewise.
69879         (tests): Add new tests tst-backtrace2, tst-backtrace3,
69880         tst-backtrace4 and tst-backtrace5.
69882 2013-01-18  Anton Blanchard  <anton@samba.org>
69883             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69885         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
69886         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
69887         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
69888         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
69889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69890         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
69891         "+r" and remove output regs list as redundant.  Add explicit inline
69892         asm to specify register of return val to work around compiler codegen
69893         bug.  Remove (int) cast on return value.  Add return type parameter to
69894         use in macro so that this macro does not truncate return value for
69895         64-bit values.
69896         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
69897         pass to INTERNAL_VSYSCALL_NCS.
69898         (INLINE_VSYSCALL): Add 'long int' as return type to
69899         INTERNAL_VSYSCALL_NCS macro invocation.
69900         (INTERNAL_VSYSCALL): Add 'long int' as return type to
69901         INTERNAL_VSYSCALL_NCS macro invocation.
69902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69904 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69906         [BZ #14496]
69907         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
69908         Fix application of SIMD FP exception mask.
69910         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
69911         mp_no from a power of two.
69912         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
69913         __mpexp_twomm1.  Use __pow_mp.
69915         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
69916         multiplication.
69918 2013-01-17  David S. Miller  <davem@davemloft.net>
69920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69922 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69924         [BZ #15023]
69925         * include/complex.h: Condition contents on [!_COMPLEX_H].
69926         (__kernel_casinhf): New prototype.
69927         (__kernel_casinh): Likewise.
69928         (__kernel_casinhl): Likewise.
69929         * math/Makefile (libm_calls): Add k_casinh.
69930         * math/k_casinh.c: New file.
69931         * math/k_casinhf.c: Likewise.
69932         * math/k_casinhl.c: Likewise.
69933         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
69934         finite nonzero arguments.
69935         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
69936         finite nonzero arguments.
69937         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
69938         finite nonzero arguments.
69939         * math/s_casinh.c: Do not include <float.h>.
69940         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
69941         * math/s_casinhf.c: Do not include <float.h>.
69942         (__casinhf): Move code for finite nonzero arguments to
69943         k_casinhf.c.
69944         * math/s_casinhl.c: Do not include <float.h>.
69945         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
69946         redefine.
69947         (__casinhl): Move code for finite nonzero arguments to
69948         k_casinhl.c.
69949         * math/libm-test.inc (cacos_test): Add more tests.
69950         * sysdeps/i386/fpu/libm-test-ulps: Update.
69951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69953 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
69955         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
69956         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
69957         [!HAVE_MREMAP]: Remove [defined linux] case.
69958         * malloc/arena.c: Do not include <malloc-sysdep.h>.
69960 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
69962         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
69964 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
69966         * elf/elf.h (R_386_SIZE32): New relocation.
69967         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
69968         R_386_SIZE32.
69969         (elf_machine_rela): Likewise.
69970         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69971         R_X86_64_SIZE64 and R_X86_64_SIZE32.
69973 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69975         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
69976         (FP_FAST_FMA): Do not define.
69977         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
69978         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
69979         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
69980         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
69981         !_SOFT_FLOAT]: Likewise.
69982         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
69983         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
69984         value.
69985         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
69986         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
69987         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
69988         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
69989         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
69990         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
69991         file.
69993 2013-01-16  Andreas Schwab  <schwab@suse.de>
69995         [BZ #14327]
69996         * include/stdlib.h (__mktemp): Add declaration.
69997         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
69998         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
70000 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70002         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
70003         definitions.
70004         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70005         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
70006         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
70007         definitions here.
70008         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
70009         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
70010         definitions.
70011         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
70012         and ONE.
70013         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
70014         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
70015         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
70016         definitions.
70017         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
70018         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
70019         definitions.
70020         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70022         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
70024 2013-01-15  David S. Miller  <davem@davemloft.net>
70026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70027         trunc{,f} to libm-sysdep_routes.
70028         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
70030         file.
70031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
70032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
70033         file.
70034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
70035         file.
70036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
70037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
70038         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
70039         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
70040         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
70041         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
70042         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
70043         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
70045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70046         nearbyint{,f} to libm-sysdep_routes.
70047         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
70049         New file.
70050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
70051         file.
70052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
70053         New file.
70054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
70055         file.
70056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
70057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
70058         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
70059         file.
70060         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
70061         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
70062         file.
70063         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
70064         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
70065         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
70067         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
70068         libc_feholdexcept and libc_fesetenv.
70070 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
70072         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
70074 2013-01-14  David S. Miller  <davem@davemloft.net>
70076         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
70077         (SPARC_ASM_VIS2_IFUNC): Likewise.
70078         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
70079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
70080         use of 'siam' instruction.
70081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
70082         Likewise.
70083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
70084         Likewise.
70085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
70086         Likewise.
70087         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
70088         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
70089         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
70090         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
70091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
70092         file.
70093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
70094         file.
70095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
70096         file.
70097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
70098         file.
70099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
70100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
70101         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
70102         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
70103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
70104         new VIS2 routines.
70105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70108         Likewise.
70109         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70110         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70111         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70112         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
70114         routines to libm-sysdep_routines.
70115         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70118         fdim/fdimf to libm-sysdep_routines.
70119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
70120         file.
70121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
70122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
70123         file.
70124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
70125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
70126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
70127         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
70128         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
70129         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
70130         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
70132 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70134         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
70135         to optimize copies.
70137         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
70138         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70139         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70141         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
70142         local variable MPTWO.
70143         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70144         Likewise.
70146 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70148         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
70149         GLOB_NOESCAPE.
70151 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70153         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
70155 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70157         * manual/pattern.texi (glob_t): Document gl_flags.
70158         (glob64_t): Likewise.
70160 2013-01-11  David S. Miller  <davem@davemloft.net>
70162         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
70163         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
70164         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
70165         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
70166         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
70167         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
70168         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
70169         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
70170         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
70171         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
70172         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
70173         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
70174         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
70176         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70177         sparc V9 rather than using V8 code.
70178         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70179         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70181         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70182         Move to...
70183         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
70184         Here.
70186 2013-01-11  Roland McGrath  <roland@hack.frob.com>
70188         [BZ #14941]
70189         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
70190         not in the main loop.
70191         * configure: Regenerated.
70193 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
70195         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
70196         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
70197         to just #else.
70198         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
70199         [!__GLIBC_HAVE_LONG_LONG] case.
70200         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
70201         condition to just #else.
70202         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
70203         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
70204         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
70205         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
70206         unconditional.
70207         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
70208         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70209         #elif condition to just #else.
70210         * sysdeps/unix/sysv/linux/sys/sysmacros.h
70211         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
70212         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70213         #elif condition to just #else.
70215 2013-01-11  Steve Ellcey  <sellcey@mips.com>
70217         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
70218         (EF_MIPS_ARCH_64): Fix value.
70219         (EF_MIPS_ARCH_32R2): New.
70220         (EF_MIPS_ARCH_64R2): New.
70222 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
70224         * Makeconfig (+link-pie-before-libc): New.
70225         (+link-pie-after-libc): Likewise.
70226         (+link-pie-tests): Likewise.
70227         (+link-pie): Rewritten.
70228         (link-before-libc): Remove $(config-LDFLAGS).
70229         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
70230         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
70231         (config-LDFLAGS): Renamed to ...
70232         (rtld-LDFLAGS): This.
70233         (rtld-tests-LDFLAGS): New macro.
70234         (link-libc-rpath-link): Likewise.
70235         (link-libc-tests-rpath-link): Likewise.
70236         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
70237         (link-libc): Prepand $(link-libc-rpath-link).
70238         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
70239         (test-program-prefix): New macro.
70240         (test-via-rtld-prefix): Likewise.
70241         (test-program-cmd): Likewise.
70242         (host-test-program-cmd): Likewise.
70243         * Makefile ($(common-objpfx)testrun.sh): Replace
70244         $(run-program-prefix) with $(test-program-prefix).
70245         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
70246         $(rtld-LDFLAGS).
70247         ($(common-objpfx)shlib.lds): Likewise.
70248         (build-module-helper): Likewise.
70249         ($(common-objpfx)format.lds): Likewise.
70250         * Rules (binaries-pie-tests): New.
70251         (binaries-pie-notests): Likewise.
70252         (binaries-pie): Rewritten.
70253         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
70254         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
70255         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
70256         (make-test-out): Replace $(host-built-program-cmd) with
70257         $(host-test-program-cmd).
70258         * config.make.in (build-hardcoded-path-in-tests): New variable.
70259         * configure.in (--enable-hardcoded-path-in-tests): New configure
70260         option.
70261         (hardcoded_path_in_tests): New AC_SUBST.
70262         * configure: Regenerated.
70263         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
70264         $(built-program-cmd) with $(test-program-cmd).
70265         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
70266         (test_program_cmd): This.
70267         * elf/Makefile ($(objpfx)order.out): Run test with
70268         $(test-program-prefix).
70269         ($(objpfx)order2.out): Likewise.
70270         ($(objpfx)tst-initorder.out): Likewise.
70271         ($(objpfx)tst-initorder2.out): Likewise.
70272         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
70273         $(test-program-cmd).
70274         ($(objpfx)tst-array1-static.out): Likewise.
70275         ($(objpfx)tst-array2.out): Likewise.
70276         ($(objpfx)tst-array3.out): Likewise.
70277         ($(objpfx)tst-array4.out): Likewise.
70278         ($(objpfx)tst-array5.out): Likewise.
70279         ($(objpfx)tst-array5-static.out): Likewise.
70280         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
70281         $(test-program-cmd).
70282         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
70283         $(run-program-prefix) with $(test-program-prefix).
70284         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
70285         (test_program_prefix): This.
70286         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
70287         $(run-program-prefix) with $(test-program-prefix).
70288         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
70289         (test_program_prefix): This.
70290         * iconvdata/tst-tables.sh: Likewise.
70291         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
70292         $(run-program-prefix) with $(test-program-prefix).
70293         ($(objpfx)tst-translit.out): Likewise.
70294         ($(objpfx)tst-gettext2.out): Likewise.
70295         ($(objpfx)tst-gettext4.out): Likewise.
70296         ($(objpfx)tst-gettext6.out): Likewise.
70297         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
70298         (test_program_prefix): This.
70299         * intl/tst-gettext2.sh: Likewise.
70300         * intl/tst-gettext4.sh  Likewise.
70301         * intl/tst-gettext6.sh: Likewise.
70302         * intl/tst-translit.sh: Likewise.
70303         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
70304         with $(test-program-cmd).
70305         * libio/Makefile ($(objpfx)test-freopen.out): Replace
70306         $(run-program-prefix) with $(test-program-prefix).
70307         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
70308         (test_program_prefix): This.
70309         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
70310         $(run-program-prefix) with $(test-program-prefix).
70311         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
70312         (test_program_prefix): This.
70313         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
70314         * posix/Makefile ($(objpfx)globtest.out): Replace
70315         $(run-via-rtld-prefix) and $(test-wrapper) with
70316         $(test-program-prefix) and $(test-via-rtld-prefix).
70317         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
70318         $(test-program-prefix).
70319         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
70320         $(host-test-program-cmd).
70321         (tst-spawn-ARGS): Likewise.
70322         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
70323         $(test-program-prefix).
70324         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
70325         (test_via_rtld_prefix): This.
70326         (test_wrapper): Renamed to ...
70327         (test_program_prefix): This.
70328         (run_program_prefix): Replaced by test_program_prefix.
70329         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
70330         (test_program_prefix): This.
70331         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
70332         with $(host-test-program-cmd).
70333         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
70334         $(run-program-prefix) with $(test-program-prefix).
70335         ($(objpfx)tst-printf.out): Likewise.
70336         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
70337         $(test-program-cmd).
70338         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
70339         (test_program_prefix): This.
70340         * stdio-common/tst-unbputc.sh: Likewise.
70341         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
70342         $(run-program-prefix) with $(test-program-prefix).
70343         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
70344         (test_program_prefix): This.
70345         * string/Makefile ($(objpfx)tst-svc.out):  Replace
70346         $(built-program-cmd) with $(test-program-cmd).
70348 2013-01-11  Andreas Jaeger  <aj@suse.de>
70350         [BZ #15003]
70351         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
70352         value. Sync with Linux 3.7.
70354 2013-01-10  David S. Miller  <davem@davemloft.net>
70356         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
70357         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70358         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70360 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70362         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
70363         never set.
70364         * configure: Regenerated.
70366 2013-01-10  David S. Miller  <davem@davemloft.net>
70368         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70369         sparc V9 rather than using V8 code.
70370         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70371         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70373 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70375         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
70376         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
70377         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
70378         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
70379         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
70380         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
70381         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
70382         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
70383         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
70384         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
70385         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
70386         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
70387         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
70388         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
70389         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
70390         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
70391         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
70392         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
70393         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
70394         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
70395         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
70396         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
70397         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
70398         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
70399         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
70400         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
70401         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
70403 2013-01-10  David S. Miller  <davem@davemloft.net>
70405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70407 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70409         * posix/Makefile (tests-static): New variable.
70410         (tests): Add $(tests-static).
70411         (tst-exec-static-ARGS): New variable.
70412         (tst-spawn-static-ARGS): Likewise.
70413         * posix/tst-exec-static.c: New file.
70414         * posix/tst-spawn-static.c: Likewise.
70415         * posix/tst-exec.c: Support run directly.
70416         * posix/tst-spawn.c: Likewise.
70418 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
70420         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
70421         long.
70422         * math/bits/mathcalls.h (llrint): Likewise.
70423         (llround): Likewise.
70424         * stdlib/stdlib.h (struct drand48_data): Likewise.
70425         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
70426         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
70427         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
70428         Likewise.
70429         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
70430         Likewise.
70431         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
70432         (elf_greg_t): Likewise.
70433         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
70434         (__jmp_buf): Likewise.
70435         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
70436         definitions.
70437         (llrint): Likewise, for all definitions.
70438         (llrintl): Likewise.
70440         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
70441         Remove [__GNUC__] condition.
70442         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
70443         condition to just [__USE_ISOC99].
70444         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
70446 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70448         [BZ #14200]
70449         * sysdeps/unix/sysv/linux/x86/bits/environments.h
70450         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
70451         defined.
70452         (_POSIX_V6_ILP32_OFF32): Likewise.
70453         (_XBS5_ILP32_OFF32): Likewise.
70454         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
70455         (__ILP32_OFFBIG_LDFLAGS): Likewise.
70457 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
70459         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
70461         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
70462         doubles __mpexp_twomm1.  Adjust usage.
70463         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
70464         Remove.
70466 2013-01-10  Andreas Schwab  <schwab@suse.de>
70468         [BZ #14964]
70469         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
70470         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
70472 2013-01-09  David S. Miller  <davem@davemloft.net>
70474         [BZ #15003]
70475         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
70476         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
70477         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
70478         (TCP_FASTOPEN): Define.
70479         (tcp_repair_opt): New structure.
70480         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
70481         enum values.
70482         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
70483         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
70484         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
70485         (tcp_cookie_transactions): New structure.
70487 2013-01-09  Anton Blanchard  <anton@samba.org>
70489         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
70490         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
70491         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
70492         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
70494 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
70496         * include/features.h (__USE_ANSI): Remove.
70498 2013-01-09  Roland McGrath  <roland@hack.frob.com>
70500         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
70502         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
70504 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
70506         * sysdeps/s390/fpu/libm-test-ulps: Update.
70508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70510         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
70511         (__acr): Likewise.
70512         (__cpy): Likewise.
70513         (norm): Likewise.
70514         (denorm): Likewise.
70515         (__mp_dbl): Likewise.
70516         (__dbl_mp): Likewise.
70517         (add_magnitudes): Likewise.
70518         (sub_magnitudes): Likewise.
70519         (__add): Likewise.
70520         (__sub): Likewise.
70521         (__mul): Likewise.
70522         (__inv): Likewise.
70523         (__dvd): Likewise.
70524         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
70525         (__acr): Likewise.
70526         (__cpy): Likewise.
70527         (norm): Likewise.
70528         (denorm): Likewise.
70529         (__mp_dbl): Likewise.
70530         (__dbl_mp): Likewise.
70531         (add_magnitudes): Likewise.
70532         (sub_magnitudes): Likewise.
70533         (__add): Likewise.
70534         (__sub): Likewise.
70535         (__mul): Likewise.
70536         (__inv): Likewise.
70537         (__dvd): Likewise.
70538         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
70539         (__acr): Likewise.
70540         (__cpy): Likewise.
70541         (norm): Likewise.
70542         (denorm): Likewise.
70543         (__mp_dbl): Likewise.
70544         (__dbl_mp): Likewise.
70545         (add_magnitudes): Likewise.
70546         (sub_magnitudes): Likewise.
70547         (__add): Likewise.
70548         (__sub): Likewise.
70549         (__mul): Likewise.
70550         (__inv): Likewise.
70551         (__dvd): Likewise.
70553 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
70555         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
70556         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
70557         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
70558         2 && __USE_EXTERN_INLINES]: Likewise.
70560 2013-01-08  Andreas Jaeger  <aj@suse.de>
70562         [BZ #14985]
70563         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
70564         Remove.
70565         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70566         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70568 2013-01-07  Anton Blanchard  <anton@samba.org>
70570         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
70571         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
70572         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
70573         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
70574         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
70575         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70576         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
70577         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70579         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70580         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70581         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70582         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70583         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
70584         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
70585         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70586         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70587         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
70588         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
70589         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
70590         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
70591         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
70592         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70593         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
70594         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
70595         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
70596         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70597         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
70598         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
70599         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70600         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
70601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70602         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70603         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
70604         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
70605         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70606         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
70607         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70608         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
70609         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
70610         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
70611         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70612         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
70614 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
70616         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
70617         (__MALLOC_PMT): Likewise.
70618         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
70619         [__GNUC__], only on [_LIBC].
70620         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70621         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
70622         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70623         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
70624         forward declaration.
70625         (realloc_hook_ini): Likewise.
70626         (memalign_hook_ini): Likewise.
70627         (__libc_memalign): Do not use __MALLOC_PMT in variable
70628         declaration.
70629         (__libc_valloc): Likewise.
70630         (__libc_pvalloc): Likewise.
70631         (__libc_calloc): Likewise.
70632         (__posix_memalign): Likewise.
70634         [BZ #14996]
70635         * math/s_casinh.c: Include <float.h>.
70636         (__casinh): Do not do computation with squaring and square root
70637         for large arguments.
70638         * math/s_casinhf.c: Include <float.h>.
70639         (__casinhf): Do not do computation with squaring and square root
70640         for large arguments.
70641         * math/s_casinhl.c: Include <float.h>.
70642         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
70643         (__casinhl): Do not do computation with squaring and square root
70644         for large arguments.
70645         * math/libm-test.inc (casin_test): Add more tests.
70646         (casinh_test): Likewise.
70647         * sysdeps/i386/fpu/libm-test-ulps: Update.
70648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70650 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
70652         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
70653         (__x86_64_raw_data_cache_size): Likewise.
70654         (__x86_64_data_cache_size_half): Likewise.
70655         (__x86_64_raw_data_cache_size_half): Likewise.
70656         (__x86_64_shared_cache_size): Likewise.
70657         (__x86_64_raw_shared_cache_size): Likewise.
70658         (__x86_64_shared_cache_size_half): Likewise.
70659         (__x86_64_raw_shared_cache_size_half): Likewise.
70660         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
70661         to ...
70662         (__x86_data_cache_size): This.
70663         (__x86_64_raw_data_cache_size): Renamed to ...
70664         (__x86_raw_data_cache_size): This.
70665         (__x86_64_data_cache_size_half): Renamed to ...
70666         (__x86_data_cache_size_half): This.
70667         (__x86_64_raw_data_cache_size_half): Renamed to ...
70668         (__x86_raw_data_cache_size_half): This.
70669         (__x86_64_shared_cache_size): Renamed to ...
70670         (__x86_shared_cache_size): This.
70671         (__x86_64_raw_shared_cache_size): Renamed to ...
70672         (__x86_raw_shared_cache_size): This.
70673         (__x86_64_shared_cache_size_half): Renamed to ...
70674         (__x86_shared_cache_size_half): This.
70675         (__x86_64_raw_shared_cache_size_half): Renamed to ...
70676         (__x86_raw_shared_cache_size_half): This.
70677         * sysdeps/x86_64/memcpy.S: Updated.
70678         * sysdeps/x86_64/memset.S: Likewise.
70679         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
70680         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70681         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70683 2013-01-04  David S. Miller  <davem@davemloft.net>
70685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70687 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
70689         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
70690         1 to avoid redefinition warning.
70691         (__USE_GNU): Don't define.
70692         (init_signaling_nan): Protoize.
70694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70696 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
70698         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
70699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
70700         (__cpymn): Likewise.
70701         (norm): Remove commented code.
70702         (denorm): Likewise.
70703         (__mp_dbl): Likewise.
70704         (__inv): Likewise.
70705         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
70706         (__cpymn): Likewise.
70707         (norm): Remove commented code.
70708         (denorm): Likewise.
70709         (__mp_dbl): Likewise.
70710         (__inv): Likewise.
70712         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
70713         mp_no value for 1.0 and 2.0.
70714         (norm): Use RADIXI instead of radixi.d.
70715         (denorm): Likewise.
70716         (__mul): Use 0.0 instead of zero.d.
70717         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
70718         mp_no value for 1.0 and 2.0.
70719         (norm): Use RADIXI instead of radixi.d.
70720         (denorm): Likewise.
70721         (__mul): Use 0.0 instead of zero.d.
70723 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
70725         [BZ #14994]
70726         * math/s_casinh.c (__casinh): Reduce finite argument to first
70727         quadrant then set signs of results at the end.
70728         * math/s_casinhf.c (__casinhf): Likewise.
70729         * math/s_casinhl.c (__casinhl): Likewise.
70730         * math/libm-test.inc (casin_test): Add more tests.
70731         (casinh_test): Likewise.
70732         * sysdeps/i386/fpu/libm-test-ulps: Update.
70733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70735 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
70737         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
70739         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
70741         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
70742         declarations.
70743         (denorm): Likewise.
70744         (__mp_dbl): Likewise.
70745         (__inv): Likewise.
70747         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
70748         and adjust the header comment.
70750         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
70751         variable name from declaration.
70753 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
70755         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70756         Initialize COMMON_CPUID_INDEX_7 element.
70757         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
70758         (CPUID_RTM): Likewise.
70759         (HAS_RTM): Likewise.
70760         (COMMON_CPUID_INDEX_7): New enum.
70762 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
70764         [BZ #14981]
70765         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
70766         size is zero, record memory as freed.
70768 2013-01-03  Andreas Jaeger  <aj@suse.de>
70770         * po/ia.po: Add new Interlingua translation.
70772 2012-01-03  Allan McRae  <allan@archlinux.org>
70774         * locale/programs/localedef.c: Fix description of '--posix' flag.
70776 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
70778         * NEWS: Update dates in second copyright notice.
70779         * README: Update copyright dates in example.
70780         * manual/libc.texinfo: Update copyright dates.
70781         * scripts/test-installation.pl: Update copyright date in --version
70782         output.
70784         * hurd/ctty-input.c: Fix copyright notice formatting.
70785         * hurd/ctty-output.c: Likewise.
70786         * hurd/dtable.c: Likewise.
70787         * hurd/hurd-raise.c: Likewise.
70788         * hurd/hurdprio.c: Likewise.
70789         * hurd/msgportdemux.c: Likewise.
70790         * misc/sys/file.h: Likewise.
70791         * misc/sys/ioctl.h: Likewise.
70792         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
70793         * sysdeps/mach/hurd/chdir.c: Likewise.
70794         * sysdeps/mach/hurd/fchdir.c: Likewise.
70795         * sysdeps/mach/hurd/rename.c: Likewise.
70796         * sysdeps/mach/hurd/rmdir.c: Likewise.
70797         * sysdeps/mach/hurd/seekdir.c: Likewise.
70798         * sysdeps/mach/hurd/setsid.c: Likewise.
70799         * sysdeps/posix/wait3.c: Likewise.
70801         * All files with FSF copyright notices: Update copyright dates
70802         using scripts/update-copyrights.
70803         * intl/plural.c: Regenerated.
70804         * locale/programs/charmap-kw.h: Likewise.
70805         * locale/programs/locfile-kw.h: Likewise.
70807 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
70809         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
70810         four values.
70812         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
70813         calculation loop and add branch prediction.
70815         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
70816         check access beyond bounds of m1np.
70818         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70819         MPTWO.
70820         (__inv): Remove local variable MPTWO to use the global
70821         constant.
70822         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
70823         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70824         variable MPTWO.
70825         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
70826         MP3HALFS static const.
70828 2013-01-01  David S. Miller  <davem@davemloft.net>
70830         * po/ca.po: Update from translation team.
70832 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
70834         * scripts/update-copyrights: New file.
70835         * Makeconfig: Reformat copyright notice.
70836         * ctype/ctype.h: Likewise.
70837         * debug/swprintf_chk.c: Likewise.
70838         * elf/dl-cache.c: Likewise.
70839         * elf/dl-debug.c: Likewise.
70840         * elf/dl-object.c: Likewise.
70841         * grp/initgroups.c: Likewise.
70842         * hurd/Makefile: Likewise.
70843         * hurd/hurd/signal.h: Likewise.
70844         * hurd/hurdfault.c: Likewise.
70845         * hurd/hurdioctl.c: Likewise.
70846         * hurd/hurdlookup.c: Likewise.
70847         * hurd/intr-msg.c: Likewise.
70848         * iconv/gconv_open.c: Likewise.
70849         * libio/swprintf.c: Likewise.
70850         * locale/lc-ctype.c: Likewise.
70851         * locale/nl_langinfo.c: Likewise.
70852         * mach/Machrules: Likewise.
70853         * mach/Makefile: Likewise.
70854         * malloc/obstack.h: Likewise.
70855         * manual/Makefile: Likewise.
70856         * manual/tsort.awk: Likewise.
70857         * misc/bits/stab.def: Likewise.
70858         * nis/nis_print_group_entry.c: Likewise.
70859         * nis/nis_table.c: Likewise.
70860         * nis/nss_compat/compat-pwd.c: Likewise.
70861         * nis/nss_compat/compat-spwd.c: Likewise.
70862         * po/Makefile: Likewise.
70863         * posix/fnmatch.c: Likewise.
70864         * posix/regex.h: Likewise.
70865         * resolv/Makefile: Likewise.
70866         * resolv/nss_dns/dns-network.c: Likewise.
70867         * resolv/res_hconf.c: Likewise.
70868         * scripts/gen-sorted.awk: Likewise.
70869         * soft-fp/soft-fp.h: Likewise.
70870         * stdio-common/printf.h: Likewise.
70871         * stdlib/monetary.h: Likewise.
70872         * stdlib/random.c: Likewise.
70873         * stdlib/random_r.c: Likewise.
70874         * sysdeps/generic/Makefile: Likewise.
70875         * sysdeps/gnu/Makefile: Likewise.
70876         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70877         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70878         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70879         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70880         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70881         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70882         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70883         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70884         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70885         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70886         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70887         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70888         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70889         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70890         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
70891         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70892         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70893         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70894         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70895         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70896         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70897         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70898         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70899         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
70900         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
70901         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70902         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
70903         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
70904         * sysdeps/mach/hurd/errnos.awk: Likewise.
70905         * sysdeps/mach/hurd/fork.c: Likewise.
70906         * sysdeps/mach/hurd/getcwd.c: Likewise.
70907         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
70908         * sysdeps/mach/hurd/mmap.c: Likewise.
70909         * sysdeps/mach/hurd/utimes.c: Likewise.
70910         * sysdeps/mach/hurd/xmknod.c: Likewise.
70911         * sysdeps/posix/profil.c: Likewise.
70912         * sysdeps/posix/readdir_r.c: Likewise.
70913         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70914         * sysdeps/powerpc/bits/setjmp.h: Likewise.
70915         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
70916         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70918         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70919         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70920         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70921         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70922         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70923         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70924         * sysdeps/pthread/lio_listio.c: Likewise.
70925         * sysdeps/sparc/dl-procinfo.h: Likewise.
70926         * sysdeps/unix/i386/sysdep.S: Likewise.
70927         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
70928         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
70929         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
70930         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
70931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70932         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
70933         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
70934         * sysdeps/unix/sysv/linux/speed.c: Likewise.
70935         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
70936         * sysdeps/wordsize-32/divdi3.c: Likewise.
70937         * time/sys/time.h: Likewise.
70938         * wcsmbs/Makefile: Likewise.
70940 2013-01-01  David S. Miller  <davem@davemloft.net>
70942         * po/fr.po: Update from translation team.
70944         * catgets/gencat.c: Update copyright year.
70945         * csu/version.c: Likewise.
70946         * debug/catchsegv.sh: Likewise.
70947         * debug/pcprofiledump.c: Likewise.
70948         * debug/xtrace.sh: Likewise.
70949         * elf/ldconfig.c: Likewise.
70950         * elf/ldd.bash.in: Likewise.
70951         * elf/pldd.c: Likewise.
70952         * elf/sotruss.ksh: Likewise.
70953         * elf/sprof.c: Likewise.
70954         * iconv/iconv_prog.c: Likewise.
70955         * iconv/iconvconfig.c: Likewise.
70956         * locale/programs/locale.c: Likewise.
70957         * locale/programs/localedef.c: Likewise.
70958         * login/programs/pt_chown.c: Likewise.
70959         * malloc/memusage.sh: Likewise.
70960         * malloc/memusagestat.c: Likewise.
70961         * malloc/mtrace.pl: Likewise.
70962         * nscd/nscd.c: Likewise.
70963         * nss/getent.c: Likewise.
70964         * nss/makedb.c: Likewise.
70965         * posix/getconf.c: Likewise.
70967 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70969         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
70970         numbers.
70972 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
70974         * math/bits/mathcalls.h (modf): Use __nonnull.
70976 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70978         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
70979         (split): Use macro CN instead of the bare value.
70980         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
70981         could be used.
70982         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
70983         instead of the bare value.
70984         (power1): Likewise.
70986 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70988         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
70989         __ATAN_TWOM.
70990         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70992         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
70993         their values.
70994         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70995         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
70996         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
70997         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70999 2012-12-28  Andreas Jaeger  <aj@suse.de>
71001         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
71002         values are from Linux 3.7.
71004         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
71005         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
71007 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71009         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
71010         TRUE case.
71012         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
71013         (norm): Likewise.
71014         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
71015         variables with preprocessor constants.
71016         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71017         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71018         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71020 2012-12-27  Bruno Haible  <bruno@clisp.org>
71022         [BZ #14317]
71023         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
71024         only if needed.
71026 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71028         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
71029         and use variable directly.
71030         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
71032         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71033         MPONE.
71034         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
71035         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71036         variable MPONE.
71037         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
71038         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
71039         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
71040         include directive.  Remove local variable MPONE.
71041         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
71042         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
71043         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71045 2012-12-25  David S. Miller  <davem@davemloft.net>
71047         * version.h (RELEASE): Set to "development".
71048         (VERSION): Set to "2.17.90".
71049         * NEWS: Add 2.18 section.
71051 2012-12-21  David S. Miller  <davem@davemloft.net>
71053         * po/hr.po: Update from translation team.
71055 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71057         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
71059 2012-12-19  Steve Ellcey  <sellcey@mips.com>
71061         * NEWS:  Mention new memcpy for MIPS.
71063 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71065         * manual/contrib.texi (Contributors): Spelling correction.
71067 2012-12-15  David S. Miller  <davem@davemloft.net>
71069         * po/ru.po: Update from translation team.
71071 2012-12-13  David S. Miller  <davem@davemloft.net>
71073         * NEWS: Mention IFUNC testsuite enhancements.
71075         * po/pl.po: Update from translation team.
71076         * po/bg.po: Likewise.
71078         * manual/contrib.texi (Contributors): Update entries for Hongjiu
71079         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
71081 2012-12-11  David S. Miller  <davem@davemloft.net>
71083         * po/sv.po: Update from translation team.
71085         * po/vi.po: Update from translation team.
71087         * po/cs.po: Update from translation team.
71089         * po/de.po: Update from translation team.
71090         * po/eo.po: Likewise.
71091         * po/nl.po: Likewise.
71093 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
71095         [BZ #14246]
71096         * manual/argp.texi (Argp Helper Functions): Move node to follow
71097         Argp Parsing State.
71099         [BZ #14872]
71100         * manual/conf.texi (Limits on File System Capacity): Mention if
71101         terminating null is included in the max size.
71103 2012-12-10  Andreas Jaeger  <aj@suse.de>
71105         * po/cs.po: Update from translation team.
71107 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
71109         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
71110         void pointer and cast to uintptr_t.
71111         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
71112         path.
71113         * sysdeps/s390/s390-64/memcpy.S: Likewise.
71114         * sysdeps/s390/s390-64/memset.S: Likewise.
71116 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
71118         [BZ #14833]
71119         * menual/message.texi (Message Translation): Fix typos.
71120         (Helper programs for gettext): Likewise.
71122 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
71124         [BZ #14898]
71125         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
71126         Change to -1.
71128 2012-12-07  David S. Miller  <davem@davemloft.net>
71130         * po/libc.pot: Update.
71132 2012-12-07  Richard Henderson  <rth@redhat.com>
71134         [BZ #10114]
71135         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
71136         normal/normal case to before the switch.
71137         (_FP_DIV): Likewise.
71139 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
71140             Mike Frysinger  <vapier@gentoo.org>
71142         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
71143         check for __NR_fadvise64_64.
71145 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
71147         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
71148         0, not just to plain "0" as a statement.
71149         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
71150         with cw.
71152 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
71154         * NEWS: Use sourceware.org in Bugzilla URL.
71156 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
71159         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71161         * stdio-common/tst-put-error.c (do_test): Add newline to the
71162         padded test to ensure flush.
71164 2012-12-05  Jeff Law  <law@redhat.com>
71166         * sunrpc/etc.rpc (fedfs_admin): Add entry.
71168 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
71170         * README: Don't refer to ports add-on as distributed separately.
71171         Mention AArch64 in list of systems supported in the ports add-on.
71173         * LICENSES: Add more non-FSF copyright and license notices.
71175         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
71176         ((unused)).
71178         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
71180         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
71181         10000 as width of padded output.
71183 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71185         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
71187         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
71188         variable LX with __attribute__ ((unused)).
71189         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
71190         Likewise.
71191         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
71192         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71193         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
71194         with __attribute__ ((unused)).
71196 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
71198         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
71200 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71202         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
71203         (CFLAGS-nldbl-acos.c): New variable.
71204         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
71205         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
71206         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
71207         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
71208         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
71209         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
71210         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
71211         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
71212         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
71213         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
71214         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
71215         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
71216         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
71217         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
71218         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
71219         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
71220         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
71221         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
71222         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
71223         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
71224         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
71225         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
71226         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
71227         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
71228         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
71229         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
71230         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
71231         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
71232         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
71233         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
71234         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
71235         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
71236         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
71237         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
71238         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
71239         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
71240         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
71241         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
71242         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
71243         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
71244         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
71245         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
71246         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
71247         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
71248         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
71249         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
71250         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
71251         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
71252         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
71253         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
71254         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
71255         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
71256         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
71257         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
71258         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
71259         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
71260         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
71261         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
71262         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
71263         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
71264         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
71265         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
71266         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
71267         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
71268         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
71269         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
71270         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
71271         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
71272         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
71273         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
71274         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
71275         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
71276         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
71277         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
71278         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
71279         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
71280         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
71281         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
71282         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
71283         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
71284         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
71285         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
71286         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
71287         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
71288         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
71289         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
71290         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
71291         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
71292         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
71293         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
71294         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
71295         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
71296         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
71297         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
71298         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
71299         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
71300         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
71302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71303         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71305         [BZ #14914]
71306         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
71307         whole low double instead of just low 47 bits when splitting values
71308         into two parts.
71310 2012-12-03  Allan McRae  <allan@archlinux.org>
71312         * manual/stdio.texi (Predefined Printf Handlers): Remove
71313         @hsep and @vsep usage.
71315 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
71317         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
71318         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
71320 2012-12-03  Jeff Law  <law@redhat.com>
71322         * time/sys/time.h (settimeofday): Do not mark TV argument
71323         as __nonnull.
71325 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
71327         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
71328         when currently writing and seek to current position when not.
71329         * libio/Makefile (tests): Remove bug-fclose1.
71330         * libio/bug-fclose1.c: Delete.
71332 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
71334         * manual/arith.texi (feenableexcept): Fix typo.
71335         (fedisableexcept): Likewise.
71337 2012-11-30  Roland McGrath  <roland@hack.frob.com>
71339         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
71340         second, differently-typed declaration, rather than a cast.
71342 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71344         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
71345         * include/rpc/svc.h: ... here.
71347 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
71349         [BZ #13013]
71350         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
71351         depending n and resplen2 to catch cases where answer
71352         equals answerp2.
71354 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
71356         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
71357         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
71359 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
71361         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
71363 2012-11-29  Roland McGrath  <roland@hack.frob.com>
71365         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
71367 2012-11-28  Jeff Law  <law@redhat.com>
71369         [BZ #13761]
71370         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
71371         dataset_temporary.  Track alloca usage into alloca_used.
71372         If dataset is large allocate and release it via malloc/free.
71374 2012-06-04  Florian Weimer  <fweimer@redhat.com>
71376         [BZ #14197]
71377         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
71379 2012-11-28  David S. Miller  <davem@davemloft.net>
71381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71383 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71385         [BZ #14803]
71386         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
71387         of pi/2 rounded to nearest to 64 bits.
71388         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
71389         nearest to 64 bits.
71390         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
71391         bits.
71393 2012-11-28  Jeff Law <law@redhat.com>
71394             Martin Osvald <mosvald@redhat.com>
71396         [BZ #14889]
71397         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
71398         * sunrpc/svc.c: Include time.h.
71399         (__svc_accept_failed): New function.
71400         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
71401         any reason other than EINTR, call __svc_accept_failed.
71402         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
71403         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
71405 2012-11-28  Andreas Schwab  <schwab@suse.de>
71407         * scripts/abilist.awk: Also handle indirect functions in .opd
71408         section.
71410 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71412         [BZ #13881]
71413         * sysdeps/x86/fpu/powl_helper.c: New file.
71414         * sysdeps/x86/fpu/Makefile: Likewise.
71415         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
71416         (p3): New object.
71417         (__ieee754_powl): Use __powl_helper for finite arguments except
71418         integer exponents below 8.
71419         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
71420         (p3): New object.
71421         (__ieee754_powl): Use __powl_helper for finite arguments except
71422         integer exponents below 8.
71423         * math/libm-test.inc (pow_test): Add more tests and enable some
71424         previously disabled tests.
71425         * sysdeps/i386/fpu/libm-test-ulps: Update.
71426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71428 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71429             Carlos O'Donell  <carlos_odonell@mentor.com>
71431         * nss/makedb.c (is_prime): Assert that input is odd and greater
71432         than 4.  Note that fact in a comment too.
71433         (next_prime): Add 4 to input.
71435 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71437         [BZ #11741]
71438         * libio/Makefile (tests): Add test case tst-fwrite-error.
71439         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
71440         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
71441         * libio/tst-fwrite-error.c: New test case.
71443 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
71445         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
71446         before casting to void *.
71447         * include/libc-internal.h (__pointer_type): New macro.
71448         (__integer_if_pointer_type_sub): Likewise.
71449         (__integer_if_pointer_type): Likewise.
71450         (cast_to_integer): Likewise.
71451         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
71452         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
71453         before casting to atomic64_t.
71454         (atomic_exchange_acq): Likewise.
71455         (__arch_exchange_and_add_body): Likewise.
71456         (__arch_add_body): Likewise.
71457         (atomic_add_negative): Likewise.
71458         (atomic_add_zero): Likewise.
71460 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
71462         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
71463         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
71464         (add_fdes): Likewise.
71465         (linear_search_fdes): Likewise.
71466         (binary_search_unencoded_fdes): Likewise.
71468 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
71470         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
71472 2012-11-24  Adam Conrad  <adconrad@0c3.net>
71474         * configure.in: Autodetect C++ header directories.
71475         * configure: Regenerated.
71477 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
71479         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
71481 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
71483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71485 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
71487         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
71488         LDBL_MANT_DIG == 106]: Disable some tests.
71489         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71490         Likewise.
71491         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71492         Likewise.
71494         [BZ #14871]
71495         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
71496         input for small inputs.  Return +/- pi/2 for large inputs.
71497         * math/libm-test.inc (atan_test): Add more tests.
71499         * sysdeps/generic/unwind-dw2-fde-glibc.c
71500         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
71501         __attribute__ ((unused)).
71503         [BZ #14645]
71504         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
71505         x * y if x and y are nonzero and z is zero.
71507         [BZ #14811]
71508         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
71509         nonzero exponents with absolute value below 0x1p-117 to +/-
71510         0x1p-117.
71512         [BZ #14869]
71513         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
71514         up arguments below 2**-450, not just those below 2**-500.
71515         * math/libm-test.inc (hypot_test): Add another test.
71517         [BZ #14868]
71518         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
71519         Return a+b for ratio over 2**120, not 2**60.
71520         * math/libm-test.inc (hypot_test): Add another test.
71522         * math/libm-test.inc (clog_test): Use
71523         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
71524         (clog10_test): Likewise.
71526         [BZ #6778]
71527         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
71529 2012-11-22  Andreas Schwab  <schwab@suse.de>
71531         * sysdeps/i386/fpu/libm-test-ulps: Update.
71533 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
71535         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
71536         printf output with newline.
71538 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
71540         [BZ #14865]
71541         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
71542         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
71543         -z nodlopen, -z initfirst and -z execstack support.
71544         * configure: Regenerated.
71546         * elf/elf.h (DF_1_NODIRECT): New macro.
71547         (DF_1_IGNMULDEF): Likewise.
71548         (DF_1_NOKSYMS): Likewise.
71549         (DF_1_NOHDR): Likewise.
71550         (DF_1_EDITED): Likewise.
71551         (DF_1_NORELOC): Likewise.
71552         (DF_1_SYMINTPOSE): Likewise.
71553         (DF_1_GLOBAUDIT): Likewise.
71554         (DF_1_SINGLETON): Likewise.
71555         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
71556         DT_1_SUPPORTED_MASK bits.
71557         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
71559 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
71561         * sysdeps/unix/make-syscalls.sh: Document prefixes.
71563 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
71565         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
71566         macro.
71568         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
71569         (sendmmsg): Move declarations...
71570         * socket/sys/socket.h: ... here.
71571         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
71572         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
71573         include it from...
71574         * socket/recvmmsg.c: ... this new file.
71575         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
71576         (sendmmsg): Rename to __sendmmsg, create weak alias and make
71577         definition of __sendmmsg hidden.
71578         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
71579         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
71580         Move ENOSYS stub into and include it from...
71581         * socket/sendmmsg.c: ... this new file.
71582         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
71583         (sysdep_routines): Move recvmmsg and sendmmsg...
71584         * socket/Makefile (routines): ... here.
71585         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
71586         (GLIBC_PRIVATE): Add __sendmmsg.
71587         * include/sys/socket.h (__sendmmsg): Add declarations.
71588         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
71589         sendmmsg.
71591 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
71593         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
71594         variable I1 with __attribute__ ((unused)).
71595         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71597 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
71599         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
71600         DUMMY variables with __attribute__ ((unused)).
71602         * bits/byteswap.h: Include <bits/types.h>.
71603         (__bswap_64): Use __uint64_t instead of unsigned long long int.
71605 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
71607         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
71608         string_t.  Do not manually set errno.
71609         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
71610         length with __strnlen.  Make sure to both set errno and return it on
71611         failure.
71613 2012-11-19  David S. Miller  <davem@davemloft.net>
71615         With help from Joseph Myers.
71616         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
71617         very large arguments properly.
71618         * math/libm-test.inc (atan_test): New tests.
71619         (atan2_test): New tests.
71620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71621         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71623 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
71625         [BZ #14856]
71626         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
71627         Define to 3.
71629         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
71630         [POSIX] (EADDRNOTAVAIL): Likewise.
71631         [POSIX] (EAFNOSUPPORT): Likewise.
71632         [POSIX] (EALREADY): Likewise.
71633         [POSIX] (ECONNABORTED): Likewise.
71634         [POSIX] (ECONNREFUSED): Likewise.
71635         [POSIX] (ECONNRESET): Likewise.
71636         [POSIX] (EDESTADDRREQ): Likewise.
71637         [POSIX] (EDQUOT): Likewise.
71638         [POSIX] (EHOSTUNREACH): Likewise.
71639         [POSIX] (EIDRM): Likewise.
71640         [POSIX] (EISCONN): Likewise.
71641         [POSIX] (ELOOP): Likewise.
71642         [POSIX] (EMULTIHOP): Likewise.
71643         [POSIX] (ENETDOWN): Likewise.
71644         [POSIX] (ENETUNREACH): Likewise.
71645         [POSIX] (ENOBUFS): Likewise.
71646         [POSIX] (ENODATA): Likewise.
71647         [POSIX] (ENOLINK): Likewise.
71648         [POSIX] (ENOMSG): Likewise.
71649         [POSIX] (ENOPROTOOPT): Likewise.
71650         [POSIX] (ENOSR): Likewise.
71651         [POSIX] (ENOSTR): Likewise.
71652         [POSIX] (ENOTCONN): Likewise.
71653         [POSIX] (ENOTSOCK): Likewise.
71654         [POSIX] (EOPNOTSUPP): Likewise.
71655         [POSIX] (EOVERFLOW): Likewise.
71656         [POSIX] (EPROTO): Likewise.
71657         [POSIX] (EPROTONOSUPPORT): Likewise.
71658         [POSIX] (EPROTOTYPE): Likewise.
71659         [POSIX] (ESTALE): Likewise.
71660         [POSIX] (ETIME): Likewise.
71661         [POSIX] (ETXTBSY): Likewise.
71662         [POSIX] (EWOULDBLOCK): Likewise.
71663         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
71664         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
71665         [POSIX] (SEEK_CUR): Likewise.
71666         [POSIX] (SEEK_END): Likewise.
71667         [POSIX || UNIX98] (mode_t): Do not require.
71668         [POSIX] (off_t): Likewise.
71669         [POSIX] (pid_t): Likewise.
71670         [POSIX] (sys/stat.h): Do not allow header.
71671         [POSIX] (unistd.h): Likewise.
71672         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
71673         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
71674         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
71675         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
71676         require.
71677         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
71678         sigevent): Specify elements.
71679         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
71680         entry.
71681         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
71682         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
71684         * conform/data/cpio.h-data [POSIX]: Disable whole file.
71685         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
71686         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
71687         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
71688         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
71689         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
71690         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
71691         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
71692         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
71693         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
71694         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
71695         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
71696         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
71697         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
71698         Likewise.
71699         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
71700         Likewise.
71701         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
71702         Likewise.
71703         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
71704         Likewise.
71705         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
71706         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
71707         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
71708         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
71709         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
71710         Specify lower bound on value.
71711         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
71712         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
71713         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
71714         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
71715         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
71716         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
71717         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
71718         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
71719         value.
71720         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
71721         as optional.
71722         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
71723         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
71724         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
71725         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
71726         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
71727         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
71728         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
71729         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
71730         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
71731         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
71732         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
71733         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
71734         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
71735         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
71736         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
71737         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
71738         entry.
71739         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
71740         optional.
71741         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
71742         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
71743         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
71744         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
71745         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
71746         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
71747         Likewise.
71748         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
71749         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
71750         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
71751         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
71752         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
71753         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
71754         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
71755         as optional.
71756         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
71757         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
71758         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
71759         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
71760         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
71761         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
71762         specify as optional.
71763         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
71764         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
71765         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
71766         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
71767         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
71768         [XPG3] (NL_LANGMAX): Likewise.
71769         [POSIX || XPG3] (NL_MSGMAX): Likewise.
71770         [POSIX || XPG3] (NL_NMAX): Likewise.
71771         [POSIX || XPG3] (NL_SETMAX): Likewise.
71772         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
71773         [XPG3] (NZERO): Likewise.
71774         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
71775         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
71776         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
71777         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
71778         (REG_ERANGE): Expect.
71779         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
71780         optional-constant.
71781         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
71782         Use (void) in prototype.
71783         [POSIX] (*_t): Allow.
71784         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
71785         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
71786         (WRDE_BADVAL): Expect.
71788         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
71789         expect.
71790         [XPG3 || XPG4] (O_RSYNC): Likewise.
71791         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
71792         Likewise.
71793         [XPG3 || XPG4] (pthread_sigmask): Likewise.
71794         [XPG3 || XPG4] (sigqueue): Likewise.
71795         [XPG3 || XPG4] (sigtimedwait): Likewise.
71796         [XPG3 || XPG4] (sigwaitinfo): Likewise.
71797         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
71798         [XPG3 || XPG4] (vsnprintf): Likewise.
71799         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
71800         Likewise.
71801         [XPG3 || XPG4] (blksize_t): Likewise.
71802         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
71803         Likewise.
71804         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
71805         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
71806         [XPG3 || XPG4] (struct itimerspec): Likewise.
71807         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
71808         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
71809         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
71810         [XPG3 || XPG4] (clockid_t): Likewise.
71811         [XPG3 || XPG4] (timer_t): Likewise.
71812         [XPG3 || XPG4] (clock_getres): Likewise.
71813         [XPG3 || XPG4] (clock_gettime): Likewise.
71814         [XPG3 || XPG4] (clock_settime): Likewise.
71815         [XPG3 || XPG4] (nanosleep): Likewise.
71816         [XPG3 || XPG4] (timer_create): Likewise.
71817         [XPG3 || XPG4] (timer_delete): Likewise.
71818         [XPG3 || XPG4] (timer_gettime): Likewise.
71819         [XPG3 || XPG4] (timer_getoverrun): Likewise.
71820         [XPG3 || XPG4] (timer_settime): Likewise.
71821         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
71822         [XPG3 || XPG4] (getlogin_r): Likewise.
71823         [XPG3 || XPG4] (pread): Likewise.
71824         [XPG3 || XPG4] (pthread_atfork): Likewise.
71825         [XPG3 || XPG4] (pwrite): Likewise.
71827         [BZ #14835]
71828         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
71829         <bits/siginfo.h>.
71831 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
71833         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
71834         finalizing MALLSTREAM.
71836         * sysdeps/mach/hurd/syncfs.c: New file.
71838 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
71840         [BZ #14719]
71841         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
71842         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
71843         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
71844         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
71845         (_nss_dns_gethostbyname4_r): Likewise.
71846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
71847         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
71849 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
71851         [BZ #13763]
71852         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
71854 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
71856         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
71857         * elf/cache.c (print_entry): Print ",AArch64" for
71858         FLAG_AARCH64_LIB64
71860         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
71861         * elf/cache.c (print_entry): Print ",hard-float" for
71862         FLAG_ARM_LIBHF.
71864 2012-11-18  David S. Miller  <davem@davemloft.net>
71866         With help from Joseph Myers.
71867         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
71868         cutoff to 2**-13.
71869         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
71870         cutoff to 2**-25.
71871         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
71872         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
71873         small.
71874         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
71875         * math/libm-test.inc (y0_test): New tests.
71876         (y1_test): New tests.
71877         * sysdeps/i386/fpu/libm-test-ulps: Update.
71878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71881 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
71883         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
71884         64-bit targets.
71885         * configure: Regenerated.
71887 2012-11-17  David S. Miller  <davem@davemloft.net>
71889         [BZ #14811]
71890         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
71891         nonzero exponents with absolute value below 0x1p-128 to +/-
71892         0x1p-128.
71894 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
71896         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
71898         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
71900         * posix/getconf-speclist.c: New file.
71901         * posix/posix-envs.def: Likewise.
71902         * posix/confstr.c (START_ENV_GROUP): New macro.
71903         (END_ENV_GROUP): Likewise.
71904         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71905         (KNOWN_PRESENT_ENV_STRING): Likewise.
71906         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71907         (UNKNOWN_ENVIRONMENT): Likewise.
71908         (confstr): Include posix-envs.def instead of handling
71909         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
71910         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
71911         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
71912         (END_ENV_GROUP): Likewise.
71913         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71914         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71915         (UNKNOWN_ENVIRONMENT): Likewise.
71916         (__sysconf): Include posix-envs.def instead of handling associated
71917         cases directly here.
71918         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
71919         preprocessing getconf-speclist.c rather than running getconf or
71920         generating empty file.
71922 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
71924         * scripts/check-local-headers.sh: Ignore 'mach' headers.
71926 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
71928         [BZ #14672]
71929         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
71931 2012-11-16  David S. Miller  <davem@davemloft.net>
71933         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
71934         smaller than LDBL_EPSILON/2.0L, just return xm1.
71936 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
71938         * elf/tst-array1.c (init): Set constructor priority to 1000.
71939         (fini): Set destructor priority to 1000.
71940         * elf/tst-array2dep.c: Likewise.
71942 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71944         [BZ #11741]
71945         * libio/fileops.c (_IO_new_file_write): Correctly return error.
71946         (_IO_new_file_xsputn): Also return EOF if none of the input
71947         data was written when overflow failed.
71948         * libio/iopadn.c (_IO_padn): Likewise.
71949         * libio/iowpadn.c (_IO_wpadn): Likewise.
71950         * stdio-common/tst-put-error.c: Add copyright notice.
71951         (do_test): Add case for printing padded string.
71952         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
71953         _IO_padn returned error.
71954         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
71955         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
71956         return EOF.
71958 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71960         * libio/libioP.h: Add comment note that the references to C++
71961         bits are now obsolete.
71963 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71965         * math/libm-test.inc (check_complex): Use asprintf.
71967 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
71969         * debug/pcprofiledump.c (print_version): Update copyright year.
71970         * malloc/memusagestat.c (print_version): Likewise.
71972 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
71974         [BZ #14831]
71975         * elf/Makefile (tests): Add tst-audit8.
71976         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
71977         ($(objpfx)tst-audit8.out): New target.
71978         (tst-audit8-ENV): New variable.
71979         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
71980         audit if l_reloc_result is NULL.
71981         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
71982         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
71983         * elf/tst-audit8.c: New file.
71985 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71987         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
71988         * misc/Makefile (CFLAGS-select.c): Define.
71989         * posix/Makefile (CFLAGS-pause.c): Define.
71991 2012-11-13  David S. Miller  <davem@davemloft.net>
71993         * crypt/Makefile: Move test targets after toplevel Rules
71994         inclusion.  Grab any necessary sysdep routines when linking.
71995         * crypt/md5.c (md5_process_block): Remove define, we will always
71996         name it __md5_process_block.
71997         (md5_finish_ctx): Update md5_process_block call.
71998         (md5_stream): Likewise.
71999         (md5_process_bytes): Likewise.
72000         (md5_process_block): Rename to __md5_process_block and move to ...
72001         * crypt/md5-block.c: ... here.
72002         * crypt/sha256.c (sha256_process_block): Move to ...
72003         * crypt/sha256-block.c: ... here.
72004         * crypt/sha512.c (sha512_process_block): Move to ...
72005         * crypt/sha512-block.c: ... here.
72006         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
72007         path.
72008         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
72009         * sysdeps/sparc/sparc64/multiarch/Makefile
72010         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
72011         crypt subdir.
72012         (localedef-aux): Add md5 crypto assembler when in locale subdir.
72013         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
72014         multiarch changes.
72015         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
72016         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
72017         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
72018         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
72019         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
72020         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
72021         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
72022         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
72023         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
72024         file.
72025         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
72026         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
72027         file.
72028         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
72030 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
72032         * timezone/tzselect.ksh: Update from tzcode git revision
72033         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
72034         * timezone/zdump.c: Likewise.
72035         * timezone/zic.c: Likewise.
72036         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
72037         in TZVERSION setting, not $(PKGVERSION).
72038         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
72039         REPORT_BUGS_TO settings.
72041         [BZ #14838]
72042         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
72043         macro.
72045 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72047         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
72048         detection to immediately after _FP_ROUND().
72049         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
72050         bits are 0.
72052 2012-11-11  David S. Miller  <davem@davemloft.net>
72054         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
72055         inttypes.h
72056         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
72057         __close rather than their public counterparts.
72059 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
72061         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
72062         file.
72063         [UNIX98] (sem_timedwait): Do not expect.
72064         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
72065         [XPG4 || UNIX98] (sockatmark): Do not expect.
72066         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
72067         (clock_getcpuclockid): Do not expect.
72068         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
72069         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
72070         Do not expect.
72071         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
72072         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
72073         [UNIX98] (vwscanf): Likewise.
72074         [UNIX98] (vswscanf): Likewise.
72076 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
72078         * timezone/version.h: Remove file.
72079         * timezone/README: Do not refer to version.h.
72080         * timezone/Makefile ($(objpfx)zic.o): New dependency on
72081         $(objpfx)version.h.
72082         ($(objpfx)zdump.o): Likewise.
72083         ($(objpfx)version.h): New target.
72085         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
72086         2012i.
72087         * timezone/README: Don't mention modification to tzselect.ksh.
72088         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
72089         work on unmodified tzselect.ksh.  Substitute version numbers in
72090         tzselect.ksh.
72092         * Makefile (format-me): Remove.
72093         (INSTALL): Adjust indentation.  Use commands directly instead of
72094         using $(format-me).
72096         * aclocal.m4 (ACX_PKGVERSION): New macro.
72097         (ACX_BUGURL): Likewise.
72098         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
72099         (PKGVERSION): New AC_DEFINE_UNQUOTED.
72100         (REPORT_BUGS_TO): Likewise.
72101         * configure: Regenerated.
72102         * config.h.in (PKGVERSION): New macro.
72103         (REPORT_BUGS_TO): Likewise.
72104         * config.make.in (PKGVERSION): New variable.
72105         (PKGVERSION_TEXI): Likewise.
72106         (REPORT_BUGS_TO): Likewise.
72107         (REPORT_BUGS_TEXI): Likewise.
72108         * Makefile (format-me): Use -I$(common-objpfx)manual.
72109         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
72110         ($(common-objpfx)manual/%): New target.
72111         (manual/%): Remove target.
72112         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
72113         (print_version): Use PKGVERSION.
72114         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
72115         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
72116         and REPORT_BUGS_TO.
72117         ($(objpfx)xtrace): Likewise.
72118         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
72119         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
72120         (print_version): Use PKGVERSION.
72121         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
72122         (do_version): Use PKGVERSION.
72123         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
72124         REPORT_BUGS_TO.
72125         (common-ldd-rewrite): Likewise.
72126         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
72127         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
72128         (print_version): Use PKGVERSION.
72129         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
72130         * elf/pldd.c (argp_program_bug_address): Remove variable.
72131         (more_help): New function.
72132         (argp): Use more_help.
72133         (print_version): Use PKGVERSION.
72134         * elf/sln.c (main): Use PKGVERSION.
72135         (usage): Use REPORT_BUGS_TO.
72136         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
72137         (top level): Use PKGVERSION.
72138         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
72139         (print_version): Use PKGVERSION.
72140         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
72141         (print_version): Use PKGVERSION.
72142         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
72143         (print_version): Use PKGVERSION.
72144         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
72145         (print_version): Use PKGVERSION.
72146         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
72147         (print_version): Use PKGVERSION.
72148         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
72149         (print_version): Use PKGVERSION.
72150         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
72151         and BUGURL.
72152         ($(objpfx)memusage): Likewise.
72153         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
72154         (do_version): Use PKGVERSION.
72155         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
72156         (print_version): Use PKGVERSION.
72157         * malloc/mtrace.pl ($PACKAGE): Remove variable.
72158         ($PKGVERSION): New variable.
72159         ($REPORT_BUGS_TO): Likewise.
72160         (usage): Use $REPORT_BUGS_TO.
72161         (top level): Use $PKGVERSION.
72162         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
72163         ($(objpfx)pkgvers.texi): New rule.
72164         ($(objpfx)stamp-pkgvers): Likewise.
72165         * manual/install.texi: Include pkgvers.texi.
72166         (--with-pkgversion): Document new configure option.
72167         (--with-bugurl): Likewise.
72168         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
72169         than necessarily for this particular distribution.  Use
72170         REPORT_BUGS_TO for where to report bugs.
72171         * INSTALL: Regenerated.
72172         * manual/libc.texinfo: Include pkgvers.texi.
72173         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
72174         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
72175         (print_version): Use PKGVERSION.
72176         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
72177         (print_version): Use PKGVERSION.
72178         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
72179         (print_version): Use PKGVERSION.
72180         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
72181         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
72182         macro.
72183         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
72184         (print_version): Use PKGVERSION.
72185         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
72186         (print_version): Use PKGVERSION.
72187         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
72188         and PKGVERSION.
72190         * timezone/checktab.awk: Update from tzcode 2012i.
72191         * timezone/ialloc.c: Likewise.
72192         * timezone/private.h: Likewise.
72193         * timezone/scheck.c: Likewise.
72194         * timezone/tzfile.h: Likewise.
72195         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
72196         (TZVERSION): Hardcode tzcode version number.
72197         * timezone/zdump.c: Update from tzcode 2012i.
72198         * timezone/zic.c: Likewise.
72199         * timezone/version.h: New file.
72200         * timezone/README: Describe version.h.  Update upstream location.
72202         [BZ #14824]
72203         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
72204         (mktemp): Enable declaration.
72205         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
72206         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
72207         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
72208         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
72209         Likewise.
72210         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
72211         Likewise.
72212         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
72213         Likewise.
72214         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
72215         Likewise.
72216         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
72217         Likewise.
72218         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
72219         Likewise.
72221         [BZ #14821]
72222         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
72223         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
72224         for copies of such integer values.
72225         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72226         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72228 2012-11-09  Andreas Jaeger  <aj@suse.de>
72230         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
72231         definitions and declarations that are provided by
72232         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72234 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72236         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
72237         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
72238         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
72239         definition.
72241 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72243         * elf/elf.h: Update comment before AArch64 relocations.
72245 2012-11-07  David S. Miller  <davem@davemloft.net>
72247         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
72248         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72249         (__start_context): Declare.
72250         (__makecontext_ret): Delete.
72251         (__makecontext): Hook up __start_context instead of
72252         __makecontext_ret.
72253         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
72254         (sysdep_routines): Add __start_context when in stdlib.
72256 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72258         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
72259         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
72260         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
72261         hardcoded "nm".
72262         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
72263         (READELF): New variable.  Use it instead of hardcoded "readelf".
72265 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72267         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
72268         * sysdeps/x86/Makefile: Here.
72269         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
72270         * sysdeps/x86/tst-xmmymm.sh: This.
72272 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72274         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
72275         expectations.
72276         [UNIX98] (pthread_barrier_t): Do not expect.
72277         [UNIX98] (pthread_barrierattr_t): Likewise.
72278         [UNIX98] (pthread_spinlock_t): Likewise.
72279         [UNIX98] (pthread_barrier_destroy): Likewise.
72280         [UNIX98] (pthread_barrier_init): Likewise.
72281         [UNIX98] (pthread_barrier_wait): Likewise.
72282         [UNIX98] (pthread_barrierattr_destroy): Likewise.
72283         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
72284         [UNIX98] (pthread_barrierattr_init): Likewise.
72285         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
72286         [UNIX98] (pthread_getcpuclockid): Likewise.
72287         [UNIX98] (pthread_mutex_timedlock): Likewise.
72288         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
72289         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
72290         [UNIX98] (pthread_sigmask): Likewise.
72291         [UNIX98] (pthread_spin_destroy): Likewise.
72292         [UNIX98] (pthread_spin_init): Likewise.
72293         [UNIX98] (pthread_spin_lock): Likewise.
72294         [UNIX98] (pthread_spin_trylock): Likewise.
72295         [UNIX98] (pthread_spin_unlock): Likewise.
72296         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
72297         Do not expect.
72298         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
72299         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
72300         [XPG3 || XPG4] (pthread_cond_t): Likewise.
72301         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
72302         [XPG3 || XPG4] (pthread_key_t): Likewise.
72303         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
72304         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
72305         [XPG3 || XPG4] (pthread_once_t): Likewise.
72306         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
72307         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
72308         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
72309         [XPG3 || XPG4] (pthread_t): Likewise.
72311         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
72312         not expect.
72313         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
72315         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
72316         Change function return type to int.
72318         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
72319         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
72320         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
72321         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
72322         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
72323         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
72324         [!POSIX] (posix_madvise): Likewise.
72325         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
72326         && !UNIX98].
72327         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
72328         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
72329         (mode_t): Likewise.
72330         (posix_mem_offset): Likewise.
72331         (posix_typed_mem_get_info): Likewise.
72332         (posix_typed_mem_open): Likewise.
72334         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
72335         Change condition to [XOPEN2K8].
72337         * conform/conformtest.pl: Preprocess allow-header data with -x c
72338         instead of from stdin.
72339         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
72340         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
72341         [C99-based standards] (cerfc): Likewise.
72342         [C99-based standards] (cexp2): Likewise.
72343         [C99-based standards] (cexpm1): Likewise.
72344         [C99-based standards] (clog10): Likewise.
72345         [C99-based standards] (clog1p): Likewise.
72346         [C99-based standards] (clog2): Likewise.
72347         [C99-based standards] (clgamma): Likewise.
72348         [C99-based standards] (ctgamma): Likewise.
72349         [C99-based standards] (cerff): Likewise.
72350         [C99-based standards] (cerfcf): Likewise.
72351         [C99-based standards] (cexp2f): Likewise.
72352         [C99-based standards] (cexpm1f): Likewise.
72353         [C99-based standards] (clog10f): Likewise.
72354         [C99-based standards] (clog1pf): Likewise.
72355         [C99-based standards] (clog2f): Likewise.
72356         [C99-based standards] (clgammaf): Likewise.
72357         [C99-based standards] (ctgammaf): Likewise.
72358         [C99-based standards] (cerfl): Likewise.
72359         [C99-based standards] (cerfcl): Likewise.
72360         [C99-based standards] (cexp2l): Likewise.
72361         [C99-based standards] (cexpm1l): Likewise.
72362         [C99-based standards] (clog10l): Likewise.
72363         [C99-based standards] (clog1pl): Likewise.
72364         [C99-based standards] (clog2l): Likewise.
72365         [C99-based standards] (clgammal): Likewise.
72366         [C99-based standards] (ctgammal): Likewise.
72367         * conform/data/inttypes.h-data [C99-based standards]: Include
72368         stdint.h-data.  Remove all expectations for stdint.h contents.
72369         [C99-based standards] (PRI*): Do not allow.
72370         [C99-based standards] (SCN*): Likewise.
72371         [C99-based standards] (*_t): Likewise.
72372         [C99-based-standards] (PRId8): Expect macro.
72373         [C99-based-standards] (PRIi8): Likewise.
72374         [C99-based-standards] (PRIo8): Likewise.
72375         [C99-based-standards] (PRIu8): Likewise.
72376         [C99-based-standards] (PRIx8): Likewise.
72377         [C99-based-standards] (PRIX8): Likewise.
72378         [C99-based-standards] (SCNd8): Likewise.
72379         [C99-based-standards] (SCNi8): Likewise.
72380         [C99-based-standards] (SCNo8): Likewise.
72381         [C99-based-standards] (SCNu8): Likewise.
72382         [C99-based-standards] (SCNx8): Likewise.
72383         [C99-based-standards] (PRIdLEAST8): Likewise.
72384         [C99-based-standards] (PRIiLEAST8): Likewise.
72385         [C99-based-standards] (PRIoLEAST8): Likewise.
72386         [C99-based-standards] (PRIuLEAST8): Likewise.
72387         [C99-based-standards] (PRIxLEAST8): Likewise.
72388         [C99-based-standards] (PRIXLEAST8): Likewise.
72389         [C99-based-standards] (SCNdLEAST8): Likewise.
72390         [C99-based-standards] (SCNiLEAST8): Likewise.
72391         [C99-based-standards] (SCNoLEAST8): Likewise.
72392         [C99-based-standards] (SCNuLEAST8): Likewise.
72393         [C99-based-standards] (SCNxLEAST8): Likewise.
72394         [C99-based-standards] (PRIdFAST8): Likewise.
72395         [C99-based-standards] (PRIiFAST8): Likewise.
72396         [C99-based-standards] (PRIoFAST8): Likewise.
72397         [C99-based-standards] (PRIuFAST8): Likewise.
72398         [C99-based-standards] (PRIxFAST8): Likewise.
72399         [C99-based-standards] (PRIXFAST8): Likewise.
72400         [C99-based-standards] (SCNdFAST8): Likewise.
72401         [C99-based-standards] (SCNiFAST8): Likewise.
72402         [C99-based-standards] (SCNoFAST8): Likewise.
72403         [C99-based-standards] (SCNuFAST8): Likewise.
72404         [C99-based-standards] (SCNxFAST8): Likewise.
72405         [C99-based-standards] (PRId16): Likewise.
72406         [C99-based-standards] (PRIi16): Likewise.
72407         [C99-based-standards] (PRIo16): Likewise.
72408         [C99-based-standards] (PRIu16): Likewise.
72409         [C99-based-standards] (PRIx16): Likewise.
72410         [C99-based-standards] (PRIX16): Likewise.
72411         [C99-based-standards] (SCNd16): Likewise.
72412         [C99-based-standards] (SCNi16): Likewise.
72413         [C99-based-standards] (SCNo16): Likewise.
72414         [C99-based-standards] (SCNu16): Likewise.
72415         [C99-based-standards] (SCNx16): Likewise.
72416         [C99-based-standards] (PRIdLEAST16): Likewise.
72417         [C99-based-standards] (PRIiLEAST16): Likewise.
72418         [C99-based-standards] (PRIoLEAST16): Likewise.
72419         [C99-based-standards] (PRIuLEAST16): Likewise.
72420         [C99-based-standards] (PRIxLEAST16): Likewise.
72421         [C99-based-standards] (PRIXLEAST16): Likewise.
72422         [C99-based-standards] (SCNdLEAST16): Likewise.
72423         [C99-based-standards] (SCNiLEAST16): Likewise.
72424         [C99-based-standards] (SCNoLEAST16): Likewise.
72425         [C99-based-standards] (SCNuLEAST16): Likewise.
72426         [C99-based-standards] (SCNxLEAST16): Likewise.
72427         [C99-based-standards] (PRIdFAST16): Likewise.
72428         [C99-based-standards] (PRIiFAST16): Likewise.
72429         [C99-based-standards] (PRIoFAST16): Likewise.
72430         [C99-based-standards] (PRIuFAST16): Likewise.
72431         [C99-based-standards] (PRIxFAST16): Likewise.
72432         [C99-based-standards] (PRIXFAST16): Likewise.
72433         [C99-based-standards] (SCNdFAST16): Likewise.
72434         [C99-based-standards] (SCNiFAST16): Likewise.
72435         [C99-based-standards] (SCNoFAST16): Likewise.
72436         [C99-based-standards] (SCNuFAST16): Likewise.
72437         [C99-based-standards] (SCNxFAST16): Likewise.
72438         [C99-based-standards] (PRId32): Likewise.
72439         [C99-based-standards] (PRIi32): Likewise.
72440         [C99-based-standards] (PRIo32): Likewise.
72441         [C99-based-standards] (PRIu32): Likewise.
72442         [C99-based-standards] (PRIx32): Likewise.
72443         [C99-based-standards] (PRIX32): Likewise.
72444         [C99-based-standards] (SCNd32): Likewise.
72445         [C99-based-standards] (SCNi32): Likewise.
72446         [C99-based-standards] (SCNo32): Likewise.
72447         [C99-based-standards] (SCNu32): Likewise.
72448         [C99-based-standards] (SCNx32): Likewise.
72449         [C99-based-standards] (PRIdLEAST32): Likewise.
72450         [C99-based-standards] (PRIiLEAST32): Likewise.
72451         [C99-based-standards] (PRIoLEAST32): Likewise.
72452         [C99-based-standards] (PRIuLEAST32): Likewise.
72453         [C99-based-standards] (PRIxLEAST32): Likewise.
72454         [C99-based-standards] (PRIXLEAST32): Likewise.
72455         [C99-based-standards] (SCNdLEAST32): Likewise.
72456         [C99-based-standards] (SCNiLEAST32): Likewise.
72457         [C99-based-standards] (SCNoLEAST32): Likewise.
72458         [C99-based-standards] (SCNuLEAST32): Likewise.
72459         [C99-based-standards] (SCNxLEAST32): Likewise.
72460         [C99-based-standards] (PRIdFAST32): Likewise.
72461         [C99-based-standards] (PRIiFAST32): Likewise.
72462         [C99-based-standards] (PRIoFAST32): Likewise.
72463         [C99-based-standards] (PRIuFAST32): Likewise.
72464         [C99-based-standards] (PRIxFAST32): Likewise.
72465         [C99-based-standards] (PRIXFAST32): Likewise.
72466         [C99-based-standards] (SCNdFAST32): Likewise.
72467         [C99-based-standards] (SCNiFAST32): Likewise.
72468         [C99-based-standards] (SCNoFAST32): Likewise.
72469         [C99-based-standards] (SCNuFAST32): Likewise.
72470         [C99-based-standards] (SCNxFAST32): Likewise.
72471         [C99-based-standards] (PRId64): Likewise.
72472         [C99-based-standards] (PRIi64): Likewise.
72473         [C99-based-standards] (PRIo64): Likewise.
72474         [C99-based-standards] (PRIu64): Likewise.
72475         [C99-based-standards] (PRIx64): Likewise.
72476         [C99-based-standards] (PRIX64): Likewise.
72477         [C99-based-standards] (SCNd64): Likewise.
72478         [C99-based-standards] (SCNi64): Likewise.
72479         [C99-based-standards] (SCNo64): Likewise.
72480         [C99-based-standards] (SCNu64): Likewise.
72481         [C99-based-standards] (SCNx64): Likewise.
72482         [C99-based-standards] (PRIdLEAST64): Likewise.
72483         [C99-based-standards] (PRIiLEAST64): Likewise.
72484         [C99-based-standards] (PRIoLEAST64): Likewise.
72485         [C99-based-standards] (PRIuLEAST64): Likewise.
72486         [C99-based-standards] (PRIxLEAST64): Likewise.
72487         [C99-based-standards] (PRIXLEAST64): Likewise.
72488         [C99-based-standards] (SCNdLEAST64): Likewise.
72489         [C99-based-standards] (SCNiLEAST64): Likewise.
72490         [C99-based-standards] (SCNoLEAST64): Likewise.
72491         [C99-based-standards] (SCNuLEAST64): Likewise.
72492         [C99-based-standards] (SCNxLEAST64): Likewise.
72493         [C99-based-standards] (PRIdFAST64): Likewise.
72494         [C99-based-standards] (PRIiFAST64): Likewise.
72495         [C99-based-standards] (PRIoFAST64): Likewise.
72496         [C99-based-standards] (PRIuFAST64): Likewise.
72497         [C99-based-standards] (PRIxFAST64): Likewise.
72498         [C99-based-standards] (PRIXFAST64): Likewise.
72499         [C99-based-standards] (SCNdFAST64): Likewise.
72500         [C99-based-standards] (SCNiFAST64): Likewise.
72501         [C99-based-standards] (SCNoFAST64): Likewise.
72502         [C99-based-standards] (SCNuFAST64): Likewise.
72503         [C99-based-standards] (SCNxFAST64): Likewise.
72504         [C99-based-standards] (PRIdMAX): Likewise.
72505         [C99-based-standards] (PRIiMAX): Likewise.
72506         [C99-based-standards] (PRIoMAX): Likewise.
72507         [C99-based-standards] (PRIuMAX): Likewise.
72508         [C99-based-standards] (PRIxMAX): Likewise.
72509         [C99-based-standards] (PRIXMAX): Likewise.
72510         [C99-based-standards] (SCNdMAX): Likewise.
72511         [C99-based-standards] (SCNiMAX): Likewise.
72512         [C99-based-standards] (SCNoMAX): Likewise.
72513         [C99-based-standards] (SCNuMAX): Likewise.
72514         [C99-based-standards] (SCNxMAX): Likewise.
72515         [C99-based-standards] (PRIdPTR): Likewise.
72516         [C99-based-standards] (PRIiPTR): Likewise.
72517         [C99-based-standards] (PRIoPTR): Likewise.
72518         [C99-based-standards] (PRIuPTR): Likewise.
72519         [C99-based-standards] (PRIxPTR): Likewise.
72520         [C99-based-standards] (PRIXPTR): Likewise.
72521         [C99-based-standards] (SCNdPTR): Likewise.
72522         [C99-based-standards] (SCNiPTR): Likewise.
72523         [C99-based-standards] (SCNoPTR): Likewise.
72524         [C99-based-standards] (SCNuPTR): Likewise.
72525         [C99-based-standards] (SCNxPTR): Likewise.
72526         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
72527         allow.
72528         * conform/data/stdint.h-data: Update comments to clarify
72529         requirements.
72530         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
72531         type.
72532         [C99-based standards] (INT8_MAX): Likewise.
72533         [C99-based standards] (INT16_MIN): Likewise.
72534         [C99-based standards] (INT16_MAX): Likewise.
72535         [C99-based standards] (INT32_MIN): Likewise.
72536         [C99-based standards] (INT32_MAX): Likewise.
72537         [C99-based standards] (INT64_MIN): Likewise.
72538         [C99-based standards] (INT64_MAX): Likewise.
72539         [C99-based standards] (UINT8_MAX): Likewise.
72540         [C99-based standards] (UINT16_MAX): Likewise.
72541         [C99-based standards] (UINT32_MAX): Likewise.
72542         [C99-based standards] (UINT64_MAX): Likewise.
72543         [C99-based standards] (INT_LEAST8_MIN): Likewise.
72544         [C99-based standards] (INT_LEAST8_MAX): Likewise.
72545         [C99-based standards] (INT_LEAST16_MIN): Likewise.
72546         [C99-based standards] (INT_LEAST16_MAX): Likewise.
72547         [C99-based standards] (INT_LEAST32_MIN): Likewise.
72548         [C99-based standards] (INT_LEAST32_MAX): Likewise.
72549         [C99-based standards] (INT_LEAST64_MIN): Likewise.
72550         [C99-based standards] (INT_LEAST64_MAX): Likewise.
72551         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
72552         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
72553         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
72554         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
72555         [C99-based standards] (INT_FAST8_MIN): Likewise.
72556         [C99-based standards] (INT_FAST8_MAX): Likewise.
72557         [C99-based standards] (INT_FAST16_MIN): Likewise.
72558         [C99-based standards] (INT_FAST16_MAX): Likewise.
72559         [C99-based standards] (INT_FAST32_MIN): Likewise.
72560         [C99-based standards] (INT_FAST32_MAX): Likewise.
72561         [C99-based standards] (INT_FAST64_MIN): Likewise.
72562         [C99-based standards] (INT_FAST64_MAX): Likewise.
72563         [C99-based standards] (UINT_FAST8_MAX): Likewise.
72564         [C99-based standards] (UINT_FAST16_MAX): Likewise.
72565         [C99-based standards] (UINT_FAST32_MAX): Likewise.
72566         [C99-based standards] (UINT_FAST64_MAX): Likewise.
72567         [C99-based standards] (INTPTR_MIN): Likewise.
72568         [C99-based standards] (INTPTR_MAX): Likewise.
72569         [C99-based standards] (UINTPTR_MAX): Likewise.
72570         [C99-based standards] (INTMAX_MIN): Likewise.
72571         [C99-based standards] (INTMAX_MAX): Likewise.
72572         [C99-based standards] (UINTMAX_MAX): Likewise.
72573         [C99-based standards] (PTRDIFF_MIN): Likewise.
72574         [C99-based standards] (PTRDIFF_MAX): Likewise.
72575         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
72576         [C99-based standards] (SIZE_MAX): Likewise.
72577         [C99-based standards] (WCHAR_MAX): Likewise.
72578         [C99-based standards] (WINT_MAX): Likewise.
72579         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
72580         constraint on value.
72581         [C99-based standards] (WCHAR_MIN): Likewise.
72582         [C99-based standards] (WINT_MIN): Likewise.
72583         [C99-based standards] (*_t): Allow.
72584         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
72585         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
72586         Include math.h-data and complex.h-data.  Remove all expectations
72587         of math.h and complex.h contents.
72588         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
72589         at end of line.
72590         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
72591         (struct tm): Expect tag.
72592         [C99-based-standards] (wcstof): Expect function.
72593         [C99-based-standards] (wcstold): Likewise.
72594         [C99-based-standards] (wcstoll): Likewise.
72595         [C99-based-standards] (wcstoull): Likewise.
72596         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
72597         macro-int-constant.  Specify type.
72598         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
72599         constraint on value.
72600         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72601         Specify type.
72602         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
72603         Specify value.
72604         [ISO C standards]: Do not allow headers.
72605         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
72606         wcs[abcdefghijklmnopqrstuvwxyz]*.
72607         [ISO C standards] (*_t): Do not allow.
72608         * conform/data/wctype.h-data [C99-based standards] (iswblank):
72609         Expect function.
72610         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
72611         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72612         Specify type.
72613         [ISO C standards]: Do not allow headers.
72614         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
72615         is[abcdefghijklmnopqrstuvwxyz]*.
72616         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
72617         to[abcdefghijklmnopqrstuvwxyz]*.
72618         [ISO C standards] (*_t): Do not allow.
72619         * conform/data/stdalign.h-data: New file.
72620         * conform/data/stdbool.h-data: Likewise.
72621         * conform/data/stdnoreturn.h-data: Likewise.
72623 2012-11-07  Roland McGrath  <roland@hack.frob.com>
72625         [BZ #14815]
72626         * manual/filesys.texi (Directory Entries): Typo fix.
72627         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
72629 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72631         * elf/elf.h (EM_AARCH64): New macro.
72632         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
72633         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
72634         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
72635         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
72636         (R_AARCH64_TLSDESC): Likewise.
72637         (NT_ARM_TLS): Likewise.
72638         (NT_ARM_HW_BREAK): Likewise.
72639         (NT_ARM_HW_WATCH): Likewise.
72641 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72643         [BZ #14811]
72644         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
72645         (__ieee754_powl): Saturate nonzero exponents with absolute value
72646         below 0x1p-79 to +/- 0x1p-79.
72647         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
72648         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
72649         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
72650         nonzero exponents with absolute value below 0x1p-32 to +/-
72651         0x1p-32.
72652         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
72653         (__ieee754_powl): Saturate nonzero exponents with absolute value
72654         below 0x1p-79 to +/- 0x1p-79.
72655         * math/libm-test.inc (pow_test): Add more tests.
72657 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72659         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
72660         _dl_s390_cap_flags with kernel. Increase string length.
72661         (_dl_s390_platforms): Add z196 and zEC12.
72663 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72665         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
72666         Change XOPEN21K to XOPEN2K.
72668 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
72670         * string/memmove.c: Use memcpy when possible.
72672 2012-11-06  Andreas Jaeger  <aj@suse.de>
72674         * po/eo.po: Update from translation team.
72676 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
72678         [BZ #14793]
72679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
72680         exponent and small x and y exponents, scale x or y up.  Increase
72681         by 2 the exponent used in scaling up.
72682         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72683         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72684         * math/libm-test.inc (fma_test): Add more tests.
72685         (fma_test_towardzero): Likewise.
72686         (fma_test_downward): Likewise.
72687         (fma_test_upward): Likewise.
72689 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
72691         [BZ #14805]
72692         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
72693         fenv_t *.
72695         [BZ #14801]
72696         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
72697         namespace for names of struct fields.
72698         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
72699         fenv_t fields.
72700         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
72701         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
72703 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72705         [BZ #3665]
72706         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
72708 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
72710         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
72711         PTR_DEMANGLE.
72713         [BZ #5246]
72714         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
72715         PTR_DEMANGLE.
72717 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
72719         [BZ #14797]
72720         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
72721         definitely overflow as x * y not x * y + z.
72722         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72723         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72724         * math/libm-test.inc (fma_test): Add more tests.
72725         (fma_test_towardzero): Likewise.
72726         (fma_test_downward): Likewise.
72727         (fma_test_upward): Likewise.
72729 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
72731         [BZ #157]
72733         * include/stub-tag.h: Remove file.
72734         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
72735         '#include' of it.
72736         * manual/maint.texi (Porting): Don't reference it.
72737         * Makerules ($(objpfx)stubs): Likewise.
72738         * dirent/closedir.c: Don't include <stub-tag.h>.
72739         * dirent/dirfd.c: Likewise.
72740         * dirent/fdopendir.c: Likewise.
72741         * dirent/getdents.c: Likewise.
72742         * dirent/getdents64.c: Likewise.
72743         * dirent/opendir.c: Likewise.
72744         * dirent/readdir.c: Likewise.
72745         * dirent/readdir64.c: Likewise.
72746         * dirent/readdir64_r.c: Likewise.
72747         * dirent/readdir_r.c: Likewise.
72748         * dirent/rewinddir.c: Likewise.
72749         * dirent/seekdir.c: Likewise.
72750         * dirent/telldir.c: Likewise.
72751         * gmon/profil.c: Likewise.
72752         * grp/setgroups.c: Likewise.
72753         * inet/if_index.c: Likewise.
72754         * io/access.c: Likewise.
72755         * io/chdir.c: Likewise.
72756         * io/chmod.c: Likewise.
72757         * io/chown.c: Likewise.
72758         * io/close.c: Likewise.
72759         * io/dup.c: Likewise.
72760         * io/dup2.c: Likewise.
72761         * io/dup3.c: Likewise.
72762         * io/euidaccess.c: Likewise.
72763         * io/faccessat.c: Likewise.
72764         * io/fchdir.c: Likewise.
72765         * io/fchmod.c: Likewise.
72766         * io/fchmodat.c: Likewise.
72767         * io/fchown.c: Likewise.
72768         * io/fchownat.c: Likewise.
72769         * io/fcntl.c: Likewise.
72770         * io/flock.c: Likewise.
72771         * io/fstatfs.c: Likewise.
72772         * io/fstatfs64.c: Likewise.
72773         * io/fstatvfs.c: Likewise.
72774         * io/fstatvfs64.c: Likewise.
72775         * io/futimens.c: Likewise.
72776         * io/fxstat.c: Likewise.
72777         * io/fxstat64.c: Likewise.
72778         * io/fxstatat.c: Likewise.
72779         * io/fxstatat64.c: Likewise.
72780         * io/getcwd.c: Likewise.
72781         * io/isatty.c: Likewise.
72782         * io/lchmod.c: Likewise.
72783         * io/lchown.c: Likewise.
72784         * io/link.c: Likewise.
72785         * io/linkat.c: Likewise.
72786         * io/lseek.c: Likewise.
72787         * io/lseek64.c: Likewise.
72788         * io/lxstat64.c: Likewise.
72789         * io/mkdir.c: Likewise.
72790         * io/mkdirat.c: Likewise.
72791         * io/mkfifo.c: Likewise.
72792         * io/mkfifoat.c: Likewise.
72793         * io/open.c: Likewise.
72794         * io/open64.c: Likewise.
72795         * io/openat.c: Likewise.
72796         * io/openat64.c: Likewise.
72797         * io/pipe.c: Likewise.
72798         * io/pipe2.c: Likewise.
72799         * io/poll.c: Likewise.
72800         * io/posix_fadvise.c: Likewise.
72801         * io/posix_fadvise64.c: Likewise.
72802         * io/posix_fallocate.c: Likewise.
72803         * io/posix_fallocate64.c: Likewise.
72804         * io/read.c: Likewise.
72805         * io/readlink.c: Likewise.
72806         * io/readlinkat.c: Likewise.
72807         * io/rmdir.c: Likewise.
72808         * io/sendfile.c: Likewise.
72809         * io/sendfile64.c: Likewise.
72810         * io/statfs.c: Likewise.
72811         * io/statfs64.c: Likewise.
72812         * io/statvfs.c: Likewise.
72813         * io/statvfs64.c: Likewise.
72814         * io/symlink.c: Likewise.
72815         * io/symlinkat.c: Likewise.
72816         * io/ttyname.c: Likewise.
72817         * io/ttyname_r.c: Likewise.
72818         * io/umask.c: Likewise.
72819         * io/unlink.c: Likewise.
72820         * io/unlinkat.c: Likewise.
72821         * io/utime.c: Likewise.
72822         * io/utimensat.c: Likewise.
72823         * io/write.c: Likewise.
72824         * io/xmknod.c: Likewise.
72825         * io/xmknodat.c: Likewise.
72826         * io/xstat.c: Likewise.
72827         * io/xstat64.c: Likewise.
72828         * login/getpt.c: Likewise.
72829         * login/grantpt.c: Likewise.
72830         * login/unlockpt.c: Likewise.
72831         * math/e_acoshl.c: Likewise.
72832         * math/e_acosl.c: Likewise.
72833         * math/e_asinl.c: Likewise.
72834         * math/e_atan2l.c: Likewise.
72835         * math/e_atanhl.c: Likewise.
72836         * math/e_coshl.c: Likewise.
72837         * math/e_expl.c: Likewise.
72838         * math/e_fmodl.c: Likewise.
72839         * math/e_gammal_r.c: Likewise.
72840         * math/e_hypotl.c: Likewise.
72841         * math/e_j0l.c: Likewise.
72842         * math/e_j1l.c: Likewise.
72843         * math/e_jnl.c: Likewise.
72844         * math/e_lgammal_r.c: Likewise.
72845         * math/e_log10l.c: Likewise.
72846         * math/e_log2l.c: Likewise.
72847         * math/e_logl.c: Likewise.
72848         * math/e_powl.c: Likewise.
72849         * math/e_rem_pio2l.c: Likewise.
72850         * math/e_sinhl.c: Likewise.
72851         * math/e_sqrtl.c: Likewise.
72852         * math/fclrexcpt.c: Likewise.
72853         * math/fedisblxcpt.c: Likewise.
72854         * math/feenablxcpt.c: Likewise.
72855         * math/fegetenv.c: Likewise.
72856         * math/fegetexcept.c: Likewise.
72857         * math/fegetround.c: Likewise.
72858         * math/feholdexcpt.c: Likewise.
72859         * math/fesetenv.c: Likewise.
72860         * math/fesetround.c: Likewise.
72861         * math/feupdateenv.c: Likewise.
72862         * math/fgetexcptflg.c: Likewise.
72863         * math/fraiseexcpt.c: Likewise.
72864         * math/fsetexcptflg.c: Likewise.
72865         * math/ftestexcept.c: Likewise.
72866         * math/k_cosl.c: Likewise.
72867         * math/k_rem_pio2l.c: Likewise.
72868         * math/k_sinl.c: Likewise.
72869         * math/k_tanl.c: Likewise.
72870         * math/s_asinhl.c: Likewise.
72871         * math/s_atanl.c: Likewise.
72872         * math/s_cbrtl.c: Likewise.
72873         * math/s_erfl.c: Likewise.
72874         * math/s_expm1l.c: Likewise.
72875         * math/s_log1pl.c: Likewise.
72876         * math/s_tanhl.c: Likewise.
72877         * misc/acct.c: Likewise.
72878         * misc/brk.c: Likewise.
72879         * misc/chflags.c: Likewise.
72880         * misc/chroot.c: Likewise.
72881         * misc/fchflags.c: Likewise.
72882         * misc/fgetxattr.c: Likewise.
72883         * misc/flistxattr.c: Likewise.
72884         * misc/fremovexattr.c: Likewise.
72885         * misc/fsetxattr.c: Likewise.
72886         * misc/fsync.c: Likewise.
72887         * misc/ftruncate.c: Likewise.
72888         * misc/futimes.c: Likewise.
72889         * misc/futimesat.c: Likewise.
72890         * misc/getdomain.c: Likewise.
72891         * misc/getdtsz.c: Likewise.
72892         * misc/gethostid.c: Likewise.
72893         * misc/gethostname.c: Likewise.
72894         * misc/getloadavg.c: Likewise.
72895         * misc/getpagesize.c: Likewise.
72896         * misc/getsysstats.c: Likewise.
72897         * misc/getxattr.c: Likewise.
72898         * misc/gtty.c: Likewise.
72899         * misc/ioctl.c: Likewise.
72900         * misc/lgetxattr.c: Likewise.
72901         * misc/listxattr.c: Likewise.
72902         * misc/llistxattr.c: Likewise.
72903         * misc/lremovexattr.c: Likewise.
72904         * misc/lsetxattr.c: Likewise.
72905         * misc/lutimes.c: Likewise.
72906         * misc/madvise.c: Likewise.
72907         * misc/mincore.c: Likewise.
72908         * misc/mlock.c: Likewise.
72909         * misc/mlockall.c: Likewise.
72910         * misc/mmap.c: Likewise.
72911         * misc/mprotect.c: Likewise.
72912         * misc/msync.c: Likewise.
72913         * misc/munlock.c: Likewise.
72914         * misc/munlockall.c: Likewise.
72915         * misc/munmap.c: Likewise.
72916         * misc/preadv.c: Likewise.
72917         * misc/preadv64.c: Likewise.
72918         * misc/ptrace.c: Likewise.
72919         * misc/pwritev.c: Likewise.
72920         * misc/pwritev64.c: Likewise.
72921         * misc/readv.c: Likewise.
72922         * misc/reboot.c: Likewise.
72923         * misc/remap_file_pages.c: Likewise.
72924         * misc/removexattr.c: Likewise.
72925         * misc/revoke.c: Likewise.
72926         * misc/select.c: Likewise.
72927         * misc/setdomain.c: Likewise.
72928         * misc/setegid.c: Likewise.
72929         * misc/seteuid.c: Likewise.
72930         * misc/sethostid.c: Likewise.
72931         * misc/sethostname.c: Likewise.
72932         * misc/setregid.c: Likewise.
72933         * misc/setreuid.c: Likewise.
72934         * misc/setxattr.c: Likewise.
72935         * misc/sstk.c: Likewise.
72936         * misc/stty.c: Likewise.
72937         * misc/swapoff.c: Likewise.
72938         * misc/swapon.c: Likewise.
72939         * misc/sync.c: Likewise.
72940         * misc/syncfs.c: Likewise.
72941         * misc/syscall.c: Likewise.
72942         * misc/truncate.c: Likewise.
72943         * misc/ualarm.c: Likewise.
72944         * misc/usleep.c: Likewise.
72945         * misc/ustat.c: Likewise.
72946         * misc/utimes.c: Likewise.
72947         * misc/vhangup.c: Likewise.
72948         * misc/writev.c: Likewise.
72949         * posix/_exit.c: Likewise.
72950         * posix/alarm.c: Likewise.
72951         * posix/execve.c: Likewise.
72952         * posix/fexecve.c: Likewise.
72953         * posix/fork.c: Likewise.
72954         * posix/fpathconf.c: Likewise.
72955         * posix/getaddrinfo.c: Likewise.
72956         * posix/getegid.c: Likewise.
72957         * posix/geteuid.c: Likewise.
72958         * posix/getgid.c: Likewise.
72959         * posix/getgroups.c: Likewise.
72960         * posix/getlogin.c: Likewise.
72961         * posix/getlogin_r.c: Likewise.
72962         * posix/getpgid.c: Likewise.
72963         * posix/getpid.c: Likewise.
72964         * posix/getppid.c: Likewise.
72965         * posix/getresgid.c: Likewise.
72966         * posix/getresuid.c: Likewise.
72967         * posix/getsid.c: Likewise.
72968         * posix/getuid.c: Likewise.
72969         * posix/glob64.c: Likewise.
72970         * posix/nanosleep.c: Likewise.
72971         * posix/pathconf.c: Likewise.
72972         * posix/pause.c: Likewise.
72973         * posix/posix_madvise.c: Likewise.
72974         * posix/pread.c: Likewise.
72975         * posix/pread64.c: Likewise.
72976         * posix/pwrite.c: Likewise.
72977         * posix/pwrite64.c: Likewise.
72978         * posix/sched_getaffinity.c: Likewise.
72979         * posix/sched_getp.c: Likewise.
72980         * posix/sched_gets.c: Likewise.
72981         * posix/sched_primax.c: Likewise.
72982         * posix/sched_primin.c: Likewise.
72983         * posix/sched_rr_gi.c: Likewise.
72984         * posix/sched_setaffinity.c: Likewise.
72985         * posix/sched_setp.c: Likewise.
72986         * posix/sched_sets.c: Likewise.
72987         * posix/sched_yield.c: Likewise.
72988         * posix/setgid.c: Likewise.
72989         * posix/setlogin.c: Likewise.
72990         * posix/setpgid.c: Likewise.
72991         * posix/setresgid.c: Likewise.
72992         * posix/setresuid.c: Likewise.
72993         * posix/setsid.c: Likewise.
72994         * posix/setuid.c: Likewise.
72995         * posix/sleep.c: Likewise.
72996         * posix/spawni.c: Likewise.
72997         * posix/sysconf.c: Likewise.
72998         * posix/times.c: Likewise.
72999         * posix/wait.c: Likewise.
73000         * posix/wait3.c: Likewise.
73001         * posix/wait4.c: Likewise.
73002         * posix/waitpid.c: Likewise.
73003         * resolv/gai_sigqueue.c: Likewise.
73004         * resource/getpriority.c: Likewise.
73005         * resource/getrlimit.c: Likewise.
73006         * resource/getrusage.c: Likewise.
73007         * resource/nice.c: Likewise.
73008         * resource/setpriority.c: Likewise.
73009         * resource/setrlimit.c: Likewise.
73010         * resource/ulimit.c: Likewise.
73011         * rt/aio_cancel.c: Likewise.
73012         * rt/aio_fsync.c: Likewise.
73013         * rt/aio_read.c: Likewise.
73014         * rt/aio_sigqueue.c: Likewise.
73015         * rt/aio_suspend.c: Likewise.
73016         * rt/aio_write.c: Likewise.
73017         * rt/clock_getres.c: Likewise.
73018         * rt/clock_gettime.c: Likewise.
73019         * rt/clock_nanosleep.c: Likewise.
73020         * rt/clock_settime.c: Likewise.
73021         * rt/lio_listio.c: Likewise.
73022         * rt/mq_close.c: Likewise.
73023         * rt/mq_getattr.c: Likewise.
73024         * rt/mq_notify.c: Likewise.
73025         * rt/mq_open.c: Likewise.
73026         * rt/mq_receive.c: Likewise.
73027         * rt/mq_send.c: Likewise.
73028         * rt/mq_setattr.c: Likewise.
73029         * rt/mq_timedreceive.c: Likewise.
73030         * rt/mq_timedsend.c: Likewise.
73031         * rt/mq_unlink.c: Likewise.
73032         * rt/shm_open.c: Likewise.
73033         * rt/shm_unlink.c: Likewise.
73034         * rt/timer_create.c: Likewise.
73035         * rt/timer_delete.c: Likewise.
73036         * rt/timer_getoverr.c: Likewise.
73037         * rt/timer_gettime.c: Likewise.
73038         * rt/timer_settime.c: Likewise.
73039         * setjmp/__longjmp.c: Likewise.
73040         * setjmp/setjmp.c: Likewise.
73041         * signal/kill.c: Likewise.
73042         * signal/killpg.c: Likewise.
73043         * signal/raise.c: Likewise.
73044         * signal/sigaction.c: Likewise.
73045         * signal/sigaltstack.c: Likewise.
73046         * signal/sigblock.c: Likewise.
73047         * signal/sigignore.c: Likewise.
73048         * signal/sigintr.c: Likewise.
73049         * signal/signal.c: Likewise.
73050         * signal/sigpause.c: Likewise.
73051         * signal/sigpending.c: Likewise.
73052         * signal/sigqueue.c: Likewise.
73053         * signal/sigreturn.c: Likewise.
73054         * signal/sigset.c: Likewise.
73055         * signal/sigsetmask.c: Likewise.
73056         * signal/sigstack.c: Likewise.
73057         * signal/sigsuspend.c: Likewise.
73058         * signal/sigtimedwait.c: Likewise.
73059         * signal/sigvec.c: Likewise.
73060         * signal/sigwait.c: Likewise.
73061         * signal/sigwaitinfo.c: Likewise.
73062         * signal/sysv_signal.c: Likewise.
73063         * socket/accept.c: Likewise.
73064         * socket/accept4.c: Likewise.
73065         * socket/bind.c: Likewise.
73066         * socket/connect.c: Likewise.
73067         * socket/getpeername.c: Likewise.
73068         * socket/getsockname.c: Likewise.
73069         * socket/getsockopt.c: Likewise.
73070         * socket/isfdtype.c: Likewise.
73071         * socket/listen.c: Likewise.
73072         * socket/recv.c: Likewise.
73073         * socket/recvfrom.c: Likewise.
73074         * socket/recvmsg.c: Likewise.
73075         * socket/send.c: Likewise.
73076         * socket/sendmsg.c: Likewise.
73077         * socket/sendto.c: Likewise.
73078         * socket/setsockopt.c: Likewise.
73079         * socket/shutdown.c: Likewise.
73080         * socket/sockatmark.c: Likewise.
73081         * socket/socket.c: Likewise.
73082         * socket/socketpair.c: Likewise.
73083         * stdio-common/ctermid.c: Likewise.
73084         * stdio-common/cuserid.c: Likewise.
73085         * stdio-common/remove.c: Likewise.
73086         * stdio-common/rename.c: Likewise.
73087         * stdio-common/renameat.c: Likewise.
73088         * stdio-common/tempname.c: Likewise.
73089         * stdlib/getcontext.c: Likewise.
73090         * stdlib/makecontext.c: Likewise.
73091         * stdlib/setcontext.c: Likewise.
73092         * stdlib/swapcontext.c: Likewise.
73093         * stdlib/system.c: Likewise.
73094         * streams/fattach.c: Likewise.
73095         * streams/fdetach.c: Likewise.
73096         * streams/getmsg.c: Likewise.
73097         * streams/getpmsg.c: Likewise.
73098         * streams/putmsg.c: Likewise.
73099         * streams/putpmsg.c: Likewise.
73100         * sysdeps/unix/bsd/getpt.c: Likewise.
73101         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
73102         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
73103         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
73104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73105         Likewise.
73106         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
73107         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73108         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
73109         * sysvipc/msgctl.c: Likewise.
73110         * sysvipc/msgget.c: Likewise.
73111         * sysvipc/msgrcv.c: Likewise.
73112         * sysvipc/msgsnd.c: Likewise.
73113         * sysvipc/semctl.c: Likewise.
73114         * sysvipc/semget.c: Likewise.
73115         * sysvipc/semop.c: Likewise.
73116         * sysvipc/semtimedop.c: Likewise.
73117         * sysvipc/shmat.c: Likewise.
73118         * sysvipc/shmctl.c: Likewise.
73119         * sysvipc/shmdt.c: Likewise.
73120         * sysvipc/shmget.c: Likewise.
73121         * termios/tcdrain.c: Likewise.
73122         * termios/tcflow.c: Likewise.
73123         * termios/tcflush.c: Likewise.
73124         * termios/tcgetattr.c: Likewise.
73125         * termios/tcgetpgrp.c: Likewise.
73126         * termios/tcsendbrk.c: Likewise.
73127         * termios/tcsetattr.c: Likewise.
73128         * termios/tcsetpgrp.c: Likewise.
73129         * time/adjtime.c: Likewise.
73130         * time/clock.c: Likewise.
73131         * time/getitimer.c: Likewise.
73132         * time/gettimeofday.c: Likewise.
73133         * time/setitimer.c: Likewise.
73134         * time/settimeofday.c: Likewise.
73135         * time/stime.c: Likewise.
73136         * time/time.c: Likewise.
73138 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
73140         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
73141         /usr/old/bin.
73143         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
73144         instead of spaces.
73145         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
73147 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
73149         [BZ #14796]
73150         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
73151         FE_TONEAREST before applying Dekker multiplication and Knuth
73152         addition.  Clear inexact exceptions and check for exact zero
73153         results afterwards.
73154         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73155         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73156         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73157         * math/libm-test.inc (fma_test): Add more tests.
73158         (fma_test_towardzero): Likewise.
73159         (fma_test_downward): Likewise.
73160         (fma_test_upward): Likewise.
73161         * sysdeps/generic/math_private.h (default_libc_fesetround): New
73162         function.
73163         (libc_fesetround): New macro.
73164         (libc_fesetroundf): Likewise.
73165         (libc_fesetroundl): Likewise.
73166         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
73167         function.
73168         (libc_fesetround_387): Likewise.
73169         (libc_fesetroundf): New macro.
73170         (libc_fesetround): Likewise.
73171         (libc_fesetroundl): Likewise.
73172         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
73173         function.
73174         (libc_fesetroundf): New macro.
73175         (libc_fesetround): Likewise.
73176         (libc_fesetroundl): Likewise.
73177         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
73178         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
73179         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
73180         libm_hidden_ver.
73181         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
73182         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
73183         libm_hidden_def.
73184         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
73185         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
73186         libm_hidden_ver.
73187         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
73188         libm_hidden_def.
73190         [BZ #3439]
73191         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
73192         integer constant usable in #if and use that to give value to enum
73193         constant.
73194         (FE_DIVBYZERO): Likewise.
73195         (FE_UNDERFLOW): Likewise.
73196         (FE_OVERFLOW): Likewise.
73197         (FE_INVALID): Likewise.
73198         (FE_INVALID_SNAN): Likewise.
73199         (FE_INVALID_ISI): Likewise.
73200         (FE_INVALID_IDI): Likewise.
73201         (FE_INVALID_ZDZ): Likewise.
73202         (FE_INVALID_IMZ): Likewise.
73203         (FE_INVALID_COMPARE): Likewise.
73204         (FE_INVALID_SOFTWARE): Likewise.
73205         (FE_INVALID_SQRT): Likewise.
73206         (FE_INVALID_INTEGER_CONVERSION): Likewise.
73207         (FE_TONEAREST): Likewise.
73208         (FE_TOWARDZERO): Likewise.
73209         (FE_UPWARD): Likewise.
73210         (FE_DOWNWARD): Likewise.
73211         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
73212         (FE_DIVBYZERO): Likewise.
73213         (FE_OVERFLOW): Likewise.
73214         (FE_UNDERFLOW): Likewise.
73215         (FE_INEXACT): Likewise.
73216         (FE_TONEAREST): Likewise.
73217         (FE_DOWNWARD): Likewise.
73218         (FE_UPWARD): Likewise.
73219         (FE_TOWARDZERO): Likewise.
73220         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
73221         (FE_UNDERFLOW): Likewise.
73222         (FE_OVERFLOW): Likewise.
73223         (FE_DIVBYZERO): Likewise.
73224         (FE_INVALID): Likewise.
73225         (FE_TONEAREST): Likewise.
73226         (FE_TOWARDZERO): Likewise.
73227         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
73228         (FE_OVERFLOW): Likewise.
73229         (FE_UNDERFLOW): Likewise.
73230         (FE_DIVBYZERO): Likewise.
73231         (FE_INEXACT): Likewise.
73232         (FE_TONEAREST): Likewise.
73233         (FE_TOWARDZERO): Likewise.
73234         (FE_UPWARD): Likewise.
73235         (FE_DOWNWARD): Likewise.
73236         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
73237         (FE_DIVBYZERO): Likewise.
73238         (FE_OVERFLOW): Likewise.
73239         (FE_UNDERFLOW): Likewise.
73240         (FE_INEXACT): Likewise.
73241         (FE_TONEAREST): Likewise.
73242         (FE_DOWNWARD): Likewise.
73243         (FE_UPWARD): Likewise.
73244         (FE_TOWARDZERO): Likewise.
73246 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
73248         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
73250 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
73252         * scripts/cross-test-ssh.sh (command): Use newlines to separate
73253         commands.  Quote $PWD.
73254         (blacklist_exports): Don't use remove_newlines.  Replace "declare
73255         -x" by "export".
73256         (remove_newlines): Remove.
73258 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
73260         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
73261         * stdlib/stdlib.h (atof): Moved to ...
73262         * include/bits/stdlib-float.h: Here.  New file.
73263         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
73264         * stdlib/bits/stdlib-float.h: New file.
73265         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
73266         -mno-sse -mno-mmx.
73267         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
73268         <xmmintrin.h>.
73270 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73272         * conform/conformtest.pl (@headers): Add fenv.h.
73273         * conform/data/fenv.h-data: New file.
73274         * include/fenv.h [_ISOMAC]: Disable all contents of file except
73275         include of <math/fenv.h>.
73277         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
73278         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
73279         && !UNIX98].  Enables tests for XOPEN2K8.
73280         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
73281         POSIX2008]: Likewise.
73283         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
73284         (struct rusage): Do not expect type or its members.
73286         [BZ #3439]
73287         * math/math.h (FP_NAN): Define macro to integer constant usable in
73288         #if and use that to give value to enum constant.
73289         (FP_INFINITE): Likewise.
73290         (FP_ZERO): Likewise.
73291         (FP_SUBNORMAL): Likewise.
73292         (FP_NORMAL): Likewise.
73294 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
73296         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
73297         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
73298         arguments.
73300 2012-11-02  Roland McGrath  <roland@hack.frob.com>
73302         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
73303         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
73304         autoconf-time if not.
73305         * configure.in: Remove AC_PREREQ.
73307 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73309         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
73310         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
73311         of the internal implementation.
73313 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73315         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
73316         except include of <misc/sys/syslog.h>.
73318 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
73321         function returns with a NULL context exit with zero.
73323 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73325         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
73327 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
73329         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
73330         (run_program_cmd): This.
73331         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
73332         (tst_langinfo): New variable.  Use it.
73334 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
73336         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
73337         floating point opcodes.
73339 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73341         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
73342         variable.
73344         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
73346         * sysdeps/mach/hurd/powerpc: Remove directory.
73347         * sysdeps/mach/powerpc: Likewise.
73349 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73351         * scripts/check-local-headers.sh: Ignore c++ headers.
73353 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73355         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
73356         __libc_cleanup_region_start argument.
73358 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
73360         [BZ #14784]
73361         [BZ #14785]
73362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
73363         x * y using scaling, not as x * y + z.
73364         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73365         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73366         * math/libm-test.inc (fma_test): Add more tests.
73367         (fma_test_towardzero): Likewise.
73368         (fma_test_downward): Likewise.
73369         (fma_test_upward): Likewise.
73371 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73373         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
73375 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73377         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
73378         New variable.
73380 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
73382         * rt/tst-shm.c (worker): Correct checking for mmap failure.
73384 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73387         Fix sort order.
73388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73389         Likewise.
73391 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73394         Fix the order of the list for glibc 2.17.
73395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73396         Likewise.
73398 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73402 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73404         [BZ #14610]
73405         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
73406         for low part of x being zero before using __atanl (y).
73407         * math/libm-test.inc (atan2_test): Add another test.
73409         * manual/install.texi (Configuring and compiling): Document
73410         general use of test-wrapper and test-wrapper-env.
73411         * INSTALL: Regenerated.
73413         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
73414         (__fma): Do not extract and scale down low bits on after-rounding
73415         systems when result rounded to normal precision would have normal
73416         exponent.
73417         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
73418         (__fmal): Do not extract and scale down low bits on after-rounding
73419         systems when result rounded to normal precision would have normal
73420         exponent.
73421         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
73422         (__fmal): Do not extract and scale down low bits on after-rounding
73423         systems when result rounded to normal precision would have normal
73424         exponent.
73425         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
73426         macro.
73427         (fma_test): Add more tests.
73428         (fma_test_towardzero): Likewise.
73429         (fma_test_downward): Likewise.
73430         (fma_test_upward): Likewise.
73432 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
73434         * sysdeps/i386/tininess.h: Renamed to ...
73435         * sysdeps/x86/tininess.h: This.
73436         * sysdeps/x86_64/tininess.h: Removed.
73438 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
73440         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
73441         input.  Use $(build-program-cmd).
73442         ($(objpfx)tst-array1-static.out): Likewise.
73443         ($(objpfx)tst-array2.out): Likewise.
73444         ($(objpfx)tst-array3.out): Likewise.
73445         ($(objpfx)tst-array4.out): Likewise.
73446         ($(objpfx)tst-array5.out): Likewise.
73447         ($(objpfx)tst-array5-static.out): Likewise.
73449 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
73451         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
73452         if defined.
73454         * nss/nsswitch.h (nss_interface_function): Provide new
73455         macro for use with NSS functions.
73456         * grp/initgroups.c: Use new macro.
73457         * nss/getXXbyYY.c: Likewise.
73458         * nss/getXXbyYY_r.c: Likewise.
73459         * nss/getXXent.c: Likewise.
73460         * nss/getXXent_r.c: Likewise.
73461         * sysdeps/posix/getaddrinfo.c: Likewise.
73463 2012-10-30  Andreas Jaeger  <aj@suse.de>
73465         * po/ru.po: Update Russion translation from translation project.
73467 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
73469         [BZ #14152]
73470         [BZ #14783]
73471         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
73472         result and shift together with sticky bit instead of replicating
73473         round-to-nearest rounding.
73474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73476         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
73477         missing underflow exceptions.
73478         (fma_test_towardzero): Add more tests.
73479         (fma_test_downward): Likewise.
73480         (fma_test_upward): Likewise.
73482         [BZ #14047]
73483         * sysdeps/generic/tininess.h: New file.
73484         * sysdeps/i386/tininess.h: Likewise.
73485         * sysdeps/sh/tininess.h: Likewise.
73486         * sysdeps/x86_64/tininess.h: Likewise.
73487         * stdlib/tst-strtod-underflow.c: Likewise.
73488         * stdlib/tst-tininess.c: Likewise.
73489         * stdlib/strtod_l.c: Include <tininess.h>.
73490         (round_and_return): Do not set errno for exact underflow cases.
73491         Force an underflow exception when setting errno for underflow.
73492         Determine underflow based on rounding to normal precision if
73493         TININESS_AFTER_ROUNDING.
73494         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
73495         ERANGE for exact underflow cases.
73496         * stdlib/Makefile (tests): Add tst-tininess and
73497         tst-strtod-underflow.
73498         ($(objpfx)tst-tininess): Use $(link-libm).
73499         ($(objpfx)tst-strtod-underflow): Likewise.
73501 2012-10-30  Andreas Jaeger  <aj@suse.de>
73503         [BZ #14767]
73504         * elf/Makefile (tests): Remove conditional for have-initfini-array
73505         since this is now always required and the variable does not exist
73506         anymore.
73507         (tests-static): Likewise.
73508         (modules-names): Likewise.
73510         * po/eo.po: Add Esperanto translation from translation project.
73512         * elf/tst-array1.c (fini_array): Make writeable so that it can be
73513         merged with constructor/destructor.
73514         (init_array): Likewise.
73515         * elf/tst-array2dep.c (fini_array): Likewise.
73516         (init_array): Likewise.
73518 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
73520         * manual/message.texi: Delete @cartouche tags.
73522 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
73524         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
73525         EOPNOTSUPP.
73526         * sysdeps/mach/hurd/fsync.c: Likewise.
73528         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
73529         [_POSIX_REALTIME_SIGNALS]: Change condition to
73530         [_POSIX_REALTIME_SIGNALS > 0].
73532 2012-10-27  Andreas Jaeger  <aj@suse.de>
73534         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
73535         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
73536         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
73537         [__WORDSIZE != 64]: Likewise.
73539 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
73541         *  iconvdata/tst-table.sh: Remove ${SHELL}.
73542         *  iconvdata/tst-tables.sh: Likewise.
73544 2012-10-25  David S. Miller  <davem@davemloft.net>
73546         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73547         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
73548         of strtoull.
73550         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
73551         ifunc-impl-list.c
73552         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73553         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
73554         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
73555         file.
73557 2012-10-25  Roland McGrath  <roland@hack.frob.com>
73559         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73560         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
73561         __getdirentries.
73563 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
73564             Jim Blandy  <jimb@codesourcery.com>
73566         * scripts/cross-test-ssh.sh: New file.
73567         * manual/install.texi (Configuring and compiling): Document use of
73568         cross-test-ssh.sh.
73569         * INSTALL: Regenerated.
73571 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
73573         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
73574         EOPNOTSUPP.
73576 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
73578         * Makeconfig (run-program-prefix): Fix comment.
73580 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
73581             Jim Blandy  <jimb@codesourcery.com>
73583         * Makeconfig (test-wrapper): New variable,
73584         (test-wrapper-env): Likewise.
73585         [$(cross-compiling) = yes && $(test-wrapper) != ""]
73586         (run-built-tests): Define to yes.
73587         (run-program-prefix): Use $(test-wrapper).
73588         (built-program-cmd): Likewise.
73589         * Rules (make-test-out): Use $(test-wrapper-env) and
73590         $(host-built-program-cmd).
73591         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
73592         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
73593         tst-pathopt.sh.
73594         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
73595         $(test-wrapper-env) to tst-rtld-load-self.sh.
73596         ($(objpfx)order2.out): Use $(test-wrapper).
73597         ($(objpfx)tst-initorder.out): Likewise.
73598         ($(objpfx)tst-initorder2.out): Likewise.
73599         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
73600         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
73601         (test_wrapper_env): New variable.  Use it to run ld.so.
73602         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
73603         Use it to run ld.so.
73604         (test_wrapper_env): Likewise.
73605         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
73606         $(test-wrapper) to run-iconv-test.sh.
73607         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
73608         (ICONV): Use $test_wrapper.
73609         * posix/Makefile ($(objpfx)globtest.out): Pass
73610         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
73611         globtest.sh, not $(run-program-prefix).
73612         * posix/globtest.sh (run_via_rtld_prefix): New variable.
73613         (test_wrapper): Likewise.
73614         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
73615         set together with run_via_rtld_prefix.
73616         (run_program_prefix): Define in terms of test_wrapper and
73617         run_via_rtld_prefix.
73619 2012-10-24  Roland McGrath  <roland@hack.frob.com>
73621         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
73622         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
73623         Targets removed.
73625         [BZ #14743]
73626         * include/time.h: Remove librt_hidden_proto (clock_gettime).
73627         Declare __clock_getres, __clock_gettime, __clock_settime,
73628         __clock_nanosleep, and __clock_getcpuclockid.
73629         * rt/clock_gettime.c: Define __clock_gettime as an alias.
73630         Remove librt_hidden_def (clock_gettime).
73631         * sysdeps/unix/clock_gettime.c: Likewise.
73632         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
73633         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
73634         * rt/clock_getres.c: Define __clock_getres as an alias.
73635         * sysdeps/posix/clock_getres.c: Likewise.
73636         * rt/clock_settime.c: Define __clock_settime as an alias.
73637         * sysdeps/unix/clock_settime.c: Likewise.
73638         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
73639         * sysdeps/unix/clock_nanosleep.c: Likewise.
73640         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
73641         * rt/clock-compat.c: New file.
73642         * rt/Makefile (librt-routines): Add clock-compat and move
73643         $(clock-routines) to ...
73644         (routines): ... here, new variable.
73645         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
73646         Don't add get_clockfreq here.
73647         * rt/Versions (libc: GLIBC_2.17): New version set.
73648         Add clock_* symbols here.
73649         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
73650         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
73651         (GLIBC_2.17): Add clock_* symbols.
73652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73654         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73656         Likewise.
73657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73658         Likewise.
73659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73663         * NEWS: Mention the move.
73665         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
73666         Use __open, __read, __close rather than their public counterparts.
73667         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73668         (__get_clockfreq_via_cpuinfo): Likewise.
73669         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
73670         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
73672         * config.h.in (HAVE_IFUNC): New #undef.
73673         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
73674         was successful.
73675         * configure: Regenerated.
73677 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
73679         * configure.in: Move READELF check to start of file.
73680         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
73681         libc_cv_asm_gnu_indirect_function in the process.
73682         * configure: Regenerated.
73684 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
73686         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
73687         send the output to /dev/null.
73688         (libc_cv_cc_with_libunwind): Likewise.
73689         (libc_cv_as_noexecstack): Likewise.
73690         * configure: Regenerate.
73692 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
73694         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
73696         * posix/globtest.sh (TMPDIR): Do not set.
73697         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
73698         (testout): Likewise.
73700 2012-10-24  Andreas Jaeger  <aj@suse.de>
73702         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
73703         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
73704         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
73705         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
73706         posix_fadvise64, posix_fallocate64.
73708         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
73709         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
73710         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
73711         Likewise.
73712         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
73713         Likewise.
73714         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
73716         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
73717         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
73718         <bits/fcntl-linux.h>.
73719         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
73721         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
73722         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
73723         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
73724         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
73725         [__WORDSIZE != 64]: Likewise.
73727 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
73729         * Makeconfig (run-built-tests): New variable.
73730         * Rules [$(cross-compiling) = yes]: Change condition to
73731         [$(run-built-tests) = no].
73732         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
73733         to [$(run-built-tests) = yes].
73734         * elf/Makefile [$(cross-compiling) = no]: Likewise.
73735         * grp/Makefile [$(cross-compiling) = no]: Likewise.
73736         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
73737         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
73738         * intl/Makefile [$(cross-compiling) = no]: Likewise.
73739         * io/Makefile [$(cross-compiling) = no]: Likewise.
73740         * libio/Makefile [$(cross-compiling) = no]: Likewise.
73741         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
73742         * misc/Makefile [$(cross-compiling) = no]: Likewise.
73743         * posix/Makefile [$(cross-compiling) = no]: Likewise.
73744         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
73745         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
73746         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
73747         * string/Makefile [$(cross-compiling) = no]: Likewise.
73749         * posix/Makefile ($(objpfx)globtest.out): Pass
73750         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
73751         $(rtld-installed-name).
73752         * posix/globtest.sh (elf_objpfx): Remove variable.
73753         (rtld_installed_name): Likewise.
73754         (library_path): Likewise.
73755         (run_program_prefix): New variable.  Use for running globtest
73756         binary.
73758 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
73759             Joseph Myers  <joseph@codesourcery.com>
73761         * Makeconfig (host-built-program-cmd): New variable.
73762         * elf/Makefile (tst-stackguard1-ARGS): Use
73763         $(host-built-program-cmd).
73764         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
73765         (tst-spawn-ARGS): Likewise.
73766         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
73768 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
73769             Jim Blandy  <jimb@codesourcery.com>
73771         * Makeconfig (run-via-rtld-prefix): New variable.
73772         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
73773         (built-program-cmd): Likewise.
73775 2012-10-22  Andreas Jaeger  <aj@suse.de>
73777         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
73778         __O_RSYNC if it exists, otherwise to O_SYNC.
73780 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
73781             Joseph Myers  <joseph@codesourcery.com>
73783         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
73784         /dev/null.
73785         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
73786         from /dev/null
73787         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
73788         /dev/null.
73790 2012-10-22  Andreas Jaeger  <aj@suse.de>
73792         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
73793         Define always.
73794         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
73796         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73797         bits/fcntl-linux.h.
73799         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
73800         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
73802         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
73803         to __O_LARGEFILE.
73804         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
73805         to __O_LARGEFILE.
73807 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
73808             Joseph Myers  <joseph@codesourcery.com>
73810         * config.make.in (NM): New variable.
73812 2012-10-21  Andreas Jaeger  <aj@suse.de>
73814         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
73815         definitions and declarations that are provided by
73816         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
73818 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
73820         [BZ #14683]
73821         * elf/Makefile (tests-static): Add tst-leaks1-static.
73822         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
73823         ($(objpfx)tst-leaks1-static): New rule.
73824         ($(objpfx)tst-leaks1-static-mem): Likewise.
73825         (tst-leaks1-static-ENV): New macro.
73826         * elf/dl-open.c (dl_open_worker): Check the main application
73827         only if SHARED is defined.
73828         * elf/tst-leaks1-static.c: New file.
73830 2012-10-20  Andreas Jaeger  <aj@suse.de>
73832         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
73833         generic values for Linux.
73834         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
73835         and declarations that are provided by <bits/fcntl-linux.h> and
73836         include <bits/fcntl-linux.h>.
73837         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73838         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73840 2012-10-20  Roland McGrath  <roland@hack.frob.com>
73842         * io/fcntl.h: Move include of <bits/types.h> to the top and
73843         include it unconditionally.
73845 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
73847         * wcsmbs/Makefile (tests-ifunc): New variable.
73848         (tests): Add $(tests-ifunc).
73849         * wcsmbs/test-wcschr-ifunc.c: New file.
73850         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
73851         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
73852         * wcsmbs/test-wcslen-ifunc.c: Likewise.
73853         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
73854         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
73856         * string/Makefile (tests-ifunc): New variable.
73857         (tests): Add $(tests-ifunc).
73858         * string/test-memccpy.c (TEST_NAME): New macro.
73859         * string/test-memchr.c (TEST_NAME): Likewise.
73860         * string/test-memcmp.c (TEST_NAME): Likewise.
73861         * string/test-memcpy.c (TEST_NAME): Likewise.
73862         * string/test-memmem.c (TEST_NAME): Likewise.
73863         * string/test-memmove.c (TEST_NAME): Likewise.
73864         * string/test-memset.c (TEST_NAME): Likewise.
73865         * string/test-rawmemchr.c (TEST_NAME): Likewise.
73866         * string/test-stpcpy.c (TEST_NAME): Likewise.
73867         * string/test-stpncpy.c (TEST_NAME): Likewise.
73868         * string/test-strcasecmp.c (TEST_NAME): Likewise.
73869         * string/test-strcasestr.c (TEST_NAME): Likewise.
73870         * string/test-strcat.c (TEST_NAME): Likewise.
73871         * string/test-strchr.c (TEST_NAME): Likewise.
73872         * string/test-strcmp.c(TEST_NAME): Likewise.
73873         * string/test-strcpy.c (TEST_NAME): Likewise.
73874         * string/test-strcspn.c (TEST_NAME): Likewise.
73875         * string/test-strlen.c (TEST_NAME): Likewise.
73876         * string/test-strncasecmp.c (TEST_NAME): Likewise.
73877         * string/test-strncmp.c (TEST_NAME): Likewise.
73878         * string/test-strncpy.c (TEST_NAME): Likewise.
73879         * string/test-strnlen.c (TEST_NAME): Likewise.
73880         * string/test-strpbrk.c (TEST_NAME): Likewise.
73881         * string/test-strrchr.c (TEST_NAME): Likewise.
73882         * string/test-strspn.c (TEST_NAME): Likewise.
73883         * string/test-strstr.c (TEST_NAME): Likewise.
73884         * string/test-bcopy-ifunc.c: New file.
73885         * string/test-bzero-ifunc.c: Likewise.
73886         * string/test-memccpy-ifunc.c: Likewise.
73887         * string/test-memchr-ifunc.c: Likewise.
73888         * string/test-memcmp-ifunc.c: Likewise.
73889         * string/test-memcpy-ifunc.c: Likewise.
73890         * string/test-memmem-ifunc.c: Likewise.
73891         * string/test-memmove-ifunc.c: Likewise.
73892         * string/test-mempcpy-ifunc.c: Likewise.
73893         * string/test-memset-ifunc.c: Likewise.
73894         * string/test-rawmemchr-ifunc.c: Likewise.
73895         * string/test-stpcpy-ifunc.c: Likewise.
73896         * string/test-stpncpy-ifunc.c: Likewise.
73897         * string/test-strcasecmp-ifunc.c: Likewise.
73898         * string/test-strcasestr-ifunc.c: Likewise.
73899         * string/test-strcat-ifunc.c: Likewise.
73900         * string/test-strchr-ifunc.c: Likewise.
73901         * string/test-strchrnul-ifunc.c: Likewise.
73902         * string/test-strcmp-ifunc.c: Likewise.
73903         * string/test-strcpy-ifunc.c: Likewise.
73904         * string/test-strcspn-ifunc.c: Likewise.
73905         * string/test-strlen-ifunc.c: Likewise.
73906         * string/test-strncasecmp-ifunc.c: Likewise.
73907         * string/test-strncat-ifunc.c: Likewise.
73908         * string/test-strncmp-ifunc.c: Likewise.
73909         * string/test-strncpy-ifunc.c: Likewise.
73910         * string/test-strnlen-ifunc.c: Likewise.
73911         * string/test-strpbrk-ifunc.c: Likewise.
73912         * string/test-strrchr-ifunc.c: Likewise.
73913         * string/test-strspn-ifunc.c: Likewise.
73914         * string/test-strstr-ifunc.c: Likewise.
73916         * debug/Makefile (tests-ifunc): New variable.
73917         (tests): Add $(tests-ifunc).
73918         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
73919         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
73920         * debug/test-stpcpy_chk-ifunc.c: New file.
73921         * debug/test-strcpy_chk-ifunc.c: Likewise.
73923 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
73925         [BZ #13601]
73926         * elf/dl-load.c (open_verify): Retry read if the entire ELF
73927         header is not read in.
73929 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
73931         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
73932         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
73933         directly.  Pass built executable to script as
73934         $(built-program-cmd).
73935         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
73936         $testprogram without using LD_LIBRARY_PATH and $ldso.
73938         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
73939         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
73940         $(rtld-installed-name).
73941         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
73942         (rtld_installed_name): Likewise.
73943         (library_path): Likewise.
73944         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
73945         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
73946         $(run-program-prefix) to tst-tables.sh.
73947         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
73948         it to run tst-table-from and tst-table-to.
73949         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
73950         Pass it to tst-table.sh.
73951         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
73952         $(run-program-prefix) to tst-gettext.sh.
73953         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
73954         tst-translit.sh.
73955         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
73956         tst-gettext2.sh.
73957         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
73958         to run tst-gettext.
73959         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
73960         to run tst-gettext2.
73961         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
73962         to run tst-translit.
73963         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
73964         $(run-program-prefix) to tst-mtrace.sh.
73965         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
73966         to run tst-mtrace.
73967         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
73968         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
73969         $(rtld-installed-name).
73970         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
73971         (rtld_installed_name): Likewise.
73972         (run_program_prefix): New variable.  Use it to run wordexp-test.
73974         * Makeconfig (ARCH): Remove all definitions.
73975         (machine): Likewise.
73976         [ARCH]: Remove conditional code.
73977         [!objdir]: Give error.
73978         [!objdir] (objpfx): Remove.
73979         [!objdir] (common-objpfx): Likewise.
73980         [!objdir] (common-objdir): Likewise.
73981         * configure.in (config_makefile): Remove.  Hardcode Makefile in
73982         AC_CONFIG_FILES call.
73983         * configure: Regenerated.
73985         [BZ #13888]
73986         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
73987         or TMPDIR.
73988         (testout): Likewise.
73990         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
73991         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
73992         $(rtld-installed-name).
73993         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
73994         (rtld_installed_name): Likewise.
73995         (runit): Remove function.
73996         (run_getconf): New variable,  Use it for running getconf binary.
73998 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
74000         [BZ #14716]
74001         * string/test-memmem.c (check_result): New function.
74002         (do_one_test): Use it.
74003         (check1): New function.
74004         (test_main): Use it.
74006 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
74008         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
74010 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
74012         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
74013         (_G_LSEEK64): Likewise.
74014         (_G_MMAP64): Likewise.
74015         (_G_FSTAT64): Likewise.
74016         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
74017         (_G_LSEEK64): Likewise.
74018         (_G_MMAP64): Likewise.
74019         (_G_FSTAT64): Likewise.
74020         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
74021         unconditional.  Call __mmap64 directly.
74022         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
74023         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
74024         __lseek64 directly.
74025         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
74026         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
74027         __mmap64 directly.
74028         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
74029         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74030         __lseek64 directly.
74031         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
74032         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74033         __lseek64 directly.
74034         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
74035         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
74036         __lseek64 directly.
74037         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
74038         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
74039         __fxstat64 directly.
74040         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
74041         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
74042         unconditional.
74043         (freopen64) [!_G_OPEN64]: Remove conditional code.
74044         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
74045         unconditional.
74046         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
74047         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
74048         unconditional.
74049         (ftello64) [!_G_LSEEK64]: Remove conditional code.
74050         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
74051         unconditional.
74052         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74053         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
74054         unconditional.
74055         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
74056         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
74057         unconditional.
74058         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74059         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
74060         unconditional.
74061         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74062         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
74063         unconditional.
74064         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74066 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
74068         [BZ #12140]
74069         * manual/memory.texi (Malloc Tunable Parameters): Add note
74070         about free list pointers overwriting some perturb bytes.
74071         Wording suggested by Roland McGrath.
74073 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
74075         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
74076         (lgamma_test): Likewise.
74077         (tgamma_test): Likewise.
74079 2012-10-16  Florian Weimer  <fweimer@redhat.com>
74081         [BZ #14700]
74082         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
74083         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
74085 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
74087         * NEWS: Mention BZ #14716.
74088         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
74089         when removing AVAILABLE1_USES_J macro.
74091 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
74093         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
74094         (__bswap_64): __uint64_t for unsigned 64-bit int.
74096 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
74098         * include/string.h (memmem): Declare libc hidden alias.
74099         * string/memmem.c (memmem): Define libc hidden alias.
74100         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
74101         __read, __close instead of open, read, close.
74103 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
74105         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
74106         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
74107         global and hidden.
74108         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
74109         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
74110         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
74111         Likewise.
74112         (__rawmemchr_sse2): Likewise.
74113         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
74114         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
74115         (__strchr_sse2): Likewise.
74116         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
74117         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
74118         (__strcasecmp_sse2): Likewise.
74119         (__strncasecmp_sse2): Likewise.
74120         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
74121         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
74122         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
74123         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
74124         (__strrchr_sse2): Likewise.
74125         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
74126         ifunc-impl-list.c.
74127         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
74128         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
74129         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
74130         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74131         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
74132         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
74133         * sysdeps/x86_64/multiarch/memset.S: Likewise.
74134         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
74135         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
74136         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
74137         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
74138         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
74139         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
74140         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
74141         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
74142         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
74143         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
74144         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
74145         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
74146         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
74147         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
74148         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
74149         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
74150         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
74151         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
74152         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74153         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
74154         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74155         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
74156         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
74158         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
74159         global and hidden.
74160         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
74161         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
74162         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
74163         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
74164         Likewise.
74165         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
74166         Likewise.
74167         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
74168         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
74169         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
74170         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
74171         ifunc-impl-list.c.
74172         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74173         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74174         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74175         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74176         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74177         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74178         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74179         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74180         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74181         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74182         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74183         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74184         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74185         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
74186         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
74187         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74188         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
74189         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
74190         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74191         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74192         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74193         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74194         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74195         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74196         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74197         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
74198         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
74199         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
74200         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
74201         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74202         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
74203         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74204         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74205         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
74206         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74207         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74208         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74209         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74210         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74211         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74212         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
74214         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
74215         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
74216         * include/ifunc-impl-list.h: New file.
74217         * misc/ifunc-impl-list.c: Likewise.
74218         * misc/Makefile (routines): Add ifunc-impl-list.
74219         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
74220         * string/test-string.h: Include <ifunc-impl-list.h>.
74221         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
74222         TEST_NAME]: New variables.
74223         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
74224         are defined.
74225         (test_init): Call __libc_ifunc_impl_list to initialize
74226         func_list if TEST_IFUNC and TEST_NAME are defined.
74228         * string/Makefile (strop-tests): Add bcopy and bzero.
74229         * string/test-bcopy.c: New file.
74230         * string/test-bzero.c: Likewise.
74231         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
74232         defined.
74233         * string/test-memset.c: Support bzero test if TEST_BZERO is
74234         defined.
74235         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
74236         __libc_memmove.
74237         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
74238         __libc_memset.
74239         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
74240         of memset.
74242 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
74244         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
74245         * configure: Regenerated.
74247         * Makeconfig (+link-static-before-libc): Don't include
74248         $(link-static-libc).
74250         * libio/libio.h (_IO_pos_t): Remove.
74252 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74254         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
74255         McGrath.
74257 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74259         * crypt/crypt-entry.c: Include fips-private.h.
74260         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
74261         * crypt/md5c-test.c (main): Tolerate disabled MD5.
74262         * sysdeps/unix/sysv/linux/fips-private.h: New file.
74263         * sysdeps/generic/fips-private.h: New file, dummy fallback.
74265 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74267         * crypt/crypt-private.h: Include stdbool.h.
74268         (_ufc_setup_salt_r): Return bool.
74269         * crypt/crypt-entry.c: Include errno.h.
74270         (__crypt_r): Return NULL with EINVAL for bad salt.
74271         * crypt/crypt_util.c (bad_for_salt): New.
74272         (_ufc_setup_salt_r): Check that salt is long enough and within
74273         the specified alphabet.
74274         * crypt/badsalttest.c: New file.
74275         * crypt/Makefile (tests): Add it.
74276         ($(objpfx)badsalttest): New.
74278 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
74280         * NEWS: Add entry for BZ #14602.
74282 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74284         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
74285         type-generic.
74286         * math/libm-test.inc: Update comment listing what functions and
74287         macros are tested.
74288         (isgreater_test): New function.
74289         (isgreaterequal_test): Likewise.
74290         (isless_test): Likewise.
74291         (islessequal_test): Likewise.
74292         (islessgreater_test): Likewise.
74293         (isunordered_test): Likewise.
74294         (main): Call the new functions.
74296 2012-10-09  Roland McGrath  <roland@hack.frob.com>
74298         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
74299         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
74300         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
74301         * sysdeps/i386/configure: Regenerated.
74302         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
74303         * sysdeps/mach/configure: Regenerated.
74304         * sysdeps/mach/hurd/configure: Regenerated.
74305         * sysdeps/powerpc/configure: Regenerated.
74306         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74307         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74308         * sysdeps/s390/s390-32/configure: Regenerated.
74309         * sysdeps/s390/s390-64/configure: Regenerated.
74310         * sysdeps/sh/configure: Regenerated.
74311         * sysdeps/sparc/configure: Regenerated.
74312         * sysdeps/unix/sysv/linux/configure: Regenerated.
74313         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
74314         * sysdeps/x86_64/configure: Regenerated.
74316         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
74317         defined.  Don't check if MAP is NULL.
74319 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74321         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
74322         (_G_stat64): Likewise.
74323         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
74324         (_G_stat64): Likewise.
74325         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
74326         instead of struct _G_stat64.
74327         * libio/fileops.c (mmap_remap_check): Likewise.
74328         (decide_maybe_mmap): Likewise.
74329         (_IO_new_file_seekoff): Likewise.
74330         (_IO_file_stat): Likewise.
74331         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
74332         _G_off64_t.
74333         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
74334         instead of struct _G_stat64.
74335         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74337 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
74339         [BZ #14602]
74340         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74341         Replace with ...
74342         (CHECK_EOL): New macro.
74343         (two_way_short_needle): Check beginning of haystack for EOL.  Use
74344         CHECK_EOL.
74345         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74346         Replace with CHECK_EOL.
74347         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74348         Replace with CHECK_EOL.
74350 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
74352         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
74353         type-generic.
74354         * math/libm-test.inc: Update comment listing what functions and
74355         macros are tested.
74356         (finite_test): New function.
74357         (isinf_test): Likewise.
74358         (isnan_test): Likewise.
74359         (fpclassify_test): Test subnormal input.
74360         (isfinite_test): Likewise.
74361         (isnormal_test): Likewise.
74362         (main): Call the new functions.
74364 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
74366         [BZ #14660]
74367         * Makerules (%.dynsym): Force C locale when running
74368         $(OBJDUMP) --dynamic-syms.
74370 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
74372         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
74373         <stdint.h>.
74375 2012-10-06  David S. Miller  <davem@davemloft.net>
74377         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
74378         upper 32-bits of the length value in %o2 since we use branch-on-register
74379         tests which consider the entire 64-bit register.
74381 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
74383         * string/test-strstr.c (check2): Add a test for page boundary.
74385 2012-10-05  David S. Miller  <davem@davemloft.net>
74387         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
74388         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
74389         file.
74390         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74391         sysdep_routines.
74392         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74393         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
74394         and bzero when HWCAP_SPARC_CRYPTO is present.
74396 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
74398         [BZ #14602]
74399         * string/test-strstr.c (check2): New function.
74400         (test_main): Call check2.
74402         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
74403         and bug-strchr1.
74404         * string/bug-strcasestr1.c (do_test): Moved to ...
74405         * string/test-strcasestr.c (check1): Here.  New function.
74406         (do_one_test): Break out result checking code into ...
74407         (check_result): This.  New function.
74408         (do_one_test): Call check_result.
74409         (test_main): Call check1.
74410         * string/bug-strchr1.c (do_test): Moved to ...
74411         * string/test-strchr.c (check1): Here.  New function.
74412         (do_one_test): Break out result checking code into ...
74413         (check_result): This.  New function.
74414         (do_one_test): Call check_result.
74415         (test_main): Call check1.
74416         * string/bug-strstr1.c (main): Moved to ...
74417         * string/test-strstr.c (check1): Here.  New function.
74418         (do_one_test): Break out result checking code into ...
74419         (check_result): This.  New function.
74420         (do_one_test): Call check_result.
74421         (test_main): Call check1.
74422         * string/bug-strcasestr1.c: Removed.
74423         * string/bug-strchr1.c: Likewise.
74424         * string/bug-strstr1.c: Likewise.
74426         * elf/Makefile (dl-routines): Add hwcaps.
74427         * elf/dl-support.c (_dl_important_hwcaps): Removed.
74428         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
74429         (_dl_important_hwcaps): Moved to ...
74430         * elf/dl-hwcaps.c: Here.  New file.
74431         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
74433         [BZ #14557]
74434         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
74435         if IS_IN_rtld isn't defined.
74437         * elf/dl-support.c (_dl_sysinfo_map): New.
74438         Include "get-dynamic-info.h" and "setup-vdso.h".
74439         (_dl_non_dynamic_init): Call setup_vdso.
74440         * elf/dynamic-link.h: Don't include <assert.h>.
74441         (elf_get_dynamic_info): Moved to ...
74442         * elf/get-dynamic-info.h: Here.  New file.
74443         * elf/dynamic-link.h: Include "get-dynamic-info.h".
74444         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
74445         * elf/setup-vdso.h: Here.  New file.
74446         * elf/rtld.c: Include "setup-vdso.h".
74447         (dl_main): Call setup_vdso.
74449 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
74451         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
74452         creal in comment listing functions tested.  List finite, isinf,
74453         isnan, isless, islessequal, isgreater, isgreaterequal,
74454         islessgreater, isunordered, lgamma_r and pow10 as functions and
74455         macros not tested.  Mention which functions not tested are aliases
74456         for other functions.  Fix typo.  Note that signs of NaNs are not
74457         tested.
74459         * scripts/config.guess: Update from config.git.
74460         * scripts/config.sub: Likewise.
74462 2012-10-04  Roland McGrath  <roland@hack.frob.com>
74464         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
74465         * misc/madvise.c (madvise): Renamed to __madvise.
74466         Make madvise a weak alias.
74467         * include/sys/mman.h: Declare __madvise.
74468         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
74469         * sysdeps/unix/syscalls.list
74470         (madvise): Make __madvise the strong name, and madvise a weak alias.
74471         * sysdeps/unix/sysv/linux/syscalls.list
74472         (madvise, mmap): Remove redundant entries.
74473         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
74474         * malloc/malloc.c (mtrim): Likewise.
74475         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
74477 2012-10-03  Roland McGrath  <roland@hack.frob.com>
74479         * sysdeps/mach/hurd/dl-cache.c: File removed.
74480         * config.h.in (USE_LDCONFIG): New #undef.
74481         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
74482         * configure: Regenerated.
74483         * elf/Makefile (dl-routines): Add dl-cache only under
74484         [$(use-ldconfig) = yes].
74485         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
74486         cache on [USE_LDCONFIG].
74487         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
74488         [USE_LDCONFIG].
74489         * elf/rtld.c (dl_main): Likewise.
74491 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
74493         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
74494         _SC_LEVEL4_CACHE_LINESIZE.
74496 2012-10-03  Roland McGrath  <roland@hack.frob.com>
74498         * sysdeps/unix/bsd/confstr.h: File removed.
74500 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
74502         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
74503         sys/sdt-config.h.
74505 2012-10-02  Roland McGrath  <roland@hack.frob.com>
74507         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
74508         Make 'mapoff' field ElfW(Off) rather than off_t.
74510 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
74512         * nscd/Makefile: Remove nscd-cflags and all its users.
74513         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
74514         (CFLAGS-nonlib): Add compiler flags for nscd modules.
74516         [BZ #10631]
74517         * malloc.c (malloc_printerr): Clarify error message.
74519 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
74521         [BZ #14648]
74522         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74523         Set bit_FMA_Usable if FMA is supported.
74524         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
74525         macro.
74526         (bit_FMA4_Usable): Updated.
74527         (index_FMA_Usable): New macro.
74528         (CPUID_FMA): Likewise.
74529         (HAS_FMA): Defined with bit_FMA_Usable.
74531 2012-10-01  Roland McGrath  <roland@hack.frob.com>
74533         * bits/types.h (__swblk_t): Type removed.
74534         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
74535         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
74536         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74537         (__SWBLK_T_TYPE): Likewise.
74538         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74539         (__SWBLK_T_TYPE): Likewise.
74540         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74541         (__SWBLK_T_TYPE): Likewise.
74542         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74543         (__SWBLK_T_TYPE): Likewise.
74545 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
74546             Honza Horak <hhorak@redhat.com>
74548         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
74549         (xdr_mapname): Use YPMAXMAP as maxsize.
74550         (xdr_peername): Use YPMAXPEER as maxsize.
74551         (xdr_keydat): Use YPAXRECORD as maxsize.
74552         (xdr_valdat): Use YPMAXRECORD as maxsize.
74554 2012-10-01  Roland McGrath  <roland@hack.frob.com>
74556         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
74558         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
74559         * csu/init-first.c: ... here.
74560         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
74561         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
74562         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
74563         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
74564         * sysdeps/i386/init-first.c: File removed.
74565         * sysdeps/sh/init-first.c: File removed.
74567 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
74569         [BZ #14645]
74570         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
74571         if x * y might underflow to zero and z is zero.
74572         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74573         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74574         * math/libm-test.inc (min_subnorm_value): New variable.
74575         (fma_test): Add more tests.
74576         (fma_test_towardzero): Likewise.
74577         (fma_test_downward): Likewise.
74578         (fma_test_upward): Likewise.
74579         (initialize): Set min_subnorm_value.
74581 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
74583         [BZ #14638]
74584         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
74585         0 + 0.
74586         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
74587         mode for addition resulting in exact zero.
74588         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
74589         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
74590         exact 0 + 0.
74591         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74592         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74593         * math/libm-test.inc (fma_test): Add more tests.
74594         (fma_test_towardzero): New function.
74595         (fma_test_downward): Likewise.
74596         (fma_test_upward): Likewise.
74597         (main): Call the new functions.
74599 2012-09-28  David S. Miller  <davem@davemloft.net>
74601         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
74603 2012-09-28  Roland McGrath  <roland@hack.frob.com>
74605         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
74606         instead of SIGALRM.
74608         * sysdeps/gnu/_G_config.h: Moved to ...
74609         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
74610         * sysdeps/mach/hurd/_G_config.h: Moved to ...
74611         * sysdeps/generic/_G_config.h: ... here.
74613         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
74615         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
74617         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
74618         Conditionalize target on [libnss_test1.so-version].
74620         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
74622         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
74623         (elfobjdir): Move out of conditionals.
74625         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
74626         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
74627         (__nss_lookup_function): Conditionalize label remove_from_tree on
74628         [!DO_STATIC_NSS || SHARED], matching its only use.
74630 2012-09-28  David S. Miller  <davem@davemloft.net>
74632         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
74633         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
74634         file.
74635         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74636         sysdep_routines.
74637         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74638         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
74639         when HWCAP_SPARC_CRYPTO is present.
74641 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
74643         * io/tst-mknodat.c: Create a FIFO instead of a socket.
74645 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
74647         [BZ #6530]
74648         * stdio-common/vfprintf.c (process_string_arg): Revert
74649         2000-07-22 change.
74651 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
74653         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
74654         for testcase.
74655         * stdio-common/tst-sprintf.c: Include <locale.h>
74656         (main): Test sprintf's handling of incomplete multibyte
74657         characters.
74659 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
74661         * elf/dl-runtime.c (VERSYMIDX): Removed.
74662         * elf/dl-version.c (VERSYMIDX): Likewise.
74663         * elf/do-rel.h (VERSYMIDX): Likewise.
74664         (VALIDX): Likewise.
74665         * elf/dynamic-link.h (VERSYMIDX): Likewise.
74666         * elf/rtld.c (VALIDX): Likewise.
74667         (ADDRIDX): Likewise.
74668         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
74669         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
74670         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
74671         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
74672         (VALIDX): Likewise.
74673         (ADDRIDX): Likewise.
74675 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
74677         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
74679 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
74681         [BZ #11438]
74682         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
74683         to global scope.
74684         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
74685         addresses are in the same scope as 192.0.2/24.
74686         * posix/gai.conf: Document new scope table defaults.
74688 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74690         [BZ #5298]
74691         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
74692         for ftell.  Compute offsets from write pointers instead.
74693         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74695 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74697         [BZ #14543]
74698         * libio/Makefile (tests): New test case tst-fseek.
74699         * libio/tst-fseek.c: New test case to verify that fseek/ftell
74700         combination works in wide mode.
74701         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
74702         state when the external buffer state changes.
74704 2012-09-27  David S. Miller  <davem@davemloft.net>
74706         [BZ #14376]
74707         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
74708         pass reloc->r_addend in as the 'high' argument to
74709         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
74711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74713 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
74715         * rt/tst-aio2.c: Include <pthread.h>.
74716         * rt/tst-aio3.c: Likewise.
74718 2012-09-27  Steve Ellcey  <sellcey@mips.com>
74720         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
74722 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
74724         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
74725         contents on [SHARED].
74727 2012-09-26  Marek Polacek  <polacek@redhat.com>
74729         [BZ #14530]
74730         [BZ #13741]
74731         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
74732         for C++ and GCC <4.3 as well as for non GCC compilers.
74734 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
74736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74738 2012-09-25  Roland McGrath  <roland@hack.frob.com>
74740         * Makefile.in (all, install): Declare with .PHONY.
74741         Reported by Michael Hope <michael.hope@linaro.org>.
74743 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74745         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
74746         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
74747         system header.
74748         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
74749         Likewise.
74750         (sydep_routines): Add the new and the internal functions.
74751         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
74752         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
74753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
74754         (GLIBC_2.17): Add the new function.
74755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74756         (GLIBC_2.17): Likewise.
74757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
74758         (GLIBC_2.17): Likewise.
74759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
74760         (GLIBC_2.17): Likewise.
74761         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
74763 2012-09-25  Alan Modra  <amodra@gmail.com>
74765         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
74766         Add release barrier before setting once_control to say
74767         initialisation is done.  Add hints on lwarx.  Use macro in
74768         place of isync.
74769         (clear_once_control): Add release barrier.
74771 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
74773         [BZ #13629]
74774         * math/s_clog.c (__clog): Handle more values close to |z| = 1
74775         specially.
74776         * math/s_clog10.c (__clog10): Likewise.
74777         * math/s_clog10f.c (__clog10f): Likewise.
74778         * math/s_clog10l.c (__clog10l): Likewise.
74779         * math/s_clogf.c (__clogf): Likewise.
74780         * math/s_clogl.c (__clogl): Likewise.
74781         * math/Makefile (libm-calls): Add x2y2m1.
74782         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
74783         (__x2y2m1): Likewise.
74784         (__x2y2m1l): Likewise.
74785         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
74786         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
74787         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
74788         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
74789         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
74790         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
74791         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
74792         * sysdeps/i386/fpu/libm-test-ulps: Update.
74793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74795         [BZ #14621]
74796         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
74797         int as type of variable DEPTH.
74798         (glob): Use size_t instead of int as type of variables NEWCOUNT
74799         and OLD_PATHC.
74801 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74803         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74804         Add s_sincosf-sse2.
74805         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
74806         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
74807         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
74808         macros for using routine as __sincosf_ia32.
74809         Use macro for function declaration and weak_alias.
74810         * sysdeps/i386/fpu/libm-test-ulps: Update.
74812         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
74813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74815         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
74816         subnormal argument.
74817         * math/s_cexpf.c (__cexpf): Likewise.
74818         * math/s_csinf.c (__csinf): Likewise.
74819         * math/s_csinhf.c (__csinhf): Likewise.
74820         * math/s_ctanf.c (__ctanf): Likewise.
74821         * math/s_ctanhf.c (__ctanhf): Likewise.
74822         * math/s_ccosh.c (__ccoshf): Likewise.
74823         * math/s_cexp.c (__cexpl): Likewise.
74824         * math/s_csin.c (__csin): Likewise.
74825         * math/s_csinh.c (__csinh): Likewise.
74826         * math/s_ctan.c (__ctan): Likewise.
74827         * math/s_ctanh.c (ctanh): Likewise.
74828         * math/s_ccoshl.c (__ccoshl): Likewise.
74829         * math/s_cexpl.c (__cexpl): Likewise.
74830         * math/s_csinl.c (__csinl): Likewise.
74831         * math/s_csinhl.c (__csinhl): Likewise.
74832         * math/s_ctanl.c (__ctanl): Likewise.
74833         * math/s_ctanhl.c (__ctanhl): Likewise.
74835 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
74837         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
74838         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
74839         (_IO_off_t): Define to __off_t, not _G_off_t.
74840         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
74841         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
74842         (_IO_wint_t): Define to wint_t, not _G_wint_t.
74843         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
74844         type of __dummy and __dummy2 fields.
74845         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
74846         (_G_ssize_t): Likewise.
74847         (_G_off_t): Likewise.
74848         (_G_pid_t): Likewise.
74849         (_G_uid_t): Likewise.
74850         (_G_wchar_t): Likewise.
74851         (_G_wint_t): Likewise.
74852         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
74853         (_G_ssize_t): Likewise.
74854         (_G_off_t): Likewise.
74855         (_G_pid_t): Likewise.
74856         (_G_uid_t): Likewise.
74857         (_G_wchar_t): Likewise.
74858         (_G_wint_t): Likewise.
74859         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
74860         (_G_ssize_t): Likewise.
74861         (_G_off_t): Likewise.
74862         (_G_pid_t): Likewise.
74863         (_G_uid_t): Likewise.
74864         (_G_wchar_t): Likewise.
74865         (_G_wint_t): Likewise.
74867 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74869         * malloc/arena.c: Include malloc-sysdep.h.
74870         (shrink_heap): Use check_may_shrink_heap to decide if madvise
74871         is sufficient to shrink the heap or an unmap is needed.
74872         * sysdeps/generic/malloc-sysdep.h: New file.  Define
74873         new function check_may_shrink_heap.
74874         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
74875         new function check_may_shrink_heap.
74877 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74879         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
74880         comments.
74882 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
74884         * catgets/test-gencat.sh: Add "set -e".
74885         * elf/tst-pathopt.sh: Likewise.
74886         * grp/tst_fgetgrent.sh: Likewise.
74887         * iconvdata/run-iconv-test.sh: Likewise.
74888         * intl/tst-gettext.sh: Likewise.
74889         * intl/tst-gettext2.sh: Likewise.
74890         * intl/tst-gettext4.sh: Likewise.
74891         * intl/tst-gettext6.sh: Likewise.
74892         * intl/tst-translit.sh: Likewise.
74893         * io/ftwtest-sh: Likewise.
74894         * libio/test-freopen.sh: Likewise.
74895         * malloc/tst-mtrace.sh: Likewise.
74896         * posix/globtest.sh: Likewise.
74897         * posix/tst-getconf.sh: Likewise.
74898         * posix/wordexp-tst.sh: Likewise.
74899         * stdio-common/tst-printf.sh: Likewise.
74900         * stdio-common/tst-unbputc.sh: Likewise.
74901         * stdlib/tst-fmtmsg.sh: Likewise.
74902         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74903         * catgets/Makefile: Do not specify -e option when running
74904         testsuite shell scripts.
74905         * elf/Makefile: Likewise.
74906         * grp/Makefile: Likewise.
74907         * iconvdata/Makefile: Likewise.
74908         * intl/Makefile: Likewise.
74909         * io/Makefile: Likewise.
74910         * libio/Makefile: Likewise.
74911         * malloc/Makefile: Likewise.
74912         * posix/Makefile: Likewise.
74913         * stdio-common/Makefile: Likewise.
74914         * stdlib/Makefile: Likewise.
74915         * sysdeps/x86_64/Makefile: Likewise.
74917         * io/ftwtest-sh: Add copyright header.
74918         * posix/globtest.sh: Likewise.
74919         * posix/tst-getconf.sh: Likewise.
74920         * posix/wordexp-tst.sh: Likewise.
74921         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74923 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
74925         [BZ #13679]
74926         * Makeconfig (+link): Defined as $(+link-static) if
74927         $(build-shared) isn't yes.
74928         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
74929         isn't yes.
74930         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
74932         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
74934         [BZ #14562]
74935         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
74936         new chunk size with MALLOC_ALIGN_MASK.
74938 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
74940         [BZ #5044]
74941         * stdio-common/printf_fphex.c: Include <stdbool.h> and
74942         <rounding-mode.h>.
74943         (__printf_fphex): Determine rounding using get_rounding_mode and
74944         round_away.
74945         * stdio-common/tst-printf-round.c (struct hex_test): New
74946         structure.
74947         (hex_tests): New variable.
74948         (test_hex_in_one_mode): New function.
74949         (do_test): Also run tests for hex float output.
74951 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
74953         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74954         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74955         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
74956         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74957         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74958         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
74959         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74960         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74962 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
74964         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
74965         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
74966         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
74967         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
74969 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
74971         [BZ #14579]
74972         * elf/rtld.c (dl_main): Limit the check for self loading to normal
74973         mode only.
74974         * elf/tst-rtld-load-self.sh: New test.
74975         * elf/Makefile: Run it.
74977 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
74979         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
74980         (tst-writev-ENV): Remove.
74981         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
74983 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
74985         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
74987 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
74989         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
74990         unconditional.
74991         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
74992         Likewise.
74993         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
74994         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
74995         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
74996         Likewise.
74998 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
75000         [BZ #14587]
75001         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
75002         * config.make.in (have-cpp-asm-debuginfo): Removed.
75003         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
75004         * configure: Regenerated.
75006 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
75008         [BZ #5044]
75009         * stdio-common/printf_fp.c: Include <stdbool.h> and
75010         <rounding-mode.h>.
75011         (___printf_fp): Determine rounding using get_rounding_mode and
75012         round_away.
75013         * stdio-common/tst-printf-round.c: New file.
75014         * stdio-common/Makefile (tests): Add tst-printf-round.
75015         (link-libm): New variable.
75016         ($(objpfx)tst-printf-round): Depend in $(link-libm).
75018 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
75020         [BZ #14576]
75021         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
75022         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
75023         Likewise.
75024         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
75025         Likewise.
75027 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
75029         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
75030         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75031         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75032         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75034 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
75036         [BZ #14518]
75037         * include/rounding-mode.h: New file.
75038         * sysdeps/generic/get-rounding-mode.h: Likewise.
75039         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
75040         * stdlib/strtod_l.c: Include <rounding-mode.h>.
75041         (MAX_VALUE): New macro.
75042         (MIN_VALUE): Likewise.
75043         (overflow_value): New function.
75044         (underflow_value): Likewise.
75045         (round_and_return): Use overflow_value and underflow_value to
75046         determine return values in overflow and underflow cases.  Use
75047         round_away to determine rounding depending on rounding mode.
75048         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
75049         determine return values in overflow and underflow cases.
75050         * stdlib/tst-strtod-round.c: Include <fenv.h>.
75051         (struct test_results): New structure.
75052         (struct test): Use struct test_results to store expected results
75053         for all rounding modes.
75054         (TEST): Include expected results for all rounding modes.
75055         (test_in_one_mode): New function.
75056         (do_test): Use test_in_one_mode to compute and check results.
75057         Check results for all rounding modes.
75058         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
75059         $(link-libm).
75061 2012-12-09  Allan McRae  <allan@archlinux.org>
75063         * sysdeps/i386/fpu/libm-test-ulps: Update
75065 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
75067         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
75068         (_G_int32_t): Likewise.
75069         (_G_uint16_t): Likewise.
75070         (_G_uint32_t): Likewise.
75071         (_G_HAVE_BOOL): Likewise.
75072         (_G_HAVE_ATEXIT): Likewise.
75073         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75074         (_G_HAVE_IO_FILE_OPEN): Likewise.
75075         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
75076         (_G_int32_t): Likewise.
75077         (_G_uint16_t): Likewise.
75078         (_G_uint32_t): Likewise.
75079         (_G_HAVE_BOOL): Likewise.
75080         (_G_HAVE_ATEXIT): Likewise.
75081         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75082         (_G_HAVE_IO_FILE_OPEN): Likewise.
75083         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
75084         (_G_int32_t): Likewise.
75085         (_G_uint16_t): Likewise.
75086         (_G_uint32_t): Likewise.
75087         (_G_HAVE_BOOL): Likewise.
75088         (_G_HAVE_ATEXIT): Likewise.
75089         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75090         (_G_HAVE_IO_FILE_OPEN): Likewise.
75092 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
75094         * csu/libc-tls.c: Update copyright years.
75096 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
75098         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
75099         [!_G_USING_THUNKS]: Remove conditional code.
75100         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
75101         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
75103         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
75104         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
75105         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75106         (_G_VTABLE_LABEL_PREFIX): Likewise.
75107         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75108         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75109         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75110         (_G_VTABLE_LABEL_PREFIX): Likewise.
75111         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75112         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75113         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75114         (_G_VTABLE_LABEL_PREFIX): Likewise.
75115         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75117 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
75119         * libio/Makefile: Include ../Makeconfig before tests.
75120         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
75121         only if $(build-shared) is yes.
75123         * iconv/gconv_db.c: Update copyright years.
75125 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75127         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
75128         unwind info if defined PIC. Fix special cases description.
75129         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
75131         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
75132         DP_HI_MASK entry.
75133         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
75135 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
75137         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
75139         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
75140         is NULL.
75142         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
75143         (LDLIBS-tst-chk4): This.
75144         (LDFLAGS-tst-chk5): Renamed to ...
75145         (LDLIBS-tst-chk5): This.
75146         (LDFLAGS-tst-chk6): Renamed to ...
75147         (LDLIBS-tst-chk6): This.
75148         (LDFLAGS-tst-lfschk4): Renamed to ...
75149         (LDLIBS-tst-lfschk4): This.
75150         (LDFLAGS-tst-lfschk5): Renamed to ...
75151         (LDLIBS-tst-lfschk5): This.
75152         (LDFLAGS-tst-lfschk6): Renamed to ...
75153         (LDLIBS-tst-lfschk6): This.
75155         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
75156         on $(common-objpfx)soversions.mk.
75158 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
75160         [BZ #10014]
75161         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
75162         example host name.
75164 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
75166         * malloc/arena.c (arena_get_retry): New function that gets
75167         another arena for the caller to try its request on.
75168         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
75169         current arena cannot fulfill the request.
75170         (__libc_memalign): Likewise.
75171         (__libc_memalign): Likewise.
75172         (__libc_pvalloc): Likewise.
75173         (__libc_calloc): Likewise.
75175 2012-09-05  John Tobey  <john.tobey@gmail.com>
75177         [BZ #13542]
75178         * manual/arith.texi (Operations on Complex): Fix description
75179         of carg branch cut.
75181 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75183         [BZ #10014]
75184         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
75185         host name.
75187         [BZ #10038]
75188         * manual/memory.texi (Memory): Make order of menu items match
75189         order of sections.
75191 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75193         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
75194         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
75195         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
75197 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75199         * csu/libc-tls.c (static_dtv): Renamed to ...
75200         (_dl_static_dtv): This.  Make it global.
75201         (_dl_initial_dtv): Removed.
75202         (__libc_setup_tls): Updated.
75203         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
75204         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
75205         DL_INITIAL_DTV.
75207 2012-09-06  Petr Machata  <pmachata@redhat.com>
75209         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
75210         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
75211         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
75212         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
75214 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75216         [BZ #14545]
75217         * csu/libc-tls.c (_dl_initial_dtv): New variable.
75218         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
75219         freeing dtv[-1].
75221 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75223         [BZ #14544]
75224         * Makeconfig (link-static-before-libc): Replace $(+prector)
75225         with $(+prectorT).
75226         (link-static-after-libc): Replace $(+postctor) with
75227         $(+postctorT).
75228         (link-bounded): Replace $(+prector)/$(+postctor) with
75229         $(+prectorT)/$(+postctorT).
75230         (+prectorT): New macro.
75231         (+postctorT): Likewise.
75233 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75235         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
75236         (round_str): Handle values above the maximum for IBM long double
75237         as inexact.
75238         * stdlib/tst-strtod-round.c (tests): Regenerated.
75240 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75242         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
75243         assembler flag.
75244         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
75245         zarch_nohighgprs around the zarch optimized routines.
75246         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
75247         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
75248         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
75249         for zarch.
75251 2012-09-05  David S. Miller  <davem@davemloft.net>
75253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75255         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
75256         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
75257         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
75258         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75259         entries.
75261 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75263         * malloc/arena.c: Fold copyright years.
75264         * malloc/mcheck.c, malloc/memusage.c: Likewise.
75266 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75268         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
75270 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75272         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
75274 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75276         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
75277         change internal state upon failure.
75279 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75281         * malloc/mcheck.c (mcheck_check_all): Fix typo.
75282         * malloc/memusage.c (mmap): Likewise.
75283         (mmap64, mremap): Likewise.  Adjust name in comment.
75285 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75287         * libio/fileops.c: Fix typos in comments.
75288         * libio/oldfileops.c: Likewise.
75289         * libio/wfileops.c: Likewise.
75291 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75293         [BZ #1349]
75294         * malloc/Makefile (tests): Add tst-malloc-usable test case.
75295         (tst-malloc-usable-ENV): Set environment for test case.
75296         * malloc/hooks.c (malloc_check_get_size): New function to get
75297         requested size.
75298         * malloc/malloc.c (musable): Use malloc_check_get_size.
75299         * malloc/tst-malloc-usable.c: New test case.
75301 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75303         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
75305 2012-09-05  Allan McRae  <allan@archlinux.org>
75307         [BZ #13966]
75308         * configure.in (CXX_SYSINCLUDES): Use compiler output to
75309         determine header location.
75310         * configure: Regenerated.
75312 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75314         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
75315         float format.
75316         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
75317         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
75318         format.
75319         (test): Regenerate.
75321 2012-09-04  David S. Miller  <davem@davemloft.net>
75323         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
75324         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
75325         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
75327 2012-09-04  Florian Weimer  <fweimer@redhat.com>
75329         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
75330         failures.
75332         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
75334 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
75336         [BZ #9914]
75337         * libio/iogetdelim.c: Include <limits.h>.
75338         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
75339         + len + 1 would overflow.
75341 2012-09-03  Andreas Jaeger  <aj@suse.de>
75343         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75344         * sysdeps/i386/fpu/libm-test-ulps: Update.
75346 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75348         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75349         Add s_sinf-sse2, s_conf-sse2.
75351         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
75352         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
75353         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
75354         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
75356         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
75357         for using routine as __sinf_ia32.
75358         Use macro for function declaration and weak_alias.
75359         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
75360         for using routine as __cosf_ia32.
75361         Use macro for function declaration and weak_alias.
75363         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
75364         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
75366         * sysdeps/x86_64/fpu/s_sinf.S: New file.
75367         * sysdeps/x86_64/fpu/s_cosf.S: New file.
75368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75370         * math/libm-test.inc (cos_test): Add more test cases.
75371         (sin_test): Likewise.
75372         (sincos_test): Likewise.
75374 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75376         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
75377         (IFUNC_RESOLVE): Make pointers to the specialized implementations
75378         hidden.
75379         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
75381 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
75383         [BZ #14538]
75384         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
75385         first element of the GOT.
75386         (elf_machine_load_address): Return the difference between
75387         the runtime address of _DYNAMIC and elf_machine_dynamic ().
75389 2012-09-01  Allan McRae  <allan@archlinux.org>
75391         [BZ #13412]
75392         * configure.in (AWK): Require gawk version 3.0 or later.
75393         * configure: Regenerated.
75395 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
75397         * sysdeps/unix/sysv/linux/kernel-features.h
75398         (__ASSUME_POSIX_CPU_TIMERS): Remove.
75399         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75400         [__NR_clock_getres]: Make code unconditional.
75401         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
75402         (clock_getcpuclockid): Remove code left unreachable by removal of
75403         conditionals.
75404         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
75405         code unconditional.
75406         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75407         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75408         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
75409         Make code unconditional.
75410         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75411         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75412         * sysdeps/unix/sysv/linux/clock_settime.c
75413         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
75414         conditional code.
75415         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
75416         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75418 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
75420         [BZ #14476]
75421         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
75422         scripts/test-installation.pl.
75424         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
75425         and $ld_so_version if it is set.
75427 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
75429         [BZ #14516]
75430         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
75431         failure if reading from procfs failed.
75432         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
75434 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
75436         * sysdeps/unix/sysv/linux/kernel-features.h
75437         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
75438         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75439         Remove conditional code.
75440         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75441         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
75442         Remove conditional code.
75443         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75444         * sysdeps/unix/sysv/linux/i386/fxstat.c
75445         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75446         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75447         * sysdeps/unix/sysv/linux/i386/fxstatat.c
75448         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75449         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75450         * sysdeps/unix/sysv/linux/i386/lxstat.c
75451         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75452         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75453         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
75454         Remove conditional code.
75455         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75456         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75457         Remove conditional code.
75458         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75459         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
75460         <kernel-features.h>.
75461         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
75462         Remove.
75463         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
75464         Remove conditional code.
75465         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75466         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
75467         Remove conditional.
75469 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
75471         [BZ #5400]
75472         * NEWS: Add fixed bug number.
75474 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
75476         [BZ #14519]
75477         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
75478         underflowing exponent in case of negative sign.
75479         * stdlib/tst-strtod-round-data: Add more tests.
75480         * stdlib/tst-strtod-round.c (tests): Regenerated.
75482         [BZ #3479]
75483         * stdlib/strtod_l.c (NDIG): Remove.
75484         (HEXNDIG): Likewise.
75485         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
75486         smallest representable value.
75487         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
75488         lie within an exact representation of 1/2 ulp of the result.
75489         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
75490         unconditionally.
75491         (TENS_P9_IDX): Define unconditionally.
75492         (TENS_P9_SIZE): Likewise.
75493         (TENS_P10_IDX): Likewise.
75494         (TENS_P10_SIZE): Likewise.
75495         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
75496         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
75497         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
75498         entries for 10^2^13 and 10^2^14.
75499         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
75500         (TENS_P13_IDX): Define.
75501         (TENS_P13_SIZE): Likewise.
75502         (TENS_P14_IDX): Likewise.
75503         (TENS_P14_SIZE): Likewise.
75504         (_fpioconst_pow10): Change array size to
75505         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
75506         unconditional.
75507         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
75508         1024]: Add entries for 10^2^13 and 10^2^14.
75509         [LAST_POW10 > _LAST_POW10]: Remove #error.
75510         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
75511         (_fpioconst_pow10): Change array size to
75512         FPIOCONST_POW10_ARRAY_SIZE.
75513         * stdlib/gen-fpioconst.c: New file.
75514         * stdlib/gen-tst-strtod-round.c: Likewise.
75515         * stdlib/tst-strtod-round-data: Likewise.
75516         * stdlib/tst-strtod-round.c: Likewise.
75517         * stdlib/Makefile (tests): Add tst-strtod-round.
75519         [BZ #14459]
75520         * stdlib/strtod_l.c: Include <stdint.h>.
75521         (NDEBUG): Do not define.
75522         (round_and_return): Change EXPONENT parameter to type intmax_t.
75523         Rearrange calculations to avoid internal overflow possibilities.
75524         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
75525         Rearrange calculations to avoid internal overflow possibilities.
75526         Assert that number fits inside MPNSIZE limbs.
75527         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
75528         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
75529         calculations and add assertions to avoid internal overflow
75530         possibilities.  Add casts to avoid signed/unsigned operations.
75531         * stdlib/tst-strtod-overflow.c: New file.
75532         * stdlib/Makefile (tests): Add tst-strtod-overflow.
75534 2012-08-25  Marek Polacek  <polacek@redhat.com>
75536         * time/time.h: Fix some typos in comments.
75538 2012-08-23  Roland McGrath  <roland@hack.frob.com>
75540         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
75541         * posix/tst-rfc3484-2.c: Likewise.
75542         * posix/tst-rfc3484-3.c: Likewise.
75544 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
75546         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
75547         (EF_ARM_ABI_FLOAT_HARD): Likewise.
75549 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
75551         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
75552         #include of fxstatat64.c.
75554 2012-08-22  Roland McGrath  <roland@hack.frob.com>
75556         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
75557         * shadow/getspent_r.c: Likewise.
75558         * shadow/getspnam.c: Likewise.
75559         * shadow/getspnam_r.c: Likewise.
75560         * gshadow/getsgent.c: Likewise.
75561         * gshadow/getsgent_r.c: Likewise.
75562         * gshadow/getsgnam.c: Likewise.
75563         * gshadow/getsgnam_r.c: Likewise.
75564         * inet/getnetbyad.c: Likewise.
75565         * inet/getnetbyad_r.c: Likewise.
75566         * inet/getnetbynm.c: Likewise.
75567         * inet/getnetbynm_r.c: Likewise.
75568         * inet/getnetent.c: Likewise.
75569         * inet/getnetent_r.c: Likewise.
75570         * inet/getproto.c: Likewise.
75571         * inet/getproto_r.c: Likewise.
75572         * inet/getprtent.c: Likewise.
75573         * inet/getprtent_r.c: Likewise.
75574         * inet/getprtname.c: Likewise.
75575         * inet/getprtname_r.c: Likewise.
75576         * inet/getrpcbyname.c: Likewise.
75577         * inet/getrpcbyname_r.c: Likewise.
75578         * inet/getrpcbynumber.c: Likewise.
75579         * inet/getrpcbynumber_r.c: Likewise.
75580         * inet/getrpcent.c: Likewise.
75581         * inet/getrpcent_r.c: Likewise.
75582         * inet/getaliasent.c: Likewise.
75583         * inet/getaliasent_r.c: Likewise.
75584         * inet/getaliasname.c: Likewise.
75585         * inet/getaliasname_r.c: Likewise.
75586         * nscd/getgrgid_r.c: Likewise.
75587         * nscd/getgrnam_r.c: Likewise.
75588         * nscd/gethstbyad_r.c: Likewise.
75589         * nscd/gethstbynm3_r.c: Likewise.
75590         * nscd/getpwnam_r.c: Likewise.
75591         * nscd/getpwuid_r.c: Likewise.
75592         * nscd/getsrvbynm_r.c: Likewise.
75593         * nscd/getsrvbypt_r.c: Likewise.
75594         * nscd/gai.c: Likewise.
75596         * configure.in (build_nscd): New substituted variable, set
75597         by --disable-build-nscd and defaults to $use_nscd.
75598         * configure: Regenerated.
75599         * config.make.in (build-nscd): New substituted variable.
75600         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
75601         Change conditional to require [$(build-nscd) = yes] as well.
75602         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
75604         [BZ #13696]
75605         * configure.in (use_nscd): New substituted variable, set by
75606         --disable-nscd.  If enabled, define USE_NSCD.
75607         * configure: Regenerated.
75608         * config.h.in: Add USE_NSCD.
75609         * config.make.in (use-nscd): New substituted variable.
75610         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
75611         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
75612         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
75613         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
75614         (CFLAGS-getgrnam_r.c): Likewise.
75615         (CFLAGS-initgroups.c): Likewise.
75616         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
75617         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
75618         Variables removed.
75619         * inet/getnetgrent_r.c
75620         (nscd_setnetgrent): New function, broken out of ...
75621         (setnetgrent): ... here.  Call it.
75622         (innetgr): Conditionalize nscd bits on [USE_NSCD].
75623         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
75624         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
75625         * nscd/Makefile (routines, aux): Move definitions after include of
75626         Makeconfig.  Conditionalize on [$(use-nscd) != no].
75627         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
75628         Conditionalize on [USE_NSCD].
75629         (is_nscd, nscd_init_cb): Likewise.
75630         (nss_load_library): Conditionalize init callback on [USE_NSCD].
75631         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
75632         * nss/nss_db/db-init.c: Likewise.
75633         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
75634         [USE_NSCD].
75635         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
75636         (make_request): Use it.
75637         (cache_valid_p): New function.
75638         (__check_pf): Use it.
75639         * NEWS: Add item for --disable-nscd.
75641 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
75643         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
75644         to support sed >= 4.2.1-20-ga9bf076.
75645         * configure: Regenerated.
75647 2012-08-22  Roland McGrath  <roland@hack.frob.com>
75649         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
75650         Conditionalize whole body on [IREL].
75652 2012-08-22  Jeff Law <law@redhat.com>
75654         [BZ #14505]
75655         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
75656         if the family is PF_UNSPEC.
75658 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
75660         * Makerules (lib-version): Rename from V.
75661         (install-lib-nosubdir): Change V to lib-version.
75663 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
75665         [BZ #14252]
75666         * powerpc32/power6/wcschr.c: New file.
75667         * powerpc32/power6/wcscpy.c: New file.
75668         * powerpc32/power6/wcsrchr.c: New file.
75669         * powerpc64/power6/wcschr.c: New file.
75670         * powerpc64/power6/wcscpy.c: New file.
75671         * powerpc64/power6/wcsrchr.c: New file.
75673 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
75675         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
75676         (two_way_short_needle): Use it.
75677         * string/strstr.c (AVAILABLE1_USES_J): Define.
75678         * string/strcasestr.c: Likewise.
75680         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
75681         array references.
75682         * string/strcasestr.c (TOLOWER): Make side-effect safe.
75684         [BZ #11607]
75685         * NEWS: Add an entry.
75686         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
75687         define their defaults.
75688         (two_way_short_needle): Detect end-of-string on-the-fly.
75689         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
75690         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
75691         * string/bug-strcasestr1.c: New test.
75692         * string/Makefile: Run it.
75694 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
75696         [BZ #11607]
75697         * string/str-two-way.h (two_way_short_needle): Optimize matching of
75698         the first character.
75700 2012-08-21  Roland McGrath  <roland@hack.frob.com>
75702         * csu/elf-init.c (__libc_csu_irel): Function removed.
75703         * csu/libc-start.c (apply_irel): New function.
75704         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
75706 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
75708         * sysdeps/unix/sysv/linux/kernel-features.h
75709         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
75710         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
75711         <kernel-features.h>.
75712         [__NR_fadvise64_64]: Make code unconditional.
75713         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
75714         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
75715         !__NR_fadvise64_64)]: Likewise.
75716         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
75717         !__NR_fadvise64_64))]: Likewise.
75718         [__NR_fadvise64]: Make code unconditional.
75719         [!__NR_fadvise64]: Remove conditional code.
75720         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
75721         <kernel-features.h>.
75722         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75723         unconditional.
75724         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75725         conditional code.
75726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
75727         not include <kernel-features.h>.
75728         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75729         unconditional.
75730         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75731         conditional code.
75732         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
75733         include <kernel-features.h>.
75734         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75735         unconditional.
75736         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75737         conditional code.
75739 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75741         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
75742         slight instruction rearrangements per scrollpipe analysis.
75743         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
75745 2012-08-20  Roland McGrath  <roland@hack.frob.com>
75747         * manual/syslog.texi (syslog; vsyslog, closelog):
75748         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
75749         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
75751         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
75752         DSOCAPS to match condition on defining it.
75754 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
75756         * sysdeps/unix/sysv/linux/kernel-features.h
75757         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
75758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
75759         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75760         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
75762         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75763         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
75765         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75766         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75768         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
75769         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
75771         * sysdeps/unix/sysv/linux/kernel-features.h
75772         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
75773         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
75774         unconditional.
75775         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75776         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
75777         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
75778         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75779         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
75780         Make code unconditional.
75781         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75782         (__mmap64) [!__NR_mmap2]: Likewise.
75783         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
75784         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
75785         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75786         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
75787         [__NR_mmap2]: Make code unconditional.
75788         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75789         (__mmap64) [!__NR_mmap2]: Likewise.
75791 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75793         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
75795 2012-08-18  Andreas Jaeger  <aj@suse.de>
75797         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
75799 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
75801         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
75802         * include/unistd.h (__have_sock_cloexec): Likewise.
75803         (__have_pipe2): Likewise.
75804         (__have_dup3): Likewise.
75806 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
75808         [BZ #9685]
75809         * include/unistd.h (__have_pipe2): Change define into an extern int.
75810         (__have_dup3): Likewise.
75811         * socket/have_sock_cloexec.c: Include fcntl.h.
75812         (__have_pipe2): New variable.
75813         (__have_dup3): Likewise.
75815 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
75817         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
75819 2012-08-17  Marek Polacek  <polacek@redhat.com>
75821         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
75822         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
75824 2012-08-17  Roland McGrath  <roland@hack.frob.com>
75826         * configure.in: Add AC_SUBST for sysheaders.
75827         * configure: Regenerated.
75828         * config.make.in (sysheaders): New substituted variable.
75830         * sysdeps/unix/mkfifo.c: Moved ...
75831         * sysdeps/posix/mkfifo.c: ... here.
75832         * sysdeps/unix/mkfifoat.c: Moved ...
75833         * sysdeps/posix/mkfifoat.c: ... here.
75835         * sysdeps/unix/utime.c: Moved ...
75836         * sysdeps/posix/utime.c: ... here.
75838         * sysdeps/unix/time.c: Moved ...
75839         * sysdeps/posix/time.c: ... here.
75840         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
75841         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
75843         * sysdeps/unix/nice.c: Moved ...
75844         * sysdeps/posix/nice.c: ... here.
75846         * sysdeps/unix/alarm.c: Moved ...
75847         * sysdeps/posix/alarm.c: ... here.
75849         * intl/Makefile ($(codeset_mo)): Depend on the input file.
75851 2012-08-17  Jeff Law <law@redhat.com>
75853         * intl/Makefile (codeset_mo): New variable.
75854         ($(codeset_mo)): New target.
75855         (tst-codeset.out): Depend on that.  Remove explicit rule.
75856         (tst-gettext3.out, tst-gettext5.out): Likewise.
75857         (LOCPATH-ENV, tst-codeset-ENV): New variables.
75858         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
75859         * intl/tst-codeset.sh: Remove.
75860         * intl/tst-gettext3.sh: Likewise.
75861         * intl/tst-gettext5.sh: Likewise.
75863 2012-08-17  Roland McGrath  <roland@hack.frob.com>
75865         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
75866         * sysdeps/unix/syscalls.list: ... here.
75868         * sysdeps/posix/getaddrinfo.c
75869         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
75870         (gaiconf_init, gaiconf_reload): Use them.
75871         [!_STATBUF_ST_NSEC]
75872         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
75873         Define using time_t rather than struct timespec.
75875         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
75876         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
75877         Macros removed.
75878         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
75879         [!NO_THREADS].
75880         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
75881         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
75882         Likewise.
75884         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
75885         __libc_cleanup_push argument.
75887         * bits/param.h: New file.
75888         * misc/sys/param.h: New file.
75889         * include/sys/param.h: New file.
75890         * misc/Makefile (headers): Add bits/param.h.
75891         * sysdeps/generic/sys/param.h: File removed.
75892         * sysdeps/unix/sysv/linux/bits/param.h: New file.
75893         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
75894         * sysdeps/mach/hurd/bits/param.h: New file.
75895         * sysdeps/mach/hurd/sys/param.h: File removed.
75897         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
75898         last change.
75900         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
75901         [_IO_MTSAFE_IO].
75902         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
75903         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
75904         New macros.
75906         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
75907         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
75908         rather than -D_IO_MTSAFE_IO conditionally.
75909         * stdio-common/Makefile (CPPFLAGS): Likewise.
75910         * wcsmbs/Makefile (CPPFLAGS): Likewise.
75911         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
75912         Use $(libio-mtsafe).
75913         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
75914         of -D_IO_MTSAFE_IO.
75915         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
75916         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
75917         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
75918         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
75919         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
75920         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
75921         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
75922         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
75923         (CFLAGS-fread_u_chk.c): Likewise.
75924         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
75925         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
75926         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
75927         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
75928         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
75929         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
75930         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
75931         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
75932         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
75934         * libio/Makefile: Test [$(libc-reentrant) = yes]
75935         instead of [$(filter %REENTRANT, $(defines)) nonempty].
75937         * Makeconfig
75938         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
75939         * sysdeps/pthread/configure: File removed.
75940         * sysdeps/pthread/Makeconfig: New file.
75941         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
75942         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
75944 2012-08-16  Gary Benson  <gbenson@redhat.com>
75946         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
75947         unmapping the first object in a namespace.
75949 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75951         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
75952         (__internal_setnetgrent): ... this.  Add internal_function to
75953         definition.  Add libc_hidden_def.
75954         (setnetgrent): Update caller.
75955         (internal_endnetgrent): Renamed to ...
75956         (__internal_endnetgrent): ... this.  Add internal_function to
75957         definition.  Add libc_hidden_def.
75958         (endnetgrent): Update caller.
75959         (internal_getnetgrent_r): Renamed to ...
75960         (__internal_getnetgrent_r): ... this.  Add internal_function to
75961         definition.  Add libc_hidden_def.
75962         (__getnetgrent_r): Update caller.
75963         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
75965 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75967         * stdlib/longlong.h: Update from GCC.
75969 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75971         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
75972         on _QL, which is set by umul_ppmm but never used.
75973         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
75974         variables, which are set by GMP macros but never used.
75975         * stdio-common/_itowa.c (_itowa): Likewise.
75976         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
75977         * stdlib/mod_1.c (mpn_mod_1): Likewise.
75979 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
75981         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
75982         struct La_sh_regs is not constant.
75983         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
75984         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
75985         and struct La_sparc64_regs are not constant.
75987 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75989         * sysdeps/unix/sysv/linux/kernel-features.h
75990         (__ASSUME_POSIX_TIMERS): Remove.
75991         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75992         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75993         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
75994         Make code unconditional.
75995         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75996         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
75997         Make code unconditional.
75998         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75999         * sysdeps/unix/sysv/linux/clock_nanosleep.c
76000         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
76001         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76002         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
76003         Make code unconditional.
76004         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76005         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
76006         (__libc_missing_posix_timers): Remove.
76008 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76010         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
76011         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
76013         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
76015         * elf/dl-sym.c: Include <stdlib.h>.
76017         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
76018         constants, which avoids warnings in 32-bit builds.
76020         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
76021         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
76023         * misc/lseek.c: File moved to ...
76024         * io/lseek.c: ... here.
76026         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
76028         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
76029         shifting LEN more than 31 bits at once.
76031 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76033         [BZ #14195]
76034         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
76035         segmentation fault for a case of two empty input strings.
76036         * string/test-strncasecmp.c (check1): Renamed to...
76037         (bz12205): ...this.
76038         (bz14195): Add new testcase for two empty input strings and N > 0.
76039         (test_main): Call new testcase, adapt for renamed function.
76041 2012-08-15  Andreas Jaeger  <aj@suse.de>
76043         [BZ #14090]
76044         * crypt/md5test2.c: New test, based on test supplied by Serge
76045         Belyshev <belyshev@depni.sinp.msu.ru>.
76046         * crypt/Makefile (xtests): Add md5test-giant..
76047         * crypt/Makefile ($(objpfx)md5test-giant): Add.
76049 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
76051         [BZ #14090]
76052         * crypt/md5.c (md5_process_block): Don't assume the buffer
76053         length is less than 2**32.
76054         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
76055         length is less than 2**64.
76057 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76059         * string/str-two-way.h: Include <sys/param.h>.
76060         (MAX): Macro removed.
76062         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
76063         Move #define and #undef of memmove to just before and after
76064         including <string.h>.
76066         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
76067         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
76068         and after including <string.h>.  Move declarations of
76069         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
76070         to before #include "string/memmove.c".
76072         * include/dirent.h: Declare __getdirentries.
76074         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
76075         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
76077 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
76079         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
76080         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
76081         * sysdeps/i386/configure: Regenerated.
76082         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
76083         STABS_CURRENT_FILE, and STABS_FUN.
76084         (END): Remove call to STABS_FUN_END.
76085         (STABS_CURRENT_FILE1): Delete.
76086         (STABS_CURRENT_FILE): Likewise.
76087         (STABS_FUN): Likewise.
76088         (STABS_FUN_END): Likewise.
76089         (STABS_FUN2): Likewise.
76090         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
76091         * sysdeps/x86_64/configure: Regenerated.
76093 2012-08-14  Roland McGrath  <roland@hack.frob.com>
76095         * elf/dl-open.c: Include <atomic.h>.
76096         * elf/dl-lookup.c: Likewise.
76098 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
76100         * sysdeps/unix/sysv/linux/kernel-features.h
76101         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
76102         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
76103         unconditionally.
76104         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
76105         unconditionally.
76106         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
76107         condition on __ASSUME_CLONE_THREAD_FLAGS.
76109 2012-08-14  Andreas Jaeger  <aj@suse.de>
76111         * sysdeps/i386/fpu/libm-test-ulps: Update.
76113 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
76115         * include/atomic.h (atomic_exchange_and_add): Split into ...
76116         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
76117         New atomic macros.
76119 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
76121         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76123 2012-08-13  Jeff Law <law@redhat.com>
76125         * manual/stdio.texi (snprintf): Clarify handling of the trailing
76126         null byte in the output string.
76128 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
76130         * sysdeps/unix/sysv/linux/kernel-features.h
76131         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
76132         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
76133         (__ASSUME_ARG_MAX_STACK_BASED): Define.
76134         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
76135         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
76136         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
76137         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
76139 2012-08-09  Jeff Law <law@redhat.com>
76141         [BZ #13939]
76142         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
76143         When avoid_arena is set, don't retry in the that arena.  Pick the
76144         next one, whatever it might be.
76145         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
76146         (arena_lock): Pass in new parameter to arena_get2.
76147         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
76148         arena_get2.
76149         (__libc_malloc): Unify retrying after main arena failure with
76150         __libc_memalign version.
76151         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
76153 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
76155         [BZ #14166]
76156         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
76157         to __redirect_strstr.
76158         (__strstr_sse42): Use typeof __redirect_strstr.
76159         (__strstr_ia32): Likewise.
76160         (__libc_strstr): New prototype.
76161         (strstr): Renamed to ...
76162         (__libc_strstr): This.
76163         (strstr): New strong alias of __libc_strstr.
76164         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76165         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
76166         __redirect_time.
76167         Include <time.h>.
76168         (__libc_time): New prototype.
76169         (time_ifunc): Replace time with __libc_time.
76170         (time): New strong alias and hidden definition of __libc_time.
76171         (__GI_time): Remove strong alias.
76172         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
76173         Include <stddef.h>.
76174         (memmove): Redefined to __redirect_memmove.
76175         (__memmove_sse2): Use typeof __redirect_memmove.
76176         (__memmove_ssse3): Likewise.
76177         (__memmove_ssse3_back): Likewise.
76178         (__libc_memmove): New prototype.
76179         (memmove): Renamed to ...
76180         (__libc_memmove): This.
76181         (memmove): New strong alias of __libc_memmove.
76183 2012-08-08  Mark Salter  <msalter@redhat.com>
76185         * elf/elf.h
76186         (R_MN10300_TLS_GD): Define.
76187         (R_MN10300_TLS_LD): Likewise.
76188         (R_MN10300_TLS_LDO): Likewise.
76189         (R_MN10300_TLS_GOTIE): Likewise.
76190         (R_MN10300_TLS_IE): Likewise.
76191         (R_MN10300_TLS_LE): Likewise.
76192         (R_MN10300_TLS_DTPMOD): Likewise.
76193         (R_MN10300_TLS_DTPOFF): Likewise.
76194         (R_MN10300_TLS_TPOFF): Likewise.
76195         (R_MN10300_SYM_DIFF): Likewise.
76196         (R_MN10300_ALIGN): Likewise.
76197         (R_MN10300_NUM): Update.
76199 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
76201         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
76202         Remove.
76204 2012-08-08  Roland McGrath  <roland@hack.frob.com>
76206         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
76208         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
76209         sysdeps/unix -> sysdeps/posix move.
76210         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
76212 2012-08-07      Allan McRae     <allan@archlinux.org>
76214         [BZ #14303]
76215         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
76216         (SUNOS_CPP): Likewise.
76217         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
76218         not found.
76219         (open_input): Call CPP using execvp.
76221 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76223         * sysdeps/unix/sysv/linux/kernel-features.h
76224         (__ASSUME_PROT_GROWSUPDOWN): Remove.
76225         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76226         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76227         (__ASSUME_WAITID_SYSCALL): Likewise.
76228         * sysdeps/unix/sysv/linux/dl-execstack.c
76229         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
76230         code unconditional.
76231         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
76232         conditional code.
76233         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
76234         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
76235         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
76236         code.
76237         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
76238         unconditional.
76239         [__ASSUME_WAITID_SYSCALL]: Likewise.
76240         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
76242 2012-08-07  Roland McGrath  <roland@hack.frob.com>
76244         * sysdeps/unix/closedir.c: Renamed to ...
76245         * sysdeps/posix/closedir.c: ... here.
76246         * sysdeps/unix/dirfd.c: Renamed to ...
76247         * sysdeps/posix/dirfd.c: ... here.
76248         * sysdeps/unix/dirstream.h: Renamed to ...
76249         * sysdeps/posix/dirstream.h: ... here.
76250         * sysdeps/unix/fdopendir.c: Renamed to ...
76251         * sysdeps/posix/fdopendir.c: ... here.
76252         * sysdeps/unix/opendir.c: Renamed to ...
76253         * sysdeps/posix/opendir.c: ... here.
76254         * sysdeps/unix/readdir.c: Renamed to ...
76255         * sysdeps/posix/readdir.c: ... here.
76256         * sysdeps/unix/readdir_r.c: Renamed to ...
76257         * sysdeps/posix/readdir_r.c: ... here.
76258         * sysdeps/unix/rewinddir.c: Renamed to ...
76259         * sysdeps/posix/rewinddir.c: ... here.
76260         * sysdeps/unix/seekdir.c: Renamed to ...
76261         * sysdeps/posix/seekdir.c: ... here.
76262         * sysdeps/unix/telldir.c: Renamed to ...
76263         * sysdeps/posix/telldir.c: ... here.
76264         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
76265         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
76266         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
76267         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
76269         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
76270         * bits/fcntl.h: ... here.
76272         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
76273         not 0.
76274         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
76275         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
76276         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
76277         (struct flock): Move l_start, l_len to the beginning.
76278         Use __pid_t for l_pid.
76279         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
76280         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
76281         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
76282         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
76283         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
76284         [__USE_LARGEFILE64] (struct flock64): New type.
76285         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
76287         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
76288         * bits/dirent.h: ... here.
76290         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
76291         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
76293 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76295         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76296         Change from 2.6.0 to 2.6.16.
76297         * sysdeps/unix/sysv/linux/configure: Regenerated.
76298         * sysdeps/unix/sysv/linux/kernel-features.h
76299         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
76300         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
76301         version.
76302         (__ASSUME_UTIMES): Likewise.
76303         (__ASSUME_CLONE_STOPPED): Remove.
76304         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
76305         architectures, not kernel version.
76306         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
76307         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76308         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76309         (__ASSUME_WAITID_SYSCALL): Likewise.
76310         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
76311         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
76312         * README: State 2.6.16 as minimum Linux kernel version.  Do not
76313         refer to older versions.
76315 2012-08-06  Roland McGrath  <roland@hack.frob.com>
76317         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
76318         Define alphasort64 as an alias.
76319         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
76320         Define versionsort64 as an alias.
76321         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
76322         Define scandir64 as an alias.
76323         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
76324         Define scandirat64 as an alias.
76325         * dirent/alphasort64.c (alphasort64):
76326         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
76327         * dirent/versionsort64.c: Likewise.
76328         * dirent/scandir64.c: Likewise.
76329         * dirent/scandirat64.c: Likewise.
76330         * sysdeps/wordsize-64/alphasort.c: File removed.
76331         * sysdeps/wordsize-64/alphasort64.c: File removed.
76332         * sysdeps/wordsize-64/scandir.c: File removed.
76333         * sysdeps/wordsize-64/scandir64.c: File removed.
76334         * sysdeps/wordsize-64/scandirat.c: File removed.
76335         * sysdeps/wordsize-64/scandirat64.c: File removed.
76336         * sysdeps/wordsize-64/versionsort.c: File removed.
76337         * sysdeps/wordsize-64/versionsort64.c: File removed.
76338         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
76339         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
76340         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
76341         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
76342         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
76343         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
76344         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
76345         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
76347         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
76348         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76349         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
76350         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76351         [defined __arch64__ || defined __sparcv9]
76352         (__INO_T_MATCHES_INO64_T): New macro.
76353         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76354         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
76355         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
76356         * sysdeps/unix/sysv/linux/bits/dirent.h
76357         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
76358         (_DIRENT_MATCHES_DIRENT64): New macro.
76360         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
76361         Define lockf64 as an alias.
76362         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
76363         Define fseeko64 as an alias.
76364         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
76365         Define ftello64 as an alias.
76366         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
76367         Define _IO_fgetpos64 and fgetpos64 as aliases.
76368         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
76369         Define _IO_fsetpos64 and fsetpos64 as aliases.
76370         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
76371         Conditionalize body on this.
76372         * libio/fseeko64.c: Likewise.
76373         * libio/ftello64.c: Likewise.
76374         * libio/iofgetpos64.c: Likewise.
76375         * libio/iofsetpos64.c: Likewise.
76376         * sysdeps/wordsize-64/lockf.c: File removed.
76377         * sysdeps/wordsize-64/lockf64.c: File removed.
76378         * sysdeps/wordsize-64/fseeko.c: File removed.
76379         * sysdeps/wordsize-64/fseeko64.c: File removed.
76380         * sysdeps/wordsize-64/ftello.c: File removed.
76381         * sysdeps/wordsize-64/ftello64.c: File removed.
76382         * sysdeps/wordsize-64/iofgetpos.c: File removed.
76383         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
76384         * sysdeps/wordsize-64/iofsetpos.c: File removed.
76385         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
76386         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
76387         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
76388         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
76389         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
76390         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
76391         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
76392         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
76393         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
76394         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
76395         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
76397         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76398         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76399         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
76400         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76401         [defined __arch64__ || defined __sparcv9]
76402         (__OFF_T_MATCHES_OFF64_T): New macro.
76403         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76404         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76405         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76406         (__OFF_T_MATCHES_OFF64_T): New macro.
76408 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76410         * stdlib/secure-getenv.c (__secure_getenv): Replace
76411         GLIBC_2_16 with GLIBC_2_17.
76413 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76415         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
76416         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76418 2012-08-03  David S. Miller  <davem@davemloft.net>
76420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76422 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
76424         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
76425         Remove.
76426         (__ASSUME_CORRECT_SI_PID): Likewise.
76427         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
76428         (__ASSUME_TMPFS_NAME): Likewise.
76429         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
76430         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
76431         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
76432         (HAVE_AUX_SECURE): Make definition unconditional.
76433         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
76434         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
76436 2012-08-03  Roland McGrath  <roland@hack.frob.com>
76438         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
76439         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
76440         * sysdeps/mach/hurd/eloop-threshold.h: New file.
76441         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76442         __eloop_threshold instead of SYMLOOP_MAX.
76444         * sysdeps/generic/eloop-threshold.h: New file.
76445         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
76446         of MAXSYMLINKS.
76447         * elf/chroot_canon.c (chroot_canon): Likewise.
76449 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
76451         [BZ #13717]
76452         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76453         Change to 2.6.0 everywhere.
76454         * sysdeps/unix/sysv/linux/configure: Regenerated.
76455         * sysdeps/unix/sysv/linux/kernel-features.h
76456         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
76457         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
76458         kernel versions.
76459         (__ASSUME_POSIX_TIMERS): Define unconditionally.
76460         (__ASSUME_FUTEX_REQUEUE): Remove.
76461         (__ASSUME_STATFS64): Define unconditionally.
76462         (__ASSUME_AT_SECURE): Likewise.
76463         (__ASSUME_CORRECT_SI_PID): Likewise.
76464         (__ASSUME_TGKILL): Define without depending on kernel version for
76465         i386.
76466         (__ASSUME_UTIMES): Likewise.
76467         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
76468         kernel version.
76469         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
76470         (__ASSUME_TMPFS_NAME): Likewise.
76471         * README: Update reference to Linux kernel versions.
76473 2012-08-02  Marek Polacek  <polacek@redhat.com>
76475         [BZ #14150]
76476         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
76477         libc_cv_asm_type_prefix with %.
76478         * configure: Regenerated.
76479         * include/libc-symbols.h: Remove comment about
76480         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76481         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
76482         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
76483         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
76484         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
76485         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76486         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
76487         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
76488         * elf/tst-unique2mod1.c: Likewise.
76489         * elf/tst-unique1mod2.c: Likewise.
76490         * elf/tst-unique1mod1.c: Likewise.
76491         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
76492         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
76493         Replace ASM_TYPE_DIRECTIVE with .type.
76494         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76495         * sysdeps/i386/sysdep.h: Likewise.
76496         * sysdeps/x86_64/sysdep.h: Likewise.
76497         * sysdeps/sh/sysdep.h: Likewise.
76498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76499         Do not define ASM_TYPE_DIRECTIVE.
76500         * sysdeps/powerpc/sysdep.h: Likewise.
76501         * sysdeps/powerpc/powerpc32/sysdep.h:
76502         Replace ASM_TYPE_DIRECTIVE with .type.
76503         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76504         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76505         * sysdeps/i386/fpu/e_powf.S: Likewise.
76506         * sysdeps/i386/fpu/e_expl.S: Likewise.
76507         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76508         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76509         * sysdeps/i386/fpu/e_pow.S: Likewise.
76510         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
76511         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76512         * sysdeps/i386/fpu/s_expm1.S: Likewise.
76513         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
76514         * sysdeps/i386/fpu/e_log2.S: Likewise.
76515         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76516         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76517         * sysdeps/i386/fpu/e_powl.S: Likewise.
76518         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76519         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
76520         * sysdeps/i386/fpu/e_logl.S: Likewise.
76521         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
76522         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
76523         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
76524         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76525         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76526         * sysdeps/i386/fpu/e_log.S: Likewise.
76527         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76528         * sysdeps/i386/fpu/e_logf.S: Likewise.
76529         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76530         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76531         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
76532         * sysdeps/i386/fpu/e_log10.S: Likewise.
76533         * sysdeps/i386/fpu/s_frexp.S: Likewise.
76534         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76535         * sysdeps/i386/fpu/s_asinh.S: Likewise.
76536         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
76537         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76538         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
76539         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
76540         * sysdeps/i386/i686/strtok.S: Likewise.
76541         * sysdeps/i386/i386-mcount.S: Likewise.
76542         * sysdeps/i386/strtok.S: Likewise.
76543         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
76544         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76545         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76546         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76547         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76548         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76549         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
76550         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
76551         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76552         * sysdeps/x86_64/_mcount.S: Likewise.
76553         * sysdeps/x86_64/strtok.S: Likewise.
76554         * sysdeps/sh/_mcount.S: Likewise.
76556 2012-08-01  Roland McGrath  <roland@hack.frob.com>
76558         * libio/iofopen.c: Include <fcntl.h>.
76559         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
76560         (_IO_fopen64, fopen64): Define as aliases.
76561         * libio/iofopen64.c: Include <fcntl.h>.
76562         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
76563         Conditionalize body on this.
76564         * sysdeps/wordsize-64/iofopen.c: File removed.
76565         * sysdeps/wordsize-64/iofopen64.c: File removed.
76567 2012-08-01  Marek Polacek  <polacek@redhat.com>
76569         * libc/Makeconfig: Use elf in place of binfmt-subdir.
76570         Use dlfcn directly instead of a variable.
76571         (binfmt-subdir): Do not define.
76572         (dlfcn): Likewise.
76574 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
76576         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
76577         Remove all definitions.
76578         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
76579         <kernel-features.h>.
76580         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76581         (miss_F_GETOWN_EX): Remove all definitions.
76582         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
76583         macro definition.
76584         [!__ASSUME_FCNTL64]: Remove conditional code.
76585         [__ASSUME_FCNTL64]: Make code unconditional.
76586         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
76587         <kernel-features.h>.
76588         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76589         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
76590         (lockf64) [__NR_fcntl64]: Make code unconditional.
76591         (lockf64) [__ASSUME_FCNTL64]: Likewise.
76593         * sysdeps/unix/sysv/linux/kernel-features.h
76594         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
76595         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
76596         Make code unconditional.
76597         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76598         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
76600         [__NR_vfork]: Make code unconditional.
76601         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76602         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
76604         [__NR_vfork]: Make code unconditional.
76605         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76606         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76608 2012-08-01  Roland McGrath  <roland@hack.frob.com>
76610         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
76611         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
76613         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76614         Define mkstemp64 as an alias.
76615         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76616         Define mkstemps64 as an alias.
76617         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76618         Define mkostemp64 as an alias.
76619         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76620         Define mkostemps64 as an alias.
76621         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
76622         Conditionalize body on this.
76623         * misc/mkostemp64.c: Likewise.
76624         * misc/mkostemps64.c: Likewise.
76625         * misc/mkstemps64.c: Likewise.
76626         * sysdeps/wordsize-64/mkstemp64.c: File removed.
76627         * sysdeps/wordsize-64/mkostemp64.c: File removed.
76628         * sysdeps/wordsize-64/mkostemp.c: File removed.
76629         * sysdeps/wordsize-64/mkstemp.c: File removed.
76630         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
76631         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
76632         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
76633         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
76635         [BZ #14138]
76636         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
76637         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
76638         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
76639         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
76641         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
76642         compat_symbol macros from <shlib-compat.h> rather than the underlying
76643         default_symbol_version and symbol_version macros, so that DEFAULT
76644         lines in shlib-versions are respected.
76645         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
76647 2012-08-01  Florian Weimer  <fweimer@redhat.com>
76649         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
76650         Declare with warn_unused_result.
76651         (setgid, setregid, setegid, setresgid): Likewise.
76652         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
76653         Likewise.
76654         * WUR-REPORT: Remove set*id functions.
76656 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
76658         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
76660 2012-07-31  Roland McGrath  <roland@hack.frob.com>
76662         [BZ #10191]
76663         * include/sys/socket.h (__libc_accept, __libc_accept4):
76664         Add attribute_hidden.
76665         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
76667         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
76668         use of PTR_MANGLE.
76669         * inet/getnetgrent_r.c (setup): Likewise.
76671         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
76673 2012-07-31  David S. Miller  <davem@davemloft.net>
76675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76677 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
76679         [BZ #13629]
76680         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
76681         value between 1.0 and 2.0 and smaller part has absolute value less
76682         than 1.0.
76683         * math/s_clog10.c (__clog10): Likewise.
76684         * math/s_clog10f.c (__clog10f): Likewise.
76685         * math/s_clog10l.c (__clog10l): Likewise.
76686         * math/s_clogf.c (__clogf): Likewise.
76687         * math/s_clogl.c (__clogl): Likewise.
76688         * math/libm-test.inc (clog_test): Add more tests.
76689         (clog10_test): Likewise.
76690         * sysdeps/i386/fpu/libm-test-ulps: Update.
76691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76693 2012-07-31  Florian Weimer  <fweimer@redhat.com>
76695         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
76696         Exit with zero in case no suitable GID is found, and write a
76697         message to standard error.
76699 2012-07-30  Roland McGrath  <roland@hack.frob.com>
76701         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
76702         rather than to 1.
76703         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
76704         (MAXPATHLEN): Removed.
76705         (NOGROUP, NODEV): New macros.
76706         (setbit, clrbit, isset, isclr): New macros.
76707         (howmany, roundup, powerof2): New macros.
76708         (DEV_BSIZE): New macro.
76710         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
76711         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
76713         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
76714         definition on [!__NO_LONG_DOUBLE_MATH].
76716         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
76717         PTR_MANGLE and PTR_DEMANGLE.
76719         * socket/accept4.c (accept4): Rename to __libc_accept4.
76720         Define accept4 as a weak alias.
76722         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
76723         on [_DIRENT_HAVE_D_TYPE].
76724         * io/ftw.c (ftw_dir): Likewise.
76726         * io/xmknod.c (__xmknod): Don't check PATH for being null.
76728         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
76730         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
76731         Use the BSD numbers rather than the arbitrary ones we had.
76732         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
76733         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
76734         (SIGXCPU, SIGXFSZ): New macros.
76735         (_NSIG): Now 32.
76737         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
76738         initializer on [_LIBC_REENTRANT].
76740         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
76741         definitions inside [_POSIX_MAPPED_FILES].
76743         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
76745         * dirent/opendir.c: Include <fcntl.h>.
76747         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
76748         (__libc_getspecific): Likewise.
76749         (__libc_key_create): Likewise.
76751         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
76752         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
76753         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
76754         (tmpfile64): Define as alias.
76755         * sysdeps/wordsize-64/tmpfile.c: File removed.
76756         * sysdeps/wordsize-64/tmpfile64.c: File removed.
76757         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
76758         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
76760         * stdio-common/vfscanf.c: Include <stdbool.h>.
76761         * nss/makedb.c: Likewise.
76762         * stdio-common/_i18n_number.h: Likewise.
76763         * argp/argp-help.c: Likewise.
76764         * posix/wordexp.c: Likewise.
76765         * sysdeps/posix/spawni.c: Likewise.
76766         * nss/nss_files/files-initgroups.c: Likewise.
76767         * stdio-common/reg-modifier.c: Include <stdlib.h>.
76768         * nss/nss_files/files-initgroups.c: Likewise.
76769         * nss/nss_db/db-netgrp.c: Likewise.
76770         * nss/nss_db/db-initgroups.c: Likewise.
76771         * io/fchmodat.c: Include <sys/stat.h>.
76773         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
76774         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
76776         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
76777         [HAVE_MMAP].
76779         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
76780         Add multiple inclusion protection.
76782 2012-07-27  David S. Miller  <davem@davemloft.net>
76784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76786 2012-07-27  Gary Benson  <gbenson@redhat.com>
76788         [BZ #14298]
76789         * elf/rtld.c: Include <stap-probe.h>.
76790         (dl_main): Added static probes "init_start" and "init_complete".
76791         * elf/dl-load.c: Include <stap-probe.h>.
76792         (lose): Take new parameter "nsid".
76793         Added static probe "map_failed".
76794         (_dl_map_object_from_fd): Pass namespace id to lose.
76795         Added static probe "map_start".
76796         (open_verify): Pass namespace id to lose.
76797         * elf/dl-open.c: Include <stap-probe.h>.
76798         (dl_open_worker) Added static probes "map_complete", "reloc_start"
76799         and "reloc_complete".
76800         * elf/dl-close.c: Include <stap-probe.h>.
76801         (_dl_close_worker): Added static probes "unmap_start" and
76802         "unmap_complete".
76803         * elf/rtld-debugger-interface.txt: New file documenting the above.
76805 2012-07-26  Roland McGrath  <roland@hack.frob.com>
76807         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
76808         rather than a string variable.
76809         * sunrpc/rpc_main.c (h_output): Likewise.
76810         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
76812 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
76814         * inet/check_native.c: New file.
76816 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
76818         [BZ #13629]
76819         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
76820         if larger part has absolute value 1.0.
76821         * math/s_clog10.c (__clog10): Likewise.
76822         * math/s_clog10f.c (__clog10f): Likewise.
76823         * math/s_clog10l.c (__clog10l): Likewise.
76824         * math/s_clogf.c (__clogf): Likewise.
76825         * math/s_clogl.c (__clogl): Likewise.
76826         * math/libm-test.inc (clog_test): Add more tests.
76827         (clog10_test): Likewise.
76828         * sysdeps/i386/fpu/libm-test-ulps: Update.
76829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76831         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
76832         (pltexit): Likewise.
76833         (La_regs): Likewise.
76834         (La_retval): Likewise.
76835         (int_retval): Likewise.
76836         Update #error for removed macros to refer only to definitions in
76837         tst-audit.h.
76838         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
76839         macro.
76840         (pltexit): Likewise.
76841         (La_regs): Likewise.
76842         (La_retval): Likewise.
76843         (int_retval): Likewise.
76844         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
76845         macro.
76846         (pltexit): Likewise.
76847         (La_regs): Likewise.
76848         (La_retval): Likewise.
76849         (int_retval): Likewise.
76850         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
76851         macro.
76852         (pltexit): Likewise.
76853         (La_regs): Likewise.
76854         (La_retval): Likewise.
76855         (int_retval): Likewise.
76856         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
76857         macro.
76858         (pltexit): Likewise.
76859         (La_regs): Likewise.
76860         (La_retval): Likewise.
76861         (int_retval): Likewise.
76862         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
76863         macro.
76864         (pltexit): Likewise.
76865         (La_regs): Likewise.
76866         (La_retval): Likewise.
76867         (int_retval): Likewise.
76868         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
76869         macro.
76870         (pltexit): Likewise.
76871         (La_regs): Likewise.
76872         (La_retval): Likewise.
76873         (int_retval): Likewise.
76874         * sysdeps/generic/tst-audit.h: Update comment to refer only to
76875         macro definitions in tst-audit.h.
76876         * sysdeps/i386/tst-audit.h: New file.
76877         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
76878         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
76879         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
76880         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
76881         * sysdeps/sh/tst-audit.h: Likewise.
76882         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
76883         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
76884         * sysdeps/x86_64/tst-audit.h: Likewise.
76886 2012-07-26  Andreas Jaeger  <aj@suse.de>
76888         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
76889         ptrace.
76891         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
76892         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
76893         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
76894         PTRACE_O_MASK.
76895         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
76896         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
76897         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
76899         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
76900         value.
76902         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
76903         _sigsys.
76904         (si_call_addr, si_syscall, si_arch): Define new macro.
76905         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
76906         _sigsys.
76907         (si_call_addr, si_syscall, si_arch): Define new marcro.
76908         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
76909         _sigsys.
76910         (si_call_addr, si_syscall, si_arch): Define new macro.
76911         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
76912         _sigsys.
76913         (si_call_addr, si_syscall, si_arch): Define new macro.
76915 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76917         [BZ #13717]
76918         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76919         Change to 2.4.21 where previously 2.4.1.
76920         * sysdeps/unix/sysv/linux/configure: Regenerated.
76921         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
76922         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
76923         Linux kernel version.
76924         (__ASSUME_STD_AUXV): Remove.
76925         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
76926         kernel version.
76927         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
76928         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
76929         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
76930         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
76931         (__ASSUME_NETLINK_SUPPORT): Likewise.
76932         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
76933         (__no_netlink_support): Remove conditional definition.
76934         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
76935         Remove.
76936         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76937         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
76938         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
76939         (if_nameindex_ioctl): Remove.
76940         (if_nameindex_netlink): Do not handle __no_netlink_support.
76941         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76942         code.
76943         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
76944         Remove conditional code.
76945         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76946         code.
76947         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
76948         unconditional.
76949         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76950         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
76951         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
76952         Remove.
76953         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
76954         [!__ASSUME_STD_AUXV]: Remove conditional code.
76955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
76956         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
76957         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
76958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
76959         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
76960         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76961         code.
76962         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
76964         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
76965         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76966         conditional code.
76967         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
76969         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76970         code.
76971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
76972         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76973         conditional code.
76974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
76975         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76976         code unconditional.
76977         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76978         conditional code.
76979         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76980         unconditional.
76981         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76982         conditional code.
76983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76984         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76985         unconditional.
76986         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76987         conditional code.
76988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
76989         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76990         code unconditional.
76991         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76992         conditional code.
76993         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76994         unconditional.
76995         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76996         conditional code.
76997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
76998         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76999         code unconditional.
77000         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77001         conditional code.
77002         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77003         unconditional.
77004         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77005         conditional code.
77007 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
77009         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
77010         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
77011         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
77012         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
77013         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
77014         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
77015         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
77016         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
77017         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
77018         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
77019         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
77020         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
77021         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
77022         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
77023         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
77024         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
77025         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
77026         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
77027         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
77028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
77029         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
77030         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
77031         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77033 2012-07-25  Florian Weimer  <fweimer@redhat.com>
77035         * Versions.def: Add GLIBC_2.17.
77036         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
77037         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
77038         Introduce __libc_secure_getenv.
77039         * stdlib/Versions (2.17): Add secure_getenv
77040         (GLIBC_PRIVATE): Add __libc_secure_getenv.
77041         * stdlib/secure-getenv.c: Rename __secure_getenv to
77042         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
77043         symbol __secure_getenv for GLIBC_2.0.
77044         * stdlib/tst-secure-getenv.c: New.
77045         * stdlib/Makefile (tests): Add testcase.
77046         * manual/startup.texi (Environment Access): Document
77047         secure_getenv.
77048         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
77049         __libc_secure_getenv.
77050         * inet/ruserpass.c (ruserpass): Likewise.
77051         * malloc/mtrace.c (mtrace): Likewise.
77052         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
77053         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
77054         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
77055         * sysdeps/posix/tempname.c: Likewise.  Evaluate
77056         HAVE_SECURE_GETENV.
77057         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
77058         __secure_getenv to __libc_secure_getenv.
77059         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
77060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77061         Likewise.
77062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77063         Likewise.
77064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
77065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
77066         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
77067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
77068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
77069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
77070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
77072 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77074         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
77075         (struct La_i86_retval): Likewise.
77076         (struct La_x86_64_regs): Likewise.
77077         (struct La_x86_64_retval): Likewise.
77078         (struct La_x32_regs): Likewise.
77079         (struct La_x32_retval): Likewise.
77080         (struct La_ppc32_regs): Likewise.
77081         (struct La_ppc32_retval): Likewise.
77082         (struct La_ppc64_regs): Likewise.
77083         (struct La_ppc64_retval): Likewise.
77084         (struct La_sh_regs): Likewise.
77085         (struct La_sh_retval): Likewise.
77086         (struct La_s390_32_regs): Likewise.
77087         (struct La_s390_32_retval): Likewise.
77088         (struct La_s390_64_regs): Likewise.
77089         (struct La_s390_64_retval): Likewise.
77090         (struct La_sparc32_regs): Likewise.
77091         (struct La_sparc32_retval): Likewise.
77092         (struct La_sparc64_regs): Likewise.
77093         (struct La_sparc64_retval): Likewise.
77094         (struct audit_ifaces): Remove architecture-specific pltenter and
77095         pltexit members.
77096         * sysdeps/i386/ldsodefs.h: New file.
77097         * sysdeps/powerpc/ldsodefs.h: Likewise.
77098         * sysdeps/s390/ldsodefs.h: Likewise.
77099         * sysdeps/sh/ldsodefs.h: Likewise.
77100         * sysdeps/sparc/ldsodefs.h: Likewise.
77101         * sysdeps/x86_64/ldsodefs.h: Likewise.
77103 2012-07-25  Marek Polacek  <polacek@redhat.com>
77105         [BZ #6808]
77106         * math/libm-test.inc (yn_test): Add another test.
77107         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
77108         to ERANGE when the result is +-Inf.
77109         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
77110         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
77111         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
77112         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
77114 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
77116         * conform/data/time.h-data (NULL): Use macro-constant.  Require
77117         equal to 0.
77118         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
77119         clock_t.
77120         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
77122 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
77124         * configure.in <sysdeps resolving>: Correct printing
77125         Implies_before.
77126         * configure: Regenerate.
77128 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
77130         * math/w_ilogb.c: Include <limits.h>.
77131         * math/w_ilogbl.c: Likewise.
77133 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77135         * manual/lang.texi (__va_copy): Document primarily as ISO C99
77136         va_copy.  Document allowing for unavailable va_copy only as
77137         pre-C99 compatibility.
77138         * manual/string.texi (Copying and Concatenation): Use va_copy
77139         instead of __va_copy in concat example.
77141 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
77143         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
77144         (__sendto): Use create_address_port.  Initialize APORT and deallocate
77145         it if not null.
77147         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
77148         with O_NOLINK passed to __file_name_lookup.
77150         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
77151         with O_NOLINK passed to __file_name_lookup.
77153         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
77154         negative N or less than NGIDS.
77156         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
77157         type to string_t.  Set ERANGE as errno and return it if NAME is not big
77158         enough.  Use memcpy instead of strncpy.
77160 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77162         * elf/Makefile (check-data): Remove.
77163         (localplt.data): New vpath directive.
77164         ($(objpfx)check-localplt.out): Use localplt.data from vpath
77165         instead of $(check-data).
77166         * scripts/data/localplt-generic.data: Move to ...
77167         * sysdeps/generic/localplt.data: ... here.
77168         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
77169         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
77170         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
77171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
77172         ... here.
77173         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
77174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
77175         ... here.
77176         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
77177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
77178         ... here.
77179         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
77180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
77181         ... here.
77182         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
77183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
77184         ... here.
77185         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
77186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
77187         ... here.
77189 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77191         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
77192         PPC32 and PPC64 files.
77193         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
77194         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
77196 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77198         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
77199         __makecontext_ret to ...
77200         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
77201         ... here and call exit if uc_link is NULL.  New file.
77202         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
77203         __makecontext_ret.S.
77204         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
77205         __makecontext_ret to ...
77206         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
77207         ... here and call exit if uc_link is NULL.  New file.
77208         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
77209         __makecontext_ret.S.
77211 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77213         * elf/elf.h (R_390_IRELATIVE): New definition.
77214         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
77215         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
77216         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
77217         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
77218         (elf_machine_lazy_rel): Likewise.
77219         * sysdeps/s390/dl-irel.h: New file.
77220         * sysdeps/s390/s390-64/memcpy.S: New asm code.
77221         * sysdeps/s390/s390-64/memset.S: New asm code.
77222         * sysdeps/s390/s390-64/memcmp.S: New asm code.
77223         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
77224         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
77225         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
77226         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
77227         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
77228         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
77229         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
77230         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
77231         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
77232         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
77233         * sysdeps/s390/s390-32/memcpy.S: New asm code.
77234         * sysdeps/s390/s390-32/memset.S: New asm code.
77235         * sysdeps/s390/s390-32/memcmp.S: New asm code.
77237 2012-07-17  Marek Polacek  <polacek@redhat.com>
77239         [BZ #14349]
77240         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
77241         * sysdeps/s390/s390-64/configure.in: Likewise.
77242         * sysdeps/sparc/configure.in: Likewise.
77243         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
77244         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
77245         * sysdeps/i386/configure.in: Likewise.
77246         * sysdeps/x86_64/configure.in: Likewise.
77247         * sysdeps/sh/configure.in: Likewise.
77248         * sysdeps/s390/s390-32/configure: Regenerated.
77249         * sysdeps/s390/s390-64/configure: Likewise.
77250         * sysdeps/x86_64/configure: Likewise.
77251         * sysdeps/sh/configure: Likewise.
77252         * sysdeps/powerpc/powerpc64/configure: Likewise.
77253         * sysdeps/powerpc/powerpc32/configure: Likewise.
77254         * sysdeps/sparc/configure: Likewise.
77255         * sysdeps/i386/configure: Likewise.
77257         * elf/dl-open.c: Comment fixes.
77259 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
77261         * Makefile [CXX] (check-data): Remove.
77262         [CXX] (c++-types.data): New vpath directive.
77263         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
77264         vpath.  Do not allow for C++ type data being missing.
77265         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
77266         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
77267         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
77268         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
77269         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
77270         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
77271         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
77272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
77273         ... here.
77274         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
77275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
77276         ... here.
77277         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
77278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
77279         ... here.
77280         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
77281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
77282         ... here.
77283         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
77284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
77285         ... here.
77286         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
77287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
77288         ... here.
77289         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
77290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
77291         ... here.
77292         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
77293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
77295         * elf/tls-macros.h (TLS_LE): Move architecture-specific
77296         definitions to architecture-specific files.
77297         (TLS_IE): Likewise.
77298         (TLS_LD): Likewise.
77299         (TLS_GD): Likewise.
77300         * sysdeps/i386/tls-macros.h: New file.
77301         * sysdeps/powerpc/tls-macros.h: Likewise.
77302         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
77303         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
77304         * sysdeps/sh/tls-macros.h: Likewise.
77305         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
77306         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
77307         * sysdeps/x86_64/tls-macros.h: Likewise.
77309 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77311         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
77312         zero value for regular exit case.
77314         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
77315         (__start_context): Preserve zero value for regular exit case.
77317 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77318             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77320         * manual/setjmp.texi (setcontext): Clarify normal process
77321         termination when uc_link is the null pointer.
77322         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
77323         exit call.
77325 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
77327         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
77328         preprocessor.  Test for each exception mask separately.
77330 2012-07-16  Andreas Jaeger  <aj@suse.de>
77332         * po/ru.po: Update from translation team.
77334 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
77336         * conform/data/string.h-data (NULL): Use macro-constant.  Require
77337         equal to 0.
77338         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77339         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77340         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
77341         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
77342         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77344 2012-07-13  Andreas Jaeger  <aj@suse.de>
77346         * po/fr.po: Update from translation team.
77348 2012-07-12  Marek Polacek  <polacek@redhat.com>
77350         [BZ #14173]
77351         * math/libm-test.inc (yn_test): Add test for BZ #14173.
77352         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
77353         loop condition.
77355 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
77357         [BZ #13717]
77358         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77359         Change to 2.4.1 where previously 2.4.0.
77360         * sysdeps/unix/sysv/linux/configure: Regenerated.
77361         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
77362         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
77363         version.
77364         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
77365         (__ASSUME_AT_CLKTCK): Remove.
77366         (__ASSUME_AT_PAGESIZE): Likewise.
77367         (__ASSUME_AT_XID): Likewise.
77368         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
77369         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
77370         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
77371         unconditionally.
77372         (HAVE_AUX_PAGESIZE): Likewise.
77373         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
77374         [__ASSUME_AT_CLKTCK]: Make code unconditional.
77375         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
77377 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
77379         [BZ #14307]
77380         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
77381         the temporary buffer used to invoke __gethostbyname2_r,
77382         __gethostbyaddr_r and gethostbyname4_r to make room for struct
77383         host_data / struct gaih_addrtuple.
77384         * resolv/nss_dns/dns-host.c (global scope): Move definition of
77385         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
77386         header file nss/nsswitch.h.
77387         * nss/nsswitch.h (global scope): Add definition of implementation
77388         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
77389         resolv/nss_dns/dns-host.c).
77391 2012-07-11  Andreas Jaeger  <aj@suse.de>
77393         * po/fr.po: Update from translation team.
77395         * po/sv.po: Update from translation team
77396         * po/fr.po: Another update from translation team.
77398 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77400         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
77401         for subnormals or multiply small sinh result by itself.
77402         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77405 2012-07-11  David S. Miller  <davem@davemloft.net>
77407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77409 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
77411         [BZ #14347]
77412         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
77413         (INTERNAL_MARK): Shift it here.
77415 2012-07-10  Marek Polacek  <polacek@redhat.com>
77417         [BZ #14151]
77418         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
77419         libc_cv_asm_global_directive with .globl.
77420         * configure: Regenerated.
77421         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
77422         with .globl.
77423         * sysdeps/i386/configure: Regenerated.
77424         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
77425         with .globl.
77426         * sysdeps/x86_64/configure: Regenerated.
77427         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
77428         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
77429         * elf/tst-unique2mod2.c: Likewise.
77430         * elf/tst-unique2mod1.c: Likewise.
77431         * elf/tst-unique1mod2.c: Likewise.
77432         * elf/tst-unique1mod1.c: Likewise.
77433         * sysdeps/s390/s390-32/sysdep.h: Likewise.
77434         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77435         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77436         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77437         * sysdeps/mach/sysdep.h: Likewise.
77438         * sysdeps/i386/sysdep.h: Likewise.
77439         * sysdeps/i386/i386-mcount.S: Likewise.
77440         * sysdeps/x86_64/_mcount.S: Likewise.
77441         * sysdeps/x86_64/sysdep.h: Likewise.
77442         * sysdeps/sh/_mcount.S: Likewise.
77443         * sysdeps/sh/sysdep.h: Likewise.
77444         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
77445         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
77446         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
77447         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77448         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
77449         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
77450         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
77451         * locale/localeinfo.h: Likewise.
77452         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
77453         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
77455 2012-07-09  Roland McGrath  <roland@hack.frob.com>
77457         [BZ #14336]
77458         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
77459         system".
77460         * manual/message.texi (The Uniforum approach): Likewise.
77461         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
77462         (glibc iconv Implementation): Likewise.
77464 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
77466         [BZ #14337]
77467         * math/s_clog.c (__clog): Avoid scaling a value down where that
77468         could result in underflow.
77469         * math/s_clog10.c (__clog10): Likewise.
77470         * math/s_clog10f.c (__clog10f): Likewise.
77471         * math/s_clog10l.c (__clog10l): Likewise.
77472         * math/s_clogf.c (__clogf): Likewise.
77473         * math/s_clogl.c (__clogl): Likewise.
77474         * math/libm-test.inc (clog_test): Add more tests.
77475         (clog10_test): Likewise.
77476         * sysdeps/i386/fpu/libm-test-ulps: Update.
77477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77479 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
77481         [BZ #14283]
77482         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
77483         by 7 not 8 to examine high bit of fractional part.
77485         [BZ #14042]
77486         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
77487         for call to __mcount_internal.
77488         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
77489         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
77490         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
77492 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
77494         [BZ #14154]
77495         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
77496         approximation for values within 0x1p-13f of an odd multiple of
77497         pi/4.
77498         * math/libm-test.inc (tan_test): Do not allow spurious underflow
77499         exception.  Add more tests.
77500         * sysdeps/i386/fpu/libm-test-ulps: Update.
77502         [BZ #6778]
77503         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
77504         inputs and return -1 for them.  Do not check for +Inf in case not
77505         reachable for +Inf.
77506         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
77507         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
77508         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77509         and return -1 for them.  Do not check for +Inf in case not
77510         reachable for +Inf.
77511         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
77512         define.
77513         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77514         and return -1 for them.  Do not check for +Inf in case not
77515         reachable for +Inf.
77516         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
77517         spurious underflow.
77518         * sysdeps/i386/fpu/libm-test-ulps: Update.
77519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77521 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
77523         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
77525 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
77527         [BZ #14157]
77528         [BZ #14331]
77529         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
77530         could result in spurious underflow.  Scale down values above
77531         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
77532         * math/s_csqrtf.c (__csqrtf): Likewise.
77533         * math/s_csqrtl.c (__csqrtl): Likewise.
77534         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
77535         spurious underflow.
77536         * sysdeps/i386/fpu/libm-test-ulps: Update.
77537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77539 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
77541         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
77542         xopen-msg.sed.
77543         * catgets/xopen-msg.awk: New file.
77544         * catgets/xopen-msg.sed: Removed.
77546         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
77547         po2text.sed.
77548         * intl/po2test.awk: New file.
77549         * intl/po2test.sed: Removed.
77551 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
77553         [BZ #14328]
77554         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
77555         or multiply small sinh result by itself.
77556         * math/s_ctanf.c (__ctanf): Likewise.
77557         * math/s_ctanh.c (__ctanh): Likewise.
77558         * math/s_ctanhf.c (__ctanhf): Likewise.
77559         * math/s_ctanhl.c (__ctanhl): Likewise.
77560         * math/s_ctanl.c (__ctanl): Likewise.
77561         * math/libm-test.inc (ctan_test_tonearest): New function.
77562         (ctan_test_towardzero): Likewise.
77563         (ctan_test_downward): Likewise.
77564         (ctan_test_upward): Likewise.
77565         (ctanh_test_tonearest): Likewise.
77566         (ctanh_test_towardzero): Likewise.
77567         (ctanh_test_downward): Likewise.
77568         (ctanh_test_upward): Likewise.
77569         (main): Call these new functions.
77570         * sysdeps/i386/fpu/libm-test-ulps: Update.
77571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77573 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
77575         * .gitignore: Delete /ports entry.
77577 2012-07-03  Andreas Jaeger  <aj@suse.de>
77579         * po/bg.po: Update from translation team.
77580         * po/cs.po: Likewise.
77581         * po/de.po: Likewise.
77582         * po/hr.po: Likewise.
77583         * po/nl.pl: Likewise.
77584         * po/pl.po: Likewise.
77585         * po/vi.po: Likewise.
77587 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
77589         * Makeconfig [!+link] (+link-before-libc): New variable.
77590         [!+link] (+link-after-libc): Likewise.
77591         [!+link] (+link-tests): Likewise.
77592         [!+link] (+link): Define in terms of $(+link-before-libc) and
77593         $(+link-after-libc).
77594         [!+link-static] (+link-static-before-libc): New variable.
77595         [!+link-static] (+link-static-after-libc): Likewise.
77596         [!+link-static] (+link-static-tests): Likewise.
77597         [!+link-static] (+link-static): Define in terms of
77598         $(+link-static-before-libc) and $(+link-static-after-libc).
77599         [build-shared] (link-libc-before-gnulib): New variable.
77600         [build-shared] (link-libc-tests): Likewise.
77601         [build-shared] (link-libc): Define in terms of
77602         $(link-libc-before-gnulib).
77603         [!build-shared] (link-libc-tests): New variable.
77604         (link-libc-static-tests): New variable.
77605         [!gnulib] (gnulib-arch): New variable.
77606         [!gnulib] (gnulib-tests): Likewise.
77607         [!gnulib] (static-gnulib-arch): Likewise.
77608         [!gnulib] (static-gnulib-tests): Likewise.
77609         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
77610         Define with "=" instead of ":=".
77611         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
77612         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
77613         * Rules (binaries-all-notests): New variable.
77614         (binaries-all-tests): Likewise.
77615         (binaries-static-notests): Likewise.
77616         (binaries-static-tests): Likewise.
77617         (binaries-all): Define using $(binaries-all-notests) and
77618         $(binaries-all-tests).
77619         (binaries-static): Define using $(binaries-static-notests) and
77620         $(binaries-static-tests).
77621         (binaries-shared-tests): New variable.
77622         (binaries-shared-notests): Likewise.
77623         (binaries-shared): Remove variable.
77624         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
77625         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
77626         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
77627         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
77628         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
77629         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
77630         * elf/Makefile (sln-modules): New variable.
77631         (extra-objs): Add $(sln-modules:=.o).
77632         (ldconfig-modules): Add static-stubs.
77633         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
77634         * elf/static-stubs.c: New file.
77636         [BZ #14283]
77637         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
77638         by 7 not 8 to examine high bit of fractional part.  Use volatile
77639         variables when splitting into final array of floats if
77640         __FLT_EVAL_METHOD__ != 0.
77641         * math/libm-test.inc (cos_test): Add another test.
77642         (sin_test): Likewise.
77643         * sysdeps/i386/fpu/libm-test-ulps: Update.
77645         [BZ #14273]
77646         * math/libm-test.inc (cosh_test): Add more tests.
77648         * version.h (RELEASE): Set to "development".
77649         (VERSION): Set to "2.16.90".
77651 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
77653         * NEWS: Update copyright. Remove last-updated date.
77654         Mention math library bug fixes and timezone data changes.
77655         * README: Mention GNU/Hurd, x32, and HPPA support status.
77657 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
77659         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
77661 2012-06-27  Andreas Jaeger  <aj@suse.de>
77663         * manual/contrib.texi (Contributors): Add Samuel Thibault.
77665 2012-06-25  Andreas Jaeger  <aj@suse.de>
77667         * sysdeps/s390/fpu/libm-test-ulps: Update.
77669 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
77670             Thomas Schwinge  <thomas@codesourcery.com>
77672         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
77673         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
77674         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
77675         fanotify_mark.
77677 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
77679         * sysdeps/mach/start.c: Remove file.
77680         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
77681         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
77682         * sysdeps/sh/init-first.c: Likewise.
77684         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
77685         registers for frame unwinding purposes, add CFI directives.
77686         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
77687         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
77688         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
77689         Likewise.
77691         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
77692         __fortify_fail returning.
77693         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
77695         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
77696         sysdeps/sh/____longjmp_chk.S.
77697         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
77698         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
77699         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
77700         (gen-as-const-headers): Append sigaltstack-offsets.sym.
77702         * sysdeps/sh/abort-instr.h: New file.
77703         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
77704         process in case exit returns.
77706         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
77707         initialize the GOT register before use.
77709         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
77710         calculation of ARGC > 4.
77712         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
77713         meaningful names to some local labels.
77715 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77716             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77718         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
77719         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
77720         (__arch_compare_and_exchange_val_16_acq): Likewise.
77721         (__arch_compare_and_exchange_val_32_acq): Likewise.
77722         (atomic_exchange_and_add): Fix gUSA sequence.
77723         (atomic_add): Likewise.
77724         (atomic_add_negative): Likewise.
77725         (atomic_add_zero): Likewise.
77726         (atomic_bit_test_set): Likewise.
77728 2012-06-22  Andreas Schwab  <schwab@redhat.com>
77730         [BZ #13579]
77731         * include/link.h (struct link_map): Add l_free_initfini.
77732         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
77733         l_initfini.
77734         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
77735         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
77736         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
77737         set.
77739 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
77741         * configure.in: Use AC_LANG_SOURCE.
77742         * configure: Regenerate.
77744 2012-06-22  Roland McGrath  <roland@hack.frob.com>
77746         * configure.in (libc_cv_localstatedir): New substituted variable.
77747         * configure: Regenerated.
77748         * config.make.in (localstatedir): New variable, substituted from
77749         libc_cv_localstatedir.
77750         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
77751         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
77752         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
77753         * sysdeps/gnu/configure: Regenerated.
77755 2012-06-21  Jeff Law  <law@redhat.com>
77757         [BZ #14277]
77758         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
77759         free.  Simplify list management for _LIBC case.
77761 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
77763         [BZ #14273]
77764         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
77765         Clear sign bit of 64-bit integer value before comparing against
77766         overflow value.
77768         * sysdeps/mach/configure: Regenerated.
77770 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
77772         [BZ #14278]
77773         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
77775 2012-06-21  Jeff Law  <law@redhat.com>
77777         [BZ #13882]
77778         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
77779         uint16_t for elements in the "seen" array to avoid char overflows.
77780         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77781         * elf/dl-open.c (dl_open_worker): Likewise.
77783 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
77785         * scripts/list-sources.sh: Scan PORTS for translations.
77786         * po/libc.pot: Regenerated.
77788 2012-06-21  Andreas Jaeger  <aj@suse.de>
77790         [BZ #12194]
77791         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
77792         warning.
77793         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
77794         * bits/byteswap-16.h (__bswap_16): Likewise.
77795         * bits/byteswap.h (__bswap_constant_16): Likewise.
77797 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
77799         [BZ #14117]
77800         * sysdeps/i386/fpu_control.h: Removed.
77801         * sysdeps/x86_64/fpu_control.h: Moved to ...
77802         * sysdeps/x86/fpu_control.h: Here.
77804         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
77805         (_FPU_SETCW): Likewise.
77807 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
77809         [BZ #14117]
77810         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
77811         * sysdeps/x86/fpu/bits/mathinline.h: This.
77812         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
77814         [BZ #14050]
77815         [BZ #14117]
77816         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
77817         functions if __x86_64__ is defined.
77819 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
77821         * string/endian.h: Add !__ASSEMBLER__ condition for including
77822         conversion interfaces.
77824 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
77826         [BZ #14241]
77827         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
77828         of ABS(x) in calculating zero to negative powers other than odd
77829         integers.
77830         * math/libm-test.inc (pow_test): Add more tests.
77832 2012-06-15  Andreas Jaeger  <aj@suse.de>
77834         * manual/contrib.texi (Contributors): Update entry of Liubov
77835         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
77836         Machado Filho.
77838 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
77840         * string/string.h: Add __wur to GNU version of strerror_r.
77842 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
77844         [BZ #14229]
77845         * string/Makefile (tests): Add tst-strtok_r.
77846         * string/tst-strtok_r.c: New file.
77847         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
77848         RAX_LP/RDX_LP on SAVE_PTR.
77850 2012-06-14  Roland McGrath  <roland@hack.frob.com>
77852         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
77854 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
77856         * libm_test.inc (csqrt_test): Allow more spurious underflow
77857         exceptions.
77858         (j0_test): Likewise.
77859         (j1_test): Likewise.
77860         (y0_test): Likewise.
77861         (y1_test): Likewise.
77863 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
77865         * po/Makefile (libc.pot): Use UTF-8 charset.
77867 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
77869         [BZ #14210]
77870         Suppress sign-conversion warning from FD_SET.
77871         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
77872         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
77873         not unsigned long int.
77874         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
77876 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
77878         [BZ #14050]
77879         [BZ #14117]
77880         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
77881         __extern_always_inline instead of __extern_inline.
77882         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
77883         (__signbit): Likewise.
77884         (__signbitl): Support C++ namespace.
77885         (lrintf): New inline function.
77886         (lrint): Likewise.
77887         (llrintf): Likewise.
77888         (llrint): Likewise.
77889         (fmaxf): Likewise.
77890         (fmax): Likewise.
77891         (fminf): Likewise.
77892         (fmin): Likewise.
77893         (rint): Likewise.
77894         (rintf): Likewise.
77895         (ceil): Likewise.
77896         (ceilf): Likewise.
77897         (floor): Likewise.
77898         (floorf): Likewise.
77899         (nearbyint): Likewise.
77900         (nearbyintf): Likewise.
77902 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
77904         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
77905         non-default versions.
77907 2012-06-11  Roland McGrath  <roland@hack.frob.com>
77909         [BZ #14218]
77910         * manual/argp.texi (Argp): Reword argp_parse description slightly.
77912 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
77914         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
77915         (FE_UPWARD, FE_DOWNWARD): Don't define.
77916         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
77917         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77919         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
77920         reading it.
77921         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77922         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77924 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77926         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77927         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
77928         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
77929         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
77931 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
77933         [BZ #14117]
77934         * sysdeps/i386/fpu/bits/fenv.h: Removed.
77935         * sysdeps/i386/fpu/Implies: New file.
77936         * sysdeps/x86_64/fpu/Implies: Likewise.
77937         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
77938         * sysdeps/x86/fpu/bits/fenv.h: This.
77940         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
77941         __SSE_MATH__.
77943 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
77945         [BZ #14134]
77946         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
77947         character 0xffff that matches the last element of the
77948         conversion table.
77950 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77952         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
77953         fmodl commit.
77955 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77957         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
77958         values higher than 25.6283.
77960 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77962         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
77963         subnormal exponent extraction and add some __builtin_expect.
77964         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
77965         Fix for subnormal mantissa calculation.
77967 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
77969         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
77970         cpu2 is -1 and errno is not ENOSYS.
77972 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
77974         [BZ #14117]
77975         * sysdeps/i386/i486/bits/string.h: Renamed to ...
77976         * sysdeps/x86/bits/string.h: This.
77977         * sysdeps/x86_64/bits/string.h: Removed.
77979         * sysdeps/i386/i486/bits/string.h: Define inline functions only
77980         if not compiling for x86-64, but compiling for >= i486.
77982         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
77983         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
77985         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
77986         New macro from Linux kernel 3.4.0.
77987         (FP_XSTATE_MAGIC2): Likewise.
77988         (FP_XSTATE_MAGIC2_SIZE): Likewise.
77989         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
77990         (struct _fpx_sw_bytes): New struct.
77991         (struct _xsave_hdr): Likewise.
77992         (struct _ymmh_state): Likewise.
77993         (struct _xstate): Likewise.
77995         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
77996         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
77997         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
77998         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
77999         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
78000         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
78002         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
78003         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
78004         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
78005         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
78006         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
78007         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
78009 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78011         [BZ #13743]
78012         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
78013         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
78014         (sysdep_headers): Include sys/platform/ppc.h.
78015         * sysdeps/powerpc/test-gettimebase.c: Test for
78016         __ppc_get_timebase() to catch future ISA opcode/insn changes.
78017         * manual/Makefile (appendices): Include platform.texi.
78018         * manual/contrib.texi (Contributors): Update @node pointers.
78019         * manual/maint.texi (Maintenance): Likewise.
78020         (Platform): New node.
78021         * manual/platform.texi: New file.  Document the new features.
78023 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
78024             Jakub Jelinek  <jakub@redhat.com>
78026         [BZ #14188]
78027         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
78028         where __builtin_expect is unavailable.
78030 2012-06-03  David S. Miller  <davem@davemloft.net>
78032         * stdlib/longlong.h: Updated from GCC.
78034 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
78036         [BZ #14042]
78037         * sysdeps/powerpc/powerpc32/mcount.c: New file.
78038         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
78039         __mcount_internal.
78040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
78041         (GLIBC_2.16): Likewise.
78043 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78045         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
78047 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
78050         (default-abi): New variable.
78051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
78052         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
78053         variable.
78054         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
78055         Likewise.
78056         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
78057         Likewise.
78058         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
78059         Likewise.
78061         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
78062         definition.  Document in comment.
78064 2012-06-01  David S. Miller  <davem@davemloft.net>
78066         * stdlib/longlong.h: Updated from GCC.
78068 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78070         [BZ #14117]
78071         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
78072         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
78073         sys/debugreg.h sys/io.h here.
78074         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
78075         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
78076         sys/io.h.
78077         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
78078         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
78079         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
78080         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
78081         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
78082         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
78084         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
78085         Define only if __x86_64__ is defined.
78087 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78089         [BZ #14048]
78090         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
78091         Use int64_t for variable i.
78092         * math/libm-test.inc (fmod_test): Add more tests.
78094         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
78095         z computation is not scheduled after fetestexcept.
78096         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
78097         Use math_force_eval instead of asm to ensure calculation scheduled
78098         before exception test.
78099         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
78100         Ensure a1 + u.d computation is not scheduled after fetestexcept.
78102 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
78104         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
78105         computation is not scheduled after fetestexcept.
78107 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78109         [BZ #14117]
78110         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
78111         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
78113 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78115         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
78116         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78118 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78120         [BZ #14117]
78121         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
78122         <bits/wordsize.h>.
78123         (__WCHAR_MIN): Support __WORDSIZE == 64.
78124         (__WCHAR_MAX): Likewise.
78126         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
78127         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
78129         [BZ #14183]
78130         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
78131         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
78133         [BZ #14117]
78134         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
78135         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
78137         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
78138         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
78140         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
78141         Defined to 1 if __x86_64__ isn't defined.
78142         (_STAT_VER_LINUX_OLD): New.
78143         (st_atime): Remove duplicate.
78144         (st_mtime): Likewise.
78145         (st_ctime): Likewise.
78147 2012-05-31  David S. Miller  <davem@davemloft.net>
78149         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
78150         entries.
78152 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
78154         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
78155         gen-libm-test.pl.
78157         [BZ #14132]
78158         * elf/dl-reloc.c: Include <_itoa.h>.
78159         (_dl_reloc_bad_type): Remove use of INTUSE.
78160         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
78161         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
78162         * stdio-common/psiginfo.c (psiginfo): Likewise.
78163         * stdio-common/psignal.c (psignal): Likewise.
78164         * string/strsignal.c (strsignal): Likewise.
78165         * include/signal.h (_sys_siglist): Declare hidden proto.
78166         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
78167         INTVARDEF with libc_hidden_data_def.
78168         * stdio-common/itoa-udigits.c: Likewise.
78169         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
78170         (_itoa_lower_digits_internal): Remove declaration.
78171         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
78172         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
78173         (_sys_sigabbrev_internal): Remove aliases.
78174         (_sys_siglist): Define hidden alias.
78176 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
78178         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78179         bits/sysctl.h.
78181 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78183         [BZ #14117]
78184         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
78185         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
78187         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
78188         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
78189         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
78190         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
78191         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
78192         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
78194         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
78195         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
78196         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
78198         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
78199         with __addr.
78200         (insw): Likewise.
78201         (insl): Likewise.
78202         (outsb): Likewise.
78203         (outsw): Likewise.
78204         (outsl): Likewise.
78206         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
78207         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
78208         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
78210         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
78211         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
78212         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
78213         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
78214         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
78215         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
78217         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
78218         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
78220         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
78221         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
78223         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
78224         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
78225         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
78227         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
78228         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
78229         to ...
78230         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
78232         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
78233         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
78234         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
78236         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
78237         for x86-64.
78238         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
78240 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
78242         * math/math.h (M_El): Use two more decimal places.
78243         (M_LOG2El): Likewise.
78244         (M_LOG10El): Likewise.
78245         (M_LN2l): Likewise.
78246         (M_LN10l): Likewise.
78247         (M_PIl): Likewise.
78248         (M_PI_2l): Likewise.
78249         (M_PI_4l): Likewise.
78250         (M_1_PIl): Likewise.
78251         (M_2_PIl): Likewise.
78252         (M_2_SQRTPIl): Likewise.
78253         (M_SQRT2l): Likewise.
78254         (M_SQRT1_2l): Likewise.
78256 2012-05-31  David S. Miller  <davem@davemloft.net>
78258         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
78259         values between float registers.
78260         * sysdeps/sparc/sparc64/memset.S: Likewise.
78261         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78263 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
78265         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
78266         -D_FORTIFY_SOURCE=1.
78267         (CPPFLAGS-tst-longjmp_chk.c): Define.
78268         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
78269         (CPPFLAGS-tst-longjmp_chk2.c): Define.
78270         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
78271         CFLAGS-tst-wchar-h.c.
78273 2012-05-31  Marek Polacek  <polacek@redhat.com>
78275         [BZ #14132]
78276         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
78277         __endmntent_internal): Remove declaration.
78278         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
78279         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
78280         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
78282 2012-05-30  David S. Miller  <davem@davemloft.net>
78284         * sysdeps/sparc/sparc32/soft-fp/q_util.c
78285         (___Q_simulate_exceptions): Use real FP ops rather than writing
78286         into the %fsr.
78287         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
78288         Likewise.
78290 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78292         [BZ #14117]
78293         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
78294         * sysdeps/x86/bits/xtitypes.h: This.
78296         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
78297         * sysdeps/x86/bits/wordsize.h: This.
78299         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
78300         * sysdeps/x86/bits/huge_vall.h: This.
78302         * sysdeps/i386/bits/select.h: Removed.
78303         * sysdeps/x86_64/bits/select.h: Renamed to ...
78304         * sysdeps/x86/bits/select.h: This.
78306         * sysdeps/i386/bits/setjmp.h: Removed.
78307         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
78308         * sysdeps/x86/bits/setjmp.h: This.
78310         * sysdeps/i386/bits/mathdef.h: Removed.
78311         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
78312         * sysdeps/x86/bits/mathdef.h: This.
78314 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
78316         [BZ #14132]
78317         * include/sys/socket.h (__connect_internal)
78318         (__libc_sa_len_internal): Remove declaration.
78319         (__connect, __libc_sa_len): Declare hidden_proto.
78320         (SA_LEN): Remove use of INTUSE.
78321         * socket/connect.c: Add libc_hidden_def.
78322         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
78323         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
78324         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
78325         alias.
78326         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
78327         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
78328         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
78329         of adding _internal alias.
78331 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78333         [BZ #14117]
78334         * sysdeps/i386/bits/link.h: Removed.
78335         * sysdeps/i386/bits/linkmap.h: Likewise.
78336         * sysdeps/x86_64/bits/link.h: Renamed to ...
78337         * sysdeps/x86/bits/link.h: This.
78338         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
78339         * sysdeps/x86/bits/linkmap.h: This.
78341         * sysdeps/i386/bits/endian.h: Removed.
78342         * sysdeps/x86_64/bits/endian.h: Renamed to ...
78343         * sysdeps/x86/bits/endian.h: This.
78345         * sysdeps/i386/bits/byteswap.h: Removed.
78346         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78347         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
78348         * sysdeps/x86/bits/byteswap.h: This.
78349         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
78350         * sysdeps/x86/bits/byteswap-16.h: This.
78351         * sysdeps/i386/Implies: Add x86.
78352         * sysdeps/x86_64/Implies: Likewise.
78354 2012-05-30  David S. Miller  <davem@davemloft.net>
78356         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
78357         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
78358         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
78359         (FP_TRAPPING_EXCEPTIONS): Define.
78360         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
78361         (FP_TRAPPING_EXCEPTIONS): Define.
78362         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
78363         subnormals only when inexact has been signalled or underflow
78364         exceptions are enabled.
78365         (_FP_PACK_CANONICAL): Likewise.
78367 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78369         [BZ #14183]
78370         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
78371         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
78373 2012-05-30  Richard Henderson  <rth@twiddle.net>
78375         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
78376         with #ifndef NOT_IN_libc.
78378         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
78379         marked to avoid plt entry.
78381 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78383         [BZ #14112]
78384         * Makeconfig (default-abi): New macro.
78385         (abi-includes): Likewise.
78386         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
78387         $(abi-$(default-abi)-lib-soname) for soname if defined.
78388         ($(common-objpfx)gnu/lib-names.stmp): Generate from
78389         abi-variants.
78390         * Makefile (installed-stubs): Likewise.
78391         * include/stubs-biarch.h: Removed.
78392         * scripts/lib-names.awk: Only handle one library at a time.
78393         * scripts/soversions.awk: Remove WORDSIZE support.
78394         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
78395         entries.
78396         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
78397         Removed.
78398         (syscall-list-default-condition): Likewise.
78399         (syscall-list-default-condition): Likewise.
78400         (syscall-list-includes): Likewise.
78401         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
78402         syscall-list-* with abi-*.  Handle undefined abi-variants.
78403         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
78404         * sysdeps/unix/sysv/linux/i386/Implies: New file.
78405         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
78406         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
78407         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
78408         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
78409         Removed.
78410         (syscall-list-32-options): Likewise.
78411         (syscall-list-32-condition): Likewise.
78412         (syscall-list-64-options): Likewise.
78413         (syscall-list-64-condition): Likewise.
78414         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
78415         macro.
78416         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
78417         Renamed to ...
78418         (abi-*): This.
78419         (abi-64-ld-soname): New macro.
78420         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
78421         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
78422         Renamed to ...
78423         (abi-*): This.
78424         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
78425         * sysdeps/x86_64/x32/shlib-versions: Likewise.
78427 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
78429         * sysdeps/unix/sysv/linux/kernel-features.h
78430         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
78431         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
78432         include <kernel-features.h>.
78433         [!__NR_ftruncate64]: Remove conditional code.
78434         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78435         [__NR_ftruncate64]: Make code unconditional.
78436         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78437         * sysdeps/unix/sysv/linux/truncate64.c: Do not
78438         include <kernel-features.h>.
78439         [!__NR_ftruncate64]: Remove conditional code.
78440         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78441         [__NR_ftruncate64]: Make code unconditional.
78442         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
78444         include <kernel-features.h>.
78445         [!__NR_ftruncate64]: Remove conditional code.
78446         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78447         [__NR_ftruncate64]: Make code unconditional.
78448         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
78450         include <kernel-features.h>.
78451         [!__NR_ftruncate64]: Remove conditional code.
78452         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78453         [__NR_ftruncate64]: Make code unconditional.
78454         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78456         * configure.in (libc_cv_fpie): Weaken to a compile test using
78457         LIBC_TRY_CC_OPTION.
78458         * configure: Regenerated.
78460 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
78463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
78464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
78465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78466         Refreshed.
78467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
78468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
78469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
78470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
78471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
78472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78473         Refreshed.
78475 2012-05-27  David S. Miller  <davem@davemloft.net>
78477         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
78478         (___Q_zero): New.
78479         (__Q_simulate_exceptions): Return void.  Change to simulate
78480         exceptions by writing into the %fsr.
78481         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
78482         (__Qp_handle_exceptions): Likewise.
78483         (numbers): Delete.
78484         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
78485         __Qp_handle_exceptions.
78486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
78487         __Qp_handle_exceptions.
78488         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78489         as unused and give dummy FP_RND_NEAREST initializer.
78490         (FP_INHIBIT_RESULTS): Define.
78491         (___Q_simulate_exceptions): Update declaration.
78492         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
78493         formatting.
78494         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78495         as unused and give dummy FP_RND_NEAREST initializer.
78496         (__Qp_handle_exceptions): Update declaration.
78497         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
78498         formatting.
78500 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
78502         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
78503         the temporary FPU control word.
78504         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
78505         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
78506         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
78507         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78508         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
78509         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
78510         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
78511         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78512         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
78513         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
78514         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78516 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78518         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
78519         fields.
78521 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
78523         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
78524         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
78525         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
78526         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
78527         Likewise.
78528         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
78529         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
78530         Likewise.
78532 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
78534         * po/h.po: Update from translation team.
78536 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
78538         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
78540         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
78541         handling of denormals.
78542         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78543         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
78544         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78545         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78546         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78547         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
78548         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
78549         Likewise.
78551 2012-05-26  Marek Polacek  <polacek@redhat.com>
78553         [BZ #14152]
78554         * math/libm-test.inc (fma_test): Don't always expect underflow
78555         exception.
78557 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78559         [BZ #12416]
78560         * elf/tst-execstack.c: Include stackinfo.h.
78561         (do_test): Adjust test case to ensure that pthread_getattr_np
78562         behaviour remains the same after marking stack executable.
78564 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
78566         * sysdeps/unix/sysv/linux/kernel-features.h
78567         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
78568         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
78569         kernel-features.h.
78570         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78571         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78572         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
78573         kernel-features.h.
78574         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78575         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78577 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
78579         * configure.in: Define the default includes to being none.
78580         * configure: Regenerated.
78582 2012-05-25  Roland McGrath  <roland@hack.frob.com>
78584         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
78585         * sysdeps/x86_64/setjmp.S: Likewise.
78586         * sysdeps/i386/bsd-setjmp.S: Likewise.
78587         * sysdeps/i386/bsd-_setjmp.S: Likewise.
78588         * sysdeps/i386/setjmp.S: Likewise.
78589         * sysdeps/i386/__longjmp.S: Likewise.
78590         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78591         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
78593         * include/stap-probe.h: New file.
78594         * configure.in: Handle --enable-systemtap.
78595         * configure: Regenerated.
78596         * config.h.in (USE_STAP_PROBE): New #undef.
78597         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
78598         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
78599         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
78601 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
78603         [BZ #13717]
78604         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78605         to 2.4.0 where earlier.
78606         * sysdeps/unix/sysv/linux/configure: Regenerated.
78607         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
78608         <kernel-features.h>.
78609         [__ASSUME_32BITUIDS]: Make code unconditional.
78610         [!__ASSUME_32BITUIDS]: Remove conditional code.
78611         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
78612         <kernel-features.h>.
78613         [__ASSUME_32BITUIDS]: Make code unconditional.
78614         [!__ASSUME_32BITUIDS]: Remove conditional code.
78615         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
78616         [__ASSUME_32BITUIDS]: Make code unconditional.
78617         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
78618         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
78619         <kernel-features.h>.
78620         [__ASSUME_32BITUIDS]: Make code unconditional.
78621         [!__ASSUME_32BITUIDS]: Remove conditional code.
78622         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
78623         <kernel-features.h>.
78624         [__ASSUME_32BITUIDS]: Make code unconditional.
78625         [!__ASSUME_32BITUIDS]: Remove conditional code.
78626         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
78627         <kernel-features.h>.
78628         [__ASSUME_32BITUIDS]: Make code unconditional.
78629         [!__ASSUME_32BITUIDS]: Remove conditional code.
78630         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
78631         <kernel-features.h>.
78632         [__ASSUME_32BITUIDS]: Make code unconditional.
78633         [!__ASSUME_32BITUIDS]: Remove conditional code.
78634         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
78635         <kernel-features.h>.
78636         [__ASSUME_32BITUIDS]: Make code unconditional.
78637         [!__ASSUME_32BITUIDS]: Remove conditional code.
78638         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
78639         <kernel-features.h>.
78640         [__ASSUME_32BITUIDS]: Make code unconditional.
78641         [!__ASSUME_32BITUIDS]: Remove conditional code.
78642         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
78643         <kernel-features.h>.
78644         [__ASSUME_32BITUIDS]: Make code unconditional.
78645         [!__ASSUME_32BITUIDS]: Remove conditional code.
78646         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
78647         <kernel-features.h>.
78648         [__ASSUME_32BITUIDS]: Make code unconditional.
78649         [!__ASSUME_32BITUIDS]: Remove conditional code.
78650         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
78651         <kernel-features.h>.
78652         [__ASSUME_32BITUIDS]: Make code unconditional.
78653         [!__ASSUME_32BITUIDS]: Remove conditional code.
78654         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
78655         <kernel-features.h>.
78656         [__ASSUME_32BITUIDS]: Make code unconditional.
78657         [!__ASSUME_32BITUIDS]: Remove conditional code.
78658         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
78659         <kernel-features.h>.
78660         [__NR_setresgid] (__setresgid): Do not declare.
78661         [__ASSUME_32BITUIDS]: Make code unconditional.
78662         [!__ASSUME_32BITUIDS]: Remove conditional code.
78663         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
78664         <kernel-features.h>.
78665         [__NR_setresuid] (__setresuid): Do not declare.
78666         [__ASSUME_32BITUIDS]: Make code unconditional.
78667         [!__ASSUME_32BITUIDS]: Remove conditional code.
78668         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
78669         <kernel-features.h>.
78670         [__ASSUME_32BITUIDS]: Make code unconditional.
78671         [!__ASSUME_32BITUIDS]: Remove conditional code.
78672         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
78673         <kernel-features.h>.
78674         [__ASSUME_32BITUIDS]: Make code unconditional.
78675         [!__ASSUME_32BITUIDS]: Remove conditional code.
78676         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
78677         <kernel-features.h>.
78678         [__ASSUME_32BITUIDS]: Make code unconditional.
78679         [!__ASSUME_32BITUIDS]: Remove conditional code.
78680         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
78681         <kernel-features.h>.
78682         [__ASSUME_32BITUIDS]: Make code unconditional.
78683         [!__ASSUME_32BITUIDS]: Remove conditional code.
78684         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
78685         <kernel-features.h>.
78686         [__ASSUME_32BITUIDS]: Make code unconditional.
78687         [!__ASSUME_32BITUIDS]: Remove conditional code.
78688         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
78689         <kernel-features.h>.
78690         [__ASSUME_32BITUIDS]: Make code unconditional.
78691         [!__ASSUME_32BITUIDS]: Remove conditional code.
78692         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
78693         <kernel-features.h>.
78694         [__ASSUME_32BITUIDS]: Make code unconditional.
78695         [!__ASSUME_32BITUIDS]: Remove conditional code.
78696         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
78697         <kernel-features.h>.
78698         [__ASSUME_32BITUIDS]: Make code unconditional.
78699         [!__ASSUME_32BITUIDS]: Remove conditional code.
78700         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
78701         <kernel-features.h>.
78702         [__ASSUME_32BITUIDS]: Make code unconditional.
78703         [!__ASSUME_32BITUIDS]: Remove conditional code.
78704         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
78705         <kernel-features.h>.
78706         [__ASSUME_32BITUIDS]: Make code unconditional.
78707         [!__ASSUME_32BITUIDS]: Remove conditional code.
78708         * sysdeps/unix/sysv/linux/kernel-features.h
78709         (__ASSUME_SETRESUID_SYSCALL): Remove.
78710         (__ASSUME_SETRESGID_SYSCALL): Likewise.
78711         (__ASSUME_32BITUIDS): Likewise.
78712         (__ASSUME_LDT_WORKS): Likewise.
78713         (__ASSUME_O_DIRECTORY): Likewise.
78714         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
78715         architecture but not kernel version.
78716         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
78717         (__ASSUME_MMAP2_SYSCALL): Likewise.
78718         (__ASSUME_STAT64_SYSCALL): Likewise.
78719         (__ASSUME_IPC64): Likewise.
78720         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
78721         <kernel-features.h>.
78722         [__ASSUME_32BITUIDS]: Make code unconditional.
78723         [!__ASSUME_32BITUIDS]: Remove conditional code.
78724         * sysdeps/unix/sysv/linux/opendir.c: Do not include
78725         <kernel-features.h>.
78726         [__ASSUME_O_DIRECTORY]: Make code unconditional.
78727         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
78728         132096]: Remove conditional code.
78729         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
78730         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
78731         <kernel-features.h>.
78732         [__ASSUME_32BITUIDS]: Make code unconditional.
78733         [!__ASSUME_32BITUIDS]: Remove conditional code.
78734         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
78735         <kernel-features.h>.
78736         [__ASSUME_32BITUIDS]: Make code unconditional.
78737         [!__ASSUME_32BITUIDS]: Remove conditional code.
78738         * sysdeps/unix/sysv/linux/setegid.c: Do not include
78739         <kernel-features.h>.
78740         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
78741         unconditional.
78742         (__setresgid): Do not declare.
78743         [__ASSUME_32BITUIDS]: Make code unconditional.
78744         [!__ASSUME_32BITUIDS]: Remove conditional code.
78745         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
78746         <kernel-features.h>.
78747         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
78748         unconditional.
78749         (__setresuid): Do not declare.
78750         [__ASSUME_32BITUIDS]: Make code unconditional.
78751         [!__ASSUME_32BITUIDS]: Remove conditional code.
78752         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
78753         <kernel-features.h>.
78754         [__ASSUME_32BITUIDS]: Make code unconditional.
78755         [!__ASSUME_32BITUIDS]: Remove conditional code.
78756         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
78757         <kernel-features.h>.
78758         [__ASSUME_32BITUIDS]: Make code unconditional.
78759         [!__ASSUME_32BITUIDS]: Remove conditional code.
78761 2012-05-25  Richard Henderson  <rth@twiddle.net>
78763         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
78764         dl_hwcap to ifunc resolver.
78765         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
78766         elf_ifunc_invoke.
78767         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
78768         dl_hwcap to ifunc resolver.
78769         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
78771 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78773         [BZ #14153]
78774         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
78775         for |x| <= 2**-26, not 2**-57.
78776         * math/libm-test.inc (acos_test): Do not allow spurious underflow
78777         exception.
78779 2012-05-24  Jeff Law  <law@redhat.com>
78781         * stdio-common/Makefile (tests): Add bug25.
78782         * stdio-common/bug25.c: New test.
78784 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
78786         [BZ #13576]
78787         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
78788         multiple of MALLOC_ALIGNMENT in size.
78789         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
78791 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78793         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
78794         Require >= 256.
78795         (FILENAME_MAX): Use macro-int-constant.
78796         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
78797         (_IOFBF): Use macro-int-constant.
78798         (_IOLBF): Likewise.
78799         (_IONBF): Likewise.
78800         (SEEK_CUR): Likewise.
78801         (SEEK_END): Likewise.
78802         (SEEK_SET): Likewise.
78803         (TMP_MAX): Likewise.
78804         (EOF): Use macro-int-constant.  Require < 0.
78805         (NULL): Use macro-constant.  Require == 0.
78806         (stdin): Require type to be FILE *.
78807         (stdout): Likewise.
78808         (stderr): Likewise.
78809         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
78810         macro-int-constant.
78811         (EXIT_SUCCESS): Likewise.
78812         (NULL): Use macro-constant.  Require == 0.
78813         (RAND_MAX): Use macro-int-constant.
78814         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
78815         [C99-based standards] (strtof): Require function.
78816         [C99-based standards] (strtold): Likewise.
78817         [C99-based standards] (strtoll): Likewise.
78818         [C99-based standards] (strtoull): Likewise.
78819         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78820         [ISO || ISO99 || ISO11] (limits.h): Likewise.
78821         [ISO || ISO99 || ISO11] (math.h): Likewise.
78822         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
78823         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78824         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78826 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
78828         [BZ #14132]
78829         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
78830         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
78831         * intl/dgettext.c (DCGETTEXT): Likewise.
78832         * intl/gettext.c (DCGETTEXT): Likewise.
78833         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
78834         * posix/regex_internal.h (gettext): Likewise.
78835         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
78836         Remove declaration.
78837         * include/argz.h (__argz_count_internal)
78838         (__argz_stringify_internal): Remove declaration.
78839         (__argz_count, __argz_stringify): Declare hidden proto.
78840         * intl/dcgettext.c: Remove use of INTDEF.
78841         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
78842         * string/argz-stringify.c: Likewise.
78843         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78844         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78845         Declare hidden proto.
78846         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78847         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78848         Declare hidden proto.
78849         * include/stdio.h (__asprintf_internal): Don't declare.
78850         (__asprintf): Don't define as macro.  Declare hidden proto.
78851         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
78852         (__fsetlocking): Declare hidden proto.
78853         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
78854         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
78855         hidden proto.
78856         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
78857         (_IO_setlinebuf): Remove use of INTUSE.
78858         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
78859         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
78860         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
78861         Remove declaration.
78862         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
78863         (_IO_do_flush): Remove use of INTUSE.
78864         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
78865         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
78866         (_IO_adjust_column, _IO_least_wmarker)
78867         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
78868         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
78869         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
78870         (_IO_default_doallocate, _IO_wdefault_doallocate)
78871         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
78872         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
78873         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
78874         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
78875         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
78876         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
78877         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
78878         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
78879         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
78880         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
78881         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
78882         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
78883         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
78884         proto.
78885         (_IO_flush_all_internal, _IO_adjust_column_internal)
78886         (_IO_default_uflow_internal, _IO_default_finish_internal)
78887         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
78888         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
78889         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
78890         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
78891         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
78892         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
78893         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
78894         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
78895         (_IO_file_close_internal, _IO_file_close_it_internal)
78896         (_IO_file_underflow_internal, _IO_file_overflow_internal)
78897         (_IO_file_init_internal, _IO_file_attach_internal)
78898         (_IO_file_fopen_internal, _IO_file_read_internal)
78899         (_IO_file_sync_internal, _IO_file_seek_internal)
78900         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
78901         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
78902         (_IO_str_underflow_internal, _IO_str_overflow_internal)
78903         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
78904         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
78905         (_IO_list_all_internal, _IO_link_in_internal)
78906         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
78907         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
78908         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
78909         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
78910         (_IO_do_write_internal, _IO_padn_internal)
78911         (_IO_getline_info_internal, _IO_getline_internal)
78912         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
78913         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
78914         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
78915         (_IO_vfscanf_internal, _IO_vfprintf_internal)
78916         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
78917         (_IO_init_internal, _IO_un_link_internal): Don't declare.
78918         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
78919         with libc_hidden_ver, remove use of INTUSE.
78920         * libio/genops.c: Likewise.
78921         * libio/freopen.c: Likewise.
78922         * libio/freopen64.c: Likewise.
78923         * libio/iofclose.c: Likewise.
78924         * libio/iofdopen.c: Likewise.
78925         * libio/iofflush.c: Likewise.
78926         * libio/iofflush_u.c: Likewise.
78927         * libio/iofgets.c: Likewise.
78928         * libio/iofgets_u.c: Likewise.
78929         * libio/iofopen.c: Likewise.
78930         * libio/iofopncook.c: Likewise.
78931         * libio/iofread.c: Likewise.
78932         * libio/iofread_u.c: Likewise.
78933         * libio/ioftell.c: Likewise.
78934         * libio/iofwrite.c: Likewise.
78935         * libio/iogetline.c: Likewise.
78936         * libio/iogets.c: Likewise.
78937         * libio/iogetwline.c: Likewise.
78938         * libio/iopadn.c: Likewise.
78939         * libio/iopopen.c: Likewise.
78940         * libio/ioseekoff.c: Likewise.
78941         * libio/ioseekpos.c: Likewise.
78942         * libio/iosetbuffer.c: Likewise.
78943         * libio/iosetvbuf.c: Likewise.
78944         * libio/ioungetc.c: Likewise.
78945         * libio/ioungetwc.c: Likewise.
78946         * libio/iovdprintf.c: Likewise.
78947         * libio/iovsprintf.c: Likewise.
78948         * libio/iovsscanf.c: Likewise.
78949         * libio/memstream.c: Likewise.
78950         * libio/obprintf.c: Likewise.
78951         * libio/oldfileops.c: Likewise.
78952         * libio/oldiofclose.c: Likewise.
78953         * libio/oldiofdopen.c: Likewise.
78954         * libio/oldiofopen.c: Likewise.
78955         * libio/oldiopopen.c: Likewise.
78956         * libio/oldstdfiles.c: Likewise.
78957         * libio/putc.c: Likewise.
78958         * libio/setbuf.c: Likewise.
78959         * libio/setlinebuf.c: Likewise.
78960         * libio/stdfiles.c: Likewise.
78961         * libio/strops.c: Likewise.
78962         * libio/vasprintf.c: Likewise.
78963         * libio/vscanf.c: Likewise.
78964         * libio/vsnprintf.c: Likewise.
78965         * libio/vswprintf.c: Likewise.
78966         * libio/wfiledoalloc.c: Likewise.
78967         * libio/wfileops.c: Likewise.
78968         * libio/wgenops.c: Likewise.
78969         * libio/wmemstream.c: Likewise.
78970         * libio/wstrops.c: Likewise.
78971         * libio/__fpurge.c: Likewise.
78972         * libio/__fsetlocking.c: Likewise.
78973         * assert/assert.c: Likewise.
78974         * debug/fgets_chk.c: Likewise.
78975         * debug/fgets_u_chk.c: Likewise.
78976         * debug/fread_chk.c: Likewise.
78977         * debug/fread_u_chk.c: Likewise.
78978         * debug/gets_chk.c: Likewise.
78979         * debug/obprintf_chk.c: Likewise.
78980         * debug/vasprintf_chk.c: Likewise.
78981         * debug/vdprintf_chk.c: Likewise.
78982         * debug/vsnprintf_chk.c: Likewise.
78983         * debug/vsprintf_chk.c: Likewise.
78984         * malloc/mtrace.c: Likewise.
78985         * misc/error.c: Likewise.
78986         * misc/syslog.c: Likewise.
78987         * stdio-common/asprintf.c: Likewise.
78988         * stdio-common/fxprintf.c: Likewise.
78989         * stdio-common/getw.c: Likewise.
78990         * stdio-common/isoc99_fscanf.c: Likewise.
78991         * stdio-common/isoc99_scanf.c: Likewise.
78992         * stdio-common/isoc99_vfscanf.c: Likewise.
78993         * stdio-common/isoc99_vscanf.c: Likewise.
78994         * stdio-common/isoc99_vsscanf.c: Likewise.
78995         * stdio-common/printf-prs.c: Likewise.
78996         * stdio-common/printf_fp.c: Likewise.
78997         * stdio-common/printf_fphex.c: Likewise.
78998         * stdio-common/printf_size.c: Likewise.
78999         * stdio-common/putw.c: Likewise.
79000         * stdio-common/scanf.c: Likewise.
79001         * stdio-common/sprintf.c: Likewise.
79002         * stdio-common/tmpfile.c: Likewise.
79003         * stdio-common/vfprintf.c: Likewise.
79004         * stdio-common/vfscanf.c: Likewise.
79005         * stdlib/strfmon_l.c: Likewise.
79006         * sunrpc/openchild.c: Likewise.
79007         * sunrpc/xdr_stdio.c: Likewise.
79008         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
79009         * sysdeps/mach/hurd/tmpfile.c: Likewise.
79011 2012-05-24  Roland McGrath  <roland@hack.frob.com>
79013         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79015         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
79016         in the third column, to generate for the shared library an IFUNC
79017         that uses _dl_vdso_vsym.
79018         * Makerules (COMPILE.c, compile-stdin.c): New variables.
79019         * Makeconfig (object-suffixes-noshared): New variable.
79021         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
79022         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
79023         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
79024         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
79026         [BZ #14132]
79027         * include/sys/time.h (__gettimeofday): Remove macro.
79028         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
79029         * time/gettimeofday.c (__gettimeofday): Remove #undef.
79030         Remove INTDEF.
79031         (__gettimeofday): Add libc_hidden_def.
79032         (gettimeofday): Add libc_hidden_weak.
79033         * sysdeps/mach/gettimeofday.c: Likewise.
79034         * sysdeps/posix/gettimeofday.c: Likewise.
79035         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
79036         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
79037         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
79038         (__gettimeofday_internal): Remove strong_alias.
79039         (__gettimeofday): Add libc_hidden_def.
79040         (gettimeofday): Add libc_hidden_weak.
79041         * sysdeps/unix/syscalls.list (gettimeofday):
79042         Remove __gettimeofday_internal alias.
79044 2012-05-24  Daniel Jacobowitz  <drow@false.org>
79045             H.J. Lu  <hongjiu.lu@intel.com>
79047         [BZ #12495]
79048         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
79049         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
79050         (largebin_index_32_big): New.
79051         (largebin_index): Use it for 16-byte alignment.
79052         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
79053         correction with front_misalign.
79055 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
79058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
79059         Likewise.
79060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
79061         Likewise.
79062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
79063         Likewise.
79064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
79065         Likewise.
79066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
79067         Likewise.
79068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
79069         Likewise.
79070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
79071         Likewise.
79072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
79073         Likewise.
79074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
79075         Likewise.
79076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
79077         Likewise.
79078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
79079         Likewise.
79080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
79081         Likewise.
79083         * scripts/data/c++-types-x32-linux-gnu.data: New file.
79084         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
79086 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79088         [BZ #10846]
79089         [BZ #14036]
79090         * math/libm-test.inc (exp_test): Add test from bug 14036.
79091         (pow_test): Add test from bug 10846.
79093         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
79094         and other flags.
79095         (special_function): Do not include flags in test name.
79096         (parse_args): Likewise.
79097         * sysdeps/i386/fpu/libm-test-ulps: Update.
79098         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79099         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
79100         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
79101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79103         * math/gen-libm-test.pl (%beautify): Add entries for underflow
79104         exceptions.
79105         * math/libm-test.inc ("Philosophy"): Update comment about
79106         exception testing.
79107         (UNDERFLOW_EXCEPTION): New macro.
79108         (UNDERFLOW_EXCEPTION_OK): Likewise.
79109         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
79110         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
79111         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
79112         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
79113         (INVALID_EXCEPTION_OK): Update value.
79114         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79115         (OVERFLOW_EXCEPTION_OK): Likewise.
79116         (IGNORE_ZERO_INF_SIGN): Likewise.
79117         (test_exceptions): Handle underflow exceptions.
79118         (acos_test): Update for underflow exception expectations.
79119         (cexp_test): Likewise.
79120         (clog_test): Likewise.
79121         (clog10_test): Likewise.
79122         (csqrt_test): Likewise.
79123         (ctan_test): Likewise.
79124         (ctanh_test): Likewise.
79125         (exp_test): Likewise.
79126         (exp10_test): Likewise.
79127         (exp2_test): Likewise.
79128         (expm1_test): Likewise.
79129         (fma_test): Likewise.
79130         (j0_test): Likewise.
79131         (jn_test): Likewise.
79132         (nexttoward_test): Likewise.
79133         (pow_test): Likewise.
79134         (scalbn_test): Likewise.
79135         (scalbln_test): Likewise.
79136         (tan_test): Likewise.
79137         (y1_test): Likewise.
79138         * sysdeps/i386/fpu/libm-test-ulps: Update.
79139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79141 2012-05-23  David S. Miller  <davem@davemloft.net>
79143         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79144         (__libc_sigaction): Remove unused local variables.
79146 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79148         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
79150 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
79152         mktime: avoid signed integer overflow
79153         * time/mktime.c (__mktime_internal): Do not mishandle the case
79154         where diff == INT_MIN.
79156         mktime: simplify computation of average
79157         * time/mktime.c (ranged_convert): Use new time_t_avg function
79158         instead of rolling our own (probably-slower) code.
79160         mktime: do not assume signed right shift propagates sign bit
79161         * time/mktime.c (isdst_differ): New static function.
79162         (__mktime_internal): No need to normalize tm_isdst now.
79163         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
79164         tm_isdst values.
79166         mktime: merge another wrapv change from gnulib
79167         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
79168         from some compilers.
79170         mktime: remove incorrect attempt at unusual arithmetics
79171         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
79172         The code didn't really work on such machines anyway.
79173         (TYPE_MINIMUM): Assume two's complement.
79174         (twos_complement_arithmetic): Verify that long_int and time_t
79175         are two's complement (or unsigned, in the latter case).
79177         mktime: check signed shifts on long_int and time_t, too
79178         * time/mktime.c (SHR): Check that shifts work as desired
79179         on the types long_int and time_t too, as SHR is used on
79180         such types.
79182         mktime: do not assume 'long' is wide enough
79183         * time/mktime.c (verify): Move decl up.
79184         (long_int): New type.
79185         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
79186         to remove assumption in the code that 'long' is wide enough to
79187         store year values.  This assumption is not true on x32 and on
79188         some non-glibc platforms.
79190         mktime: merge wrapv change from gnulib
79191         * time/mktime.c (WRAPV): New macro.
79192         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
79193         (guess_time_tm, __mktime_internal): Do not assume that signed
79194         integer overflow wraps around; modern compilers generate code
79195         where this assumption is no longer valid.
79197 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79199         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79200         Replace "jmp L(pseudo_end)" with "ret".
79201         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
79202         Likewise.
79204 2012-05-23  Andreas Jaeger  <aj@suse.de>
79206         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
79207         * sysdeps/unix/sysv/linux/poll.c: Remove file.
79209 2012-05-23  Andreas Jaeger  <aj@suse.de>
79210             Maximilian Attems  <max@stro.at>
79212         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
79213         New macros.
79215 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79217         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
79218         code so that pseudo_end is just ret and the stack pointer is
79219         correct also for static library in error case.
79221 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
79223         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
79224         move to syscalls.list.
79225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
79226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
79227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
79228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
79230         * manual/install.texi (Running make install): Do not mention Linux
79231         kernel version for which pt_chown is not needed.
79232         (Linux): Do not mention problems with nscd with 2.0 kernels.
79233         * INSTALL: Regenerated.
79235 2012-05-23  Andreas Jaeger  <aj@suse.de>
79237         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
79238         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
79239         macro.
79240         * sysdeps/unix/sysv/linux/s390/bits/mman.h
79241         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79242         * sysdeps/unix/sysv/linux/sh/bits/mman.h
79243         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79244         * sysdeps/unix/sysv/linux/i386/bits/mman.h
79245         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79246         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
79247         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79248         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
79249         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79250         * sysdeps/unix/sysv/linux/bits/in.h
79251         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
79253 2012-05-22  Roland McGrath  <roland@hack.frob.com>
79255         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
79256         (PREPARE_VERSION): Just use assert instead, it will be elided
79257         under [NDEBUG] anyway.
79259 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79261         * sysdeps/unix/sysv/linux/Makefile: Include
79262         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
79263         (sysdep_routines): Remove sysctl.
79264         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
79265         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
79266         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
79267         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
79268         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
79270 2012-05-22  Andreas Jaeger  <aj@suse.de>
79272         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
79273         that pseudo_end is just ret and the stack pointer is correct also
79274         for static library in error case.
79276 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
79278         [BZ #14122]
79279         * nss/nsswitch.c (defconfig_entries): New variable.
79280         (__nss_database_lookup): Don't leak defconfig entries.
79281         (nss_parse_service_list): Don't leak on error paths.
79282         (free_database_entries): New function.
79283         (free_defconfig): New function.
79284         (free_mem): Move common code to free_database_entries.
79286 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79288         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
79289         Add arch_prctl.
79290         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
79292         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
79293         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
79294         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
79295         New macro.
79296         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
79297         (INTERNAL_SYSCALL_TYPES): Likewise.
79298         (LOAD_ARGS_TYPES_[1-6]): Likewise.
79299         (LOAD_REGS_TYPES_[1-6]): Likewise.
79300         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
79301         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
79303 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79305         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
79306         copysignl for GLIBC_2_0.
79307         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
79308         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
79309         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
79310         logbl for GLIBC_2_0.
79311         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
79312         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
79314 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79316         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
79317         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79319         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79320         Use "neg %eax".
79322         * time/mktime.c: Update copyright years.
79324 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
79326         mktime: merge comment-quoting-style change from gnulib
79327         * time/mktime.c: Quote 'like this' in comments.
79328         The GNU coding standards suggest that we no longer quote `like this',
79329         as "`" and "'" are typically rendered asymmetrically nowadays.
79330         The typical gnulib style is to quote 'like this' when quoting
79331         code, and "like this" when quoting English.
79333         * time/mktime.c (compile-command): Add "-I.".
79335         mktime: merge mktime-internal.h change from gnulib
79336         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
79338         mktime: merge time_r change from gnulib
79339         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
79341         mktime: merge DEBUG change from gnulib
79342         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
79343         case system <time.h> has a #define.
79345         mktime: merge <sys/types.h> change from gnulib
79346         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
79347         since <time.t> is now guaranteed to define time_t.
79349         mktime: merge HAVE_CONFIG_H change from gnulib
79350         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
79352 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79355         Use "neg %eax".
79357         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
79358         __rlim_t cast.
79359         (struct rusage): Use anonymous union to pad each field to
79360         __syscall_slong_t.
79362 2012-05-21  David S. Miller  <davem@davemloft.net>
79364         * Makefules (o-iterator): Remove .s cases.
79365         (compile-command.s): Delete.
79366         (COMPILE.s): Delete.
79367         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
79369 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
79371         * configure.in (libc_cv_predef_stack_protector): Only consider
79372         "foobar" and "__stack_chk_fail" lines in libc_undefs.
79373         * configure: Regenerated.
79375 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79377         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79378         New macro.  Use R*LP on int and pointer.
79379         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
79380         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
79381         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
79382         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
79384         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
79385         [__WORDSIZE_TIME64_COMPAT32] instead of
79386         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
79387         (struct utmp): Likewise.
79388         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
79389         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
79390         Renamed to ...
79391         (__WORDSIZE_TIME64_COMPAT32): This.
79392         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
79393         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
79394         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
79395         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
79396         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
79397         (__WORDSIZE_TIME64_COMPAT32): New macro.
79399 2012-05-21  Andreas Jaeger  <aj@suse.de>
79401         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
79402         only if [SHARED]. Add prototype for __wcschr_ia32.
79404 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79406         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
79407         of %rbp unmolested in the jmp_buf while mangling the low bits.
79408         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
79409         unmolested high bits of %rbp while demangling the low bits.
79410         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79412 2012-05-21  Andreas Jaeger  <aj@suse.de>
79414         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
79415         * sunrpc/svc_simple.c: Use it for registerrpc.
79416         * sunrpc/xcrypt.c: Use it for passwd2des.
79418         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
79420 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79422         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
79423         Don't define if [__SYSCALL_WORDSIZE != 32].
79424         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
79425         New macro.
79427 2012-05-21  Bruno Haible  <bruno@clisp.org>
79428             Andreas Jaeger  <aj@suse.de>
79430         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
79431         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
79432         inptr and inend for must_buffer_ch.
79433         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
79434         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
79435         * stdio-common/Makefile (tests): Remove bug15.
79436         (bug15-ENV): Remove macro.
79437         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
79438         anymore.
79440 2012-05-19  Andreas Jaeger  <aj@suse.de>
79441             Roland McGrath  <roland@hack.frob.com>
79443         * manual/contrib.texi: Completely rewritten. It contains now an
79444         alphabetical list of contributors and their contributions.
79446 2012-05-21  Richard Henderson  <rth@twiddle.net>
79448         * misc/getauxval.c (__getauxval): Use unsigned long int.
79449         * misc/sys/auxv.h: Include <sys/cdefs.h>.
79450         (getauxval): Use unsigned long int.
79452 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79454         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79456 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79458         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
79459         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
79460         __alignof__ (long double).
79462 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79466 2012-05-20  Richard Henderson  <rth@twiddle.net>
79468         * misc/getauxval.c: New file.
79469         * misc/sys/auxv.h: New file.
79470         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
79471         (routines): Add getauxval.
79472         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
79473         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
79474         * elf/dl-sysdep.c (_dl_auxv): Remove.
79475         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
79476         * elf/dl-support.c (_dl_auxv): New variable.
79477         (_dl_aux_init): Initialize it.
79478         * manual/startup.texi (Auxiliary Vector): New node.
79479         * sysdeps/generic/bits/hwcap.h: New file.
79480         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
79481         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
79482         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
79483         * sysdeps/sparc/sysdep.h: ... here.  Include it.
79484         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
79485         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
79486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79487         Update.
79488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
79489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
79490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
79491         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
79492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
79495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
79497 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79501 2012-05-19  David S. Miller  <davem@davemloft.net>
79503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79505 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
79507         [BZ #14123]
79508         * math/s_ccosh.c: Include <float.h>
79509         (__ccosh): Avoid internal overflow calculating sinh and cosh
79510         values before multiplying by sin and cos values.
79511         * math/s_ccoshf.c: Likewise.
79512         * math/s_ccoshl.c: Likewise.
79513         * math/s_csin.c: Likewise.
79514         * math/s_csinf.c: Likewise.
79515         * math/s_csinl.c: Likewise.
79516         * math/s_csinh.c: Likewise.
79517         * math/s_csinhf.c: Likewise.
79518         * math/s_csinhl.c: Likewise.
79519         * math/libm-test.inc (ccos_test): Add more tests.
79520         (ccosh_test): Likewise.
79521         (csin_test): Likewise.
79522         (csinh_test): Likewise.
79523         * sysdeps/i386/fpu/libm-test-ulps: Update.
79524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79526 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
79528         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
79529         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
79531         * sysdeps/x86_64/x32/_itoa.h: Add comment.
79533 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
79535         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
79536         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
79537         * sysdeps/powerpc/soft-fp/Versions: Likewise.
79538         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
79539         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
79540         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
79541         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
79542         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
79543         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
79544         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
79545         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
79546         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
79547         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
79548         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
79549         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
79550         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
79551         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
79552         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
79553         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
79554         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
79555         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
79556         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
79557         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
79558         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
79559         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
79560         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
79561         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
79562         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
79563         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
79564         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
79565         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
79567 2012-05-18  Andreas Jaeger  <aj@suse.de>
79569         * csu/.gitignore: Delete.
79571 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79573         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
79574         (timex): Use __syscall_slong_t.
79576 2012-05-18  Andreas Jaeger  <aj@suse.de>
79577             Carlos O'Donell  <carlos_odonell@mentor.com>
79579         * manual/install.texi (Configuring and compiling): Update
79580         description about files modified in the source directory.
79581         * INSTALL: Regenerated.
79583 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79585         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
79586         value.  Use "or" to set return value to -1.
79587         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
79588         negate return value.
79590 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79592         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
79593         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
79594         failure if the compiler has Graphite support disabled.
79595         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
79596         Likewise.
79597         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
79598         (CFLAGS-memmove.c): Likewise.
79599         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
79600         Likewise.
79602 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79604         * sysdeps/x86_64/x32/_itoa.h: New file.
79606         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
79607         getdents system call only if kernel and user dirents have the
79608         same d_ino and d_off.
79610         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79611         LLONG_MAX != LONG_MAX.
79612         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79613         (_fitoa_word): Likewise.
79615         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
79616         years.
79617         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
79618         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
79619         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
79621         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
79622         include <bits/wordsize.h>.  Check __x86_64__ instead of
79623         __WORDSIZE.
79624         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
79625         if __x86_64__ is defined.  Use anonymous union on fpstate.
79627         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
79628         anonymous union.
79630 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
79632         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
79633         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
79634         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
79635         Refer to _rtld_local_ro instead of _rtld_global_ro.
79636         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
79637         Likewise.
79638         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
79639         Likewise.
79640         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
79641         Likewise.
79642         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
79643         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
79644         of _rtld_global, and rtld_progname instead of _dl_argv[0].
79646         [BZ #10882]
79647         * sysdeps/powerpc/powerpc32/dl-machine.c
79648         (__elf_machine_runtime_setup) [PROF]: Don't reference
79649         _dl_prof_resolve.
79651 2012-05-18  Andreas Jaeger  <aj@suse.de>
79653         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
79654         function only available for GCCs before 3.4 since GCC 3.4
79655         introduced a builtin.
79656         (lrint): Likewise.
79657         (llrintf): Likewise.
79658         (llrint): Likewise.
79659         (fmaxf): Likewise.
79660         (fmax): Likewise.
79661         (fminf): Likewise.
79662         (fmin): Likewise.
79663         (rint): Likewise.
79664         (rintf): Likewise.
79665         (nearbyint): Likewise.
79666         (nearbyintf): Likewise.
79667         (ceil): Likewise.
79668         (ceilf): Likewise.
79669         (floor): Likewise.
79670         (floorf): Likewise.
79672 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79674         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
79675         on both fields and cast pointer to __syscall_ulong_t.
79677         * bits/types.h (__fsword_t): New type.
79678         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
79679         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
79680         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79681         (__FSWORD_T_TYPE): Likewise.
79682         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79683         (__FSWORD_T_TYPE): Likewise.
79684         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79685         (__FSWORD_T_TYPE): Likewise.
79686         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
79687         (__FSWORD_T_TYPE): Likewise.
79688         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
79689         __SWORD_TYPE with __fsword_t.
79690         (statfs64): Likewise.
79692 2012-05-17  David S. Miller  <davem@davemloft.net>
79694         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
79696 2012-05-17  Andreas Jaeger  <aj@suse.de>
79698         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
79699         warning.
79701 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79703         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
79705 2012-05-17  Andreas Jaeger  <aj@suse.de>
79707         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
79708         when it is used.
79710 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
79712         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
79714 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79716         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
79717         * sysdeps/x86_64/tst-mallocalign1.c: New file.
79719 2012-05-17  Andreas Jaeger  <aj@suse.de>
79720             Carlos O'Donell  <carlos_odonell@mentor.com>
79722         [BZ #14059]
79723         * sysdeps/x86_64/multiarch/init-arch.h
79724         (bit_YMM_Usable): Rename to...
79725         (bit_AVX_Usable): ... this.
79726         (bit_FMA4_Usable): New macro.
79727         (bit_XMM_state): New macro.
79728         (bit_YMM_state): New macro.
79729         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
79730         [__ASSEMBLER__] (index_AVX_Usable): ... this.
79731         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
79732         (CPUID_OSXSAVE): New macro.
79733         (CPUID_AVX): New macro.
79734         (CPUID_FMA4): New macro.
79735         (index_YMM_Usable): Rename to...
79736         (index_AVX_Usable): ... this.
79737         (HAS_AVX): Use HAS_ARCH_FEATURE.
79738         (HAS_FMA4): Likewise.
79739         (HAS_YMM_USABLE): Remove.
79740         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79741         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
79742         are present.
79743         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
79744         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
79745         * sysdeps/x86_64/multiarch/Makefile: Likewise.
79746         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
79747         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
79749 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
79751         * math/libm-test.c: Support platforms without multiple rounding modes.
79752         * math/bug-nextafter.c: Support platforms without FP exceptions.
79753         * math/bug-nexttoward.c: Likewise.
79754         * math/test-fenv.c: Likewise.
79755         * math/test-misc.c: Likewise.
79756         * stdlib/bug-getcontext.c: Likewise.
79758 2012-05-17  Andreas Jaeger  <aj@suse.de>
79760         * manual/examples/search.c (critter_cmp): Change signature to
79761         avoid warnings.
79762         * manual/string.texi (Collation Functions): Likewise.
79764 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79766         * bits/types.h: Fold copyright years.
79767         * bits/typesizes.h: Likewise.
79768         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
79769         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
79770         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
79771         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
79772         * time/time.h: Likewise.
79774 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
79776         [BZ #208]
79777         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
79778         in instead of returning them.  Return void.
79779         (__libc_mallinfo): Accumulate over all arenas.
79780         (__malloc_stats): Adjust for change in int_mallinfo interface.
79782 2012-05-16  Roland McGrath  <roland@hack.frob.com>
79784         [BZ #10375]
79785         * configure.in (NM): Add AC_CHECK_TOOL for it.
79786         (libc_extra_cflags): New substituted variable.
79787         Check for -fstack-protector being used implicitly.
79788         * configure: Regenerated.
79789         * config.make.in (config-extra-cflags): New variable,
79790         gets @libc_extra_cflags@.
79791         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
79793         [BZ #10375]
79794         * configure.in: Check for _FORTIFY_SOURCE being predefined.
79795         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
79796         * configure: Regenerated.
79797         * config.make.in (CPPUNDEFS): New substituted variable.
79798         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
79799         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
79800         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
79802 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79804         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
79805         (mq_attr): Use __syscall_slong_t.
79807 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79809         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
79810         Check __x86_64__ instead of __WORDSIZE.
79811         (_STAT_VER_LINUX): Likewise.
79812         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
79813         __syscall_ulong_t and __syscall_slong_t.
79814         (stat64): Likewise.
79816 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79818         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
79820 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79822         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
79824 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79826         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
79827         __syscall_ulong_t.
79829         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
79830         include <bits/wordsize.h>.  Check __x86_64__ instead of
79831         __WORDSIZE.
79832         (greg_t): Use "__extension__ long long int" if __x86_64__ is
79833         defined.
79834         (mcontext_t): Replace "unsigned long" with "unsigned long long".
79836         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
79837         include <bits/wordsize.h>.  Check __x86_64__ instead of
79838         __WORDSIZE.
79839         (user_regs_struct): Use "__extension__ unsigned long long"
79840         instead of "unsigned long" if __x86_64__ is defined.
79841         (user): Likewise.  Pad after pointer field if __ILP32__ is
79842         defined.
79844 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
79846         * configure.in (makeinfo): Require version 4.5 or later.  Allow
79847         versions 5 to 9.
79848         * configure: Regenerated.
79849         * manual/install.texi (texinfo): Increase version requirement to
79850         4.5 or later.
79851         * INSTALL: Regenerated.
79853         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
79855 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79857         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
79859         * sysdeps/x86_64/x32/ffs.c: New file.
79861         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
79862         __syscall_ulong_t.
79863         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
79864         defined.  Use __syscall_ulong_t.
79865         (shminfo): Use __syscall_ulong_t.
79866         (shm_info): Likewise.
79868         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
79869         __syscall_ulong_t.
79871         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
79872         <bits/wordsize.h>.
79873         (msgqnum_t): Use __syscall_ulong_t.
79874         (msglen_t): Likewise.
79875         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
79876         __syscall_ulong_t.
79878         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
79879         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79881         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
79883         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
79884         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
79886         * sysvipc/sys/msg.h (msgbuf): Replace long int with
79887         __syscall_slong_t.
79889         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
79890         include <bits/wordsize.h>.  Check __x86_64__ instead of
79891         __WORDSIZE.
79893         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
79894         "unsigned long long int" if __x86_64__ is defined.
79895         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
79897         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
79898         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79899         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
79901         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
79902         <stdint.h>.
79903         (GET_PC): Cast to uintptr_t first.
79904         (GET_FRAME): Likewise.
79905         (GET_STACK): Likewise.
79907         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
79908         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
79909         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
79910         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
79911         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
79912         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
79913         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
79914         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
79915         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
79916         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
79917         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
79918         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
79919         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
79920         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
79921         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
79922         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
79923         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
79924         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
79925         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
79926         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
79927         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
79928         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
79929         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
79930         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
79931         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
79932         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
79933         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
79934         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
79935         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
79937 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
79939         * Makerules (+depfiles): Also collect depfiles from .oS in
79940         $(extra-objs).
79941         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
79942         .oS, $(libnldbl-routines)).
79944         * Makerules (native-compile-mkdep-flags): Define.
79945         * sunrpc/Makefile (extra-objs): Add $(addprefix
79946         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
79947         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
79948         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
79949         calling $(make-target-directory).
79951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79953         * bits/types.h (__snseconds_t): Removed.
79954         * time/time.h (struct timespec): Replace __snseconds_t with
79955         __syscall_slong_t.
79956         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
79957         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
79958         Likewise.
79959         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79960         (__SNSECONDS_T_TYPE): Likewise.
79961         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79962         (__SNSECONDS_T_TYPE): Likewise.
79963         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79964         (__SNSECONDS_T_TYPE): Likewise.
79966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79968         * sysdeps/mach/hurd/bits/typesizes.h
79969         (__SYSCALL_SLONG_TYPE): New macro.
79970         (__SYSCALL_ULONG_TYPE): Likewise.
79972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79974         * bits/types.h (__syscall_slong_t): New type.
79975         (__syscall_ulong_t): Likewise.
79977         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
79978         (__SYSCALL_ULONG_TYPE): Likewise.
79979         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79980         (__SYSCALL_SLONG_TYPE): Likewise.
79981         (__SYSCALL_ULONG_TYPE): Likewise.
79982         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79983         (__SYSCALL_SLONG_TYPE): Likewise.
79984         (__SYSCALL_ULONG_TYPE): Likewise.
79985         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79986         (__SYSCALL_SLONG_TYPE): Likewise.
79987         (__SYSCALL_ULONG_TYPE): Likewise.
79989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79991         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
79992         Add sigaltstack-offsets.sym.
79993         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
79994         <sigaltstack-offsets.h>.
79995         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
79996         longjmp_msg pointer.
79997         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
79998         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
79999         signal stack.
80000         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
80002 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80004         * elf/stackguard-macros.h: Remove file.
80005         * sysdeps/generic/stackguard-macros.h: New file.
80006         * sysdeps/i386/stackguard-macros.h: Likewise.
80007         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
80008         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
80009         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
80010         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
80011         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
80012         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
80013         * sysdeps/x86_64/stackguard-macros.h: Likewise.
80014         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
80015         <elf/stackguard-macros.h>.
80017         [BZ #14109]
80018         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
80019         __aligned__ in attribute.
80020         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
80021         (gregset_t): Likewise.
80023 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80025         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
80026         * sysdeps/x86_64/64/Implies-after: Here.  New file.
80027         * sysdeps/x86_64/x32/Implies-after: New file.
80029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80031         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
80032         and access return value for _dl_profile_fixup.  Use R10_LP to
80033         load frame size.
80035 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80037         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
80039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80041         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
80042         * sysdeps/x86_64/x32/sysdep.h: New file.
80044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80046         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
80047         * sysdeps/x86_64/setjmp.S: Likewise.
80049 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80051         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
80052         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
80053         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
80054         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
80055         remove unused global constant.
80057 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
80059         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
80060         include of <not-cancel.h>.
80062 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80064         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
80066 2012-05-15  Jeff Law  <law@redhat.com>
80067             Andreas Jaeger  <aj@suse.de>
80069         [BZ #13594]
80070         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
80071         out from...
80072         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
80073         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
80074         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
80075         code changing __hst_map_handle.map.
80077 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80079         * configure.in (sysnames): Look for Implies-before and Implies-after
80080         files.
80081         * configure: Regenerated.
80083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80085         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
80086         8-byte data alignment with LP_SIZE alignment.
80088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80090         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
80091         into R10_LP.
80093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80095         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
80097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80099         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
80100         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
80101         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
80102         Likewise.
80103         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
80105 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80107         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
80108         (stackinfo_sub_sp): Likewise.
80110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80112         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
80113         RAX_LP.
80115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80117         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
80118         into R*_LP.
80120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80122         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
80123         sizes into R*_LP.
80125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80127         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
80129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80131         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
80132         into R11_LP and load __x86_64_shared_cache_size_half into
80133         R8_LP.
80135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80137         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
80138         R8_LP.
80140 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80142         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
80143         logb for POWER7.
80144         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
80145         logbf for POWER7.
80146         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
80147         logbl for POWER7.
80148         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
80149         powerpc32/power7/fpu/s_logb.c via #include.
80150         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
80151         powerpc32/power7/fpu/s_logbf.c via #include.
80152         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
80153         powerpc32/power7/fpu/s_logbl.c via #include.
80155 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80157         * README.libm: Remove file.
80159 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80161         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
80162         count for x32.  Use R*_LP and omit operand-size suffix.
80164 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80166         * shlib-versions: Move x86_64-.*-linux.* entries to ...
80167         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
80168         * sysdeps/x86_64/x32/shlib-versions: New file.
80170 2012-05-14  Roland McGrath  <roland@hack.frob.com>
80172         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
80173         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
80174         Use _dl_fatal_printf instead.
80176 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80178         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
80179         set if not set by the user.  Do not allow for being unset.
80180         * sysdeps/unix/sysv/linux/configure: Regenerated.
80182 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80184         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
80185         the `q' suffix from lea and replace .quad with ASM_ADDR.
80187 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80189         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
80190         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
80191         instead of $17.
80192         (PTR_DEMANGLE): Likewise.
80194 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80196         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
80197         (LP_OP): Likewise.
80198         (ASM_ADDR): Likewise.
80199         (RAX_LP): Likewise.
80200         (RBP_LP): Likewise.
80201         (RBX_LP): Likewise.
80202         (RCX_LP): Likewise.
80203         (RDI_LP): Likewise.
80204         (RSI_LP): Likewise.
80205         (RSP_LP): Likewise.
80206         (R8_LP): Likewise.
80207         (R9_LP): Likewise.
80208         (R10_LP): Likewise.
80209         (R10_LP): Likewise.
80210         (R11_LP): Likewise.
80211         (R12_LP): Likewise.
80212         (R13_LP): Likewise.
80213         (R14_LP): Likewise.
80214         (R15_LP): Likewise.
80216 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80218         * sysdeps/x86_64/x32/dl-machine.h: New file.
80220 2012-05-14  Andreas Jaeger  <aj@suse.de>
80222         * manual/Makefile (subdir): Remove export of subdir.
80223         (all): Remove target.
80224         (.PHONY): Remove all from list.
80225         (mkinstalldirs): Remove.
80226         (.PHONY): Remove installdirs from list.
80227         ($(inst_infodir)/libc.info): Use make-target-directory.
80228         (installdirs): Remove.
80229         (subdir_%): Remove.
80230         (glibc-targets): Remove.
80231         (lib): Remove.
80232         (stubs): Remove.
80233         ($(objpfx)stubs ../po/manual.pot): Remove.
80234         ($(objpfx)stamp%): Remove.
80235         (make-target-directory): Remove.
80236         (subdir_install): Remove.
80237         (routines): Remove.
80238         (aux): Remove.
80239         (sources): Remove.
80240         (objects): Remove.
80241         (headers): Remove.
80243         [BZ #13750]
80244         * manual/.gitignore: Remove, it's not needed anymore.
80245         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
80246         all files in it.
80247         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
80248         directory.
80249         (texis): Renamed to $(objpfx)texis.
80250         (texis-path): New, contains path to generated files.
80251         (chapters.%): Use texis-path for complete path, add extra argument
80252         libc-texinfo.sh.
80253         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
80254         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
80255         (summary,texi, stamp-summary): Use complete path of
80256         files. Generate files in build dir.
80257         (dir-add.texi): Build in build dir.
80258         (libm-err.texi,stamp-libm-err): Likewise.
80259         (version.texi, stamp-version): Likewise.
80260         (.%c.texi): Likewise.
80261         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
80262         (mostlyclean): Remove target.
80263         (realclean): Remove target.
80264         (generated): Add new variable with contents from mostlyclean and
80265         realclean, remove entries duplicated in common-mostlyclean, add
80266         stamp-libm-err and stamp-version.
80267         (generated-dirs): Add libc directory.
80268         ($(inst_infodir)/libc.info): Install files from build dir.
80270         * manual/install.texi (Configuring and compiling): Adjust since
80271         the info files are not part of the tar ball anymore.
80273 2012-05-14  Andreas Jaeger  <aj@suse.de>
80275         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
80276         variable.
80278 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80280         [BZ #13717]
80281         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80282         to 2.2.0 where earlier.
80283         * sysdeps/unix/sysv/linux/configure: Regenerated.
80284         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
80285         Remove conditional code.
80286         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
80287         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
80288         Remove conditional code.
80289         [!__NR_lchown]: Likewise.
80290         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80291         [__NR_lchown]: Likewise.
80292         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
80293         comment referencing __ASSUME_LCHOWN_SYSCALL.
80294         * sysdeps/unix/sysv/linux/i386/sigaction.c
80295         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80296         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80297         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
80298         Remove conditional code.
80299         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
80300         (__protocol_available): Remove #if 0 code.
80301         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
80302         conditional code.
80303         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
80304         * sysdeps/unix/sysv/linux/kernel-features.h
80305         (__ASSUME_GETCWD_SYSCALL): Don't define.
80306         (__ASSUME_REALTIME_SIGNALS): Likewise.
80307         (__ASSUME_PREAD_SYSCALL): Likewise.
80308         (__ASSUME_PWRITE_SYSCALL): Likewise.
80309         (__ASSUME_POLL_SYSCALL): Likewise.
80310         (__ASSUME_LCHOWN_SYSCALL): Likewise.
80311         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
80312         non-SPARC.
80313         (__ASSUME_SIOCGIFNAME): Don't define.
80314         (__ASSUME_MSG_NOSIGNAL): Likewise.
80315         (__ASSUME_SENDFILE): Define unconditionally.
80316         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
80317         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
80318         conditional code.
80319         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
80320         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
80321         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80322         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80323         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
80324         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80325         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
80327         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80328         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
80330         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80331         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
80333         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80334         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
80336         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80337         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
80339         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80340         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
80342         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80343         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
80345         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80346         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
80348         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80349         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80350         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
80351         Remove conditional code.
80352         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80353         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80354         Remove conditional code.
80355         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80356         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
80357         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
80358         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80359         Remove conditional code.
80360         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80361         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
80362         Remove conditional code.
80363         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80364         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
80365         Remove conditional code.
80366         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80367         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80368         Remove conditional code.
80369         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80370         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80371         Remove conditional code.
80372         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80373         * sysdeps/unix/sysv/linux/sh/pwrite64.c
80374         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80375         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80376         * sysdeps/unix/sysv/linux/sigaction.c
80377         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80378         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80379         * sysdeps/unix/sysv/linux/sigpending.c
80380         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80381         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80382         * sysdeps/unix/sysv/linux/sigprocmask.c
80383         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80384         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80385         * sysdeps/unix/sysv/linux/sigsuspend.c
80386         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80387         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80388         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80389         (__libc_missing_rt_sigs): Remove.
80390         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
80391         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
80392         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
80393         Remove conditional code.
80394         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
80395         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
80396         return 1.
80397         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
80398         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
80399         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
80400         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
80402 2012-05-14  Andreas Jaeger  <aj@suse.de>
80404         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
80405         it's not used in glibc.
80406         (__coshm1): Likewise.
80407         (__acosh1p): Likewise.
80408         (__sgn): Likewise.
80410         * manual/string.texi (Copying and Concatenation): Add missing
80411         variable in concat example.
80412         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
80414 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80416         [BZ #14103]
80417         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
80418         __builtin_clzl with __builtin_clzll.
80420 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80422         [BZ #14104]
80423         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
80424         libc_freeres_ptr.
80426 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80428         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
80429         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
80430         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
80431         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
80433 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
80435         * NEWS: Update ia64 info.
80437 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
80439         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
80440         used as bcopy.
80442 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
80444         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
80445         * sysdeps/unix/syscalls.list (dup3): Likewise.
80446         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
80447         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
80449 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
80451         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
80452         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
80454 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
80456         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
80457         thread pointer.
80458         (TLS_IE): Use mov/add instead of movq/addq to load thread
80459         pointer.
80460         (TLS_GD_PREFIX): New.
80461         (TLS_GD): Use it.
80463 2012-05-11  David S. Miller  <davem@davemloft.net>
80465         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
80466         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
80467         (_FPU_SETCW): Likewise.
80469 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80471         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
80472         is 32-byte aligned.
80474 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
80476         [BZ #11837]
80477         * iconvdata/gb18030.c: Update tables.
80478         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
80479         characters specially.
80480         (BODY for TO_LOOP): Add encoding of missing ranges.
80482 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
80484         [BZ #13673]
80485         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
80486         * sysdeps/mach/hurd/dup3.c: Likewise.
80487         * sysdeps/mach/hurd/readlinkat.c: Likewise.
80488         * sysdeps/powerpc/memmove.c:: Likewise.
80490 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80492         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
80493         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
80495 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80497         * elf/elf.h (R_X86_64_RELATIVE64): New.
80498         (R_X86_64_NUM): Updated.
80499         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
80500         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
80501         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
80502         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
80503         tst-quad1pie tst-quad2pie
80504         (modules-names): Add tst-quadmod1 tst-quadmod2.
80505         ($(objpfx)tst-quad1): New dependency.
80506         ($(objpfx)tst-quad2): Likewise.
80507         ($(objpfx)tst-quad1pie): Likewise.
80508         ($(objpfx)tst-quad2pie): Likewise.
80509         * sysdeps/x86_64/tst-quad1.c: New file.
80510         * sysdeps/x86_64/tst-quad1pie.c: New file.
80511         * sysdeps/x86_64/tst-quad2.c: Likewise.
80512         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
80513         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
80514         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
80515         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
80516         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
80518 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80520         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
80521         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
80522         * streams/stropts.h (t_scalar_t): Define type.
80524         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
80525         (_PATH_PRESERVE): Set to "/var/lib".
80526         (_PATH_RWHODIR): Set to "/var/spool/rwho".
80528         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
80529         instead of int.
80531         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
80532         if __dir_mkfile succeeded.
80534         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
80535         checking for _hurd_dtablesize.  Unlock it right after having
80536         finished _hurd_dtable allocation.
80538 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80540         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
80541         * sysdeps/mach/hurd/configure: Regenerated.
80542         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
80543         special-casing to...
80544         * sysdeps/gnu/configure.in: ... this new file.
80545         * sysdeps/unix/sysv/linux/configure: Regenerated.
80546         * sysdeps/gnu/configure: New generated file.
80548         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
80549         for Linux: use nsec instead of usec, as well as:
80550         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
80551         members of type struct timespec.
80552         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
80553         New macros.
80554         (struct stat64): Likewise.
80555         (_STATBUF_ST_NSEC): New macro.
80556         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
80558         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
80559         __strtoul_internal rather than strtoul.
80561 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80563         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
80564         and reject them.
80566 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80568         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
80569         which preserves existing values.
80570         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
80572 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80574         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
80575         TIMEOUT values.  Return EINVAL for NFDS values either negative or
80576         greater than FD_SETSIZE.
80578 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80580         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
80581         allocated, call __vm_protect to finish enabling the existing space, and
80582         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
80583         allocate the remainder.
80585 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80587         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
80588         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
80590 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80592         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
80593         sysdeps/mach/hurd/readlink.c.
80595         * posix/tst-sysconf.c (posix_options): Only use
80596         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
80597         _POSIX_SYNCHRONIZED_IO when they are defined
80598         * sysdeps/mach/hurd/bits/posix_opt.h:
80599         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
80600         (_XOPEN_REALTIME): Undefine macro.
80601         (_XOPEN_REALTIME_THREADS): Undefine macro.
80602         (_XOPEN_SHM): Undefine macro.
80603         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
80604         macro to -1.
80605         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
80606         macro to -1.
80607         (_POSIX_ASYNC_IO): Undefine macro.
80608         (_POSIX_PRIORITIZED_IO): Undefine macro.
80609         (_POSIX_SPIN_LOCKS): Define macro to -1.
80611         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
80612         SA_NODEFER, SA_RESETHAND.
80613         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
80614         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
80615         F_DUPFD_CLOEXEC.
80617 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80619         * elf/Makefile (pldd-modules): Define unconditionally.
80621 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80623         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
80625 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80627         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
80628         Return ENOENT when name is empty.
80629         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
80631 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80633         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
80635         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
80637 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80639         Fix mlock in all cases except non-readable pages.
80640         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
80641         instead of VM_PROT_ALL as parameter to __vm_wire function.
80643         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
80644         (__mkdir): When path is `/', just fail with EEXIST.
80645         * sysdeps/mach/hurd/mkdirat.c: Likewise.
80647 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80649         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
80650         <sys/uio.h> (for writev).
80651         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
80652         and <sys/param.h> (for MIN).
80654 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80656         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
80657         REQUESTED_TIME.  Properly set the remaining time and return EINTR
80658         if interrupted.
80660 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80662         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
80663         Depend on against $(link-rpcuserlibs).
80665 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80667         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
80668         (__libc_stack_end): Do not use attribute_relro.
80669         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
80670         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
80671         to libthread-provided value.
80672         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
80673         attribute_relro.
80675 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80677         [BZ #3748]
80678         * bits/libc-lock.h (__libc_once_get): New macro.
80679         * sysdeps/mach/bits/libc-lock.h: Likewise.
80680         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
80681         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
80682         instead of using implementation details.
80684         * libio/fileops.c: Unconditionally include <kernel-features.h>.
80685         * libio/freopen.c: Likewise.
80686         * libio/freopen64.c: Likewise.
80687         * misc/syslog.c: Likewise.
80688         * nscd/connections.c: Likewise.
80689         * nscd/netgroupcache.c: Likewise.
80690         * sysdeps/posix/getcwd.c: Likewise.
80692 2012-05-10  Roland McGrath  <roland@hack.frob.com>
80694         * math/w_ilogbf.c: Add #include <limits.h>.
80696 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80698         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
80699         path instead of returning without unlocking.
80701         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
80702         immediate-write ioctls.
80703         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
80705 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80707         * sysdeps/mach/hurd/i386/init-first.c (init): Use
80708         __builtin_frame_address instead of making assumptions about the
80709         location of the return address relative to DATA.  Force early load of
80710         the return address.
80711         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
80712         __builtin_frame_address.
80714         dup3 for GNU Hurd.
80715         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
80716         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
80717         implement dup3 and do some further code clean-ups.
80718         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
80719         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
80721 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80723         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
80725         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
80726         HURD_CRITICAL_END around holding _hurd_dtable_lock.
80727         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
80728         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
80729         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
80730         d->port.lock.
80732         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
80733         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
80734         when handler == SIG_ERR, not when handler != SIG_ERR.
80736 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80738         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
80739         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
80740         definitions.
80742         accept4 for GNU Hurd.
80743         * include/sys/socket.h (__libc_accept4): New prototype.
80744         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
80745         to implement __libc_accept4.
80746         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
80747         __libc_accept4.
80748         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
80750         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
80751         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
80752         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
80753         signal-defines.sym.
80755 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80757         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
80759 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80761         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
80762         assertion on O_CLOEXEC flag.
80763         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
80764         * hurd/intern-fd.c: Likewise.
80765         * hurd/port2fd.c: Likewise.
80767 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80769         [BZ #3906]
80770         * bits/in.h (IPV6_PKTINFO): Define new macro.
80771         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
80773 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80775         [BZ #13954]
80776         [BZ #13955]
80777         [BZ #13956]
80778         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
80779         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80780         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
80781         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80782         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80783         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80784         * math/libm-test.inc (logb_test) : Additional logb tests.
80786 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
80787             Andreas Jaeger  <aj@suse.de>
80789         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
80790         * configure: Regenerated.
80791         * config.h.in (LINK_OBSOLETE_RPC): New macro.
80792         * config.make.in (link-obsolete-rpc): New substituted variable.
80793         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
80794         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
80795         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
80796         (shared-only-routines): Don't set it under [link-obsolete-rpc],
80797         so that libc.a contains the symbols.
80798         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
80799         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
80800         * sunrpc/auth_none.c: Likewise.
80801         * sunrpc/auth_unix.c: Likewise.
80802         * sunrpc/authdes_prot.c: Likewise.
80803         * sunrpc/authuxprot.c: Likewise.
80804         * sunrpc/clnt_gen.c: Likewise.
80805         * sunrpc/clnt_perr.c: Likewise.
80806         * sunrpc/clnt_raw.c: Likewise.
80807         * sunrpc/clnt_simp.c: Likewise.
80808         * sunrpc/clnt_tcp.c: Likewise.
80809         * sunrpc/clnt_udp.c: Likewise.
80810         * sunrpc/clnt_unix.c: Likewise.
80811         * sunrpc/des_crypt.c: Likewise.
80812         * sunrpc/des_soft.c: Likewise.
80813         * sunrpc/get_myaddr.c: Likewise.
80814         * sunrpc/key_call.c: Likewise.
80815         * sunrpc/key_prot.c: Likewise.
80816         * sunrpc/netname.c: Likewise.
80817         * sunrpc/pm_getmaps.c: Likewise.
80818         * sunrpc/pm_getport.c: Likewise.
80819         * sunrpc/pmap_clnt.c: Likewise.
80820         * sunrpc/pmap_prot.c: Likewise.
80821         * sunrpc/pmap_prot2.c: Likewise.
80822         * sunrpc/pmap_rmt.c: Likewise.
80823         * sunrpc/publickey.c: Likewise.
80824         * sunrpc/rpc_cmsg.c: Likewise.
80825         * sunrpc/rpc_common.c: Likewise.
80826         * sunrpc/rpc_dtable.c: Likewise.
80827         * sunrpc/rpc_prot.c: Likewise.
80828         * sunrpc/rpc_thread.c: Likewise.
80829         * sunrpc/rtime.c: Likewise.
80830         * sunrpc/svc.c: Likewise.
80831         * sunrpc/svc_auth.c: Likewise.
80832         * sunrpc/svc_raw.c: Likewise.
80833         * sunrpc/svc_run.c: Likewise.
80834         * sunrpc/svc_tcp.c: Likewise.
80835         * sunrpc/svc_udp.c: Likewise.
80836         * sunrpc/svc_unix.c: Likewise.
80837         * sunrpc/svcauth_des.c: Likewise.
80838         * sunrpc/xcrypt.c: Likewise.
80839         * sunrpc/xdr.c: Likewise.
80840         * sunrpc/xdr_array.c: Likewise.
80841         * sunrpc/xdr_float.c: Likewise.
80842         * sunrpc/xdr_intXX_t.c: Likewise.
80843         * sunrpc/xdr_mem.c: Likewise.
80844         * sunrpc/xdr_rec.c: Likewise.
80845         * sunrpc/xdr_ref.c: Likewise.
80846         * sunrpc/xdr_sizeof.c: Likewise.
80847         * sunrpc/xdr_stdio.c: Likewise.
80849 2012-05-10  Roland McGrath  <roland@hack.frob.com>
80851         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
80852         change.  Update copyright years.
80854 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
80856         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
80858 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
80859             Joseph Myers  <joseph@codesourcery.com>
80860             Paul Pluzhnikov  <ppluzhnikov@google.com>
80862         [BZ #14012]
80863         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
80864         requiring rpcgen.
80865         [cross-compiling] (extra-libs): Likewise.
80866         [cross-compiling] (extra-libs-others): Likewise.
80867         [cross-compiling] (librpcsvc-routines): Likewise.
80868         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
80869         [cross-compiling] (omit-deps): Likewise.
80870         (sunrpc-CPPFLAGS): New variable.
80871         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
80872         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
80873         (cross-rpcgen-objs): New variable.
80874         (extra-objs): Append $(cross-rpcgen-objs).
80875         ($(cross-rpcgen-objs)): New rule.
80876         ($(objpfx)cross-rpcgen): Likewise.
80877         (rpcgen-cmd): Define to use $(built-program-file).  Expand
80878         comment.
80879         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
80880         ($(objpfx)x%.stmp): Likewise.
80881         * sunrpc/proto.h [IS_IN_build] (_): Define.
80882         [IS_IN_build] (_libc_intl_domainname): Likewise.
80884 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80886         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
80887         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
80888         and R_X86_64_TPOFF64.
80890 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
80892         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
80893         sysdeps/unix/sysv/syscalls.list.
80894         (stime): Likewise.
80895         (utime): Likewise.
80896         * sysdeps/unix/sysv/syscalls.list: Remove file.
80898 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
80900         [BZ #3440]
80901         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
80902         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
80903         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
80904         (__LC_IDENTIFICATION): Make these macros useful in #if
80905         expressions, as required by C99.
80907 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
80909         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
80910         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
80911         after this.
80913 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
80915         * stdlib/longlong.h: Updated from GCC.
80917 2012-05-09  Andreas Jaeger  <aj@suse.de>
80919         * nscd/nscd.c (run_modes): Make named enum, reorder so that
80920         default is first entry.
80921         (run_mode): Set type.
80922         (main): Remove informal message about syslog.
80923         (options): Fix typo.
80925         [BZ #14053]
80926         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
80927         to asm.
80928         (lrint): Likewise.
80929         (llrintf): Likewise.
80930         (llrint): Likewise.
80931         (rint): Likewise.
80932         (rintf): Likewise.
80933         (nearbyint): Likewise.
80934         (nearbyintf): Likewise.
80936 2012-05-09  Andreas Jaeger  <aj@suse.de>
80937             Pedro Alves  <palves@redhat.com>
80939         * nscd/nscd.c (run_mode): Use enum.
80940         (main): Cleanup coding style issue.
80942 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
80943             Andreas Jaeger  <aj@suse.de>
80945         * nscd/nscd.c (go_background): Replaced with...
80946         (run_mode): ... this.
80947         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
80948         (options): Add -F --foreground.
80949         (main): Implement it.
80950         (parse_opt): Parse it.
80952 2012-05-09  Andreas Jaeger  <aj@suse.de>
80954         [BZ #14083]
80955         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
80956         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
80957         -Wconversion warning.
80958         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
80959         Likewise.
80961 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
80963         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
80964         == 0.
80965         (LC_ALL): Use macro-int-constant.
80966         (LC_COLLATE): Likewise.
80967         (LC_CTYPE): Likewise.
80968         (LC_MESSAGES): Likewise.
80969         (LC_MONETARY): Likewise.
80970         (LC_NUMERIC): Likewise.
80971         (LC_TIME): Likewise.
80972         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
80973         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80974         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80975         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
80976         Specify type.
80977         [C99-based standards] (float_t): Expect type.
80978         [C99-based standards] (double_t): Expect type.
80979         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
80980         type.
80981         [C99-based standards] (HUGE_VALL): Likewise.
80982         [C99-based standards] (INFINITY): Likewise.
80983         [C99-based standards] (NAN): Likewise.
80984         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
80985         [C99-based standards] (FP_NAN): Likewise.
80986         [C99-based standards] (FP_NORMAL): Likewise.
80987         [C99-based standards] (FP_SUBNORMAL): Likewise.
80988         [C99-based standards] (FP_ZERO): Likewise.
80989         [C99-based standards] (FP_FAST_FMA): Use
80990         optional-macro-int-constant.  Specify type.  Require == 1.
80991         [C99-based standards] (FP_FAST_FMAF): Likewise.
80992         [C99-based standards] (FP_FAST_FMAL): Likewise.
80993         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
80994         [C99-based standards] (FP_ILOGBNAN): Likewise.
80995         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
80996         Specify type.
80997         [C99-based standards] (MATH_ERREXCEPT): Likewise.
80998         [C99-based standards] (math_errhandling): Specify type.
80999         [ISO99 || ISO11] (signgam): Do not allow.
81000         [non-C99-based standards] (copysignf): Do not allow.
81001         [non-C99-based standards] (exp2f): Likewise.
81002         [non-C99-based standards] (log2f): Likewise.
81003         [non-C99-based standards] (modff): Allow.
81004         [non-C99-based standards] (erff): Do not allow.
81005         [non-C99-based standards] (erfcf): Likewise.
81006         [non-C99-based standards] (gammaf): Likewise.
81007         [non-C99-based standards] (hypotf): Likewise.
81008         [non-C99-based standards] (j0f): Likewise.
81009         [non-C99-based standards] (j1f): Likewise.
81010         [non-C99-based standards] (jnf): Likewise.
81011         [non-C99-based standards] (lgammaf): Likewise.
81012         [non-C99-based standards] (tgammaf): Likewise.
81013         [non-C99-based standards] (y0f): Likewise.
81014         [non-C99-based standards] (y1f): Likewise.
81015         [non-C99-based standards] (ynf): Likewise.
81016         [non-C99-based standards] (isnanf): Likewise.
81017         [non-C99-based standards] (acoshf): Likewise.
81018         [non-C99-based standards] (asinhf): Likewise.
81019         [non-C99-based standards] (atanhf): Likewise.
81020         [non-C99-based standards] (cbrtf): Likewise.
81021         [non-C99-based standards] (expm1f): Likewise.
81022         [non-C99-based standards] (ilogbf): Likewise.
81023         [non-C99-based standards] (log1pf): Likewise.
81024         [non-C99-based standards] (logbf): Likewise.
81025         [non-C99-based standards] (nextafterf): Likewise.
81026         [non-C99-based standards] (remainderf): Likewise.
81027         [non-C99-based standards] (rintf): Likewise.
81028         [non-C99-based standards] (scalbf): Likewise.
81029         [non-C99-based standards] (copysignl): Likewise.
81030         [non-C99-based standards] (exp2l): Likewise.
81031         [non-C99-based standards] (log2l): Likewise.
81032         [non-C99-based standards] (modfl): Allow.
81033         [non-C99-based standards] (erfl): Do not allow.
81034         [non-C99-based standards] (erfcl): Likewise.
81035         [non-C99-based standards] (gammal): Likewise.
81036         [non-C99-based standards] (hypotl): Likewise.
81037         [non-C99-based standards] (j0l): Likewise.
81038         [non-C99-based standards] (j1l): Likewise.
81039         [non-C99-based standards] (jnl): Likewise.
81040         [non-C99-based standards] (lgammal): Likewise.
81041         [non-C99-based standards] (tgammal): Likewise.
81042         [non-C99-based standards] (y0l): Likewise.
81043         [non-C99-based standards] (y1l): Likewise.
81044         [non-C99-based standards] (ynl): Likewise.
81045         [non-C99-based standards] (isnanl): Likewise.
81046         [non-C99-based standards] (acoshl): Likewise.
81047         [non-C99-based standards] (asinhl): Likewise.
81048         [non-C99-based standards] (atanhl): Likewise.
81049         [non-C99-based standards] (cbrtl): Likewise.
81050         [non-C99-based standards] (expm1l): Likewise.
81051         [non-C99-based standards] (ilogbl): Likewise.
81052         [non-C99-based standards] (log1pl): Likewise.
81053         [non-C99-based standards] (logbl): Likewise.
81054         [non-C99-based standards] (nextafterl): Likewise.
81055         [non-C99-based standards] (remainderl): Likewise.
81056         [non-C99-based standards] (rintl): Likewise.
81057         [non-C99-based standards] (scalbl): Likewise.
81058         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81059         [non-C99-based standards] (FP_*): Do not allow.
81060         [C99-based standards] (FP_*): Change to
81061         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81062         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81063         allow.
81064         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
81065         (SIG_ERR): Likewise.
81066         [X/Open-based standards] (SIG_HOLD): Likewise.
81067         (SIG_IGN): Likewise.
81068         (SIGABRT): Use macro-int-constant.  Specify type.  Require
81069         positive value.
81070         (SIGFPE): Likewise.
81071         (SIGILL): Likewise.
81072         (SIGINT): Likewise.
81073         (SIGSEGV): Likewise.
81074         (SIGTER): Likewise.
81075         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
81076         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
81077         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
81078         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
81079         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
81080         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
81081         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
81082         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
81083         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
81084         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
81085         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
81086         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
81087         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
81088         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
81089         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
81090         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
81091         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
81092         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
81093         [X/Open-based standards] (SIGTRAP): Likewise.
81094         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
81095         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
81096         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
81097         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
81098         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81099         allow.
81101 2012-05-08  Ian Wienand  <ianw@vmware.com>
81103         [BZ #14080]
81104         * time/tzset.c (__tzset_parse_tz): Update default rules for
81105         daylight time changes in the Energy Policy Act of 2005.
81107 2012-05-09  Andreas Jaeger  <aj@suse.de>
81109         [BZ #13983]
81110         * elf/ldconfig.c (parse_conf): Change string to make clear that
81111         ldconfig only issued a warning if ld.so.conf does not exist.
81113 2012-05-08  David S. Miller  <davem@davemloft.net>
81115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
81116         movxtod instead of popping the value on the stack.
81118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81120 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
81122         * config.h.in: Add HAVE_ARM_PCS_VFP.
81124 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
81126         [BZ #13979]
81127         * include/features.h: Warn if user requests __FORTIFY_SOURCE
81128         checking but the checks are disabled for any reason.
81130 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
81132         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
81133         and ELF64_R_TYPE with ELFW(R_TYPE).
81135 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
81137         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
81138         (ulimit): Likewise.
81140         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
81141         (settimeofday): Likewise.
81143 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
81145         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
81146         a struct th_u2 inside the union, and move tu_block/tu_code into
81147         a new th_u3 union of tu_block/tu_code inside of that.  Move
81148         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
81149         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
81150         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
81151         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
81152         (th_stuff): Change to th_u1.tu_stuff.
81153         (th_data): Define.
81154         (th_msg): Change to th_u1.th_u2.tu_data.
81156 2012-05-07  David S. Miller  <davem@davemloft.net>
81158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81160         [BZ #14074]
81161         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
81162         (SETUP_PIC_REG): Use it.
81163         (SETUP_PIC_REG_LEAF): Use it.
81165 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
81167         [BZ #13885]
81168         [BZ #13923]
81169         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81170         USE_AS_EXPM1L.
81171         (EXPL_FINITE): Likewise.
81172         (FLDLOG): Likewise.
81173         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81174         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81175         e_expl.S.
81176         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81177         USE_AS_EXPM1L.
81178         (EXPL_FINITE): Likewise.
81179         (FLDLOG): Likewise.
81180         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81181         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81182         e_expl.S.
81183         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
81184         test of -max_value argument for long double.
81185         * sysdeps/i386/fpu/libm-test-ulps: Update.
81186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81188 2012-05-06  David S. Miller  <davem@davemloft.net>
81190         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
81191         quad soft-float symbols whose references which are compiler
81192         generated.
81193         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81195 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
81197         [BZ #13884]
81198         [BZ #13914]
81199         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81200         USE_AS_EXP10L.
81201         (EXPL_FINITE): Likewise.
81202         (FLDLOG): Likewise.
81203         (c0): Likewise.
81204         (c1): Likewise.
81205         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81206         Adjust comments for base varying.
81207         (__expl_finite): Change alias to EXPL_FINITE.
81208         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
81209         e_expl.S.
81210         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
81211         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
81212         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
81213         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
81214         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81215         USE_AS_EXP10L.
81216         (EXPL_FINITE): Likewise.
81217         (FLDLOG): Likewise.
81218         (c0): Likewise.
81219         (c1): Likewise.
81220         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81221         Adjust comments for base varying.
81222         (__expl_finite): Change alias to EXPL_FINITE.
81223         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
81224         tests for bugs.
81225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81227         [BZ #14064]
81228         * math/libm-test.inc (check_float_internal): Correct ulp
81229         calculation for subnormal expected results.
81231 2012-05-06  Andreas Jaeger  <aj@suse.de>
81233         * Makeconfig (+math-flags): New, set to -frounding-math.
81234         (+cflags): Add +math-flags so that all of glibc gets compiled with
81235         it.
81237         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
81239 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
81241         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
81242         Disable one test.
81244         [BZ #13787]
81245         [BZ #13922]
81246         [BZ #14036]
81247         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
81248         (__ieee754_expl): Allow for and saturate large arguments.
81249         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
81250         (u_threshold): Likewise.
81251         (__exp): Call __ieee754_exp before checking for overflow and
81252         underflow.
81253         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
81254         (u_threshold): Likewise.
81255         (__expf): Call __ieee754_expf before checking for overflow and
81256         underflow.
81257         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
81258         (u_threshold): Likewise.
81259         (__expl): Call __ieee754_expl before checking for overflow and
81260         underflow.
81261         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
81262         (__ieee754_expl): Allow for and saturate large arguments.
81263         * math/libm-test.inc (exp_test): Add another test.  Do not allow
81264         missing overflow exception on overflow.
81265         (expm1_test): Do not allow missing overflow exception on overflow.
81267         * sysdeps/i386/fpu/e_expl.c: Move to ...
81268         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
81269         rather than using inline asm.
81270         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
81271         * sysdeps/x86_64/fpu/e_expl.S: Copy from
81272         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
81274         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
81275         (nice): Likewise.
81276         (poll): Likewise.
81277         (signal): Likewise.
81278         (time): Likewise.
81279         (times): Likewise.
81281 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81283         * sysdeps/unix/syscalls.list (adjtime): Add entry from
81284         sysdeps/unix/common/syscalls.list.
81285         (fchmod): Likewise.
81286         (fchown): Likewise.
81287         (ftruncate): Likewise.
81288         (getrusage): Likewise.
81289         (gettimeofday): Likewise.
81290         (setpgid): Likewise.
81291         (setregid): Likewise.
81292         (setreuid): Likewise.
81293         (sigaction): Likewise.
81294         (truncate): Likewise.
81295         (vhangup): Likewise.
81296         * sysdeps/unix/common/syscalls.list: Remove file.
81297         * sysdeps/unix/bsd/Implies: Don't include unix/common.
81298         * sysdeps/unix/sysv/linux/Implies: Likewise.
81300 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
81302         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
81303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
81304         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
81305         Moved to ...
81306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
81307         Here.
81308         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
81309         to ...
81310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
81311         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
81312         to ...
81313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
81314         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
81315         to ...
81316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
81317         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
81318         to ...
81319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
81320         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
81321         to ...
81322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
81323         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
81324         to ...
81325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
81326         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
81327         to ...
81328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
81329         Here.
81330         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
81331         to ...
81332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
81333         Here.
81334         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
81335         to ...
81336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
81337         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
81338         Moved to ...
81339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
81340         Here.
81341         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
81342         to ...
81343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
81345 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81347         * sysdeps/unix/common/bits/dirent.h: Remove file.
81348         * sysdeps/unix/common/bits/fcntl.h: Likewise.
81350         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
81351         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
81352         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
81353         * sysdeps/unix/bsd/isatty.c: Likewise.
81354         * sysdeps/unix/bsd/tcdrain.c: Likewise.
81355         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
81356         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
81358 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81360         [BZ #13563]
81361         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
81362         long double comparison inaccuracies.
81363         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
81364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81366 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
81368         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
81369         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
81371 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81373         [BZ #14049]
81374         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
81375         nonzero digits before rounding a hex value.
81376         * stdlib/tst-strtod.c (tests): Add another test.
81378 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81380         * sysdeps/s390/fpu/libm-test-ulps: Update.
81382 2012-05-03  Andreas Jaeger  <aj@suse.de>
81384         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
81385         does not get optimized out.
81386         (malloc_opt_barrier): New.
81388 2012-05-03  Andreas Jaeger  <aj@suse.de>
81389             Roland McGrath  <roland@hack.frob.com>
81391         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
81392         intermediate file deletion.
81393         (generated): Add .symlist files.
81395 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
81397         [BZ #13775]
81398         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
81399         Redirect under this condition.
81400         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81401         [__USE_GNU] (__dprintf_chk): Not under this condition.
81402         [__USE_GNU] (__vdprintf_chk): Likewise.
81403         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
81404         under this condition.
81405         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81406         [__USE_XOPEN2K8] (dprintf): Define under this condition.
81407         [__USE_XOPEN2K8] (vdprintf): Likewise.
81408         [__USE_GNU] (__dprintf_chk): Not under this condition.
81409         [__USE_GNU] (__vdprintf_chk): Likewise.
81410         [__USE_GNU] (dprintf): Likewise.
81411         [__USE_GNU] (vdprintf): Likewise.
81413 2012-05-03  Roland McGrath  <roland@hack.frob.com>
81415         * elf/Makefile (common-generated): Set this instead of generated for
81416         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
81417         $(all-built-dso)-derived lists.
81419 2012-05-03  Andreas Jaeger  <aj@suse.de>
81421         * sysdeps/i386/fpu/libm-test-ulps: Update.
81423         * FAQ: Removed.
81424         * FAQ.in: Likewise.
81425         * scripts/gen-FAQ.pl: Likewise.
81426         * manual/install.texi (Installation): Point to online location of
81427         FAQ.
81428         * Makefile (files-for-dist): Remove FAQ.
81429         (FAQ): Remove.
81431 2012-05-02  Allan McRae  <allan@archlinux.org>
81433         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
81434         (LDFLAGS-reldepmod5.so): Likewise.
81435         (LDFLAGS-reldep6mod1.so): Likewise.
81436         (LDFLAGS-reldep6mod4.so): Likewise.
81437         (LDFLAGS-reldep8mod3.so): Likewise.
81438         (LDFLAGS-unload4mod1.so): Likewise.
81439         (LDFLAGS-unload4mod2.so): Likewise.
81440         (LDFLAGS-tst-initorder): Likewise.
81441         (LDFLAGS-tst-initordera2.so): Likewise.
81442         (LDFLAGS-tst-initordera3.so): Likewise.
81443         (LDFLAGS-tst-initordera4.so): Likewise.
81444         (LDFLAGS-tst-initorderb2.so): Likewise.
81445         (LDFLAGS-noload): Likewise.
81446         (LDFLAGS-next): Likewise.
81447         (LDFLAGS-order2mod1.so): Likewise.
81448         (LDFLAGS-order2mod2.so): Likewise.
81449         (LDFLAGS-tst-initorder2): Likewise.
81450         (LDFLAGS-tst-initorder2a.so): Likewise.
81451         (LDFLAGS-tst-initorder2b.so): Likewise.
81452         (LDFLAGS-tst-initorder2c.so): Likewise.
81453         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
81455 2012-05-02  David S. Miller  <davem@davemloft.net>
81457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81459 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
81461         [BZ #14055]
81462         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
81464 2012-05-02  Andreas Jaeger  <aj@suse.de>
81466         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
81467         since we manipulate rounding mode.
81468         (CPPFLAGS-test-idouble.c): Likewise.
81469         (CPPFLAGS-test-ifloat.c): Likewise.
81470         (CFLAGS-test-ldouble.c): Likewise.
81471         (CFLAGS-test-double.c): Likewise.
81472         (CFLAGS-test-float.c): Likewise.
81473         (CFLAGS-test-misc.c): Likewise.
81474         (CFLAGS-test-test-fenv.c): Likewise.
81476 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81478         [BZ #2550]
81479         [BZ #2570]
81480         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
81481         comparisons to determine direction to adjust input.
81483 2012-05-01  Roland McGrath  <roland@hack.frob.com>
81485         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
81486         output to the target.
81488         * scripts/localplt.awk: New file.
81489         * elf/Makefile ($(objpfx)check-localplt): Target removed.
81490         (check-localplt-CFLAGS): Variable removed.
81491         ($(all-built-dso:=.jmprel)): New static pattern rule.
81492         (generated): Add those targets.
81493         (localplt-built-dso): New variable.
81494         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
81496         * elf/check-localplt.c: File removed.
81498         * scripts/check-execstack.awk: New file.
81499         * elf/Makefile ($(objpfx)check-execstack): Target removed.
81500         (check-execstack-CFLAGS): Variable removed.
81501         ($(objpfx)check-execstack.h): Target removed.
81502         ($(objpfx)execstack-default): New target.
81503         (generated): Add that instead of check-execstack.h.
81504         ($(all-built-dso:=.phdr)): New static pattern rule.
81505         (generated): Add those targets.
81506         * elf/check-execstack.c: File removed.
81508         * scripts/check-textrel.awk: New file.
81509         * elf/Makefile ($(objpfx)check-textrel): Target removed.
81510         (check-textrel-CFLAGS): Variable removed.
81511         (all-built-dso): Use := to define.o
81512         ($(all-built-dso:=.dyn)): New static pattern rule.
81513         (generated): Add those targets.
81514         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
81515         * config.make.in (READELF): New substituted variable.
81516         * elf/check-textrel.c: File removed.
81518 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
81520         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81521         allow.
81522         * conform/data/ctype.h-data [C99-based standards] (isblank):
81523         Expect function.
81524         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
81525         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
81526         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81527         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
81528         Specify type.  Require positive value.
81529         (EILSEQ): Likewise.
81530         (ERANGE): Likewise.
81531         [ISO || POSIX] (EILSEQ): Do not expect.
81532         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
81533         Specify type.  Require positive value.
81534         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
81535         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
81536         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
81537         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
81538         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
81539         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
81540         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
81541         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
81542         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
81543         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
81544         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
81545         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
81546         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
81547         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
81548         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
81549         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
81550         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
81551         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
81552         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
81553         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
81554         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
81555         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
81556         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
81557         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
81558         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
81559         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
81560         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
81561         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
81562         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
81563         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
81564         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
81565         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
81566         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
81567         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
81568         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
81569         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
81570         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
81571         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
81572         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
81573         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
81574         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
81575         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
81576         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
81577         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
81578         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
81579         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
81580         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
81581         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
81582         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
81583         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
81584         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
81585         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
81586         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
81587         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
81588         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
81589         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
81590         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
81591         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
81592         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
81593         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
81594         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
81595         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
81596         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
81597         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
81598         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
81599         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
81600         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
81601         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
81602         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
81603         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
81604         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
81605         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
81606         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
81607         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
81608         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
81609         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
81610         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
81611         Require >= 2.
81612         (FLT_ROUNDS): Expect as macro, not constant.
81613         (FLT_MANT_DIG): Use macro-int-constant.
81614         (DBL_MANT_DIG): Likewise.
81615         (LDBL_MANT_DIG): Likewise.
81616         (FLT_DIG): Likewise.
81617         (DBL_DIG): Likewise.
81618         (LDBL_DIG): Likewise.
81619         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
81620         (DBL_MIN_EXP): Likewise.
81621         (LDBL_MIN_EXP): Likewise.
81622         (FLT_MAX_EXP): Use macro-int-constant.
81623         (DBL_MAX_EXP): Likewise.
81624         (LDBL_MAX_EXP): Likewise.
81625         (FLT_MAX_10_EXP): Likewise.
81626         (DBL_MAX_10_EXP): Likewise.
81627         (LDBL_MAX_10_EXP): Likewise.
81628         (FLT_MAX): Use macro-constant.
81629         (DBL_MAX): Likewise.
81630         (LDBL_MAX): Likewise.
81631         (FLT_EPSILON): Use macro-constant.  Give upper bound.
81632         (DBL_EPSILON): Likewise.
81633         (LDBL_EPSILON): Likewise.
81634         (FLT_MIN): Likewise.
81635         (DBL_MIN): Likewise.
81636         (LDBL_MIN): Likewise.
81637         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
81638         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
81639         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
81640         [ISO11] (FLT_HAS_SUBNORM): Likewise.
81641         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
81642         [ISO11] (DBL_DECIMAL_DIG): Likewise.
81643         [ISO11] (FLT_DECIMAL_DIG): Likewise.
81644         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
81645         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
81646         [ISO11] (FLT_TRUE_MIN): Likewise.
81647         [ISO11] (LDBL_TRUE_MIN): Likewise.
81648         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81649         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
81650         (SCHAR_MIN): Use macro-int-constant.  Specify type.
81651         (SCHAR_MAX): Likewise.
81652         (UCHAR_MAX): Likewise.
81653         (CHAR_MIN): Likewise.
81654         (CHAR_MAX): Likewise.
81655         (MB_LEN_MAX): Use macro-int-constant.
81656         (SHRT_MIN): Use macro-int-constant.  Specify type.
81657         (SHRT_MAX): Likewise.
81658         (USHRT_MAX): Likewise.
81659         (INT_MAX): Likewise.
81660         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
81661         bound negative.
81662         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
81663         bound with "U".
81664         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
81665         bound with "L".
81666         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
81667         bound negative.  Suffix upper bound with "L".
81668         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
81669         bound with "UL".
81670         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
81671         Specify type.
81672         [C99-based standards] (LLONG_MAX): Likewise.
81673         [C99-based standards] (ULLONG_MAX): Likewise.
81674         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
81675         == 0.
81676         [ISO11] (max_align_t): Require type.
81677         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81679         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
81680         from $CFLAGS, without defining away __attribute__ calls.
81681         (checknamespace): Use $CFLAGS_namespace.
81683         * conform/conformtest.pl (@keywords): Only include C99 keywords
81684         for standards based on C99 or C11.
81686         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
81687         Disable tests.
81688         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
81689         UNIX98]: Likewise.
81691         * conform/conformtest.pl: Handle "macro-int-constant" and test for
81692         usability of symbols in #if.
81694         * conform/conformtest.pl: If macro or constant types start
81695         "promoted:", expect the symbol to be of the following type
81696         promoted by the integer promotions.
81698         * conform/conformtest.pl: Parse all "constant" and "macro" lines
81699         in one place.  Also handle "macro-constant".
81701         * conform/conformtest.pl: Only accept expected macro values with
81702         "==".  Parse all "macro" lines in one place.
81703         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
81705         * conform/conformtest.pl: Handle braced types on "constant" lines
81706         instead of handling "typed-constant".
81707         * conform/data/signal.h-data: Use "constant" instead of
81708         "typed-constant".
81710         * conform/conformtest.pl: Handle "optional-" at start of lines in
81711         one place rather than duplicating several cases.  Handle each
81712         format of "macro" line with initial "optional-".
81714         * conform/conformtest.pl: Only accept expected constant or
81715         optional-constant values with "==".  Parse all "constant" lines in
81716         one place.  Parse all "optional-constant" lines in one place.
81717         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
81718         * conform/data/fmtmsg.h-data: Likewise.
81719         * conform/data/netinet/in.h-data: Likewise.
81720         * conform/data/tar.h-data: Likewise.
81721         * conform/data/limits.h-data: Use "==" form on "constant" and
81722         "optional-constant" lines.
81724         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
81725         Use -std=c99 for XOPEN2K.
81726         (@knownproblems): Remove.
81727         (newtoken): Don't check %isknown.
81729         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
81730         Do not expect macro.
81731         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
81732         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
81733         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
81734         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
81735         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
81736         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
81737         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
81738         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
81739         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
81740         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
81741         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
81742         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
81743         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
81744         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
81745         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
81746         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
81747         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
81748         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
81749         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
81750         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
81751         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
81752         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
81753         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
81754         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
81755         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
81756         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
81757         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
81758         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
81759         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
81760         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
81761         [XPG3] (acosh): Likewise.
81762         [XPG3] (asinh): Likewise.
81763         [XPG3] (atanh): Likewise.
81764         [XPG3] (cbrt): Likewise.
81765         [XPG3] (expm1): Likewise.
81766         [XPG3] (ilogb): Likewise.
81767         [XPG3] (log1p): Likewise.
81768         [XPG3] (logb): Likewise.
81769         [XPG3] (nextafter): Likewise.
81770         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
81771         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
81772         [XPG3] (remainder): Likewise.
81773         [XPG3] (rint): Likewise.
81774         [XPG3 || XPG4 || UNIX98] (round): Likewise.
81775         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
81776         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
81777         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
81778         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
81779         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
81780         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
81781         [UNIX98 || XOPEN2K] (scalb): Expect.
81782         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
81783         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
81784         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
81785         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
81786         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
81787         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
81788         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
81789         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
81790         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
81791         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
81792         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
81793         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
81794         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
81795         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
81796         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
81797         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
81798         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
81799         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
81800         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
81801         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
81802         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
81803         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
81804         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
81805         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
81806         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
81807         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
81808         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
81809         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
81810         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
81811         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
81812         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
81813         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
81814         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
81815         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
81816         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
81817         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
81818         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
81819         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
81820         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
81821         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
81822         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
81823         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
81824         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
81825         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
81826         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
81827         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
81828         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
81829         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
81830         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
81831         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
81832         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
81833         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
81834         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
81835         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
81836         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
81837         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
81838         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
81839         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
81840         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
81841         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
81842         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
81843         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
81844         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
81845         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
81846         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
81847         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
81848         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
81849         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
81850         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
81851         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
81852         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
81853         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
81854         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
81855         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
81856         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
81857         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
81858         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
81859         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
81860         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
81861         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
81862         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
81863         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
81864         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
81865         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
81866         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
81867         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
81868         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
81869         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
81870         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
81871         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
81872         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
81873         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
81874         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
81875         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
81876         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
81877         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
81878         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
81879         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
81880         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
81881         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
81882         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
81883         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
81884         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
81885         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
81886         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
81887         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
81888         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
81889         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
81890         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
81891         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
81892         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
81893         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
81894         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
81895         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
81896         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
81897         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
81898         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
81899         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
81900         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
81901         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
81902         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
81903         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
81904         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
81905         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
81906         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
81907         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
81908         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
81909         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
81910         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
81911         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
81912         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
81913         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
81914         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
81915         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
81916         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
81917         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
81918         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
81920         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
81921         _XOPEN_SOURCE_EXTENDED for XPG4.
81923         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
81925         * Makeconfig (localtime): Remove variable.
81926         (inst_localtime-file): Likewise.
81928 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
81931         Update.
81932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81933         Update.
81934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
81935         Update.
81936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
81937         Update.
81938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
81939         Update.
81940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
81941         Update.
81942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
81943         Update.
81944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
81945         Update.
81946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81947         Update.
81949 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
81951         [BZ #2550]
81952         [BZ #2570]
81953         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
81954         comparisons to determine direction to adjust input.
81955         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
81956         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
81957         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
81958         Likewise.
81959         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
81960         Likewise.
81961         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
81962         Likewise.
81963         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
81964         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
81965         Likewise.
81966         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
81967         Likewise.
81968         * math/libm-test.inc (nexttoward_test): Add more tests.
81970 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81972         [BZ #14040]
81973         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
81974         in version GLIBC_2.1, not GLIBC_2.0.
81975         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
81976         Likewise.
81978 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
81980         [BZ #13942]
81981         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
81982         (1 - x) * (1 + x).
81983         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81984         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
81985         * math/libm-test.inc (acos_test): Add more tests.
81986         (asin_test): Likewise.
81987         * sysdeps/i386/fpu/libm-test-ulps: Update.
81988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81990         [BZ #14034]
81991         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
81992         of square root.
81993         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
81994         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81995         * math/libm-test.inc (acos_test_tonearest): New function.
81996         (acos_test_towardzero): Likewise.
81997         (acos_test_downward): Likewise.
81998         (acos_test_upward): Likewise.
81999         (asin_test_tonearest): Likewise.
82000         (asin_test_towardzero): Likewise.
82001         (asin_test_downward): Likewise.
82002         (asin_test_upward): Likewise.
82003         (main): Call the new functions.
82004         * sysdeps/i386/fpu/libm-test-ulps: Update.
82005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82007         [BZ #13884]
82008         [BZ #13924]
82009         * math/e_exp10.c: Include <float.h>.
82010         (__ieee754_exp10): Handle underflow here rather than multiplying
82011         large negative argument by M_LN10.
82012         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
82013         of __ieee754_expf.
82014         * math/e_exp10l.c: Include <float.h>.
82015         (__ieee754_exp10l): Handle underflow here rather than multiplying
82016         large negative argument by M_LN10l.
82017         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
82018         spurious overflow exception on underflow.
82020 2012-04-29  Marek Polacek  <polacek@redhat.com>
82022         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
82023         (__fortify_function): New macro.
82024         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
82025         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
82026         __extern_always_inline.
82027         * libio/bits/stdio2.h: Likewise.
82028         * libio/bits/stdio.h: Likewise.
82029         * string/string.h: Likewise.
82030         * string/bits/string3.h: Likewise.
82031         * include/stdio.h: Likewise.
82032         * stdlib/bits/stdlib.h: Likewise.
82033         * stdlib/stdlib.h: Likewise.
82034         * rt/bits/mqueue2.h: Likewise.
82035         * rt/mqueue.h: Likewise.
82036         * posix/bits/unistd.h: Likewise.
82037         * posix/unistd.h: Likewise.
82038         * io/bits/poll2.h: Likewise.
82039         * io/bits/fcntl2.h: Likewise.
82040         * io/fcntl.h: Likewise.
82041         * io/sys/poll.h: Likewise.
82042         * misc/bits/syslog.h: Likewise.
82043         * misc/bits/syslog-ldbl.h: Likewise.
82044         * misc/sys/syslog.h: Likewise.
82045         * socket/bits/socket2.h: Likewise.
82046         * socket/sys/socket.h: Likewise.
82047         * debug/tst-chk1.c: Likewise.
82048         * wcsmbs/bits/wchar2.h: Likewise.
82049         * wcsmbs/bits/wchar-ldbl.h: Likewise.
82050         * wcsmbs/wchar.h: Likewise.
82052 2012-04-29  Andreas Jaeger  <aj@suse.de>
82054         * Makerules (tests): Remove enable-check-abi protection.
82055         (check-abi-warn): Remove.
82056         (check-abi-%): Remove check-abi-warn usage.
82058         * configure.in: Remove check-abi configure option.
82059         * configure: Regenerated.
82060         * config.make.in (enable-check-abi): Remove.
82062 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
82064         [BZ #14033]
82065         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
82066         double functions to double *_finite functions.
82068         [BZ #13941]
82069         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
82070         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
82071         LDBL_MIN_EXP.
82072         * stdio-common/Makefile (tests): Add tst-sprintf3.
82073         * stdio-common/tst-sprintf3.c: New file.
82075         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
82076         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
82078 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82080         * conform/conformtest.pl: Remove duplicate typed-constant
82081         handling.
82083 2012-04-28  David S. Miller  <davem@davemloft.net>
82085         * Makerules (%.abilist): Add vpath on sysdep_dirs.
82086         (check-abi-%): Remove AWK script prerequisite and explicit
82087         abilist directory.
82088         (check-abi): Rewrite to just diff the symlist with the abilist.
82089         (config-tls, config-abi-config): Delete, no longer used.
82090         (update-abi-%): Remove AWK script and explicit abilist directory.
82091         (update-abi): Rewrite to simply compare and conditionally copy the
82092         symlist and the sysdep abilist file.  Remove update-abi-config
82093         checks.
82094         * abilist/ld.abilist: Remove.
82095         * abilist/libBrokenLocale.abilist: Remove.
82096         * abilist/libanl.abilist: Remove.
82097         * abilist/libcrypt.abilist: Remove.
82098         * abilist/libdl.abilist: Remove.
82099         * abilist/librt.abilist: Remove.
82100         * abilist/libthread_db.abilist: Remove.
82101         * abilist/libutil.abilist: Remove.
82102         * scripts/extract-abilist.awk: Remove.
82103         * scripts/merge-abilist.awk: Remove.
82104         * sysdeps/generic/libcidn.abilist: New file.
82105         * sysdeps/generic/libnss_compat.abilist: New file.
82106         * sysdeps/generic/libnss_db.abilist: New file.
82107         * sysdeps/generic/libnss_dns.abilist: New file.
82108         * sysdeps/generic/libnss_files.abilist: New file.
82109         * sysdeps/generic/libnss_hesiod.abilist: New file.
82110         * sysdeps/generic/libnss_nis.abilist: New file.
82111         * sysdeps/generic/libnss_nisplus.abilist: New file.
82112         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
82113         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
82114         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
82115         file.
82116         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
82117         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
82118         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
82119         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
82120         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
82121         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
82122         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
82123         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
82124         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
82125         file.
82126         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
82127         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
82128         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
82129         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
82130         file.
82131         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
82132         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
82133         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
82134         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
82135         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
82136         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
82137         file.
82138         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
82139         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
82140         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
82141         file.
82142         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
82143         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
82144         New file.
82145         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
82146         New file.
82147         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
82148         New file.
82149         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
82150         New file.
82151         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
82152         New file.
82153         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
82154         New file.
82155         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
82156         New file.
82157         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
82158         New file.
82159         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
82160         New file.
82161         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
82162         New file.
82163         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
82164         New file.
82165         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
82166         New file.
82167         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
82168         New file.
82169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
82170         file.
82171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
82172         New file.
82173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
82174         New file.
82175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
82176         file.
82177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
82178         New file.
82179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
82180         New file.
82181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
82182         file.
82183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
82184         New file.
82185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82186         New file.
82187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
82188         New file.
82189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
82190         New file.
82191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
82192         New file.
82193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
82194         New file.
82195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
82196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
82197         file.
82198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
82199         New file.
82200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
82201         file.
82202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
82203         file.
82204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
82205         file.
82206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
82207         file.
82208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
82209         file.
82210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
82211         New file.
82212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
82213         file.
82214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
82215         file.
82216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
82217         New file.
82218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
82219         file.
82220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
82221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
82222         file.
82223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
82224         New file.
82225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
82226         file.
82227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
82228         file.
82229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
82230         file.
82231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
82232         file.
82233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
82234         file.
82235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
82236         New file.
82237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
82238         file.
82239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
82240         file.
82241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
82242         New file.
82243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
82244         file.
82245         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
82246         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
82247         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
82248         file.
82249         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
82250         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
82251         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
82252         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
82253         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
82254         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
82255         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
82256         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
82257         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
82258         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
82259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
82260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
82261         file.
82262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
82263         New file.
82264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
82265         file.
82266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
82267         file.
82268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
82269         file.
82270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
82271         file.
82272         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
82273         file.
82274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
82275         New file.
82276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
82277         New file.
82278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
82279         file.
82280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
82281         New file.
82282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
82283         file.
82284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
82285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
82286         file.
82287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
82288         New file.
82289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
82290         file.
82291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
82292         file.
82293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
82294         file.
82295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
82296         file.
82297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
82298         file.
82299         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
82300         New file.
82301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
82302         New file.
82303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
82304         file.
82305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
82306         New file.
82307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
82308         file.
82310 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82312         * conform/conformtest.pl: Fix typo in handling typed-constant from
82313         allow-header.
82315 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82317         * README: Cut down references to pre-2.6 Linux kernels and
82318         Linuxthreads.  Update lists of configurations in libc and ports
82319         and sort alphabetically.  Say "or newer" with Linux kernel version
82320         requirements.
82322         * config.h.in [IS_IN_build]: Allow compiling without optimization.
82324 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
82326         [BZ #887]
82327         * math/libm-test.inc (logb_test_downward): New test to expose
82328         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
82329         rounding mode.
82331 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82333         [BZ #14027]
82334         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
82335         to be done.
82336         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
82337         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
82339 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
82341         * sysdeps/unix/i386/brk.S: Remove file.
82342         * sysdeps/unix/i386/dl-brk.S: Likewise.
82343         * sysdeps/unix/i386/pipe.S: Likewise.
82344         * sysdeps/unix/i386/sigreturn.S: Likewise.
82345         * sysdeps/unix/i386/syscall.S: Likewise.
82346         * sysdeps/unix/i386/vfork.S: Likewise.
82347         * sysdeps/unix/i386/wait.S: Likewise.
82349         * sysdeps/unix/common/tcsendbrk.c: Move to ...
82350         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
82352         * configure.in (arm*-none*): Do not allow without
82353         --enable-hacker-mode.
82354         (netbsd*): Remove case setting base_os.
82355         (386bsd*): Likewise.
82356         (freebsd*): Likewise.
82357         (bsdi*): Likewise.
82358         (osf*): Likewise.
82359         (sunos*): Likewise.
82360         (ultrix*): Likewise.
82361         (newsos*): Likewise.
82362         (dynix*): Likewise.
82363         (*bsd*): Likewise.
82364         (sysv*): Likewise.
82365         (isc*): Likewise.
82366         (esix*): Likewise.
82367         (sco*): Likewise.
82368         (minix*): Likewise.
82369         (irix4*): Likewise.
82370         (irix6*): Likewise.
82371         (solaris[2-9]*): Likewise.
82372         (none): Likewise.
82373         * configure: Regenerated.
82375 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82377         [BZ #11521]
82378         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
82379         overflow or cancellation in calculating denominator.
82380         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
82381         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
82382         down expression to avoid unexpected rounding in newer GCCs.
82383         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
82385 2012-04-26  David S. Miller  <davem@davemloft.net>
82387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
82388         long-double compat symbols.
82389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
82393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
82395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
82396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
82397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
82398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
82399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
82400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
82401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82403 2012-04-25  David S. Miller  <davem@davemloft.net>
82405         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
82406         HWCAP_* values only after the memory barriers have been defined.
82407         (atomic_full_barrier): Define.
82408         (atomic_read_barrier): Define.
82409         (atomic_write_barrier): Define.
82411 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
82413         * shlib-versions: Add libgcc_s version information.
82414         * sysdeps/generic/libgcc_s.h: Remove.
82415         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
82416         libgcc_s.h.
82417         * sysdeps/gnu/unwind-resume.c: Likewise.
82418         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
82420 2012-04-25  David S. Miller  <davem@davemloft.net>
82422         * sysdeps/unix/sparc/brk.S: Delete.
82423         * sysdeps/unix/sparc/dl-brk.S: Delete.
82424         * sysdeps/unix/sparc/pipe.S: Delete.
82425         * sysdeps/unix/sparc/sysdep.S: Delete.
82426         * sysdeps/unix/sparc/sysdep.h: Delete.
82427         * sysdeps/unix/sparc/vfork.S: Delete.
82428         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
82429         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
82430         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
82431         (ret_ERRVAL, r0, r1, MOVE): Define.
82432         (JUMPTARGET): Remove.
82433         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
82434         sysdeps/unix/sparc/sysdep.h
82435         (ENTRY, END): Remove.
82436         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82438 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
82440         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
82441         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
82442         -DIS_IN_build.
82444         * timezone/README: Update upstream location and email address for
82445         tzcode and tzdata.
82446         * timezone/zdump.c: Update from tzcode 2012b.
82447         * timezone/zic.c: Likewise.
82449         * configure.in (libc_cv_as_needed): Remove test.
82450         * configure: Regenerated.
82451         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
82452         conditional definition.
82453         [$(have-as-needed) != yes] (no-as-needed): Likewise.
82454         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
82455         * config.make.in (have-as-needed): Remove variable.
82457 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
82458             Paul Pluzhnikov  <ppluzhnikov@google.com>
82460         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
82461         strings correctly.
82463 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
82465         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
82466         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
82467         * sysdeps/sh/strlen.S: Likewise.
82469 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82471         * sysdeps/unix/fork.S: Remove file.
82472         * sysdeps/unix/i386/fork.S: Likewise.
82473         * sysdeps/unix/sparc/fork.S: Likewise.
82475         * sysdeps/unix/system.c: Remove file.
82476         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
82478         * sysdeps/unix/getegid.S: Remove file.
82479         * sysdeps/unix/geteuid.S: Likewise.
82481 2012-04-24  Roland McGrath  <roland@hack.frob.com>
82483         * scripts/check-localplt.awk: New file.
82484         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
82485         of diff.
82486         * scripts/data/localplt-generic.data: Add a comment.
82488         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
82489         NODE when __dir_mkfile failed.
82490         * sysdeps/mach/hurd/symlinkat.c: Likewise.
82491         Reported by Ludovic Courtès <ludo@gnu.org>.
82493 2012-04-24  Andreas Jaeger  <aj@suse.de>
82495         * Makerules (common-clean): Also remove gen-as-const-headers
82496         files.
82498 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82500         * Makerules (native-compile): Do not change working directory for
82501         build.  Use $(OUTPUT_OPTION) in command.
82502         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
82504 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82506         [BZ #13886]
82507         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
82508         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
82509         * math/libm-test.inc (floor_test): Add more tests.
82510         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
82512 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82514         * sysdeps/unix/getdents.c: Remove file.
82515         * sysdeps/unix/sysv/getdents.c: Likewise.
82516         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
82518         * sysdeps/unix/syscalls.list (madvise): Add syscall from
82519         sysdeps/unix/mman/syscalls.list.
82520         (mmap): Likewise.
82521         (mprotect): Likewise.
82522         (msync): Likewise.
82523         (munmap): Likewise.
82524         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
82525         * sysdeps/unix/mman/syscalls.list: Remove.
82526         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
82528         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
82529         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
82530         * configure: Regenerated.
82531         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
82532         $(libgcc_s_suffix).
82533         * config.make.in (libgcc_s_suffix): Remove variable.
82535 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
82537         * sysdeps/unix/sysv/gethostname.c: Move to ...
82538         * sysdeps/posix/gethostname.c: ... here.
82540         * sysdeps/unix/execve.S: Remove file.
82542         * sysdeps/unix/_exit.S: Remove file.
82544 2012-04-23  Andreas Jaeger  <aj@suse.de>
82546         [BZ #13739]
82547         * manual/Makefile: Remove make dist support, there's no
82548         need for a stand-alone documentation tar ball.
82549         (TEXI2DVI): Define always, it's not in Makeconfig.
82550         (dist): Removed.
82551         (tar-it): Removed.
82552         (edition): Removed.
82553         (glibc-doc-$(edition).tar): Removed
82554         (%.Z): Removed.
82555         (%.gz): Removed.
82556         (%.uu): Removed.
82557         (ETAGS): Remove, it's in Makeconfig.
82558         (move-if-change): Remove, it's in Makeconfig.
82560 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
82562         [BZ #13970]
82563         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
82564         (strtod, strtof, strtold, strtol, strtoul, strtoq)
82565         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
82566         (strtod_l, strtof_l, strtold_l): Remove __wur.
82567         It is not necessarily an error to ignore strtol's return value.
82568         One can reliably look at the stored endptr to decide whether
82569         the number had valid syntax.
82571 2012-04-21  Andreas Jaeger  <aj@suse.de>
82573         [BZ #13739]
82574         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
82576 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
82578         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
82579         * sysdeps/unix/sysv/Versions: Remove file.
82581 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
82583         [BZ #13927]
82584         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82586 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
82588         [BZ #7064]
82589         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
82590         version from __vm86.
82592 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
82594         * sysdeps/unix/common/lxstat.c: Remove file.
82595         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
82597         * sysdeps/unix/sysv/Makefile: Remove file.
82599         * sysdeps/unix/sysv/direct.h: Remove file.
82601         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
82602         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
82603         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
82604         * sysdeps/unix/sysv/bits/signum.h: Likewise.
82605         * sysdeps/unix/sysv/bits/stat.h: Likewise.
82606         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
82607         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
82609         * sysdeps/unix/sysv/setrlimit.c: Remove file.
82611         * sysdeps/unix/xmknod.c: Remove file.
82612         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
82614         * sysdeps/unix/sysv/settimeofday.c: Remove file.
82616         * sysdeps/unix/sysv/i386/time.S: Remove file.
82618         * sysdeps/unix/fxstat.c: Remove file.
82619         * sysdeps/unix/xstat.c: Likewise.
82620         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
82622         * sysdeps/unix/sysv/sigaction.c: Remove file.
82624         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
82625         (sysdep_headers): Remove variable.
82626         [termio.h not in sysdep_headers] (generated): Likewise.
82627         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
82628         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
82629         * sysdeps/unix/sysv/tcdrain.c: Likewise.
82630         * sysdeps/unix/sysv/tcflow.c: Likewise.
82631         * sysdeps/unix/sysv/tcflush.c: Likewise.
82632         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
82633         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
82634         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
82635         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
82636         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
82638         * sysdeps/unix/siglist.c: Remove file.
82640         * sysdeps/unix/getppid.S: Remove file.
82642         * sysdeps/unix/mkdir.c: Remove file.
82643         * sysdeps/unix/rmdir.c: Likewise.
82645 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
82647         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
82648         ERR_MAX value.
82649         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
82650         errlist-compat value.
82652 2012-04-18  David S. Miller  <davem@davemloft.net>
82654         * sysdeps/generic/memcopy.h (reg_char): Delete.
82655         * debug/strcat_chk.c: Use char, not reg_char.
82656         * debug/strcpy_chk.c: Likewise.
82657         * debug/strncat_chk.c: Likewise.
82658         * debug/strncpy_chk.c: Likewise.
82659         * string/memchr.c: Likewise.
82660         * string/memrchr.c: Likewise.
82661         * string/rawmemchr.c: Likewise.
82662         * string/strcat.c: Likewise.
82663         * string/strchr.c: Likewise.
82664         * string/strchrnul.c: Likewise.
82665         * string/strcmp.c: Likewise.
82666         * string/strcpy.c: Likewise.
82667         * string/strncat.c: Likewise.
82668         * string/strncmp.c: Likewise.
82669         * string/strncpy.c: Likewise.
82671 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
82673         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
82674         __builtin_memcopy is called when src and dest ranges are known to not
82675         overlap.
82677 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
82679         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
82680         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
82681         fwd_align_merge macro call.
82682         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
82683         bwd_align_merge macro call.
82684         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
82686 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
82688         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
82689         bwd_align_merge macros.
82690         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
82691         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
82692         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
82694 2012-04-18  David S. Miller  <davem@davemloft.net>
82696         * sysdeps/sparc/sparc64/memcopy.h: Delete.
82698 2012-04-18  Andreas Jaeger  <aj@suse.de>
82700         [BZ #6794]
82701         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
82702         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
82703         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82705         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
82706         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
82707         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82709         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
82710         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
82711         Adjust for changed ldbl-128 files.
82713         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
82714         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
82715         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82717 2012-04-17  David S. Miller  <davem@davemloft.net>
82719         * sysdeps/sparc/sparc32/memcopy.h: Delete.
82721 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
82723         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
82724         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
82725         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
82726         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
82727         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
82728         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
82730 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82732         [BZ #6794]
82733         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
82734         * math/libm-test.inc: Add ilogb errno and exception tests.
82735         * math/w_ilogb.c: New file: ilogb wrapper.
82736         * math/w_ilogbf.c: New file: ilogbf wrapper.
82737         * math/w_ilogbl.c: New file: ilogbl wrapper.
82738         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
82739         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
82740         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
82741         exception being thrown with 0.0 as argument.
82742         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
82743         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
82744         exception being thrown with 0.0 as argument.
82745         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
82746         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
82747         exception being thrown with 0.0 as argument.
82748         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
82749         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
82750         exception being thrown with 0.0 as argument.
82751         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
82752         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
82753         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
82754         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
82755         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
82756         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
82757         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
82758         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
82759         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
82761 2012-04-17  Petr Baudis  <pasky@ucw.cz>
82763         * include/sys/uio.h: Change __vector to __iovec to avoid clash
82764         with altivec.
82766 2012-04-16  Marek Polacek  <polacek@redhat.com>
82768         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
82770 2012-04-16  Marek Polacek  <polacek@redhat.com>
82772         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
82773         operands of fdivp instruction.
82775 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
82777         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
82778         * elf/tst-auditmod3b.c: Likewise.
82779         * elf/tst-auditmod4b.c: Likewise.
82780         * elf/tst-auditmod5b.c: Likewise.
82781         * elf/tst-auditmod6b.c: Likewise.
82782         * elf/tst-auditmod6c.c: Likewise.
82783         * elf/tst-auditmod7b.c: Likewise.
82784         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
82785         * sysdeps/x86_64/preconfigure.in: Likewise.
82786         * sysdeps/x86_64/preconfigure: Regenerated.
82788 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
82790         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
82791         __ILP32__.
82793 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
82795         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
82796         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
82798 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
82800         [BZ #13973]
82801         * locale/iso-639.def: Fix gl language name. Spotted by
82802         Yaron Shahrabani.
82804 2012-04-12  Roland McGrath  <roland@hack.frob.com>
82806         [BZ #2074]
82807         * libio/libio.h (__io_write_fn): Update comment.
82809 2012-04-12  Petr Baudis  <pasky@ucw.cz>
82811         [BZ #2074]
82812         * stdio.texi (Hook Functions): The user provided writer function
82813         is not allowed to return -1.
82815 2012-04-11  David S. Miller  <davem@davemloft.net>
82817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82819 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
82821         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
82822         Add a leading slash to rtkaio.
82824 2012-04-11  Jim Meyering  <meyering@redhat.com>
82826         [BZ #11959]
82827         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
82828         It is not necessarily an error to ignore fwrite's return
82829         value.  One can reliably use ferror to test for errors after
82830         the fact.
82832 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
82834         * bits/types.h (__snseconds_t): New type.
82835         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
82837         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
82838         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82839         (__SNSECONDS_T_TYPE): Likewise.
82840         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82841         (__SNSECONDS_T_TYPE): Likewise.
82842         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82843         (__SNSECONDS_T_TYPE): Likewise.
82845 2012-04-10  Andreas Jaeger  <aj@suse.de>
82847         [BZ #2636]
82848         * manual/time.texi (Processor Time): Return type of times is
82849         elapsed real time since an arbitrary point in the past.
82850         (CPU Time): Move CLK_TCK from here...
82851         (Processor Time): ...to here.  Correct description.
82852         * manual/conf.texi (Constants for Sysconf): Correct description of
82853         _SC_CLK_TCK.
82855 2012-04-10  David S. Miller  <davem@davemloft.net>
82857         [BZ #13967]
82858         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
82859         where the is a gap between DT_REL(A) and DT_JMPREL.
82861 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
82863         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
82864         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82865         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82867 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
82869         * elf/dl-support.c (_dl_inhibit_cache): New variable.
82870         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
82871         (dl_main): Handle --inhibit-cache.
82872         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
82873         _dl_inhibit_cache.
82874         * elf/dl-load.c (_dl_map_object): Use it.
82875         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
82877 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82879         [BZ #13872]
82880         * sysdeps/i386/fpu/e_powl.S (p78): New object.
82881         (__ieee754_powl): Saturate large exponents rather than testing for
82882         overflow of y*log2(x).
82883         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82884         * math/libm-test.inc (pow_test): Do not permit spurious overflow
82885         exceptions.
82887         [BZ #11521]
82888         * math/s_ctan.c: Include <float.h>.
82889         (__ctan): Avoid internal overflow or cancellation in calculating
82890         denominator.
82891         * math/s_ctanf.c: Likewise.
82892         * math/s_ctanl.c: Likewise.
82893         * math/s_ctanh.c: Likewise.
82894         * math/s_ctanhf.c: Likewise.
82895         * math/s_ctanhl.c: Likewise.
82896         * math/libm-test.inc (ctan_test): Add more tests.
82897         (ctanh_test): Likewise.
82898         * sysdeps/i386/fpu/libm-test-ulps: Update.
82899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82901 2012-04-09  Andreas Jaeger  <aj@suse.de>
82903         [BZ #6894]
82904         * manual/filesys.texi (Directory Entries): Mention that d_namlen
82905         is an optional BSD extension.
82907         [BZ #10254]
82908         * manual/stdio.texi (Opening Streams): Document additional fopen
82909         parameters.
82911 2012-04-09  Roland McGrath  <roland@hack.frob.com>
82913         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
82914         %eax without telling the compiler.
82916 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
82918         [BZ # 13963]
82919         * manual/install.texi: Use sourceware.org.
82921 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82923         [BZ #13873]
82924         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
82925         (__ieee754_pow): Generate overflow and underflow using huge*huge
82926         and tiny*tiny rather than just returning constant infinity or zero
82927         for large exponents.
82928         * math/libm-test.inc (pow_test): Require overflow exceptions for
82929         applicable cases of large exponents.
82931         [BZ #706]
82932         * sysdeps/i386/fpu/e_pow.S (p10): New object.
82933         (__ieee754_pow): Use iterative multiplication algorithm only for
82934         integer exponents with absolute value below 1024.  Check for odd
82935         integer exponents when using algorithm for real exponents.
82936         * math/libm-test.inc (pow_test): Add more tests.
82937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82939 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
82941         [BZ #13705]
82942         * math/libm-test.inc (exp_test): Do not allow overflow exception
82943         on underflow test.
82945 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
82947         [BZ #13705]
82948         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
82949         instead of __kernel_standard_f.
82951 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
82953         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
82954         * sysdeps/x86_64/memset_chk.S: Likewise.
82956 2012-04-08  Andreas Jaeger  <aj@suse.de>
82958         [BZ #10153]
82959         * manual/startup.texi (Environment Access): Describe return value
82960         for putenv and setenv.
82962         [BZ #6895]
82963         * manual/filesys.texi (Directory Entries): Add description for
82964         DT_LNK.
82966         [BZ #6890]
82967         * manual/filesys.texi (Directory Entries): Clarify that it's file
82968         system not operating system in the description of DT_UNKNOWN.
82970         [BZ #6578]
82971         * manual/syslog.texi (closelog): Fix reference, it's openlog.
82973 2012-04-08  Stephen Compall  <s11@member.fsf.org>
82975         [BZ #6649]
82976         * manual/llio.texi (Opening and Closing Files): Add cross
82977         reference to explain mode argument.
82979 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
82981         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
82982         * sysdeps/x86_64/memset_chk.S: Likewise.
82984 2012-04-07  David S. Miller  <davem@davemloft.net>
82986         * elf/elf.h (R_SPARC_WDISP10): Define.
82987         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
82988         R_SPARC_SIZE32.
82989         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
82990         R_SPARC_SIZE64 and R_SPARC_H34.
82992 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
82994         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
82995         conditions and remove no longer applicable assertion.
82997 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82999         * bits/byteswap.h: Include <features.h>.
83000         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83001         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83003 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83005         * bits/byteswap.h (__bswap_16): Removed.
83006         Include <bits/byteswap-16.h> to get __bswap_16.
83007         * sysdeps/i386/bits/byteswap.h: Likewise.
83008         * sysdeps/s390/bits/byteswap.h: Likewise.
83009         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83010         * bits/byteswap-16.h: New file.
83011         * sysdeps/i386/bits/byteswap-16.h: Likewise.
83012         * sysdeps/s390/bits/byteswap-16.h: Likewise.
83013         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
83014         * string/Makefile (headers): Add bits/byteswap-16.h.
83016 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83018         [BZ #13895]
83019         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
83020         extra indirection.
83021         * nss/Makefile (tests-static, tests): Add tst-nss-static.
83022         * nss/tst-nss-static.c: New.
83024 2012-04-06  Robert Millan  <rmh@gnu.org>
83026         [BZ #6486]
83027         * manual/llio.texi (File Position Primitive): lseek
83028         refers to WHENCE when it really means OFFSET.
83030 2012-04-06  Andreas Jaeger  <aj@suse.de>
83032         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
83033         strncmp declarations.
83035         * abilist/libc.abilist: Add __poll and __ppoll.
83037 2012-04-05  David S. Miller  <davem@davemloft.net>
83039         * scripts/check-local-headers.sh: Accept a host triplet in the
83040         path matched by the exclude regexp.
83042         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
83043         definition.
83044         * sysdeps/powerpc/powerpc32/dl-machine.h
83045         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
83046         * sysdeps/s390/s390-32/dl-machine.h
83047         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83048         * sysdeps/sparc/sparc32/dl-machine.h
83049         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83050         * sysdeps/sparc/sparc64/dl-machine.h
83051         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83053         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
83054         lazy binding.
83055         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
83056         undefined symbol errors.
83058         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
83059         DT_NEEDED entries.
83061 2012-04-05  Michael Matz  <matz@suse.de>
83063         [BZ #13592]
83064         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
83066 2012-04-05  Andreas Jaeger  <aj@suse.de>
83068         [BZ #13908]
83069         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
83070         comment.
83072 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83074         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
83075         which ROUND is no valid rounding mode.
83077 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83079         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
83080         read again.
83081         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
83083 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83085         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
83086         an exception using FPU order intentionally.
83088 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83090         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
83091         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
83092         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
83093         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
83095 2012-04-05  Simon Josefsson  <simon@josefsson.org>
83097         [BZ #12340]
83098         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
83099         EINVAL when BUFLEN is too smal.
83101 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
83103         [BZ #13553]
83104         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
83105         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
83107 2012-04-03  Andreas Jaeger  <aj@suse.de>
83109         [BZ #13938]
83110         * manual/setjmp.texi (System V contexts): Fix sentence.
83112         [BZ #13926]
83113         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
83114         New macro for this case.
83115         [!__GNUC__] (__bswap_64): New inline function for this case.
83116         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83117         * bits/byteswap.h: Likewise.
83118         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
83119         ull, guard with __GLIBC_HAVE_LONG_LONG.
83121         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
83122         __GLIBC_HAVE_LONG_LONG.
83124         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
83125         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
83127 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83129         [BZ #13691]
83130         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
83131         inptr and inend, rather than using last_ch.
83133 2012-04-02  David S. Miller  <davem@davemloft.net>
83135         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
83136         * stdio-common/printf-parse.h (read_int): Change return type to
83137         'int', return -1 on INT_MAX overflow.
83138         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
83139         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
83140         overflows INT_MAX.  Check for overflow of in-format-string precision
83141         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
83142         SIZE_MAX not INT_MAX for integer overflow test.
83143         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
83144         skip the construct in the format string but do not record anything.
83145         * stdio-common/bug22.c: Adjust to test both width/prevision
83146         INT_MAX overflow as well as total length INT_MAX overflow.  Check
83147         explicitly for proper errno values.
83149 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
83151         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
83152         CHAR_MAX.
83153         * string/test-strcmp.c [! WIDE]: Likewise.
83154         * time/tst-mktime2.c: Likewise for INT_MAX.
83155         * string/test-string.h: #include <sys/param.h> for MIN.
83157         * csu/init-first.c (__libc_init_first): Call __ctype_init.
83158         * sysdeps/i386/init-first.c (init): Likewise.
83159         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
83160         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
83161         * sysdeps/sh/init-first.c (init): Likewise.
83163 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
83165         * po/ru.po: Update from translation team.
83166         * po/vi.po: Likewise.
83168 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
83170         * resolv/nss_dns/dns-host.c: Merge copyright years.
83172 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83174         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83175         Optimize memcpy with prefetch if
83176         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
83177         src, dst pointers have unequal 16 byte alignments.
83179 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
83181         [BZ #13928]
83182         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
83183         from a CNAME entry and return the minimum ttl for the query.
83184         (gaih_getanswer_slice): Likewise.
83186 2012-03-30  Jeff Law  <law@redhat.com>
83188         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
83189         due to long keys.
83190         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
83191         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
83193         * resolv/nss_dns/dns-host.c: Update copyright year.
83195 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
83197         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
83198         requests to save a system call.  Fix check that all bytes are sent.
83200         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
83201         comments for sendmmsg.
83203 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
83205         [BZ #13691]
83206         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
83207         with only 1 character between 0x0041 and 0x01b0.
83208         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
83209         * wcsmbs/tst-mbsnrtowcs.c: New file.
83211 2012-03-29  David S. Miller  <davem@davemloft.net>
83213         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
83214         small copies by hand.
83216 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
83218         [BZ #13761]
83219         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
83220         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
83221         group memberships.
83223 2012-03-28  David S. Miller  <davem@davemloft.net>
83225         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
83226         that branches into memcpy.
83227         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
83228         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
83229         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
83230         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
83231         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
83232         bits.
83233         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
83234         implementation too.
83235         * sysdeps/sparc/mempcpy.S: New file.
83237         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
83238         the IFUNC routine in the libc case.
83239         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83241         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
83242         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
83243         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
83244         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
83245         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
83246         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
83247         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
83248         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
83250         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
83251         loop to 256 bytes instead of 64 bytes and fix test signedness.
83253         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
83254         * sysdeps/sparc/sparc32/Makefile: rather than here...
83255         * sysdeps/sparc/sparc64/Makefile: and here.
83257 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
83259         * malloc/mallocbug.c: Avoid warnings about unused variables.
83261 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
83263         [BZ #13760]
83264         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
83265         in the right place. Discard and retry query if response is
83266         larger than input buffer size.
83268 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
83270         [BZ #369]
83271         [BZ #2678]
83272         [BZ #3866]
83273         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
83274         x for large integer exponent.
83275         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
83276         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
83277         sign of result as needed afterwards.
83278         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
83279         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
83280         result for underflowing pow the same as for overflow.
83281         (__kernel_standard_l): Handle powl overflow and underflow here
83282         rather than calling __kernel_standard.
83283         * math/libm-test.inc (pow_test): Add more tests.
83285         [BZ #3868]
83286         [BZ #13879]
83287         [BZ #13910]
83288         [BZ #13911]
83289         [BZ #13912]
83290         [BZ #13913]
83291         [BZ #13915]
83292         [BZ #13916]
83293         [BZ #13917]
83294         [BZ #13918]
83295         [BZ #13919]
83296         [BZ #13920]
83297         [BZ #13921]
83298         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
83299         * sysdeps/ieee754/k_standard.c: Include <float.h>.
83300         (__kernel_standard_l): New function.
83301         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
83302         __kernel_standard.
83303         * math/w_acosl.c (__acosl): Likewise.
83304         * math/w_asinl.c (__asinl): Likewise.
83305         * math/w_atan2l.c (__atan2l): Likewise.
83306         * math/w_atanhl.c (__atanhl): Likewise.
83307         * math/w_coshl.c (__coshl): Likewise.
83308         * math/w_exp10l.c (__exp10l): Likewise.
83309         * math/w_exp2l.c (__exp2l): Likewise.
83310         * math/w_fmodl.c (__fmodl): Likewise.
83311         * math/w_hypotl.c (__hypotl): Likewise.
83312         * math/w_j0l.c (__j0l, __y0l): Likewise.
83313         * math/w_j1l.c (__j1l, __y1l): Likewise.
83314         * math/w_jnl.c (__jnl, __ynl): Likewise.
83315         * math/w_lgammal.c (__lgammal): Likewise.
83316         * math/w_log10l.c (__log10l): Likewise.
83317         * math/w_log2l.c (__log2l): Likewise.
83318         * math/w_logl.c (__logl): Likewise.
83319         * math/w_powl.c (__powl): Likewise.
83320         * math/w_remainderl.c (__remainderl): Likewise.
83321         * math/w_scalbl.c (sysv_scalbl): Likewise.
83322         * math/w_sinhl.c (__sinhl): Likewise.
83323         * math/w_sqrtl.c (__sqrtl): Likewise.
83324         * math/w_tgammal.c (__tgammal): Likewise.
83325         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
83326         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
83327         * math/libm-test.inc (acos_test): Add more tests.
83328         (acosh_test): Likewise.
83329         (asin_test): Likewise.
83330         (atanh_test): Likewise.
83331         (exp_test): Likewise.
83332         (exp10_test): Likewise.
83333         (exp2_test): Likewise.
83334         (expm1_test): Likewise.
83335         (lgamma_test): Likewise.
83336         (log_test): Likewise.
83337         (log10_test): Likewise.
83338         (log1p_test): Likewise.
83339         (log2_test): Likewise.
83340         (pow_test): Do not allow some spurious overflow exceptions.
83341         (sqrt_test): Add more tests.
83342         (tgamma_test): Likewise.
83343         (y0_test): Likewise.
83344         (y1_test): Likewise.
83345         (yn_test): Likewise.
83347 2012-03-27  Anton Blanchard  <anton@samba.org>
83349         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
83350         MAP_HUGETLB.
83351         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83352         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83353         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83355 2012-03-27  David S. Miller  <davem@davemloft.net>
83357         * conform/Makefile: Run run-conformtest.sh using $(BASH).
83359         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
83360         have-as-vis3 check.
83362 2012-03-27  Andreas Jaeger  <aj@suse.de>
83364         * sysdeps/x86_64/elf/configure.in: Moved to ...
83365         * sysdeps/x86_64/configure.in: ... here.
83366         * sysdeps/x86_64/elf/start.S: Moved to ...
83367         * sysdeps/x86_64/start.S: ... here.
83368         * sysdeps/x86_64/elf/configure: Delete.
83370         * sysdeps/x86_64/configure.in: Merge contents from
83371         sysdeps/i386/configure.in (without i686 check).
83373         * sysdeps/i386/elf/Versions: Merge into ...
83374         * sysdeps/i386/Versions: ... this.
83375         * sysdeps/i386/elf/Versions: Delete file.
83376         * sysdeps/i386/elf/start.S: Moved to ...
83377         * sysdeps/i386/start.S: ...here.
83378         * sysdeps/i386/elf/configure.in: Merge into...
83379         * sysdeps/i386/configure.in: ...here.
83380         * sysdeps/i386/elf/configure.in: Delete file.
83381         * sysdeps/i386/elf/configure: Delete file.
83383         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
83384         * debug/backtracesyms.c: ... here.
83385         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
83386         * debug/backtracesymsfd.c: ... here.
83387         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
83388         * sysdeps/generic/ifunc-sel.h: ... here.
83390         * sysdeps/unix/i386/start.c: Delete file.
83391         * sysdeps/unix/sparc/start.c: Delete file.
83392         * sysdeps/unix/start.c: Delete file.
83394         * sysdeps/sh/elf/configure.in: Moved to ...
83395         * sysdeps/sh/configure.in: ... here.
83396         * sysdeps/sh/elf/start.S: Moved to ...
83397         * sysdeps/sh/start.S: ... here.
83398         * sysdeps/sh/elf/configure: Delete file.
83400         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
83401         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
83402         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
83403         * sysdeps/powerpc/powerpc64/entry.h: ... here.
83404         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
83405         * sysdeps/powerpc/powerpc64/start.S: here.
83406         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
83407         * sysdeps/powerpc/powerpc64/Makefile: ... this.
83408         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
83409         * sysdeps/powerpc/powerpc64/configure.in: ... this.
83410         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
83412         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
83413         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
83414         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
83415         * sysdeps/powerpc/powerpc32/start.S: ... here.
83416         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
83417         * sysdeps/powerpc/powerpc32/configure.in: ... this.
83418         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
83420         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
83421         * sysdeps/powerpc/ifunc-sel.h: ... here.
83422         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
83423         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
83425         * sysdeps/sparc/elf/configure.in: Moved to ...
83426         * sysdeps/sparc/configure.in: ... here.
83427         * sysdeps/sparc/elf/configure: Delete file.
83428         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
83429         * sysdeps/sparc/sparc32/start.S: ... here.
83430         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
83431         * sysdeps/sparc/sparc64/start.S: ... here.
83432         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
83433         * sysdeps/sparc/sparc32/Makefile: ... this.
83434         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
83435         * sysdeps/sparc/sparc64/Makefile: ... this.
83437         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
83438         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
83439         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
83440         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
83441         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
83442         * sysdeps/s390/s390-32/setjmp.S: ... here.
83443         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
83444         * sysdeps/s390/s390-32/configure.in: ... here.
83445         * sysdeps/s390/s390-32/elf/configure: Delete file.
83446         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
83447         * sysdeps/s390/s390-32/start.S: ... here.
83449         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
83450         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
83451         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
83452         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
83453         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
83454         * sysdeps/s390/s390-64/setjmp.S: ... here.
83455         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
83456         * sysdeps/s390/s390-64/configure.in: ... here
83457         * sysdeps/s390/s390-64/elf/configure: Delete file.
83458         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
83459         * sysdeps/s390/s390-64/start.S: ... here.
83460         * sysdeps/s390/s390-64/elf/configure: Delete.
83462         * configure.in: Remove support for elf directories in sysdeps.
83464         * configure: Regenerated.
83465         * sysdeps/i386/configure: Regenerated.
83466         * sysdeps/powerpc/powerpc32/configure: Regenerated.
83467         * sysdeps/powerpc/powerpc64/configure: Regenerated.
83468         * sysdeps/s390/s390-32/configure: Regenerated.
83469         * sysdeps/s390/s390-64/configure: Regenerated.
83470         * sysdeps/sh/configure: Regenerated.
83471         * sysdeps/sparc/configure: Regenerated.
83472         * sysdeps/x86_64/configure: Regenerated.
83474 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
83476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83478         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
83479         denormal result into account.
83481 2012-03-25  Roland McGrath  <roland@hack.frob.com>
83483         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
83484         Reported by Allan McRae <allan@archlinux.org>.
83486 2012-03-23  Jeff Law  <law@redhat.com>
83488         * nss/getnssent.c (__nss_getent): Fix typo.
83490 2012-03-23  David S. Miller  <davem@davemloft.net>
83492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83494 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
83496         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
83497         to pad to uint64_t for each field.
83498         (dl_tls_index): Replace unsigned long with uint64_t.
83500 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
83501         Paul Pluzhnikov  <ppluzhnikov@google.com>
83503         [BZ #6528]
83504         * grp/Makefile (otherlibs): Don't set it.
83505         * inet/Makefile (otherlibs): Likewise.
83506         * login/Makefile (otherlibs): Likewise.
83507         * nscd/Makefile (otherlibs): Likewise.
83508         * posix/Makefile (otherlibs): Likewise.
83509         * pwd/Makefile (otherlibs): Likewise.
83510         * rt/Makefile (otherlibs): Likewise.
83511         * sunrpc/Makefile (otherlibs): Likewise.
83512         * nss/Makefile (otherlibs): Likewise.
83513         Add libnss_files to routines and static-only-routines.
83514         ($(objpfx)getent): Remove rule.
83515         * resolv/Makefile: Add libnss_dns and libresolv to routines and
83516         static-only-routines.
83518 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
83520         [BZ #13892]
83521         * math/s_cexp.c: Include <float.h>.
83522         (__cexp): Handle exp result overflowing not necessarily
83523         overflowing both real and imaginary parts of result.
83524         * math/s_cexpf.c: Likewise.
83525         * math/s_cexpl.c: Likewise.
83526         * math/libm-test.inc (cexp_test): Add more tests.
83527         * sysdeps/i386/fpu/libm-test-ulps: Update.
83528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83530 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83532         * include/link.h (ELFW): New macro.
83533         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
83534         Replace ELF64_R_TYPE with ELFW(R_TYPE).
83536 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83538         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
83539         with uint64_t.
83541 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83543         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
83544         declaration.
83545         (struct La_x32_retval): Likewise.
83547 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83549         * sysdeps/x86_64/preconfigure.in: New file.
83550         * sysdeps/x86_64/preconfigure: New generated file.
83552 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
83554         [BZ #13824]
83555         * math/e_exp2l.c: Include <float.h>.
83556         (__ieee754_exp2l): Handle overflow and underflow cases
83557         separately.  Only pass fractional part of argument to
83558         __ieee754_expl.
83559         * math/libm-test.inc (exp2_test): Add more tests.
83561         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
83562         negating x to take absolute value.
83563         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
83564         Likewise.
83565         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
83566         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
83567         Likewise.
83568         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
83569         computing low part if x was negated.
83570         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
83572 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83574         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
83575         la_x32_gnu_pltexit.
83576         (pltexit): Cast int_retval to ptrdiff_t.
83577         * elf/tst-auditmod3b.c: Likewise.
83578         * elf/tst-auditmod4b.c: Likewise.
83579         * elf/tst-auditmod5b.c: Likewise.
83580         * elf/tst-auditmod6b.c: Likewise.
83581         * elf/tst-auditmod6c.c: Likewise.
83582         * elf/tst-auditmod7b.c: Likewise.
83584         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
83585         and x32_gnu_pltexit.
83587         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
83588         __ELF_NATIVE_CLASS.
83589         (La_x32_regs): New macro.
83590         (La_x32_retval): Likewise.
83591         (la_x32_gnu_pltenter): New function prototype.
83592         (la_x32_gnu_pltexit): Likewise.
83594 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
83596         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
83597         exponent.
83599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83601         * configure.in (libc_cv_cc_nofma): Check for option to disable
83602         generation of FMA instructions.
83603         * configure: Regenerate.
83604         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
83605         * sysdeps/ieee754/dbl-64/Makefile: New file.
83606         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
83607         Remove brandred-fma4.
83608         (CFLAGS-brandred-fma4.c): Remove.
83609         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
83610         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
83611         define.
83612         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
83613         define.
83615 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83617         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
83618         LLONG_MAX != LONG_MAX.
83619         (_itoa_word): Use _ITOA_WORD_TYPE on value.
83620         (_fitoa_word): Likewise.
83621         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
83622         LLONG_MAX != LONG_MAX.
83623         * stdio-common/_itowa.h: Include <_itoa.h>.
83624         (_itowa_word): Use _ITOA_WORD_TYPE on value.
83625         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
83626         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
83627         only if not defined.
83628         (_ITOA_WORD_TYPE): Likewise.
83629         (_itoa_word): Use _ITOA_WORD_TYPE on value.
83630         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
83632 2012-03-21  David S. Miller  <davem@davemloft.net>
83634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83636 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83638         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
83639         of x86_64 when setting libc_cv_slibdir, libdir and
83640         libc_cv_localedir.
83641         * sysdeps/unix/sysv/linux/configure: Regenerated.
83643 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
83645         * manual/lang.texi (Old Varargs): Remove section.
83646         (How Variadic): Update menu.
83647         (va_start): Do not mention varargs.h.
83649 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
83650             Joseph Myers  <joseph@codesourcery.com>
83652         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
83653         link test.
83654         * configure: Regenerated.
83656 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
83658         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
83659         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
83660         conformtest.pl
83662 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
83664         * NOTES: Remove.
83665         * Makefile (files-for-dist): Remove NOTES.
83666         (NOTES): Remove rule.
83667         * README: Don't refer to NOTES.
83668         * manual/creature.texi: Don't include macros.texi.
83669         * manual/intro.texi (creature.texi): Remove comment referring to
83670         NOTES.
83672         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
83673         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
83674         * configure: Regenerated.
83675         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
83676         LIBC_TRY_CC_OPTION.
83677         (libc_cv_as_i686): Likewise.
83678         (libc_cv_cc_avx): Likewise.
83679         (libc_cv_cc_sse2avx): Likewise.
83680         (libc_cv_cc_fma4): Likewise.
83681         (libc_cv_cc_novzeroupper): Likewise.
83682         * sysdeps/i386/configure: Regenerated.
83684         [BZ #13883]
83685         * sysdeps/i386/fpu/s_cexp.S: Remove.
83686         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83687         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
83688         * math/libm-test.inc (cexp_test): Add more tests.
83689         * sysdeps/i386/fpu/libm-test-ulps: Update.
83690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83692 2012-03-21  Allan McRae  <allan@archlinux.org>
83694         * timezone/Makefile: Do not install iso3166.tab and zone.tab
83696 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
83698         [BZ #13871]
83699         * math/w_exp2.c: Do not include <float.h>.
83700         (o_threshold, u_threshold): Remove.
83701         (__exp2): Calculate result before checking finiteness and calling
83702         __kernel_standard.
83703         * math/w_exp2f.c: Likewise.
83704         * math/w_exp2l.c: Likewise.
83705         * math/libm-test.inc (exp2_test): Require overflow exception for
83706         1e6 input.
83708         [BZ #3866]
83709         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
83710         range of signed 64-bit integers before using fistpll.  Remove
83711         checks for whether integers fit in mantissa bits.
83712         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
83713         the range of signed 32-bit integers before using fistpl.  Remove
83714         checks for whether integers fit in mantissa bits.
83715         * sysdeps/i386/fpu/e_powl.S (p64): New object.
83716         (__ieee754_powl): Test for y outside the range of signed 64-bit
83717         integers before using fistpll.  Reduce 64-bit values to 63-bit
83718         ones as needed.
83719         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
83720         divide-by-zero is raised for zero to large negative powers.
83721         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
83722         (__ieee754_powl): Test for y outside the range of signed 64-bit
83723         integers before using fistpll.  Reduce 64-bit values to 63-bit
83724         ones as needed.
83725         * math/libm-test.inc (pow_test): Add more tests.
83727 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83729         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
83730         <stdio-common/_itoa.h>.
83731         * debug/segfault.c: Likewise.
83732         * elf/dl-cache.c: Likewise.
83733         * elf/dl-minimal.c: Likewise.
83734         * elf/dl-misc.c: Likewise.
83735         * elf/dl-sysdep.c: Likewise.
83736         * elf/dl-version.c: Likewise.
83737         * elf/rtld.c: Likewise.
83738         * hurd/hurdsock.c: Likewise.
83739         * hurd/lookup-retry.c: Likewise.
83740         * malloc/malloc.c: Likewise.
83741         * malloc/mtrace.c: Likewise.
83742         * nscd/nscd_getgr_r.c: Likewise.
83743         * nscd/nscd_getpw_r.c: Likewise.
83744         * nscd/nscd_getserv_r.c: Likewise.
83745         * posix/getopt_init.c: Likewise.
83746         * posix/wordexp.c: Likewise.
83747         * stdio-common/_itoa.c: Likewise.
83748         * stdio-common/printf_fphex.c: Likewise.
83749         * stdio-common/vfprintf.c: Likewise.
83750         * string/_strerror.c: Likewise.
83751         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
83752         * sysdeps/i386/i686/hp-timing.h: Likewise.
83753         * sysdeps/mach/_strerror.c: Likewise.
83754         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
83755         * sysdeps/mach/hurd/sethostid.c: Likewise.
83756         * sysdeps/mach/hurd/xmknodat.c: Likewise.
83757         * sysdeps/mach/xpg-strerror.c: Likewise.
83758         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
83759         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
83760         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
83761         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
83762         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
83763         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
83764         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
83765         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
83766         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
83767         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
83768         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
83769         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
83770         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
83771         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
83772         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
83773         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
83774         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
83775         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
83776         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
83777         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
83778         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
83780         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
83782         * stdio-common/_itoa.h: Moved to ...
83783         * sysdeps/generic/_itoa.h: Here.
83785         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
83787         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
83788         instead of "_itoa.h" and "_itowa.h".
83789         * stdio-common/vfprintf.: Likewise.
83791 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83793         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
83794         <bits/wordsize.h>.
83795         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
83796         (__signbit): Likewise.
83797         (llrintf): Likewise.
83798         (llrint): Likewise.
83800 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83802         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
83803         __WORDSIZE != 64.
83805 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
83807         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
83808         OVERFLOW_EXCEPTION_OK.
83809         * math/libm-test.inc ("Philosophy"): Update comment about
83810         exception testing.
83811         (OVERFLOW_EXCEPTION): Define.
83812         (OVERFLOW_EXCEPTION_OK): Likewise.
83813         (INVALID_EXCEPTION_OK): Renumber.
83814         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
83815         (IGNORE_ZERO_INF_SIGN): Likewise.
83816         (test_exceptions): Handle FE_OVERFLOW.
83817         (exp10_test): Expect overflow exceptions.
83818         (exp2_test): Likewise.
83819         (expm1_test): Likewise.
83820         (nextafter_test): Likewise.
83821         (pow_test): Likewise.
83822         (scalbn_test): Likewise.
83823         (scalbln_test): Likewise.
83825 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83827         * sysdeps/x86_64/bits/atomic.h
83828         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
83829         64bit integer.
83830         (atomic_exchange_acq): Likewise.
83831         (__arch_exchange_and_add_body): Likewise.
83832         (__arch_add_body): Likewise.
83833         (atomic_add_negative): Likewise.
83834         (atomic_add_zero): Likewise.
83836 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83838         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
83839         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
83841 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83843         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
83844         Check __x86_64__ instead of __WORDSIZE.
83846 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83848         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
83850 2012-03-19  David S. Miller  <davem@davemloft.net>
83852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83854         * sysdeps/sparc/fpu/fenv_private.h: New file.
83855         * sysdeps/sparc/fpu/math_private.h: Use it.
83856         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
83857         Remove.
83858         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
83859         (libc_feholdexcept_setroundl): Remove.
83860         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
83861         Remove.
83862         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
83863         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
83865 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83867         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
83868         int64_t instead of long int.
83869         (INSERT_WORDS64): Likewise.
83871 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83873         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
83874         _Unwind_GetCFA return to _Unwind_Ptr first.
83876 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
83878         [BZ #13629]
83879         * math/s_clog.c: Include <float.h>.
83880         (__clog): Scale large or subnormal inputs.
83881         * math/s_clogf.c: Likewise.
83882         * math/s_clogl.c: Likewise.
83883         * math/s_clog10.c: Include <float.h>.
83884         (M_LOG10_2): Define.
83885         (__clog10): Scale large or subnormal inputs.
83886         * math/s_clog10f.c: Likewise.
83887         * math/s_clog10l.c: Likewise.
83888         * math/libm-test.inc (clog_test): Add more tests.
83889         (clog10_test): Likewise.
83890         * sysdeps/i386/fpu/libm-test-ulps: Update.
83891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83893         [BZ #11451]
83894         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
83895         x and y.
83896         * math/libm-test.inc (atan2_test): Add another test.
83898         * Makerules (common-objdir-compile): Remove.
83899         * sysdeps/unix/Makefile (config-generated): Do not add
83900         $(unix-generated) to variable.
83901         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
83902         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
83903         Remove rule.
83904         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
83905         Likewise.
83906         [generic bits/local_lim.h] (before-compile): Do not append to
83907         variable.
83908         [generic bits/local_lim.h] (common-generated): Likewise.
83909         [generic sys/param.h] (before-compile): Do not append to variable.
83910         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
83911         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
83912         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
83913         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
83914         include.
83915         [generic sys/param.h] (sys/param.h-includes): Remove variable.
83916         [generic sys/param.h] (sys/param.h-includes): Remove rule.
83917         [generic sys/param.h] ($(addprefix
83918         $(common-objpfx),$(sys/param.h-includes))): Likewise.
83919         [generic sys/param.h] (common-generated): Do not append to
83920         variable.
83921         [generic sys/param.h] (sysdep_headers): Likewise.
83922         [generic bits/errno.h] (before-compile): Do not append to
83923         variable.
83924         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
83925         rule.
83926         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
83927         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
83928         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
83929         [generic bits/errno.h] (common-generated): Do not append to
83930         variable.
83931         [generic bits/ioctls.h] (before-compile): Do not append to
83932         variable.
83933         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
83934         rule.
83935         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
83936         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
83937         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
83938         rule.
83939         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
83940         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
83941         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
83942         [generic bits/ioctls.h] (common-generated): Do not append to
83943         variable.
83944         [generic sys/syscall.h] (syscall.h): Remove variable.
83945         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
83946         rule.
83947         [generic sys/syscall.h] (before-compile): Do not append to
83948         variable.
83949         [generic sys/syscall.h] (common-generated): Likewise.
83950         * sysdeps/unix/errnos-tmpl.c: Remove file.
83951         * sysdeps/unix/errnos.awk: Likewise.
83952         * sysdeps/unix/ioctls-tmpl.c: Likewise.
83953         * sysdeps/unix/ioctls.awk: Likewise.
83954         * sysdeps/unix/mk-local_lim.c: Likewise.
83955         * sysdeps/unix/snarf-ioctls: Likewise.
83957 2012-03-19  Richard Henderson  <rth@twiddle.net>
83959         * sysdeps/i386/fpu/fenv_private.h: New file.
83960         * sysdeps/i386/fpu/math_private.h: Use it.
83961         (math_opt_barrier, math_force_eval): Remove.
83962         (libc_feholdexcept_setround_53bit): Remove.
83963         (libc_feupdateenv_53bit): Remove.
83964         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83965         (math_opt_barrier, math_force_eval): Remove.
83966         (libc_feholdexcept): Remove.
83967         (libc_feholdexcept_setround): Remove.
83968         (libc_fetestexcept, libc_fesetenv): Remove.
83969         (libc_feupdateenv_test): Remove.
83970         (libc_feupdateenv, libc_feholdsetround): Remove.
83971         (libc_feresetround): Remove.
83973         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
83974         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
83976         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
83977         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
83978         (libc_feupdateenv_testl): New.
83979         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
83980         (libc_feupdateenv_testf): New.
83981         (libc_feupdateenv): Use libc_feupdateenv_test.
83982         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
83983         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
83985         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
83986         (libc_feholdsetroundf, libc_feholdsetroundl): New.
83987         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
83988         (libc_feresetround_noex): New.
83989         (libc_feresetround_noexf): New.
83990         (libc_feresetround_noexl): New.
83991         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
83992         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
83993         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
83994         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
83995         SET_RESTORE_ROUND.
83996         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
83997         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
83998         (__cos): Likewise.
83999         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
84000         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
84001         SET_RESTORE_ROUND_NOEX.
84002         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
84003         SET_RESTORE_ROUND_NOEXF.
84004         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
84005         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
84006         (libc_feholdsetroundf): New.
84007         (libc_feresetround, libc_feresetroundf): New.
84009         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
84010         (libc_feholdexcept_setround_53bit): Convert from macro to function.
84011         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
84013         * sysdeps/generic/math_private.h: Include <fenv.h>.
84014         (default_libc_feholdexcept): New.
84015         (default_libc_feholdexcept_setround): New.
84016         (default_libc_fesetenv, default_libc_feupdateenv): New.
84017         (libc_feholdexcept): Only define if undefined.
84018         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
84019         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
84020         (libc_feholdexcept_setroundl): Likewise.
84021         (libc_feholdexcept_setround_53bit): Likewise.
84022         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
84023         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
84024         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
84025         (libc_feupdateenv_53bit): Likewise.
84026         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
84027         (libc_feholdexcept): Convert from macro to inline function.
84028         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
84029         (libc_fesetenv, libc_feupdateenv): Likewise.
84031         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
84032         not previously defined.
84033         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
84034         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
84035         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
84036         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
84037         * sysdeps/ieee754/flt-32/math_private.h: New file.
84038         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
84039         math_private.h below SET_FLOAT_WORD.
84040         (__isnan, __isinf_ns, __finite): Remove.
84041         (__isnanf, __isinf_nsf, __finitef): Remove.
84043 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
84045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84047 2012-03-17  David S. Miller  <davem@davemloft.net>
84049         [BZ #6471]
84050         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
84051         for 2.16.
84053 2012-03-16  David S. Miller  <davem@davemloft.net>
84055         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
84056         warnings.
84058         [BZ #6471]
84059         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
84060         properly.
84061         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
84062         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
84063         sysdep_routines when subdir is sysvipc.
84064         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
84065         __getshmlba helper.
84067         * sysdeps/sparc/fpu/libm-test/ulps: Update.
84069 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84071         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
84072         [__LP64__].
84074 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84076         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
84077         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
84078         (__lround): Renamed to ...
84079         (__llround): This.  Replace long int with long long int.
84080         Define lround functions as aliases of llround functions.
84081         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
84083 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84085         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
84086         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
84087         adresses to uintptr_t.  Replace "long int" and "unsigned long
84088         int" with "greg_t" on va_arg.
84090 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84092         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
84093         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
84095         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
84096         Move e_machine check before EI_CLASS check.  Handle x32
84097         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
84098         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
84099         SKIP_EM_IA_64 and include
84100         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
84102         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
84103         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
84104         (add_system_dir): New macro.
84106         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
84107         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
84109 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84111         [BZ #2551]
84112         [BZ #2552]
84113         [BZ #2553]
84114         [BZ #2554]
84115         [BZ #2562]
84116         [BZ #2563]
84117         [BZ #2565]
84118         [BZ #2566]
84119         [BZ #2576]
84120         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
84121         (y0): Likewise.
84122         * math/w_j0f.c (j0f): Likewise.
84123         (y0f): Likewise.
84124         * math/w_j0l.c (__j0l): Likewise.
84125         (__y0l): Likewise.
84126         * math/w_j1.c (j1): Likewise.
84127         (y1): Likewise.
84128         * math/w_j1f.c (j1f): Likewise.
84129         (y1f): Likewise.
84130         * math/w_j1l.c (__j1l): Likewise.
84131         (__y1l): Likewise.
84132         * math/w_jn.c (jn): Likewise.
84133         (yn): Likewise.
84134         * math/w_jnf.c (jnf): Likewise.
84135         (ynf): Likewise.
84136         * math/w_jnl.c (__jnl): Likewise.
84137         (__ynl): Likewise.
84138         * math/libm-test.inc (j0_test): Add more tests.
84139         (j1_test): Likewise.
84140         (jn_test): Likewise.  Add trailing semicolon to existing test.
84141         (y0_test): Likewise.
84142         (y1_test): Likewise.
84143         * sysdeps/i386/fpu/libm-test-ulps: Update.
84144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84146         [BZ #13851]
84147         [BZ #13854]
84148         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
84149         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
84150         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
84151         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
84152         (__tanl): Set errno for infinite argument.
84153         * sysdeps/i386/fpu/mptan.c: Remove.
84154         * sysdeps/i386/fpu/s_tan.S: Likewise.
84155         * sysdeps/i386/fpu/s_tanl.S: Likewise.
84156         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
84157         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
84158         * math/libm-test.inc (tan_test): Add more tests and enable more
84159         tests for double and long double.
84160         * sysdeps/i386/fpu/libm-test-ulps: Update.
84161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84163 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
84165         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
84166         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
84168 2012-03-16  Roland McGrath  <roland@hack.frob.com>
84170         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
84171         * configure.in: Use it for both main tree and add-ons.
84172         * configure: Regenerated.
84174 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84176         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
84178 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84180         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
84181         in comment.
84183         [BZ #13851]
84184         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
84185         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
84186         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
84187         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
84188         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
84189         infinite argument.
84190         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
84191         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
84192         != 0 for prec == 2.
84193         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
84194         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
84195         * sysdeps/i386/fpu/s_cosl.S: Likewise.
84196         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
84197         * sysdeps/i386/fpu/s_sinl.S: Likewise.
84198         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
84199         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
84200         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
84201         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
84202         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
84203         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
84204         * math/libm-test.inc (cos_test): Add more tests and enable more
84205         tests for long double.
84206         (sin_test): Likewise.
84207         (sincos_test): Likewise.
84208         * sysdeps/i386/fpu/libm-test-ulps: Update.
84209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84211 2012-03-16  David S. Miller  <davem@davemloft.net>
84213         * sysdeps/sparc/fpu/math_private.h: New file.
84215 2012-03-15  David S. Miller  <davem@davemloft.net>
84217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
84218         file.
84219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
84220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
84221         file.
84222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
84223         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
84224         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
84225         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
84226         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
84227         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
84228         sysdep routines.
84229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84231         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
84232         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
84234         * sysdeps/sparc/sparc-ifunc.h: New file.
84235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
84236         sparc-ifunc.h
84237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
84238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
84239         Likewise.
84240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
84241         Likewise.
84242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
84243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
84244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
84246         Likewise.
84247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
84249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
84251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
84252         Likewise.
84253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
84254         Likewise.
84255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
84257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
84258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
84259         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
84260         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
84261         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
84262         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
84263         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
84264         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
84265         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
84266         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
84267         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
84268         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
84269         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
84270         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
84271         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
84272         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
84273         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
84274         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
84275         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
84276         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
84277         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
84278         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
84280 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84282         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
84283         scaling.
84284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84286 2012-03-15  Andreas Jaeger  <aj@suse.de>
84288         [BZ #13852]
84289         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
84290         ieee754/flt-32 implementation for sin, cos and sincos.
84291         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
84292         * sysdeps/i386/fpu/s_cosf.S: Likewise.
84293         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
84294         * sysdeps/i386/fpu/s_sinf.S: Likewise.
84295         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
84296         ieee754/flt-32 implementation for tan.
84298         * math/libm-test.inc (cos_test): Enable some large input tests for
84299         float as well
84300         (sin_test): Likewise.
84301         (sincos_test): Likewise.
84302         (tan_test): Add tests for large input.
84304         * sysdeps/i386/fpu/libm-test-ulps: Update.
84306 2012-03-15  Andreas Jaeger  <aj@suse.de>
84308         [BZ #13658]
84309         * math/libm-test.inc (cos_test): Add more test cases.
84310         (sin_test): Likewise.
84311         (sincos_test): Likewise.
84313 2012-03-15  Andreas Jaeger  <aj@suse.de>
84315         [BZ #13837]
84316         * math/libm-test.inc (cos_test): Add a test case for large input
84317         value.
84318         (sin_test): Likewise.
84319         (sincos_test): Likewise.
84321 2012-03-15  Andreas Jaeger  <aj@suse.de>
84322             Joseph Myers  <joseph@codesourcery.com>
84324         [BZ #13658]
84325         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
84326         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
84327         * sysdeps/i386/fpu/branred.c: Likewise.
84328         * sysdeps/i386/fpu/dosincos.c: Likewise.
84329         * sysdeps/i386/fpu/mpa.c: Likewise.
84330         * sysdeps/i386/fpu/s_cos.S: Likewise.
84331         * sysdeps/i386/fpu/s_sin.S: Likewise.
84332         * sysdeps/i386/fpu/s_sincos.S: Likewise.
84333         * sysdeps/i386/fpu/sincos32.c: Likewise.
84335         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
84336         Define.
84337         (libc_feupdateenv_53bit): Define.
84338         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
84339         Define.
84340         (libc_feupdateenv_53bit): Define.
84342         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
84343         53 bit (without extend i386 double precision).
84345         * math/libm-test.inc (sincos_test): Add tests for large input.
84346         (sin): Likewise.
84347         (cos): Likewise.
84349         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
84351 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84355 2012-03-15  David S. Miller  <davem@davemloft.net>
84357         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
84358         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
84359         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
84360         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
84361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
84362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
84363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
84364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
84365         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
84366         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
84367         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
84368         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
84369         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
84370         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
84371         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
84372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
84373         file.
84374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
84375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
84376         file.
84377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
84378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
84379         file.
84380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
84381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
84382         file.
84383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
84384         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
84385         fmin/fmax sysdep routines.
84386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84388 2012-03-14  David S. Miller  <davem@davemloft.net>
84390         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
84391         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
84392         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
84393         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
84394         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
84395         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
84396         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
84397         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
84398         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
84399         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
84400         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
84401         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
84402         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
84403         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
84404         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
84405         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
84406         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
84407         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
84408         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
84409         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
84410         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
84411         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
84412         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
84413         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
84414         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
84415         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
84416         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
84417         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
84418         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
84419         routines.
84420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
84421         file.
84422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
84423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
84424         file.
84425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
84426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
84427         file.
84428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
84429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
84430         file.
84431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
84432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
84433         file.
84434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
84435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
84436         file.
84437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
84438         file.
84439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
84440         file.
84441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
84442         file.
84443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
84444         New file.
84445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
84446         file.
84447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
84448         file.
84449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
84450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
84451         file.
84452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
84453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
84454         file.
84455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
84456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
84457         file.
84458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
84459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
84460         VIS3 routines.
84462         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
84463         New file.
84465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84467         * sysdeps/sparc/configure.in: New file.
84468         * sysdeps/sparc/configure: Generate.
84469         * configure.in (libc_cv_sparc_as_vis3): Substitute.
84470         * configure: Regenerate.
84471         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
84472         * config.make.in (have-as-vis3): New.
84473         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
84474         available use -Av9d instead of -Av9a.
84475         * sysdeps/sparc/sparc64/Makefile: Likewise.
84476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
84477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
84478         New file.
84479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
84480         file.
84481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
84482         New file.
84483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
84484         file.
84485         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
84486         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
84487         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
84488         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
84489         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
84491         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
84492         fzeros/fnegs to load 0x80000000 into a float register instead of
84493         using the stack.
84494         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
84496 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
84498         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84499         bits/syscall.h.
84500         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
84501         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
84502         ($(inst_includedir)/bits/syscall.h): Remove rule.
84503         ($(objpfx)bits/syscall.d): Include instead of
84504         $(objpfx)syscall-list.d.
84505         (generated): Change syscall-list.h and syscall-list.d to
84506         bits/syscall.h and bits/syscall.d.
84508 2012-03-14  Roland McGrath  <roland@hack.frob.com>
84510         [BZ #13846]
84511         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
84513 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
84515         [BZ #13841]
84516         * math/s_csqrt.c: Include <float.h>.
84517         (__csqrt): Scale large or subnormal inputs.
84518         * math/s_csqrtf.c: Likewise.
84519         * math/s_csqrtl.c: Likewise.
84520         * math/libm-test.inc (csqrt_test): Add more tests.
84521         * sysdeps/i386/fpu/libm-test-ulps: Update.
84522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84524         [BZ #13840]
84525         * math/libm-test.inc (hypot_test): Add more tests.
84527 2012-03-13  David S. Miller  <davem@davemloft.net>
84529         [BZ #13840]
84530         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
84531         double-precision for the calculation instead of scaling.
84533 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
84535         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
84536         manipulate bits before adding and subtracting TWO52[sx].
84537         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
84538         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
84539         Likewise.
84540         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
84542 2012-03-13  David S. Miller  <davem@davemloft.net>
84544         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
84545         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
84546         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
84547         rtld-global-offsets.h
84548         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84550         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
84551         large parameters.
84553         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
84555         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
84556         'err' in the ifdef scope in which it is actually used.
84558         * nss/nss_db/db-init.c: Include string.h
84560 2012-03-12  David S. Miller  <davem@davemloft.net>
84562         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
84563         masking out of the most significant byte of random value used.
84564         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84565         Fix coding style in previous change.
84567         * sysdeps/unix/sysv/linux/kernel-features.h
84568         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
84569         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
84570         expression.
84571         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
84572         later.
84574 2012-03-11  David S. Miller  <davem@davemloft.net>
84576         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
84577         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
84578         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
84579         for 'resultvar' otherwise things get truncated on 64-bit.
84581         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84582         Fix masking out of the most significant byte of random value used.
84584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84586 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
84588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84590 2012-03-09  David S. Miller  <davem@davemloft.net>
84592         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
84593         variables with appropriate CPP guards.
84594         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
84595         from the frame pointer, not the stack pointer.  Correct layout
84596         comments.  Fix test on resulting framesize and the management of
84597         the outregs buffer for pltexit.  Preserve floating point return
84598         values across _dl_call_pltexit call.
84599         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
84600         framesize and the management of the outregs buffer for pltexit.
84601         Preserve floating point return values across _dl_call_pltexit
84602         call.
84603         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
84604         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
84605         (la_sparc64_gnu_pltexit): New functions.
84606         (print_exit): Fix format string for return register value.
84608 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
84610         * sunrpc/Makefile (others): Add rpcgen.
84611         ($(objpfx)rpcgen): Remove special build rule and dependency on
84612         libc.
84613         * sunrpc/rpcgen.c: New file.
84615 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
84617         [BZ #13673]
84618         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
84619         * stdio-common/bug-vfprintf-nargs.c: Likewise.
84620         * sysdeps/i386/crti.S: Likewise.
84621         * sysdeps/i386/crtn.S: Likewise.
84622         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
84623         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
84624         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
84625         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
84626         * sysdeps/sh/crti.S: Likewise.
84627         * sysdeps/sh/crtn.S: Likewise.
84628         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
84630         [BZ #13673]
84631         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
84632         with URL.
84633         * locale/programs/locfile-kw.gperf: Likewise.
84634         * locale/programs/charmap-kw.h: Regenerated.
84635         * locale/programs/locfile-kw.h: Likewise.
84637         [BZ #13673]
84638         * intl/plural.y: Replace FSF snail mail address with URL.
84639         * intl/plural.c: Regenerated.
84641 2012-03-09  Richard Henderson  <rth@twiddle.net>
84643         * include/math_private.h: Remove file.
84644         * math/math_private.h: Move file ...
84645         * sysdeps/generic/math_private.h: ... here.
84647         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
84648         * sysdeps/powerpc/fpu/math_private.h: Likewise.
84649         * sysdeps/x86_64/fpu/math_private.h: Likewise.
84651         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
84652         and <math_private.h>.
84653         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
84654         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
84655         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
84656         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
84657         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
84658         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
84659         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84660         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84661         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84662         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84663         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84664         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84665         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84666         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84667         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84668         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84669         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84670         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84671         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84672         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84673         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84674         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84675         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84676         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84677         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
84678         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84679         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84680         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84681         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84682         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
84683         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84684         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84685         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
84686         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84687         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
84688         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
84689         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84690         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84691         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
84692         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84693         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
84694         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
84695         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
84696         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
84697         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
84698         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
84699         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
84700         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
84701         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84702         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
84703         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
84704         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
84705         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
84706         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
84707         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
84708         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84709         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84710         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
84711         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
84712         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
84713         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84714         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
84715         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84716         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
84717         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
84718         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84719         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84720         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84721         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
84722         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
84723         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
84724         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84725         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
84726         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84727         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
84728         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
84729         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
84730         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
84731         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
84732         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
84733         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
84734         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
84735         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
84736         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84737         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84738         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
84739         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
84740         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
84741         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84742         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84743         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84744         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84745         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84746         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84747         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84748         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84749         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84750         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84751         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84752         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84753         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84754         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84755         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84756         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84757         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
84758         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84759         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84760         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84761         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
84762         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
84763         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
84764         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
84765         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84766         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
84767         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
84768         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84769         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
84770         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
84771         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
84772         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84773         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
84774         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
84775         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84776         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
84777         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
84778         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
84779         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84780         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
84781         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
84782         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
84783         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
84784         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84785         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
84786         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
84787         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
84788         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
84789         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84790         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
84791         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
84792         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84793         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84794         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
84795         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
84796         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
84797         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
84798         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
84799         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
84800         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
84801         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
84802         * sysdeps/ieee754/k_standard.c: Likewise.
84803         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84804         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84805         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84806         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84807         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84808         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84809         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84810         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84811         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84812         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84813         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84814         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84815         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84816         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84817         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84818         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84819         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
84820         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84821         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84822         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
84823         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
84824         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
84825         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84826         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84827         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
84828         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
84829         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84830         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84831         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84832         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84833         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
84834         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84835         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84836         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84837         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
84838         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84839         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84840         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
84841         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
84842         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84843         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
84844         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
84845         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
84846         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84847         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
84848         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
84849         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84850         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84851         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84852         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84853         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84854         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
84855         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84856         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
84857         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84858         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84859         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
84860         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
84861         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84862         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84863         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84864         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
84865         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84866         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84867         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84868         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84869         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84870         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84871         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84872         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84873         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84874         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84875         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84876         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84877         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84878         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84879         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
84880         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84881         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84882         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
84883         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
84884         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
84885         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84886         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84887         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
84888         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84889         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84890         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
84891         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
84892         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84893         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
84894         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84895         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
84896         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
84897         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84898         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84899         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
84900         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
84901         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
84902         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
84903         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84904         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84905         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84906         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84907         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
84908         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84909         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84910         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
84911         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
84912         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84913         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84914         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84915         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84916         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84917         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84918         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84919         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84920         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84921         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84922         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84923         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84924         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84925         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84926         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84927         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84928         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
84929         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84930         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84931         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84932         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84933         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84934         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84935         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84936         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
84937         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84938         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84939         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
84940         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
84941         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84942         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
84943         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
84944         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84945         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
84946         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
84947         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84948         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84949         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84950         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84951         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84952         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
84953         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84954         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84955         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84956         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84957         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
84958         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
84959         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84960         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84961         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84962         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
84963         * sysdeps/ieee754/s_lib_version.c: Likewise.
84964         * sysdeps/ieee754/s_matherr.c: Likewise.
84965         * sysdeps/ieee754/s_signgam.c: Likewise.
84966         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84967         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84968         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
84969         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
84970         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
84971         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
84972         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
84973         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
84974         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
84975         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
84976         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
84977         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
84978         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84979         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84980         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
84981         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
84982         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
84983         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
84984         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
84985         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84986         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84988 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84990         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
84991         * sunrpc/rpc_main.c: Likewise.
84992         * sunrpc/rpc_svcout.c: Likewise.
84994 2012-03-09  David S. Miller  <davem@davemloft.net>
84996         * include/math_private.h: New file.
84998 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85000         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
85001         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
85002         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
85003         from <bits/socket_type.h>.
85004         (enum __socket_type): Don't define here.
85005         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
85006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85007         bits/socket_type.h.
85009         [BZ #13566]
85010         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
85011         checking __USE_GNU.
85013         * Makerules ($(inst_includedir)/%.h): New rule.
85014         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
85015         (install-others): Remove variable setting.
85016         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
85018 2012-03-08  Richard Henderson  <rth@twiddle.net>
85020         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
85021         from macro to inline function; merge with the
85022         !__LIBC_INTERNAL_MATH_INLINES version.
85023         (__ieee754_sqrtf): Likewise.
85025         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
85026         to inline function.
85027         (__rintf, __floor, __floorf): Likewise.
85029         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
85030         macro to inline function.
85031         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
85033         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
85034         not <math/math_private.h>.
85036 2012-03-08  David S. Miller  <davem@davemloft.net>
85038         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
85039         copyright year.
85040         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
85042 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
85044         * resolv/gai_misc.c (handle_requests): Fix struct timespec
85045         normalization.
85046         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
85047         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
85049 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
85051         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
85052         be defined individually, they must be defined as a block.  Define
85053         S for printing a string instead of hidint the different by using a
85054         macro for adding the 'l'.
85055         * stdio-common/tst-fphex-wide.c: Adjust.
85057 2012-03-07  Marek Polacek  <polacek@redhat.com>
85059         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
85061 2012-03-08  Marek Polacek  <polacek@redhat.com>
85063         [BZ #13806]
85064         * stdio-common/Makefile (tests): Add tst-fphex-wide.
85065         * stdio-common/tst-fphex.c: Define a few macros to make the
85066         test reusable.  Use them.
85067         * stdio-common/tst-fphex-wide.c: New file.
85069 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
85071         [BZ #6911]
85072         * manual/macros.texi (gnusystems): New macro.
85073         (nongnusystems): Likewise.
85074         (gnulinuxhurdsystems): Likewise.
85075         (gnuhurdsystems): Likewise..
85076         (gnulinuxsystems): Likewise.
85077         * manual/charset.texi: Use new macros or @theglibc{} to refer to
85078         variants of the GNU system, not "GNU system".
85079         * manual/conf.texi: Likewise.
85080         * manual/errno.texi: Likewise.  Update example of errno macro
85081         expansion.
85082         * manual/filesys.texi: Likewise.
85083         (getumask): Document as specific to GNU/Hurd.
85084         * manual/install.texi: Likewise.  Reword some references to
85085         GNU/Linux.
85086         * manual/intro.texi: Likewise.
85087         * manual/io.texi: Likewise.
85088         (File Name Portability): Detail which constraints are inapplicable
85089         to all GNU systems and which are only inapplicable to GNU/Hurd.
85090         * manual/job.texi: Likewise.
85091         * manual/llio.texi: Likewise.
85092         (O_NOCTTY): Document as present on GNU/Linux.
85093         * manual/maint.texi: Likewise.
85094         * manual/memory.texi: Likewise.
85095         * manual/pattern.texi: Likewise.
85096         * manual/pipe.texi: Likewise.
85097         * manual/process.texi: Likewise.
85098         * manual/resource.texi: Likewise.
85099         (RUSAGE_CHILDREN): Remove statement about specifying a particular
85100         child on GNU/Hurd.
85101         * manual/setjmp.texi: Likewise.
85102         * manual/signal.texi: Likewise.
85103         * manual/startup.texi: Likewise.
85104         * manual/stdio.texi: Likewise.
85105         * manual/terminal.texi: Likewise.
85106         (ONLCR): Document as POSIX.
85107         (OXTABS): Document availability on GNU/Linux as XTABS.
85108         (ONOEOT): Document availability separately from other bits.
85109         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
85110         * manual/time.texi: Likewise.
85111         * manual/users.texi: Likewise.
85112         * INSTALL: Regenerated.
85113         * sysdeps/gnu/errlist.c: Regenerated.
85115         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
85116         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
85117         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
85118         puts.
85119         * configure: Regenerated.
85121 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
85123         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
85124         default includes instead of AC_HEADER_CHECK.
85125         * sysdeps/i386/configure: Regenerated.
85127         [BZ #10716]
85128         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
85129         * math/s_cacoshf.c (__cacoshf): Likewise.
85130         * math/s_cacoshl.c (__cacoshl): Likewise.
85131         * math/s_casinh.c (__casinh): Set signs of result from argument.
85132         * math/s_casinhf.c (__casinhf): Likewise.
85133         * math/s_casinhl.c (__casinhl): Likewise.
85134         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
85135         (casinh_test): Add more tests.
85136         * sysdeps/i386/fpu/libm-test-ulps: Update.
85137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85139 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
85141         * po/zh_TW.po: Update from translation team.
85143         * login/Makefile (distribute): Remove variable.
85144         * catgets/Makefile: Likewise.
85145         * mach/Makefile: Likewise.
85146         * malloc/Makefile: Likewise.
85147         * misc/Makefile: Likewise.
85148         * iconv/Makefile: Likewise.
85149         * nscd/Makefile: Likewise.
85150         * hurd/Makefile: Likewise.
85151         * manual/Makefile: Likewise.
85152         * locale/Makefile: Likewise.
85153         * intl/Makefile: Likewise.
85154         * conform/Makefile: Likewise.
85155         * nss/Makefile: Likewise.
85156         * time/Makefile: Likewise.
85157         * soft-fp/Makefile: Likewise.
85158         * dirent/Makefile: Likewise.
85159         * gmon/Makefile: Likewise.
85160         * po/Makefile: Likewise.
85161         * rt/Makefile: Likewise.
85162         * socket/Makefile: Likewise.
85163         * math/Makefile: Likewise.
85164         * signal/Makefile: Likewise.
85165         * debug/Makefile: Likewise.
85166         * elf/Makefile: Likewise.
85167         * timezone/Makefile: Likewise.
85168         * stdlib/Makefile: Likewise.
85169         * iconvdata/Makefile: Likewise.
85170         * sunrpc/Makefile: Likewise.
85171         * io/Makefile: Likewise.
85172         * argp/Makefile: Likewise.
85173         * inet/Makefile: Likewise.
85174         * hesiod/Makefile: Likewise.
85175         * grp/Makefile: Likewise.
85176         * csu/Makefile: Likewise.
85177         * wctype/Makefile: Likewise.
85178         * crypt/Makefile: Likewise.
85179         * libio/Makefile: Likewise.
85180         * string/Makefile: Likewise.
85181         * nis/Makefile: Likewise.
85182         * resolv/Makefile: Likewise.
85183         * stdio-common/Makefile: Likewise.
85184         * wcsmbs/Makefile: Likewise.
85185         * dlfcn/Makefile: Likewise.
85186         * posix/Makefile: Likewise.
85188         [BZ #6959]
85189         * timezone/Makefile: Don't install timezone files, just the programs
85190         and scripts.
85192 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
85194         * nss/databases.def: Add missing gshadow entry.
85196         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
85198 2012-03-06  Marek Polacek  <polacek@redhat.com>
85200         [BZ #13726]
85201         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
85202         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
85203         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
85204         * stdio-common/tst-long-dbl-fphex.c: New file.
85206 2012-03-06  David S. Miller  <davem@davemloft.net>
85208         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85209         (set_obp_int): New function.
85210         (get_obp_int): New function.
85211         (__get_clockfreq_via_dev_openprom): Likewise.
85212         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
85213         Avoid unused variable warnings on 'val' and use builtin_expect.
85214         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
85215         __builtin_expect.
85216         (INLINE_CLONE_SYSCALL): Likewise.
85218 2012-03-05  David S. Miller  <davem@davemloft.net>
85220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85222 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
85224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85226         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
85227         only for |x| >= 40.
85228         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85230 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
85232         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
85233         Replace gettimeofday with __vdso_gettimeofday.
85235         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85236         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
85237         __vdso_clock_gettime and __vdso_getcpu.
85239         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
85240         time with __vdso_time.
85242 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85244         * manual/lang.texi (size_t): Note types to which size_t may be
85245         equivalent with the GNU C Library, but do not describe when
85246         differences between them are significant.
85248 2012-03-05  Andreas Jaeger  <aj@suse.de>
85250         * sysdeps/i386/fpu/libm-test-ulps: Update.
85252 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85254         [BZ #3976]
85255         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
85256         (__ieee754_pow): Save and restore rounding mode and use
85257         round-to-nearest for main computations.
85258         * math/libm-test.inc (pow_test_tonearest): New function.
85259         (pow_test_towardzero): Likewise.
85260         (pow_test_downward): Likewise.
85261         (pow_test_upward): Likewise.
85262         (main): Call the new functions.
85263         * sysdeps/i386/fpu/libm-test-ulps: Update.
85264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85266         [BZ #3976]
85267         * math/libm-test.inc (cosh_test_tonearest): New function.
85268         (cosh_test_towardzero): Likewise.
85269         (cosh_test_downward): Likewise.
85270         (cosh_test_upward): Likewise.
85271         (sinh_test_tonearest): Likewise.
85272         (sinh_test_towardzero): Likewise.
85273         (sinh_test_downward): Likewise.
85274         (sinh_test_upward): Likewise.
85275         (main): Call the new functions.
85276         * sysdeps/i386/fpu/libm-test-ulps: Update.
85277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85279 2012-03-05  Tom de Vries  <tom@codesourcery.com>
85281         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
85282         default stack guard is set in last bytes.
85283         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
85285 2012-03-05  Kees Cook  <keescook@chromium.org>
85287         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
85289         [BZ #13656]
85290         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
85291         possibly allocate from heap instead of stack.
85292         * stdio-common/bug-vfprintf-nargs.c: New file.
85293         * stdio-common/Makefile (tests): Add nargs overflow test.
85295 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
85297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85299 2012-03-03  Marek Polacek  <polacek@redhat.com>
85301         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
85302         * math/math_private.h: Likewise.
85303         * stdlib/tst-strtod.c: Likewise.
85304         * sysdeps/i386/i486/bits/atomic.h: Likewise.
85305         * sysdeps/x86_64/bits/atomic.h: Likewise.
85307 2012-03-02  David S. Miller  <davem@davemloft.net>
85309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
85310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
85311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
85312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
85313         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
85314         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
85315         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
85316         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
85318 2012-03-02  Roland McGrath  <roland@hack.frob.com>
85320         [BZ #13792]
85321         * manual/examples/README: New file, says the example source files
85322         can be used under GPL>=2.
85323         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
85324         line containing just "*/".
85325         * manual/examples/add.c: Add copyright header (GPL>=2).
85326         * manual/examples/argp-ex1.c: Likewise.
85327         * manual/examples/argp-ex2.c: Likewise.
85328         * manual/examples/argp-ex3.c: Likewise.
85329         * manual/examples/argp-ex4.c: Likewise.
85330         * manual/examples/atexit.c: Likewise.
85331         * manual/examples/db.c: Likewise.
85332         * manual/examples/dir.c: Likewise.
85333         * manual/examples/dir2.c: Likewise.
85334         * manual/examples/execinfo.c: Likewise.
85335         * manual/examples/filecli.c: Likewise.
85336         * manual/examples/filesrv.c: Likewise.
85337         * manual/examples/fmtmsgexpl.c: Likewise.
85338         * manual/examples/genpass.c: Likewise.
85339         * manual/examples/inetcli.c: Likewise.
85340         * manual/examples/inetsrv.c: Likewise.
85341         * manual/examples/isockad.c: Likewise.
85342         * manual/examples/longopt.c: Likewise.
85343         * manual/examples/memopen.c: Likewise.
85344         * manual/examples/memstrm.c: Likewise.
85345         * manual/examples/mkfsock.c: Likewise.
85346         * manual/examples/mkisock.c: Likewise.
85347         * manual/examples/mygetpass.c: Likewise.
85348         * manual/examples/pipe.c: Likewise.
85349         * manual/examples/popen.c: Likewise.
85350         * manual/examples/rprintf.c: Likewise.
85351         * manual/examples/search.c: Likewise.
85352         * manual/examples/select.c: Likewise.
85353         * manual/examples/setjmp.c: Likewise.
85354         * manual/examples/sigh1.c: Likewise.
85355         * manual/examples/sigusr.c: Likewise.
85356         * manual/examples/stpcpy.c: Likewise.
85357         * manual/examples/strdupa.c: Likewise.
85358         * manual/examples/strftim.c: Likewise.
85359         * manual/examples/strncat.c: Likewise.
85360         * manual/examples/subopt.c: Likewise.
85361         * manual/examples/swapcontext.c: Likewise.
85362         * manual/examples/termios.c: Likewise.
85363         * manual/examples/testopt.c: Likewise.
85364         * manual/examples/testpass.c: Likewise.
85365         * manual/examples/timeval_subtract.c: Likewise.
85367         [BZ #13792]
85368         * manual/time.texi (Elapsed Time): Move timeval_subtract example
85369         function to ...
85370         * manual/timeval_subtract.c.texi: ... here, new file.
85372 2012-03-02  David S. Miller  <davem@davemloft.net>
85374         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
85376 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
85378         [BZ #3976]
85379         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
85380         (__sin): Save and restore rounding mode and use round-to-nearest
85381         for all computations.
85382         (__cos): Save and restore rounding mode and use round-to-nearest
85383         for all computations.
85384         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
85385         <fenv.h>.
85386         (tan): Save and restore rounding mode and use round-to-nearest for
85387         all computations.
85388         * math/libm-test.inc (cos_test_tonearest): New function.
85389         (cos_test_towardzero): Likewise.
85390         (cos_test_downward): Likewise.
85391         (cos_test_upward): Likewise.
85392         (sin_test_tonearest): Likewise.
85393         (sin_test_towardzero): Likewise.
85394         (sin_test_downward): Likewise.
85395         (sin_test_upward): Likewise.
85396         (tan_test_tonearest): Likewise.
85397         (tan_test_towardzero): Likewise.
85398         (tan_test_downward): Likewise.
85399         (tan_test_upward): Likewise.
85400         (main): Call the new functions.
85401         * sysdeps/i386/fpu/libm-test-ulps: Update.
85402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85404         [BZ #10135]
85405         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
85406         small n, then large n, before computing and testing k+n.
85407         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
85408         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
85409         Likewise.
85410         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
85411         Likewise.
85412         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
85413         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
85414         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
85415         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
85416         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
85417         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
85418         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
85419         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
85420         * math/libm-test.inc (scalbn_test): Add more tests.
85421         (scalbln_test): Likewise.
85423         * manual/filesys.texi (mode_t): Describe constraints on size and
85424         signedness, not exact equivalence to a particular type.
85425         (ino_t): Likewise.
85426         (ino64_t): Likewise.
85427         (dev_t): Likewise.
85428         (nlink_t): Likewise.
85429         (blkcnt_t): Likewise.
85430         (blkcnt64_t): Likewise.
85431         * manual/llio.texi (off_t): Likewise.
85433         [BZ #3976]
85434         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
85435         (__ieee754_exp): Save and restore rounding mode and use
85436         round-to-nearest for all computations.
85437         * math/libm-test.inc (exp_test_tonearest): New function.
85438         (exp_test_towardzero): Likewise.
85439         (exp_test_downward): Likewise.
85440         (exp_test_upward): Likewise.
85441         (main): Call the new functions.
85442         * sysdeps/i386/fpu/libm-test-ulps: Update.
85443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85445 2012-03-01  Chris Demetriou  <cgd@google.com>
85447         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
85448         have predictable order.
85450 2012-03-01  David S. Miller  <davem@davemloft.net>
85452         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
85454         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
85455         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
85456         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
85457         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
85459         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
85460         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
85461         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
85462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
85463         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
85464         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
85465         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
85466         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
85467         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
85469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85471         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
85472         * sysdeps/sparc/fpu/libm-test-ulps: to here.
85473         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
85475         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
85476         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85477         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85478         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
85479         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
85480         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
85481         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
85482         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85483         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85484         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
85485         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
85486         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85487         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85488         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85489         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85490         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85491         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
85492         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
85493         * sysdeps/sparc/elf/configure: Regenerated.
85495 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
85497         * configure.in (AS, LD): Require binutils 2.20 or later.
85498         * configure: Regenerated.
85499         * manual/install.texi (Tools for Compilation): Give binutils 2.20
85500         as required minimum version.
85501         * INSTALL: Regenerated.
85503         [BZ #2541]
85504         [BZ #4108]
85505         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
85506         before squaring exponent.
85507         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
85508         bottom long double and 27 bits of top long double before squaring
85509         exponent.
85510         * math/libm-test.inc (erfc_test): Add more tests.
85511         * sysdeps/i386/fpu/libm-test-ulps: Update.
85512         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
85513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85515 2012-03-01  Kai Tietz  <ktietz@redhat.com>
85517         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
85518         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
85519         containing bit-fields.
85520         * soft-fp/extended.h (_FP_UNION_E): Likewise.
85521         * soft-fp/single.h (_FP_UNION_S): Likewise.
85522         * soft-fp/double.h (_FP_UNION_D): Likewise.
85524 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
85526         [BZ #13786]
85527         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
85528         not include ../strcmp.S.
85529         [USE_AS_STRNCASECMP_L]: Likewise.
85530         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
85531         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
85532         * sysdeps/i386/i686/multiarch/strncase_l-c.c
85533         (__strncasecmp_l_ia32): Define as alias to
85534         __strncasecmp_l_nonascii.
85536         [BZ #5794]
85537         * math/libm-test.inc (expm1_test): Add test for bug 5794.
85538         * sysdeps/i386/fpu/libm-test-ulps: Update.
85539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85541         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
85542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85544 2012-02-29  Jeff Law  <law@redhat.com>
85546         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
85547         out of bounds read.
85549 2012-02-29  Marek Polacek  <polacek@redhat.com>
85551         [BZ #13706]
85552         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
85553         * elf/Makefile: Add rules to run tst-unused-dep.out.
85555 2012-02-28  David S. Miller  <davem@davemloft.net>
85557         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
85558         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
85559         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
85560         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
85561         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
85562         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
85564 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
85566         * math/libm-test.inc (llround_test): Move one test from
85567         lround_test.  Use TEST_f_L in moved test.
85568         (lround_test): Move misplaced test to llround_test.  Add testcase
85569         from bug 2561.
85571 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
85573         * sysdeps/x86_64/fpu/e_expf.S: New file.
85574         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
85576 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
85578         [BZ #13637]
85579         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
85580         of remain_len that may cause incomplete multi-byte character and
85581         false match.
85582         * posix/bug-regex33.c: New file.
85583         * posix/Makefile (tests): Add bug-regex33.
85585 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
85587         * manual/macros.texi: New file.
85588         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
85589         * manual/libc.texinfo: Include macros.texi.
85590         * manual/creatute.texi: Likewise.
85591         * manual/install.texi: Likewise.
85592         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
85593         @glibcadj{} in references to the GNU C Library.
85594         * manual/charset.texi: Likewise.
85595         * manual/conf.texi: Likewise.
85596         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
85597         when not using those macros.
85598         * manual/creature.texi: Likewise.
85599         * manual/crypt.texi: Likewise.
85600         * manual/errno.texi: Likewise.
85601         * manual/filesys.texi: Likewise.
85602         * manual/header.texi: Likewise.
85603         * manual/install.texi: Likewise.
85604         * manual/intro.texi: Likewise.
85605         * manual/io.texi: Likewise.
85606         * manual/job.texi: Likewise.
85607         * manual/lang.texi: Likewise.
85608         * manual/libc.texiinfo: Likewise.
85609         * manual/llio.texi: Likewise.
85610         * manual/locale.texi: Likewise.
85611         * manual/maint.texi: Likewise.
85612         * manual/math.texi: Likewise.
85613         * manual/memory.texi: Likewise.
85614         * manual/message.texi: Likewise.
85615         * manual/nss.texi: Likewise.
85616         * manual/pattern.texi: Likewise.
85617         * manual/process.texi: Likewise.
85618         * manual/resource.texi: Likewise.
85619         * manual/search.texi: Likewise.
85620         * manual/setjmp.texi: Likewise.
85621         * manual/signal.texi: Likewise.
85622         * manual/socket.texi: Likewise.
85623         * manual/startup.texi: Likewise.
85624         * manual/stdio.texi: Likewise.
85625         * manual/string.texi: Likewise.
85626         * manual/sysinfo.texi: Likewise.
85627         * manual/syslog.texi: Likewise.
85628         * manual/terminal.texi: Likewise.
85629         * manual/time.texi: Likewise.
85630         * manual/users.texi: Likewise.
85631         * INSTALL: Regenerated.
85632         * NOTES: Regenerated.
85633         * sysdeps/gnu/errlist.c: Regenerated.
85635 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
85637         * include/dirent.h: Include <dirstream.h> before
85638         <dirent/dirent.h>.
85640 2012-02-28  David S. Miller  <davem@davemloft.net>
85642         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
85643         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
85644         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
85645         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
85647 2012-02-27  David S. Miller  <davem@davemloft.net>
85649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
85650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
85651         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
85652         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
85654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
85655         frame pointer instead of stack pointer relative arg slot.
85656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
85657         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
85658         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
85660 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
85662         [BZ #3992]
85663         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
85665 2012-02-27  David S. Miller  <davem@davemloft.net>
85667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
85668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
85669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
85670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
85671         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
85672         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
85673         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
85674         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
85676 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
85678         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
85679         later.  Allow versions 5-9.
85680         * configure: Regenerated.
85681         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
85682         required minimum version and 4.6 as recommended version.  Do not
85683         mention bugs in GCC 2.7 and 2.8.
85684         * INSTALL: Regenerated.
85686 2012-02-27  David S. Miller  <davem@davemloft.net>
85688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
85689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
85690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
85691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
85692         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
85693         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
85694         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
85695         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
85697         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
85698         manipulate bits before adding and subtracting TWO112[sx].
85699         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
85701 2012-02-27  Roland McGrath  <roland@hack.frob.com>
85703         [BZ #13775]
85704         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
85705         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
85706         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
85707         being in POSIX, because they are in 1003.1-2008.
85709         * rt/tst-aio.c: Include <fcntl.h>.
85710         * rt/tst-aio7.c: Likewise.
85711         * rt/tst-aio64.c: Likewise.
85713         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
85715 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
85717         * manual/install.texi (--with-headers): Describe headers as
85718         interface headers, not private headers.
85719         (Specific advice for GNU/Linux systems): Describe use of headers
85720         from "make headers_install", not private headers from older
85721         kernels.
85722         * INSTALL: Regenerated.
85723         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
85724         Change to 2.6.19.
85725         * sysdeps/unix/sysv/linux/configure: Regenerated.
85727         * manual/llio.texi (fclean): Remove documentation.
85729         * manual/Makefile (libc-texi-generated): New variable.  Include
85730         version.texi.
85731         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
85732         $(libc-texi-generated), not duplicated list of files.
85733         (version.texi, stamp-version): New rules.
85734         (realclean): Remove $(libc-texi-generated), not individual files
85735         from that list.  Do not remove dir-add.texinfo.
85736         * manual/libc.texinfo: Comment out uses of edition numbers and
85737         references to printed manual.  Remove last-updated dates.
85738         (EDITION): Comment out.
85739         (ISBN): Likewise.
85740         (VERSION, UPDATED): Remove.
85741         (version.texi): Include.
85743 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
85745         * sysdeps/posix/spawni.c: Include <signal.h>.
85746         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
85747         * sysdeps/pthread/aio_fsync.c: Likewise.
85749 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
85751         * conform/Makefile (tests): Run only when not cross-compiling and
85752         when fast-check is not defined.
85754         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
85755         * conform/data/limits.h-data: Fixes for POSIX2008.
85756         * conform/run-conformtest.sh: Run all tests.
85757         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
85758         headers.
85759         * include/bits/dlfcn.h: Likewise.
85760         * include/langinfo.h: Likewise.
85761         * include/monetary.h: Likewise.
85762         * include/sys/poll.h: Likewise.
85764         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
85765         for __USE_GNU.
85766         * posix/spawn.h: Define __need_sigset_t.
85767         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
85768         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
85769         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
85770         to get sigevent_t only.
85771         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
85772         only for __USE_GNU.
85773         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85774         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
85775         process_vm_writev only for __USE_GNU.
85776         * termios/termios.h: Declare tcgetsid also for POSIX2008.
85778         * conform/Makefile: For now ignore errors from run-conformtest.
85779         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
85780         POSIX to avoid namespace pollution.  Don't prepend headers.
85781         * conform/data/aio.h-data: Fixes for POSIX testing.
85782         * conform/data/fcntl.h-data: Likewise.
85783         * conform/data/glob.h-data: Likewise.
85784         * conform/data/grp.h-data: Likewise.
85785         * conform/data/pthread.h-data: Likewise.
85786         * conform/data/pwd.h-data: Likewise.
85787         * conform/data/signal.h-data: Likewise.
85788         * conform/data/spawn.h-data: Likewise.
85789         * conform/data/stdio.h-data: Likewise.
85790         * conform/data/stdlib.h-data: Likewise.
85791         * conform/data/stropts.h-data: Likewise.
85792         * conform/data/sys/mman.h-data: Likewise.
85793         * conform/data/sys/stat.h-data: Likewise.
85794         * conform/data/sys/types.h-data: Likewise.
85795         * conform/data/sys/wait.h-data: Likewise.
85796         * conform/data/time.h-data: Likewise.
85797         * conform/data/unistd.h-data: Likewise.
85798         * conform/data/utime.h-data: Likewise.
85800         * io/sys/stat.h: fchmod was always in POSIX.
85801         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
85802         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
85803         * rt/aio.h: Define __need_timespec before including <time.h>.
85804         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
85805         struct.  Add forward declaration of pthread_attr_t and use it in
85806         sigevent.
85807         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85808         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85809         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
85810         always remove CLK_TCK definition.
85812 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
85814         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
85816 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
85818         * conform/run-conformtest.sh: New file.
85819         * conform/Makefile: Run run-conformtest for tests.
85820         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
85821         support.
85823         * conform/data/uchar.h-data: New file.
85824         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
85825         * conform/data/arpa/inet.h-data: Likewise.
85826         * conform/data/assert.h-data: Likewise.
85827         * conform/data/complex.h-data: Likewise.
85828         * conform/data/cpio.h-data: Likewise.
85829         * conform/data/ctype.h-data: Likewise.
85830         * conform/data/dirent.h-data: Likewise.
85831         * conform/data/dlfcn.h-data: Likewise.
85832         * conform/data/errno.h-data: Likewise.
85833         * conform/data/fcntl.h-data: Likewise.
85834         * conform/data/float.h-data: Likewise.
85835         * conform/data/fmtmsg.h-data: Likewise.
85836         * conform/data/fnmatch.h-data: Likewise.
85837         * conform/data/ftw.h-data: Likewise.
85838         * conform/data/glob.h-data: Likewise.
85839         * conform/data/grp.h-data: Likewise.
85840         * conform/data/iconv.h-data: Likewise.
85841         * conform/data/inttypes.h-data: Likewise.
85842         * conform/data/langinfo.h-data: Likewise.
85843         * conform/data/libgen.h-data: Likewise.
85844         * conform/data/limits.h-data: Likewise.
85845         * conform/data/locale.h-data: Likewise.
85846         * conform/data/math.h-data: Likewise.
85847         * conform/data/monetary.h-data: Likewise.
85848         * conform/data/mqueue.h-data: Likewise.
85849         * conform/data/ndbm.h-data: Likewise.
85850         * conform/data/net/if.h-data: Likewise.
85851         * conform/data/netdb.h-data: Likewise.
85852         * conform/data/netinet/in.h-data: Likewise.
85853         * conform/data/nl_types.h-data: Likewise.
85854         * conform/data/poll.h-data: Likewise.
85855         * conform/data/pthread.h-data: Likewise.
85856         * conform/data/pwd.h-data: Likewise.
85857         * conform/data/regex.h-data: Likewise.
85858         * conform/data/sched.h-data: Likewise.
85859         * conform/data/search.h-data: Likewise.
85860         * conform/data/semaphore.h-data: Likewise.
85861         * conform/data/setjmp.h-data: Likewise.
85862         * conform/data/signal.h-data: Likewise.
85863         * conform/data/spawn.h-data: Likewise.
85864         * conform/data/stdarg.h-data: Likewise.
85865         * conform/data/stdio.h-data: Likewise.
85866         * conform/data/stdlib.h-data: Likewise.
85867         * conform/data/string.h-data: Likewise.
85868         * conform/data/strings.h-data: Likewise.
85869         * conform/data/stropts.h-data: Likewise.
85870         * conform/data/sys/ipc.h-data: Likewise.
85871         * conform/data/sys/mman.h-data: Likewise.
85872         * conform/data/sys/msg.h-data: Likewise.
85873         * conform/data/sys/resource.h-data: Likewise.
85874         * conform/data/sys/select.h-data: Likewise.
85875         * conform/data/sys/sem.h-data: Likewise.
85876         * conform/data/sys/shm.h-data: Likewise.
85877         * conform/data/sys/socket.h-data: Likewise.
85878         * conform/data/sys/stat.h-data: Likewise.
85879         * conform/data/sys/statvfs.h-data: Likewise.
85880         * conform/data/sys/time.h-data: Likewise.
85881         * conform/data/sys/timeb.h-data: Likewise.
85882         * conform/data/sys/times.h-data: Likewise.
85883         * conform/data/sys/types.h-data: Likewise.
85884         * conform/data/sys/uio.h-data: Likewise.
85885         * conform/data/sys/un.h-data: Likewise.
85886         * conform/data/sys/utsname.h-data: Likewise.
85887         * conform/data/sys/wait.h-data: Likewise.
85888         * conform/data/syslog.h-data: Likewise.
85889         * conform/data/tar.h-data: Likewise.
85890         * conform/data/termios.h-data: Likewise.
85891         * conform/data/utime.h-data: Likewise.
85892         * conform/data/utmpx.h-data: Likewise.
85893         * conform/data/varargs.h-data: Likewise.
85894         * conform/data/wchar.h-data: Likewise.
85895         * conform/data/wctype.h-data: Likewise.
85896         * conform/data/wordexp.h-data: Likewise.
85898         * include/stropts.h: New file.
85899         * include/uchar.h: New file.
85900         * include/aio.h: Changes to allow conformtest.pl to use the headers.
85901         * include/assert.h: Likewise.
85902         * include/ctype.h: Likewise.
85903         * include/dirent.h: Likewise.
85904         * include/dlfcn.h: Likewise.
85905         * include/fcntl.h: Likewise.
85906         * include/fnmatch.h: Likewise.
85907         * include/glob.h: Likewise.
85908         * include/grp.h: Likewise.
85909         * include/libio.h: Likewise.
85910         * include/locale.h: Likewise.
85911         * include/math.h: Likewise.
85912         * include/net/if.h: Likewise.
85913         * include/netdb.h: Likewise.
85914         * include/netinet/in.h: Likewise.
85915         * include/pthread.h: Likewise.
85916         * include/pwd.h: Likewise.
85917         * include/regex.h: Likewise.
85918         * include/sched.h: Likewise.
85919         * include/search.h: Likewise.
85920         * include/setjmp.h: Likewise.
85921         * include/signal.h: Likewise.
85922         * include/stdio.h: Likewise.
85923         * include/stdlib.h: Likewise.
85924         * include/string.h: Likewise.
85925         * include/sys/cdefs.h: Likewise.
85926         * include/sys/mman.h: Likewise.
85927         * include/sys/msg.h: Likewise.
85928         * include/sys/resource.h: Likewise.
85929         * include/sys/select.h: Likewise.
85930         * include/sys/socket.h: Likewise.
85931         * include/sys/stat.h: Likewise.
85932         * include/sys/statvfs.h: Likewise.
85933         * include/sys/time.h: Likewise.
85934         * include/sys/times.h: Likewise.
85935         * include/sys/uio.h: Likewise.
85936         * include/sys/utsname.h: Likewise.
85937         * include/sys/wait.h: Likewise.
85938         * include/termios.h: Likewise.
85939         * include/time.h: Likewise.
85940         * include/ulimit.h: Likewise.
85941         * include/unistd.h: Likewise.
85942         * include/utime.h: Likewise.
85943         * include/wchar.h: Likewise.
85944         * include/wctype.h: Likewise.
85945         * include/wordexp.h: Likewise.
85947         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
85949         * time/time.h: TIME_UTC must be a macro.
85950         Make timespec_get available for ISO C11 only as well.
85952 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
85954         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
85955         Reported by Peng Haitao <penght@cn.fujitsu.com>.
85957 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85959         * configure.in: Use -o not -a in test for unsupported multi-arch.
85961 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85963         * manual/texinfo.tex: Update to version 2012-01-19.16.
85965 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85967         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
85969 2012-02-24  Roland McGrath  <roland@hack.frob.com>
85971         [BZ #13738]
85972         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
85973         * manual/fdl-1.3.texi: New file.
85974         * manual/fdl-1.1.texi: File removed.
85976         [BZ #13738]
85977         * manual/libc.texinfo (FDL_VERSION): New @set.
85978         Use it for mention of FDL in cover text.
85979         (Documentation License): Use it in @include file name.
85981 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85982             Roland McGrath  <roland@hack.frob.com>
85984         [BZ #5461]
85985         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
85986         (not LONG_LONG_MAX and LONG_LONG_MIN.
85987         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
85988         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
85989         name.
85990         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
85992 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85994         [BZ #2547]
85995         [BZ #11365]
85996         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
85997         manipulate bits before adding and subtracting TWO23[sx].
85998         * math/libm-test.inc (nearbyint_test): Add more tests.
86000 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86002         [BZ #2548]
86003         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
86004         bits before adding and subtracting TWO23[sx].
86005         * math/libm-test.inc (rint_test): Add more tests.
86006         (rint_test_tonearest): Likewise.
86007         (rint_test_towardzero): Likewise.
86008         (rint_test_downward): Likewise.
86009         (rint_test_upward: Likewise.
86011 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86013         [BZ #10110]
86014         * include/stdc-predef.h: New file.  Extracted from features.h.
86015         * include/features.h: Include stdc-predef.h.
86016         * Makefile (headers): Add stdc-predef.h.
86017         * CONFORMANCE (Compiler limitations): Update.
86019 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86021         * manual/libc.texinfo (VERSION, UPDATED): Revert.
86023 2012-02-21  David S. Miller  <davem@davemloft.net>
86025         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
86026         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86028 2012-02-20  David S. Miller  <davem@davemloft.net>
86030         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
86031         using a normal save/restore sequence, rather than allocating a
86032         dummy stack frame just to store a frame pointer and restore.
86033         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86035 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86037         * manual/install.texi: Fix stray word in line-wrapped comment.
86039 2012-02-20  David S. Miller  <davem@davemloft.net>
86041         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
86042         both binutils and gcc support GOTDATA.
86044         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
86045         "rd %pc" in the PIC register setup sequences.
86047         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
86048         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
86049         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86050         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
86051         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86052         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
86053         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86054         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86055         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
86056         (SYSCALL_ERROR_HANDLER): Likewise.
86057         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86058         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86059         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
86060         (SYSCALL_ERROR_HANDLER): Likewise.
86062         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
86063         (HAVE_GCC_GOTDATA): New.
86064         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
86065         relocation support in both binutils and gcc.
86066         * sysdeps/sparc/elf/configure: Regenerate.
86068         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
86069         * sysdeps/sparc/sparc32/elf/configure: Delete.
86070         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
86071         * sysdeps/sparc/sparc64/elf/configure: Delete.
86072         * sysdeps/sparc/elf/configure.in: New file.
86073         * sysdeps/sparc/elf/configure: Generate.
86075         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
86076         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
86077         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86078         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
86079         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
86081 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86083         * manual/install.texi: Do not mention specific glibc version
86084         numbers.
86085         * manual/libc.texinfo (VERSION, UPDATED): Update.
86086         (@copying): Use @copyright{} and range of years.
86088 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86090         [BZ #13695]
86091         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
86092         [crti.S not in sysdirs] (generated): Do not append.
86093         [crti.S not in sysdirs] (omit-deps): Likewise.
86094         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
86095         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
86096         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
86097         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
86098         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
86099         Likewise.
86100         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
86101         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
86102         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
86103         * csu/defs.awk: Remove file.
86104         * sysdeps/generic/initfini.c: Likewise.
86105         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
86106         variable.
86107         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
86108         Likewise.
86110 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86112         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
86113         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
86114         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
86115         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
86116         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86117         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
86118         <bits/epoll.h>.
86119         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
86120         (__EPOLL_PACKED): Define to empty if not defined by
86121         <bits/epoll.h>.
86122         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
86123         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86124         bits/epoll.h.
86126 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86128         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
86129         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
86130         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
86131         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
86132         <bits/timerfd.h>.
86133         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
86134         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86135         bits/timerfd.h.
86137 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86139         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
86140         in C locale.
86141         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86142         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
86143         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
86144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86146 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
86148         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86149         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86151 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
86153         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
86154         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
86155         defined.
86156         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
86157         Likewise.
86158         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
86159         entry for 2.16.
86161 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
86163         * math/w_acos.c: Use non-signaling floating-point comparisons.
86164         * math/w_acosf.c: Likewise.
86165         * math/w_acosh.c: Likewise.
86166         * math/w_acoshf.c: Likewise.
86167         * math/w_acoshl.c: Likewise.
86168         * math/w_acosl.c: Likewise.
86169         * math/w_asin.c: Likewise.
86170         * math/w_asinf.c: Likewise.
86171         * math/w_asinl.c: Likewise.
86172         * math/w_atanh.c: Likewise.
86173         * math/w_atanhf.c: Likewise.
86174         * math/w_atanhl.c: Likewise.
86175         * math/w_exp2.c: Likewise.
86176         * math/w_exp2f.c: Likewise.
86177         * math/w_exp2l.c: Likewise.
86178         * math/w_j0.c: Likewise.
86179         * math/w_j0f.c: Likewise.
86180         * math/w_j0l.c: Likewise.
86181         * math/w_j1.c: Likewise.
86182         * math/w_j1f.c: Likewise.
86183         * math/w_j1l.c: Likewise.
86184         * math/w_jn.c: Likewise.
86185         * math/w_jnf.c: Likewise.
86186         * math/w_log.c: Likewise.
86187         * math/w_log10.c: Likewise.
86188         * math/w_log10f.c: Likewise.
86189         * math/w_log10l.c: Likewise.
86190         * math/w_log2.c: Likewise.
86191         * math/w_log2f.c: Likewise.
86192         * math/w_log2l.c: Likewise.
86193         * math/w_logf.c: Likewise.
86194         * math/w_logl.c: Likewise.
86195         * math/w_sqrt.c: Likewise.
86196         * math/w_sqrtf.c: Likewise.
86197         * math/w_sqrtl.c: Likewise.
86198         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86199         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
86200         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86201         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86202         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86204 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86206         [BZ #9739]
86207         * manual/string.texi (strnlen): Use correct parameter name in
86208         equivalent expression.
86210 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86212         [BZ #11174]
86213         * manual/users.texi (seteuid): Consistently use neweuid for
86214         argument name.
86216 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86218         [BZ #13704]
86219         * manual/nss.texi (Services in the NSS configuration): Correct
86220         list of services in example configuration file.
86222 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
86224         [BZ #11322]
86225         * manual/arith.texi: Remove statements about negative zero
86226         behaving identically to zero.
86228 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86230         [BZ #5993]
86231         * manual/install.texi: Do not document upgrading from libc5.
86233 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86235         [BZ #4596]
86236         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
86238 2012-02-18  David S. Miller  <davem@davemloft.net>
86240         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
86241         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
86242         %o7 across the call.
86243         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
86244         instead.
86245         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
86246         SETUP_PIC_REG_LEAF.
86247         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86248         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
86249         * sysdeps/sparc/crtn.S: Likewise.
86251 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
86253         * aout/Makefile: Remove.
86255 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
86257         [BZ #13058]
86258         * manual/examples/argp-ex1.c (main): Format definition in GNU
86259         style.
86260         * manual/examples/argp-ex2.c (main): Likewise.
86261         * manual/examples/argp-ex3.c (main): Likewise.
86262         * manual/examples/argp-ex4.c (main): Likewise.
86263         * manual/examples/longopt.c (main): Use new-style prototype
86264         definition.
86265         * manual/examples/strncat.c (main): Specify return type and use
86266         (void) for arguments.
86267         * manual/examples/subopt.c (main): Use char **argv argument.
86269 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86271         [BZ #5077]
86272         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
86273         rounding modes.
86275 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
86277         [BZ #6907]
86278         * manual/string.texi (strchr): Change when strchrnul is
86279         recommended.
86281 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
86283         [BZ #174]
86284         * manual/locale.texi (setlocale): Document LOCPATH.
86286 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86288         [BZ #10210]
86289         * manual/process.texi (execle): Move @dots{} before last argument.
86291 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
86293         [BZ #12047]
86294         * manual/charset.texi (Generic Charset Conversion): Fix typo
86295         (LC_TYPE -> LC_CTYPE).
86297 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
86299         [BZ #5805]
86300         * manual/arith.texi (scalbn): Use @var{} on parameter names.
86301         (scalbnf): Likewise.
86302         (scalbnl): Likewise.
86303         (scalbln): Likewise.
86304         (scalblnf): Likewise.
86305         (scalblnl): Likewise.
86306         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
86307         (vwarnx): Likewise.
86308         (verr): Likewise.
86309         (verrx): Likewise.
86310         * manual/filesys.texi (telldir): Use braces around return type.
86311         * manual/llio.texi (mmap): Add space after comma.
86312         (mmap64): Likewise.
86313         * manual/math.texi (jn): Use @var{} on parameter names.
86314         (jnf): Likewise.
86315         (jnl): Likewise.
86316         (yn): Likewise.
86317         (ynf): Likewise.
86318         (ynl): Likewise.
86319         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
86320         line.
86321         * manual/resource.texi (ulimit): Use @dots{} instead of literal
86322         "...".
86323         (sched_get_priority_min): Remove semicolon on @deftypefun line.
86324         (sched_get_priority_max): Likewise.
86325         * manual/signal.texi (sigvec): Add space after comma.
86326         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
86327         names.
86328         (if_indextoname): Likewise.
86329         (if_freenameindex): Likewise.
86330         (sendto): Use ',' instead of '.' in prototype.
86331         * manual/startup.texi (syscall): Use @dots{} instead of literal
86332         "...".
86333         * manual/stdio.texi (__fpending): Separate initial words of
86334         paragraph from @deftypefun line.
86335         * manual/syslog.texi (syslog): Use @dots{} instead of literal
86336         "...".
86337         (vsyslog): Use @var{} on parameter names.
86338         * manual/terminal.texi (stty): Use @var{} on parameter names.
86339         * manual/users.texi (getutmp): Use @var{} on parameter names.
86340         (getutmpx): Likewise.
86342 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86344         [BZ #6884]
86345         * manual/stdio.texi (fopen): Fix typos in description of
86346         ",ccs=STRING".
86348 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
86350         [BZ #4026]
86351         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
86352         get clock_id definition.
86354 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
86356         [BZ #4822]
86357         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
86358         (madvise): Cast every argument to void on its own.
86360 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86362         [BZ #9902]
86363         * manual/startup.texi (Exit Status): Fix typo.
86365 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86367         [BZ #10140]
86368         * manual/examples/argp-ex1.c: Include <stdlib.h>.
86369         * manual/examples/argp-ex2.c: Likewise.
86370         * manual/examples/argp-ex3.c: Likewise.
86372 2012-02-16  Richard Henderson  <rth@redhat.com>
86374         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
86375         * sysdeps/s390/s390-32/initfini.c: Remove.
86376         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
86377         * sysdeps/s390/s390-64/initfini.c: Remove.
86379 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
86381         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
86382         compiler output for sysdeps/generic/initfini.c.
86383         * sysdeps/sh/elf/initfini.c: Remove file.
86385 2012-02-16  David S. Miller  <davem@davemloft.net>
86387         [BZ #11494]
86388         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
86390         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
86391         * sysdeps/sparc/crti.S: New file.
86392         * sysdeps/sparc/crtn.S: New file.
86393         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
86394         * sysdeps/sparc/sparc64/Makefile: Likewise.
86396 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
86398         [BZ #3335]
86399         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
86401 2012-02-15  Roland McGrath  <roland@hack.frob.com>
86403         [BZ #4822]
86404         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
86406         * mach/devstream.c (cookie_io_functions_t): Macro removed.
86407         (write, read, close): Likewise.
86408         Patch by Aurelien Jarno <aurelien@aurel32.net>.
86410 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
86412         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
86413         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
86414         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
86415         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
86416         <bits/signalfd.h>.
86417         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
86418         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86419         bits/signalfd.h.
86421 2012-02-14  Marek Polacek  <polacek@redhat.com>
86423         * sysdeps/x86_64/crti.S: New file.
86424         * sysdeps/x86_64/crtn.S: New file.
86425         * sysdeps/x86_64/elf/initfini.c: Remove file.
86427 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
86429         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
86430         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
86431         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
86432         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
86433         <bits/inotify.h>.
86434         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
86435         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86436         bits/inotify.h.
86438 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
86440         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
86441         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
86442         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
86443         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
86444         <bits/eventfd.h>.
86445         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
86446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86447         bits/eventfd.h.
86449 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
86451         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
86452         __feraiseexcept instead of feraiseexcept.
86454         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
86455         nanosleep invocations.
86456         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
86457         strings, and add error checking for a nanosleep invocations.
86459 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
86461         Replace FSF snail mail address with URLs, as per GNU coding standards.
86462         Most of the snail mail addresses were wrong anyway, and omitting
86463         them makes the source code easier to maintain.  Almost all of the
86464         changes are to license notices and to locale LC_IDENTIFICATION
86465         addresses, except for this one:
86466         * manual/libc.texinfo: In "Published by", give the FSF's URL,
86467         not its snail mail address.
86469 2012-02-09  Richard Henderson  <rth@twiddle.net>
86471         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
86472         of kernel-features.h.
86474         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
86476 2012-02-08  Marek Polacek  <polacek@redhat.com>
86478         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
86479         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
86480         * sysdeps/gnu/_G_config.h: Likewise.
86481         * sysdeps/generic/_G_config.h: Likewise.
86483 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
86485         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
86486         tests.
86487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86489         * sysdeps/powerpc/powerpc32/crti.S: New file.
86490         * sysdeps/powerpc/powerpc32/crtn.S: New file.
86491         * sysdeps/powerpc/powerpc64/crti.S: New file.
86492         * sysdeps/powerpc/powerpc64/crtn.S: New file.
86494         * Makeconfig (have-initfini): Don't set.
86495         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
86496         * configure.in (nopic_initfini): Don't substitute.
86497         * config.h.in (HAVE_INITFINI): Don't #undef.
86498         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
86499         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
86501 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
86503         Support crti.S and crtn.S provided directly by architectures.
86504         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
86505         [crti.S in sysdirs] (omit-deps): Likewise.
86506         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
86507         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
86508         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
86509         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
86510         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
86511         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
86512         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
86513         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
86514         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
86515         compiler output for sysdeps/generic/initfini.c.
86516         * sysdeps/i386/elf/Makefile: Remove file.
86517         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
86519 2012-02-07  Marek Polacek  <polacek@redhat.com>
86521         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
86522         * sysdeps/gnu/_G_config.h: Likewise.
86523         * sysdeps/mach/hurd/_G_config.h: Likewise.
86525 2012-02-07  Marek Polacek  <polacek@redhat.com>
86527         * math/Makefile (tests): Add tst-CMPLX2.
86528         * math/tst-CMPLX2.c: New file.
86530 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
86532         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86534         * math/libm-test.inc (jn_test): Add missing L suffix.
86536 2012-02-06  Marek Polacek  <polacek@redhat.com>
86538         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
86539         * sysdeps/i386/fpu/e_powf.S: Likewise.
86540         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
86541         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
86542         * sysdeps/i386/fpu/e_acosh.S: Likewise.
86543         * sysdeps/i386/fpu/e_pow.S: Likewise.
86544         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
86545         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
86546         * sysdeps/i386/fpu/s_expm1.S: Likewise.
86547         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
86548         * sysdeps/i386/fpu/e_log2.S: Likewise.
86549         * sysdeps/i386/fpu/e_log2l.S: Likewise.
86550         * sysdeps/i386/fpu/e_scalb.S: Likewise.
86551         * sysdeps/i386/fpu/e_powl.S: Likewise.
86552         * sysdeps/i386/fpu/s_log1p.S: Likewise.
86553         * sysdeps/i386/fpu/e_log10f.S: Likewise.
86554         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
86555         * sysdeps/i386/fpu/e_logl.S: Likewise.
86556         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
86557         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
86558         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
86559         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
86560         * sysdeps/i386/fpu/e_log2f.S: Likewise.
86561         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
86562         * sysdeps/i386/fpu/e_log.S: Likewise.
86563         * sysdeps/i386/fpu/s_cexp.S: Likewise.
86564         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
86565         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
86566         * sysdeps/i386/fpu/e_logf.S: Likewise.
86567         * sysdeps/i386/fpu/e_log10l.S: Likewise.
86568         * sysdeps/i386/fpu/e_atanh.S: Likewise.
86569         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
86570         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
86571         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
86572         * sysdeps/i386/fpu/e_log10.S: Likewise.
86573         * sysdeps/i386/fpu/s_frexp.S: Likewise.
86574         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
86575         * sysdeps/i386/fpu/s_asinh.S: Likewise.
86576         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
86577         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
86578         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
86579         * sysdeps/i386/asm-syntax.h: Likewise.
86580         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
86581         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
86582         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
86583         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
86584         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
86585         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
86586         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
86587         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
86588         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
86589         * sysdeps/powerpc/sysdep.h: Likewise.
86590         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
86591         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
86593 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
86595         [BZ #411]
86596         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
86598 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
86600         * sysdeps/i386/sysdep.h: Include <features.h>.
86601         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
86602         version.
86604 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
86606         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
86607         Define.
86608         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
86609         LOAD_PIC_REG_STR.
86611 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86613         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
86614         (SETUP_PIC_REG): Use GET_PC_THUNK.
86615         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
86616         macro.
86618 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86620         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
86621         for non-PIC compilation.
86622         (SETUP_PIC_REG): Add .p2align directive.
86623         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
86624         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
86625         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
86626         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
86627         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
86628         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
86629         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
86630         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86631         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
86632         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
86633         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
86634         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
86635         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
86636         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
86637         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
86638         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
86639         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
86640         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
86641         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
86642         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
86643         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
86644         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
86645         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
86646         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
86647         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
86648         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
86649         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86650         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
86651         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
86652         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
86653         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
86654         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
86655         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
86656         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
86657         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
86658         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
86659         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
86660         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
86661         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
86662         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
86663         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
86665 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86667         * math/tst-CMPLX.c: Include <stdio.h>.
86669 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
86671         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
86672         float.
86673         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86674         * sysdeps/sparc/bits/mathdef.h: Likewise.
86676 2012-01-31  Marek Polacek  <polacek@redhat.com>
86678         * libio/libio.h: Don't define _PARAMS.
86679         * locale/programs/config.h: Don't define PARAMS.
86680         * stdlib/strtol_l.c: Likewise.
86681         (__strtol_l): Remove PARAMS from the prototype.
86683 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
86685         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
86686         names.  Just use the correct names.  Remove unnecessary wrapper
86687         functions.
86688         * malloc/arena.c: Likewise.
86689         * malloc/hooks.c: Likewise.
86691         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
86692         ARENA_TEST says not to.  Simplify test for creation of a new arena.
86693         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
86695 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
86697         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
86698         into tail calls.
86699         (update_get_addr): New function.
86700         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
86701         GET_ADDR_MODULE parameter.
86703 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
86705         * crypt/cert.c: Remove __STDC__ conditionals.
86706         * crypt/crypt-entry.c: Likewise.
86707         * crypt/crypt_util.c: Likewise.
86708         * libio/filedoalloc.c: Likewise.
86709         * libio/fileops.c: Likewise.
86710         * libio/genops.c: Likewise.
86711         * libio/iofclose.c: Likewise.
86712         * libio/iofdopen.c: Likewise.
86713         * libio/iofopen.c: Likewise.
86714         * libio/iofopen64.c: Likewise.
86715         * libio/iogetdelim.c: Likewise.
86716         * libio/iopopen.c: Likewise.
86717         * libio/obprintf.c: Likewise.
86718         * libio/oldfileops.c: Likewise.
86719         * libio/oldiofclose.c: Likewise.
86720         * libio/oldiofdopen.c: Likewise.
86721         * libio/oldiofopen.c: Likewise.
86722         * libio/oldiopopen.c: Likewise.
86723         * libio/wfiledoalloc.c: Likewise.
86724         * libio/wgenops.c: Likewise.
86725         * locale/programs/xmalloc.c: Likewise.
86726         * misc/syslog.c: Likewise.
86727         * stdio-common/xbug.c: Likewise.
86728         * string/memchr.c: Likewise.
86729         * string/memcmp.c: Likewise.
86730         * string/memrchr.c: Likewise.
86731         * string/rawmemchr.c: Likewise.
86732         * sysdeps/posix/getcwd.c: Likewise.
86733         * time/strftime_l.c: Likewise.
86735 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
86737         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
86738         * config.make.in (config-cflags-sse2avx): Define.
86739         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
86740         Fix typo.
86742 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
86744         * scripts/config.guess: Update from upstream config git repository.
86745         * scripts/config.sub: Likewise.
86747 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
86749         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
86750         (EM_NUM): Update.
86751         (R_TILEPRO_*, R_TILEGX_*): New macros.
86753         * scripts/firstversions.awk: Fix bug in version range handling.
86755         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
86757         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
86759         * include/sys/epoll.h: New file.
86760         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
86761         libc_hidden_def.
86763 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
86765         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
86766         Avoid unnecessary __WORDSIZE == 64 test.
86767         (fmaxf): Use VEX format if possible.
86768         (fmax): Likewise.
86769         (fminf): Likewise.
86770         (fmin): Likewise.
86772         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
86773         * math/math_private.h: Remove libc_fegetround* and
86774         libc_fesetround*.
86775         * sysdeps/i386/configure.in: Check for -msse2avx.
86776         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
86777         also if SSE2AVX is defined.
86778         Remove libc_fegetround* and libc_fesetround*.
86779         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
86780         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
86781         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
86782         of HAS_YMM_USABLE.
86783         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86784         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86785         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86786         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86787         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86789         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
86791 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86793         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
86794         size is not set.
86795         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86797 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
86799         [BZ #13618]
86800         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
86801         relocation.
86802         * Makeconfig (libm): Define.
86803         * elf/Makefile: Add rules to build and run tst-relsort1.
86804         * elf/tst-relsort1.c: New file.
86805         * elf/tst-relsort1mod1.c: New file.
86806         * elf/tst-relsort1mod2.c: New file.
86808 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
86810         * math/s_ldexp.c: Remove __STDC__ conditionals.
86811         * math/s_ldexpf.c: Likewise.
86812         * math/s_ldexpl.c: Likewise.
86813         * math/s_nextafter.c: Likewise.
86814         * math/s_nexttowardf.c: Likewise.
86815         * math/s_significand.c: Likewise.
86816         * math/s_significandf.c: Likewise.
86817         * math/s_significandl.c: Likewise.
86818         * math/w_jnl.c: Likewise.
86819         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86820         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86821         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86822         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86823         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86824         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86825         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
86826         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86827         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86828         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86829         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86830         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86831         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86832         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86833         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86834         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86835         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86836         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86837         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86838         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86839         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86840         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86841         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86842         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86843         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86844         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86845         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86846         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86847         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86848         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86849         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86850         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86851         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86852         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86853         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86854         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86855         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86856         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86857         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86858         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86859         * sysdeps/ieee754/k_standard.c: Likewise.
86860         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86861         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86862         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86863         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86864         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86865         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86866         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86867         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86868         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86869         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86870         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86871         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86872         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86873         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86874         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86875         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86876         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86877         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86878         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86879         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86880         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86881         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86882         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86883         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86884         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86885         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86886         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86887         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86888         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86889         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86890         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86891         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
86892         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86893         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86894         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86895         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86896         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
86897         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86898         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86899         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
86900         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
86901         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86902         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
86903         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
86904         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86905         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
86906         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
86907         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86908         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86909         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
86910         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
86911         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86912         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86913         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86914         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86915         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86916         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
86917         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86918         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86919         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86920         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86921         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86922         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86923         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86924         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86925         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86926         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86927         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86928         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86929         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86930         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86931         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86932         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86933         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86934         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86935         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86936         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86937         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86938         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86939         * sysdeps/ieee754/s_matherr.c: Likewise.
86940         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86941         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86942         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86943         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86945 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86947         * crypt/md5.h: Remove __STDC__ conditionals.
86948         * libio/libioP.h: Likewise.
86949         * locale/programs/config.h: Likewise.
86950         * sysdeps/generic/sysdep.h: Likewise.
86951         * sysdeps/i386/asm-syntax.h: Likewise.
86952         * sysdeps/s390/asm-syntax.h: Likewise.
86953         * sysdeps/unix/sysdep.h: Likewise.
86954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
86955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
86957 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86959         * libio/libio.h: Remove __STDC__ conditionals.
86960         * malloc/obstack.h: Likewise.
86961         * math/complex.h: Likewise.
86962         * math/math.h: Likewise.
86963         * sysdeps/generic/_G_config.h: Likewise.
86964         * sysdeps/gnu/_G_config.h: Likewise.
86965         * sysdeps/mach/hurd/_G_config.h: Likewise.
86966         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86967         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86968         * sysdeps/sparc/bits/mathdef.h: Likewise.
86970 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
86972         [BZ #13583]
86973         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
86974         Clean up HAS_* macros.
86975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
86976         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
86977         possible.
86978         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
86979         HAS_AVX.
86980         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86981         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86982         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86983         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86984         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86986 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
86988         * elf/tst-unique3.cc (gets): Remove declaration.
86989         * elf/tst-unique3lib.cc (gets): Likewise.
86990         * elf/tst-unique3lib2.cc (gets): Likewise.
86991         * elf/tst-unique4.cc (gets): Likewise.
86993 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
86995         * include/stdio.h: Add C++ protection.  Add gets declarations and
86996         definitions.
86997         * debug/tst-chk1.c: Don't declare gets here.
86998         * stdio-common/tst-gets.c: Likewise.
87000 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87002         * posix/glob: Remove directory.
87004 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87006         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
87008 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
87010         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
87011         of the non-standard EPFNOSUPPORT.
87013 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87015         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
87016         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
87017         ANYWHERE set to 1 only on KERN_NO_SPACE error.
87019 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
87021         * wcsmbs/uchar.h: Test __STDC_VERSION__.
87023 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
87025         * nscd/aicache.c (addhstaiX): Do not cache negative results of
87026         transient errors.
87027         * nscd/grpcache.c (cache_addgr): Likewise.
87028         * nscd/hstcache.c (cache_addhst): Likewise.
87029         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87030         * nscd/pwdcache.c (cache_addpw): Likewise.
87031         * nscd/servicescache.c (cache_addserv): Likewise.
87033 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
87035         * malloc/malloc.c: Various cleanups.
87036         * malloc/hooks.c: Likewise.
87038         * stdlib/Makefile (tests): Add bug-fmtmsg1.
87039         * stdlib/bug-fmtmsg1.c: New file.
87041         * stdlib/fmtmsg.c (init): Add missing unlock.
87042         Patch by Peng Haitao <penght@cn.fujitsu.com>.
87044 2012-01-12  Marek Polacek  <polacek@redhat.com>
87046         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
87047         and _GNU_SOURCE.
87049 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
87051         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
87052         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
87053         macro to ensure uniqueness of label name.
87054         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87055         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87057 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
87059         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
87061         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
87062         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87063         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87064         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
87066 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
87068         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
87070         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
87071         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87072         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87074         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
87076         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
87077         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87078         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87079         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
87081         * math/bits/math-finite.h: Add ldexp support.
87083 2012-01-10  Marek Polacek  <polacek@redhat.com>
87085         * locale/programs/localedef.h (show_archive_content): Add noreturn
87086         attribute.
87088 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
87090         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
87092 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87094         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
87096         * io/Makefile (headers): Add bits/poll2.h.
87098 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
87100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
87101         typo #include statement.
87103 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87105         * include/sys/cdefs.h: Define __attribute_alloc_size.
87106         * catgets/gencat.c: Add alloc_size attribute and apply consistently
87107         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
87108         * elf/pldd.c: Likewise.
87109         * iconv/iconv_charmap.c: Likewise.
87110         * iconv/iconvconfig.c: Likewise.
87111         * iconv/strtab.c: Likewise.
87112         * locale/programs/locale.c: Likewise.
87113         * locale/programs/localedef.h: Likewise.
87114         * locale/programs/simple-hash.c: Likewise.
87115         * nscd/nscd.h: Likewise.
87116         * nss/makedb.c: Likewise.
87117         * sysdeps/generic/ldconfig.h: Likewise.
87118         * locale/programs/localedef.c: Remove xmalloc prototype.
87119         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
87121 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87123         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
87124         appropriate.
87126 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87128         * math/Makefile (tests): Add tst-CMPLX.
87129         * math/tst-CMPLX.c: New file.
87131         * math/complex.h (CMPLXL): Fix typo.
87133         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
87134         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
87135         GLIBC_2.16.
87136         * debug/tst-chk1.c: Add poll and ppoll tests.
87137         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
87138         * include/sys/poll.h: Add hidden proto for ppoll.
87139         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
87140         * sysdeps/mach/hurd/ppoll.c: Likewise.
87141         * io/ppoll.c: Likewise.
87142         * debug/poll_chk.c: New file.
87143         * debug/ppoll_chk.c: New file.
87144         * include/bits/poll2.h: New file.
87145         * io/bits/poll2.h: New file.
87147         [BZ #1350]
87148         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
87150         * configure.in: static is always set to yes.  Remove.
87151         * config.make.in: Don't set build-static.
87152         * Makeconfig: Remove use of build-static.
87153         * dlfcn/Makefile: Likewise.
87154         * elf/Makefile: Likewise.
87155         * math/Makefile: Likewise.
87156         * misc/Makefile: Likewise.
87157         * nptl/Makefile: Likewise.
87158         * sysdeps/mach/hurd/Makefile: Likewise.
87160         * configure.in: PWD_P is not used anymore.
87161         * config.make.in: Remove PWD_P entry.
87163         * configure.in: Remove last remnants of RANLIB.
87164         No need to check for signed size_t anymore.
87165         Don't set libc_commonpagesize and libc_relro_required here for Alpha
87166         and IA-64.
87167         Remove __builtin_expect test because we require at least gcc 3.4.
87168         * aclocal.m4: Likewise.
87170         * wcsmbs/mbrtoc16.c: Implement using towc function.
87171         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
87172         * wcsmbs/wcsmbsload.c: Likewise.
87173         * iconv/gconv_simple.c: Likewise.
87174         * iconv/gconv_int.h: Likewise.
87175         * iconv/gconv_builtin.h: Likewise.
87176         * iconv/iconv_prog.c: Remove CHAR16 handling.
87178         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
87180         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
87182         * configure.in: Remove --with-elf and --enable-bounded options.
87183         Dont set base_machine for ia64.  More non-ELF conditions removed.
87184         Remove testing and setting of leading underscore information.
87185         * config.make.in (build-bounded): Set to no.
87186         * config.h.in: Remove NO_UNDERSCORES entry.
87187         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
87188         them.
87189         * csu/start.c: Remove !NO_UNDERSCORE code.
87190         * locale/localeinfo.h: Likewise.
87191         * sysdeps/generic/machine-gmon.h: Likewise.
87192         * sysdeps/generic/sysdep.h: Likewise.
87193         * sysdeps/i386/sysdep.h: Likewise.
87194         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87195         * sysdeps/mach/sysdep.h: Likewise.
87196         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87197         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87198         * sysdeps/sh/sysdep.h: Likewise.
87199         * sysdeps/sparc/sparc32/alloca.S: Likewise.
87200         * sysdeps/unix/i386/sysdep.S: Likewise.
87201         * sysdeps/unix/sparc/start.c: Likewise.
87202         * sysdeps/unix/sparc/sysdep.S: Likewise.
87203         * sysdeps/unix/sparc/sysdep.h: Likewise.
87204         * sysdeps/unix/start.c: Likewise.
87205         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87206         * sysdeps/x86_64/sysdep.h: Likewise.
87208 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
87210         [BZ #13553]
87211         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
87212         for non-gcc.
87213         * argp/argp-fmtstream.h: Use const instead __const.
87214         * argp/argp.h: Likewise.
87215         * assert/assert.h: Likewise.
87216         * bits/fenv.h: Likewise.
87217         * bits/sched.h: Likewise.
87218         * bits/sigset.h: Likewise.
87219         * bits/sigthread.h: Likewise.
87220         * catgets/nl_types.h: Likewise.
87221         * conform/data/pthread.h-data: Likewise.
87222         * crypt/crypt-private.h: Likewise.
87223         * crypt/crypt.h: Likewise.
87224         * crypt/crypt_util.c: Likewise.
87225         * ctype/ctype.h: Likewise.
87226         * debug/execinfo.h: Likewise.
87227         * debug/mbsnrtowcs_chk.c: Likewise.
87228         * debug/mbsrtowcs_chk.c: Likewise.
87229         * debug/wcsnrtombs_chk.c: Likewise.
87230         * debug/wcsrtombs_chk.c: Likewise.
87231         * debug/wcstombs_chk.c: Likewise.
87232         * dirent/dirent.h: Likewise.
87233         * dlfcn/dlfcn.h: Likewise.
87234         * elf/neededtest4.c: Likewise.
87235         * grp/grp.h: Likewise.
87236         * gshadow/gshadow.h: Likewise.
87237         * iconv/gconv.h: Likewise.
87238         * iconv/gconv_int.h: Likewise.
87239         * iconv/gconv_simple.c: Likewise.
87240         * iconv/iconv.h: Likewise.
87241         * iconv/loop.c: Likewise.
87242         * iconv/skeleton.c: Likewise.
87243         * include/aio.h: Likewise.
87244         * include/aliases.h: Likewise.
87245         * include/argz.h: Likewise.
87246         * include/arpa/inet.h: Likewise.
87247         * include/assert.h: Likewise.
87248         * include/dirent.h: Likewise.
87249         * include/dlfcn.h: Likewise.
87250         * include/execinfo.h: Likewise.
87251         * include/fcntl.h: Likewise.
87252         * include/fenv.h: Likewise.
87253         * include/glob.h: Likewise.
87254         * include/grp.h: Likewise.
87255         * include/libintl.h: Likewise.
87256         * include/mntent.h: Likewise.
87257         * include/netdb.h: Likewise.
87258         * include/pwd.h: Likewise.
87259         * include/rpc/netdb.h: Likewise.
87260         * include/sched.h: Likewise.
87261         * include/search.h: Likewise.
87262         * include/shadow.h: Likewise.
87263         * include/signal.h: Likewise.
87264         * include/stdio.h: Likewise.
87265         * include/stdlib.h: Likewise.
87266         * include/string.h: Likewise.
87267         * include/sys/socket.h: Likewise.
87268         * include/sys/stat.h: Likewise.
87269         * include/sys/statfs.h: Likewise.
87270         * include/sys/statvfs.h: Likewise.
87271         * include/sys/syslog.h: Likewise.
87272         * include/sys/time.h: Likewise.
87273         * include/sys/uio.h: Likewise.
87274         * include/time.h: Likewise.
87275         * include/unistd.h: Likewise.
87276         * include/utmp.h: Likewise.
87277         * include/wchar.h: Likewise.
87278         * include/wctype.h: Likewise.
87279         * inet/aliases.h: Likewise.
87280         * inet/arpa/inet.h: Likewise.
87281         * inet/netinet/ether.h: Likewise.
87282         * inet/netinet/in.h: Likewise.
87283         * intl/libintl.h: Likewise.
87284         * io/bits/fcntl2.h: Likewise.
87285         * io/fcntl.h: Likewise.
87286         * io/ftw.h: Likewise.
87287         * io/sys/poll.h: Likewise.
87288         * io/sys/stat.h: Likewise.
87289         * io/sys/statfs.h: Likewise.
87290         * io/sys/statvfs.h: Likewise.
87291         * io/utime.h: Likewise.
87292         * libio/bits/stdio.h: Likewise.
87293         * libio/bits/stdio2.h: Likewise.
87294         * libio/libio.h: Likewise.
87295         * libio/libioP.h: Likewise.
87296         * libio/stdio.h: Likewise.
87297         * locale/lc-ctype.c: Likewise.
87298         * locale/locale.h: Likewise.
87299         * login/utmp.h: Likewise.
87300         * malloc/arena.c: Likewise.
87301         * malloc/malloc.c: Likewise.
87302         * malloc/malloc.h: Likewise.
87303         * malloc/mcheck.c: Likewise.
87304         * malloc/mtrace.c: Likewise.
87305         * math/bits/mathcalls.h: Likewise.
87306         * math/fenv.h: Likewise.
87307         * math/math_private.h: Likewise.
87308         * misc/bits/error.h: Likewise.
87309         * misc/bits/syslog.h: Likewise.
87310         * misc/err.h: Likewise.
87311         * misc/error.h: Likewise.
87312         * misc/fstab.h: Likewise.
87313         * misc/mntent.h: Likewise.
87314         * misc/regexp.h: Likewise.
87315         * misc/search.h: Likewise.
87316         * misc/sgtty.h: Likewise.
87317         * misc/sys/mman.h: Likewise.
87318         * misc/sys/syslog.h: Likewise.
87319         * misc/sys/uio.h: Likewise.
87320         * misc/sys/xattr.h: Likewise.
87321         * misc/ttyent.h: Likewise.
87322         * nis/rpcsvc/ypclnt.h: Likewise.
87323         * nss/nss.h: Likewise.
87324         * posix/bits/unistd.h: Likewise.
87325         * posix/fnmatch.h: Likewise.
87326         * posix/glob.h: Likewise.
87327         * posix/sched.h: Likewise.
87328         * posix/spawn.h: Likewise.
87329         * posix/sys/wait.h: Likewise.
87330         * posix/unistd.h: Likewise.
87331         * posix/wordexp.h: Likewise.
87332         * pwd/pwd.h: Likewise.
87333         * resolv/netdb.h: Likewise.
87334         * resource/sys/resource.h: Likewise.
87335         * rt/aio.h: Likewise.
87336         * rt/bits/mqueue2.h: Likewise.
87337         * rt/mqueue.h: Likewise.
87338         * shadow/shadow.h: Likewise.
87339         * signal/signal.h: Likewise.
87340         * socket/send.c: Likewise.
87341         * socket/sendto.c: Likewise.
87342         * socket/sys/socket.h: Likewise.
87343         * stdio-common/printf.h: Likewise.
87344         * stdlib/bits/stdlib.h: Likewise.
87345         * stdlib/fmtmsg.h: Likewise.
87346         * stdlib/monetary.h: Likewise.
87347         * stdlib/stdlib.h: Likewise.
87348         * stdlib/ucontext.h: Likewise.
87349         * streams/stropts.h: Likewise.
87350         * string/argz.h: Likewise.
87351         * string/bits/string2.h: Likewise.
87352         * string/string.h: Likewise.
87353         * string/strings.h: Likewise.
87354         * sunrpc/rpc/auth.h: Likewise.
87355         * sunrpc/rpc/auth_des.h: Likewise.
87356         * sunrpc/rpc/clnt.h: Likewise.
87357         * sunrpc/rpc/netdb.h: Likewise.
87358         * sunrpc/rpc/pmap_clnt.h: Likewise.
87359         * sunrpc/rpc/xdr.h: Likewise.
87360         * sysdeps/generic/inttypes.h: Likewise.
87361         * sysdeps/generic/net/if.h: Likewise.
87362         * sysdeps/generic/sys/swap.h: Likewise.
87363         * sysdeps/gnu/net/if.h: Likewise.
87364         * sysdeps/gnu/utmpx.h: Likewise.
87365         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
87366         * sysdeps/i386/i486/bits/string.h: Likewise.
87367         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
87368         * sysdeps/s390/bits/string.h: Likewise.
87369         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
87370         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
87371         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
87372         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
87373         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
87374         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
87375         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
87376         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
87377         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
87378         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
87379         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
87380         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
87381         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
87382         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
87383         * sysdeps/unix/sysv/linux/readv.c: Likewise.
87384         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
87385         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
87386         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87387         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
87388         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
87389         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87390         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
87391         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
87392         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
87393         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
87394         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
87395         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
87396         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87397         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
87398         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
87399         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
87400         * sysvipc/sys/ipc.h: Likewise.
87401         * sysvipc/sys/msg.h: Likewise.
87402         * sysvipc/sys/sem.h: Likewise.
87403         * sysvipc/sys/shm.h: Likewise.
87404         * termios/termios.h: Likewise.
87405         * time/sys/time.h: Likewise.
87406         * time/time.h: Likewise.
87407         * wcsmbs/bits/wchar2.h: Likewise.
87408         * wcsmbs/uchar.h: Likewise.
87409         * wcsmbs/wchar.h: Likewise.
87410         * wctype/wctype.h: Likewise.
87412         [BZ #13551]
87413         * Makeconfig: Remove all but ELF support including AIX support.
87414         * Makerules: Likewise.
87415         * config.h.in: Likewise.
87416         * config.make.in: Likewise.
87417         * configure: Likewise.
87418         * configure.in: Likewise.
87419         * csu/Makefile: Likewise.
87420         * csu/version.c: Likewise.
87421         * debug/Makefile: Likewise.
87422         * dlfcn/Makefile: Likewise.
87423         * elf/Makefile: Likewise.
87424         * extra-lib.mk: Likewise.
87425         * iconv/Makefile: Likewise.
87426         * include/libc-symbols.h: Likewise.
87427         * include/shlib-compat.h: Likewise.
87428         * resolv/Makefile: Likewise.
87429         * resolv/res_libc.c: Likewise.
87430         * rt/Makefile: Likewise.
87431         * sysdeps/i386/asm-syntax.h: Likewise.
87432         * sysdeps/i386/sysdep.h: Likewise.
87433         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87434         * sysdeps/mach/sysdep.h: Likewise.
87435         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
87436         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
87437         * sysdeps/s390/asm-syntax.h: Likewise.
87438         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87439         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87440         * sysdeps/sh/sysdep.h: Likewise.
87441         * sysdeps/unix/sparc/sysdep.h: Likewise.
87442         * sysdeps/wordsize-32/divdi3.c: Likewise.
87443         * sysdeps/x86_64/sysdep.h: Likewise.
87445         * argp/Versions: Remove _argp_unlock_xxx.
87447         [BZ #13559]
87448         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
87449         * abilist/libBrokenLocale.abilist: Likewise.
87450         * abilist/libanl.abilist: Likewise.
87451         * abilist/libc.abilist: Likewise.
87452         * abilist/libcrypt.abilist: Likewise.
87453         * abilist/libdl.abilist: Likewise.
87454         * abilist/libm.abilist: Likewise.
87455         * abilist/libnsl.abilist: Likewise.
87456         * abilist/libpthread.abilist: Likewise.
87457         * abilist/libresolv.abilist: Likewise.
87458         * abilist/librt.abilist: Likewise.
87459         * abilist/libthread_db.abilist: Likewise.
87460         * abilist/libutil.abilist: Likewise.
87461         * abilist/libnss_db.abilist: New file.
87463         * scripts/abilist.awk: Add support for indirect functions.
87465         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
87467         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
87469         * shlib-versions: Remove entries for ports architectures.
87471         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
87472         files in ports.
87473         * elf/stackguard-macros.h: Remove support for IA-64.
87474         * elf/tst-auditmod1.c: Likewise.
87475         * sysdeps/generic/ldsodefs.h: Likewise.
87477         * sysdeps/unix/sysv/linux/configure.in: Ports should define
87478         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
87479         configure files.
87481         [BZ #13552]
87482         * configure.in: Remove --enable-omitfp support.
87483         * FAQ.in: Adjust.
87484         * config.make.in: Likewise.
87485         * Makeconfig: Likewise.
87486         * manual/install.texi: Likewise.
87488         In case anyone cares, the IA-64 architecture could move to ports.
87489         * sysdeps/ia64/*: Removed.
87490         * sysdeps/unix/sysv/linux/ia64/*: Removed.
87491         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
87493         [BZ #13555]
87494         * configure.in: Remove entries for unsupported architectures.
87496         [BZ #13533]
87497         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
87498         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
87499         routines.
87500         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
87501         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
87502         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
87503         fall back to using wcrtomb.
87504         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
87505         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
87506         renaming.
87507         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
87508         * wcsmbs/tst-c16c32-1.c: New file.
87510         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
87511         local variable.
87513         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
87515         * elf/tst-unique3.cc: Add explicit declaration of gets.
87516         * elf/tst-unique3lib.cc: Likewise.
87517         * elf/tst-unique3lib2.cc: Likewise.
87518         * elf/tst-unique4.cc: Likewise.
87520         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
87522 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
87524         [BZ #13566]
87525         * assert/assert.h (static_assert): Don't define for C++.
87526         * libio/stdio.h (gets): Do declare for C++ <= C++11.
87527         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
87529 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
87531         * iconv/loop.c (single loop): Fix assertion in storing of
87532         remaining bytes.
87534         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
87536 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
87538         * posix/getconf.c: Update copyright year.
87539         * nss/getent.c: Likewise.
87540         * nss/makedb.c: Likewise.
87541         * iconv/iconvconfig.c: Likewise.
87542         * iconv/iconv_prog.c: Likewise.
87543         * elf/ldconfig.c: Likewise.
87544         * elf/pldd.c: Likewise.
87545         * elf/sotruss.ksh: Likewise.
87546         * catgets/gencat.c: Likewise.
87547         * csu/version.c: Likewise.
87548         * elf/ldd.bash.in: Likewise.
87549         * elf/sprof.c (print_version): Likewise.
87550         * locale/programs/locale.c: Likewise.
87551         * locale/programs/localedef.c: Likewise.
87552         * login/programs/pt_chown.c: Likewise.
87553         * nscd/nscd.c (print_version): Likewise.
87554         * debug/xtrace.sh: Likewise.
87555         * malloc/memusage.sh: Likewise.
87556         * malloc/mtrace.pl: Likewise.
87557         * debug/catchsegv.sh: Likewise.
87559 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
87561         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
87562         pure attribute.
87564 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
87566         [BZ #13533]
87567         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
87568         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
87569         transformations.
87570         * iconv/gconv_int.h: Likewise.
87571         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
87572         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
87573         from libc for GLIBC_2.16.
87574         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
87575         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
87576         * wcsmbs/uchar.h: Really define mbstate_t.
87577         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
87578         * wcsmbs/c16rtomb.c: New file.
87579         * wcsmbs/mbrtoc16.c: New file.
87580         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
87581         for C/POSIX locale.
87582         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
87583         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
87585         * wcsmbs/wchar.h: Add missing __restrict.
87587 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
87589         [BZ #13532]
87590         * time/Makefile (routines): Add timespec_get.
87591         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
87592         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
87593         timespec for ISO C11.
87594         * time/timespec_get.c: New file.
87595         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
87596         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
87598         [BZ #13531]
87599         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
87600         * stdlib/stdlib.h: Declare aligned_alloc.
87601         * Versions.def: Add GLIBC_2.16 for libc.
87602         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
87604         [BZ 13527]
87605         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
87606         ISO C11.
87608         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
87609         code.
87611         [BZ #13528]
87612         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
87614         [BZ #13529]
87615         * assert/assert.h (static_assert): Define.
87617         * version.h: Update for 2.16 development version.
87619         [BZ #13526]
87620         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
87621         _ISOC11_SOURCE.
87623         * version.h (RELEASE): Bump for 2.15 release.
87624         * include/features.h (__GLIBC_MINOR__): Bump to 15.
87626         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
87627         Patch by Marek Polacek <mpolacek@redhat.com>.
87629         * bits/byteswap.h: Protect long long constants with __extension__.
87630         * sysdeps/i386/bits/byteswap.h: Likewise.
87631         * sysdeps/ia64/bits/byteswap.h: Likewise.
87632         * sysdeps/s390/bits/byteswap.h: Likewise.
87633         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87635 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87637         [BZ #13540]
87638         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
87639         destination buffer.
87640         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
87642 2011-12-23  Marek Polacek  <polacek@redhat.com>
87644         * elf/dl-addr.c (determine_info): Add inline keyword.
87645         * elf/tst-auditmod4b.c (check_avx): Likewise.
87646         * elf/tst-auditmod6b.c (check_avx): Likewise.
87647         * elf/tst-auditmod6c.c (check_avx): Likewise.
87648         * elf/tst-auditmod7b.c (check_avx): Likewise.
87650 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
87652         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
87653         !__SSE_MATH__.
87655 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87657         [BZ #13540]
87658         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
87659         processing for last bytes.
87661 2011-08-06  Bruno Haible  <bruno@clisp.org>
87663         [BZ #13061]
87664         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
87665         U+0385, not to U+1FEE.
87667         [BZ #13062]
87668         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
87669         entry for U+00A5 U+0301.
87671 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
87673         [BZ #13166]
87674         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
87675         buffer for the output is too small.
87677         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
87678         optimization.
87680         [BZ #13185]
87681         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
87682         SSE flags if possible.
87684 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87686         [BZ #13540]
87687         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
87688         processing for last bytes.
87690 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
87692         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
87693         (syscall-list-default-options, syscall-list-default-condition)
87694         (syscall-list-includes): Define.
87695         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
87696         list of ABIs and options and #if conditions for each ABI.  Do not
87697         handle common syscalls between ABIs specially.
87698         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
87699         Remove.
87700         (syscall-list-variants, syscall-list-32bit-options)
87701         (syscall-list-32bit-condition, syscall-list-64bit-options)
87702         (syscall-list-64bit-condition): Define.
87703         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
87704         (syscall-list-variants, syscall-list-32bit-options)
87705         (syscall-list-32bit-condition, syscall-list-64bit-options)
87706         (syscall-list-64bit-condition): Define.
87707         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
87708         Remove.
87709         (syscall-list-variants, syscall-list-32bit-options)
87710         (syscall-list-32bit-condition, syscall-list-64bit-options)
87711         (syscall-list-64bit-condition): Define.
87712         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
87713         Remove.
87714         (syscall-list-variants, syscall-list-32bit-options)
87715         (syscall-list-32bit-condition, syscall-list-64bit-options)
87716         (syscall-list-64bit-condition): Define.
87718 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
87720         * locale/iso-639.def: Add brx entry.
87722         [BZ #13328]
87723         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
87724         Proposed by Mariusz_Cukr <marcukr@op.pl>.
87726         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
87727         __feraiseexcept_renamed.
87729 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
87731         [BZ #13538]
87732         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
87733         EPOLLET with unsigned values.
87734         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87735         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87737         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
87738         to large cancellation.
87739         * math/s_cacoshf.c: Likewise.
87740         * math/s_cacoshl.c: Likewise.
87742 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
87744         [BZ #13305]
87745         [BZ #12786]
87746         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
87747         * math/s_cacoshf.c: Likewise.
87748         * math/s_cacoshl.c: Likewise.
87750 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
87752         [BZ #13439]
87753         * iconv/gconv.h: Define __GCONV_SWAP.
87754         * iconvdata/unicode.c: The swap bit must be stored in __flags.
87755         * iconvdata/utf-16.c: Likewise.
87756         * iconvdata/utf-32.c: Likewise.
87758 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
87760         [BZ #13524]
87761         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
87762         numerator after shifting it by one limb.
87764 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
87766         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
87767         under [__USE_EXTERN_INLINES].
87769 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
87771         [BZ #13446]
87772         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
87774 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87776         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
87777         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
87778         optimized code.
87779         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
87780         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
87781         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
87782         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
87783         for strncasecmp/strncasecmp_l compilation.
87784         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
87785         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
87787 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
87789         [BZ #13484]
87790         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
87791         of __asm__.
87793 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
87795         [BZ #13506]
87796         * time/tzfile.c (__tzfile_read): Check values from file header.
87798 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
87800         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
87801         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
87802         * powerpc/powerpc32/dl-start.S: Likewise.
87803         * powerpc/powerpc32/elf/start.S: Likewise.
87804         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
87805         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
87806         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
87807         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
87808         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
87809         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
87810         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
87811         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
87812         * powerpc/powerpc32/fpu/s_round.S: Likewise.
87813         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
87814         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
87815         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
87816         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
87817         * powerpc/powerpc32/memset.S: Likewise.
87818         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
87819         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
87820         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
87821         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
87822         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
87823         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
87824         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
87825         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
87826         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
87827         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
87828         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
87829         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87830         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87832 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87834         * math/libm-test.inc: Added more nearbyint tests.
87835         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
87836         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
87837         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
87838         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
87840 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
87842         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
87843         FD_CLOEXEC.
87845 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87847         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
87848         Add wcscpy-ssse3 wcscpy-c.
87849         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
87850         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
87851         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
87852         * sysdeps/x86_64/wcschr.S: New file.
87853         * sysdeps/x86_64/wcsrchr.S: New file.
87854         * string/test-strcmp.c: Remove checking of wcscmp function for
87855         wrong alignments.
87856         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
87857         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
87858         wcsrchr-sse2 wcsrchr-c.
87859         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
87860         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
87861         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
87862         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
87863         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
87864         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
87865         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
87866         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
87867         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
87868         * wcsmbc/wcschr.c (WCSCHR): New macro.
87870 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87872         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
87873         * wcsmbs/test-wcsrchr.c: New file.
87874         * string/test-strrchr.c: Add wcsrchr support.
87875         (WIDE): New macro.
87876         * wcsmbs/test-wcscpy.c: New file.
87877         * string/test-strcpy.c: Add wcscpy support.
87878         (WIDE): New macro.
87880 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
87882         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
87883         the inner loop.
87885 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
87887         [BZ #13472]
87888         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
87890 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
87892         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
87893         Minor optimizations.
87895         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
87896         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
87897         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
87899 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
87901         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
87902         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
87903         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
87904         for gcc to avoid warnings.
87905         * inet/Makefile (tests): Add tst-checks.
87906         * inet/tst-checks.c: New file.
87908         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
87909         warning.
87911         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
87912         __wmemcmp_sse2.
87914         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
87915         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
87917         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
87919 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
87921         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
87922         problem.
87924         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
87926 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
87928         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
87929         conditional on GCC version.
87930         (__arch_compare_and_exchange_val_8_acq)
87931         (__arch_compare_and_exchange_val_16_acq)
87932         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
87933         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
87934         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
87936 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
87938         * sysdeps/sh/backtrace.c: New file.
87940 2011-12-02  Andreas Schwab  <schwab@redhat.com>
87942         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
87943         parenthesis.
87945 2011-12-01  Andreas Schwab  <schwab@redhat.com>
87947         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
87948         falling back to utime.
87950 2011-11-30  Andreas Schwab  <schwab@redhat.com>
87952         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
87953         expectations for float.
87955 2011-11-29  Andreas Schwab  <schwab@redhat.com>
87957         * locale/weight.h (findidx): Add parameter len.
87958         * locale/weightwc.h (findidx): Likewise.
87959         * posix/fnmatch_loop.c (FCT): Adjust caller.
87960         * posix/regcomp.c (build_equiv_class): Likewise.
87961         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
87962         * posix/regexec.c (check_node_accept_bytes): Likewise.
87963         * string/strcoll_l.c (STRCOLL): Likewise.
87964         * string/strxfrm_l.c (STRXFRM): Likewise.
87966 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
87968         * Makefile.in: Remove CVSOPT handling.
87969         * configure.in: Remove use of AC_REVISION.
87970         * iconvdata/Makefile (distribute): No need to filter out CVS.
87971         * scripts/list-sources.sh: Remove CVS, subversion and monotone
87972         handling.
87974 2011-11-16  Andreas Schwab  <schwab@redhat.com>
87976         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
87977         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
87978         [USE_AS_STRNCASECMP_L]: Likewise.
87979         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
87980         NO_TLS_DIRECT_SEG_REFS.
87981         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
87982         Fix argument offsets for non-PIC.
87983         [USE_AS_STRNCASECMP_L]: Likewise.
87984         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
87985         NO_TLS_DIRECT_SEG_REFS.
87987 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87989         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
87990         O_CLOEXEC.
87991         * locale/loadlocale.c (_nl_load_locale): Likewise.
87993 2011-11-15  Andreas Schwab  <schwab@redhat.com>
87995         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
87996         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
87997         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
87998         (SYSCALL_GETTIME): Set errno on error.
88000         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
88001         count references to noai6ai_cached.
88003 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88005         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
88007         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
88008         FD_CLOEXEC for /proc/self/maps.
88010         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
88011         FD_CLOEXEC for /proc/meminfo.
88013         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
88014         gai.conf.
88016         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
88017         FD_CLOEXEC for given file.
88019         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
88021         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
88022         FD_CLOEXEC for /etc/hosts.
88023         (_gethtent): Likewise.
88025         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
88027         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
88028         cancellation and set FD_CLOEXEC for /etc/netgroup.
88030         * nss/nss_files/files-key.c (search): Don't allow cancellation when
88031         reading /etc/publickey.
88033         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
88034         allow cancellation when reading /etc/group.
88036         * nss/nss_files/files-alias.c (internal_setent): Don't allow
88037         cancellation.
88038         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
88040         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
88041         when using data file.
88043         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
88045         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
88046         (write_nis_obj): Use "c" and "e" in fopen.
88048         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
88050         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
88052         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
88054         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
88056         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
88057         locale.alias.
88059         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
88061         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
88063         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
88065         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
88066         file parsing and set FD_CLOEXEC.
88068 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88070         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
88072 2011-11-14  Andreas Schwab  <schwab@redhat.com>
88074         * malloc/arena.c (arena_get2): Don't call reused_arena when
88075         _int_new_arena failed.
88077 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88079         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
88080         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
88081         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
88082         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88083         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88084         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
88085         to compile strcasecmp and strncasecmp.
88086         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
88087         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
88089         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
88091 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
88093         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
88094         locale-defines.sym to gen-as-const-headers.
88095         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
88096         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
88097         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
88098         to compile strcasecmp and strncasecmp.
88099         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
88100         strcasecmp_l and strncasecmp_l.
88101         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
88102         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
88103         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
88104         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
88105         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
88106         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
88107         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
88108         * sysdeps/i386/i686/multiarch/strncase.S: New file.
88109         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
88110         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
88111         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
88113 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
88115         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
88116         result of SYSDEP_GETTIME_CPU to retval.
88117         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
88118         parameter list to macro.  Remove trailing semicolon.  Adjust users.
88120         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
88121         variable.
88123         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
88124         mantissa words.
88125         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
88127         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
88128         from unused variable.
88130         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
88131         DWARF definitions.
88132         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
88133         for assembling.
88135         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
88136         over namespaces.
88138         * sunrpc/rpc_prot.c (rejected): Fix case value.
88140         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
88141         unsigned long long int to avoid warnings in shift.
88143         * posix/regex_internal.c (re_string_reconstruct): Actually use result
88144         of use of trans.
88145         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
88146         variable tmp.
88148         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
88149         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
88150         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
88152         * nis/nis_table.c (nis_list): Use variable of correct type for
88153         result of __follow_path call.
88155 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88157         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
88158         of math functions ceil, trunc, floor, round, and sqrt, when
88159         avaliable on the platform.
88160         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
88161         name clash.
88162         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88163         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88164         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88166 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
88168         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
88169         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
88171 2011-11-11  Roland McGrath  <roland@hack.frob.com>
88173         * include/unistd.h: Fix __readlink return type.
88174         Reported by Chris Metcalf <cmetcalf@tilera.com>.
88176 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
88178         * stdlib/ucontext.h: Undo last change for makecontext.
88180 2011-11-11  Andreas Schwab  <schwab@redhat.com>
88182         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
88184         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
88185         * setjmp/setjmp.h: Mark functions as non-leaf.
88186         * setjmp/bits/setjmp2.h: Likewise.
88187         * stdlib/ucontext.h: Likewise.
88189 2011-11-10  Andreas Schwab  <schwab@redhat.com>
88191         * malloc/arena.c (_int_new_arena): Don't increment narenas.
88192         (reused_arena): Don't check arena limit.
88193         (arena_get2): Atomically check arena limit.
88195 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
88197         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
88198         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
88200         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
88201         instructions.
88203 2011-11-07  Andreas Schwab  <schwab@redhat.com>
88205         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
88206         handler when locking.
88208         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88209         Fix size of allocated buffer.
88211 2011-11-04  Andreas Schwab  <schwab@redhat.com>
88213         [BZ #10103]
88214         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
88215         declarations for long double functions.
88216         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
88218         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
88220 2011-11-03  Andreas Schwab  <schwab@redhat.com>
88222         * nscd/nscd.c (main): Don't start AVC thread until credentials are
88223         installed.
88225         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
88226         is disabled.
88228 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88230         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
88232 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
88234         * include/alloca.h (stackinfo_alloca_round): Define.
88235         (extend_alloca): Use it.
88236         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
88237         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
88238         here.
88240         * scripts/check-local-headers.sh: Ignore libaudit.h.
88242         * nscd/Makefile (extra-objs): Make recursively expanded.
88244 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
88246         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
88247         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
88249         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
88250         * posix/tst-rfc3484-2.c: Likewise.
88251         * posix/tst-rfc3484-3.c: Likewise.
88253         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88254         process_vm_writev.
88255         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
88256         process_vm_writev.
88257         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
88258         process_vm_writev from libc using GLIBC_2.15 version.
88260         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
88262 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
88264         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
88265         stack usage.
88267 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
88269         [BZ #13367]
88270         * nss/getent.c (initgroups_keys): Show error message in case no group
88271         names are given.
88273         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
88274         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
88275         __bump_nl_timestamp.
88276         * nscd/connections (nscd_init): When host database is served open
88277         netlink socket and request notification about configuration changes.
88278         (main_loop_poll): Track netlink file descriptor and bump timestamp
88279         in case data becomes available.
88280         (main_loop_epoll): Likewise.
88281         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
88282         (database_pers_head): Add extra_data fileds.
88283         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
88284         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
88285         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
88286         Adjust caller.
88287         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
88288         in6ai data, call __free_in6ai.
88289         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
88290         Add -DHAVE_NETLINK.
88291         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
88292         interface information.  Reuse previous data if netlink timestamp
88293         is not changed.
88294         (__bump_nl_timestamp): New function.
88295         (__free_in6ai): New function.
88297 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
88299         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
88300         close_not_cancel_no_status here.
88301         (__check_pf): Reorganize code a bit to not call close twice if OOM.
88303 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88305         [BZ #13276]
88306         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
88307         return value.
88309         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
88310         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
88311         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
88313 2011-07-03  Andreas Jaeger  <aj@suse.de>
88315         [BZ #10709]
88316         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
88317         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
88318         * math/libm-test.inc (sin_test): Add test case.
88320 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88322         [BZ #13337]
88323         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
88324         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88326         * elf/chroot_canon.c (chroot_canon): Cleanups.
88328         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
88330         [BZ #13335]
88331         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
88332         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88334         * string/test-strchr.c: Make usable for strchrnul testing.
88335         * string/test-strchrnul.c: New file.
88336         * string/Makefile (strop-tests): Add strchrnul.
88338         * po/it.po: Update from translation team.
88339         * po/es.po: Likewise.
88341 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
88343         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
88344         the three constants needed as parameters.  Drop the others.
88345         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
88346         __m128i_strloadu_tolower.
88347         Create and initialize variable zero and use it in all the places
88348         where _mm_setzero_si128 was used.
88350         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
88351         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
88352         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
88353         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
88354         anymore.
88355         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
88356         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
88357         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
88358         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
88359         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
88360         __mpranred, __mptan.
88361         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
88362         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
88363         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
88364         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
88365         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
88366         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
88367         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
88368         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
88369         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
88371 2011-10-28  Andreas Schwab  <schwab@redhat.com>
88373         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
88374         redefine if SHARED.
88375         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
88377         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
88378         wide char related routines to wcsmbs subdir.
88380 2011-10-27  Andreas Schwab  <schwab@redhat.com>
88382         [BZ #13344]
88383         * misc/sys/cdefs.h (__THROWNL): Define.
88384         * posix/unistd.h: Use __THREADNL instead of __THREAD
88385         for memory synchronization functions.
88387 2011-10-26  Roland McGrath  <roland@hack.frob.com>
88389         [BZ #13349]
88390         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
88391         doesn't exist.
88392         * manual/stdio.texi (Obstack Streams): Node removed.
88394 2011-10-26  Andreas Schwab  <schwab@redhat.com>
88396         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
88397         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88398         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88400         * math/math_private.h (math_force_eval): Allow non-addressable
88401         arguments.
88402         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
88404 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88406         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
88407         file is not needed.
88409         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
88410         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
88411         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88412         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88413         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88414         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88415         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88416         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
88417         Add AVX variants.
88418         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
88419         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
88420         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
88421         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
88422         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
88423         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
88424         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
88425         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
88426         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
88427         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
88428         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
88429         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
88430         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
88431         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
88432         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
88433         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
88434         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
88435         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
88436         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
88438         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
88439         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
88441         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
88442         place.  Use VEX encoding when compiling for AVX.
88444 2011-10-25  Andreas Schwab  <schwab@redhat.com>
88446         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
88447         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
88449         * string/test-strchr.c (do_test): Don't generate NUL bytes.
88451 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88453         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
88454         useless if() expression.
88455         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88456         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
88457         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
88458         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88459         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
88460         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88461         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88462         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88463         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
88464         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88465         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88466         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88467         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
88468         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88469         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
88470         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88471         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88472         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88473         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
88475         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
88477 2011-10-25  Andreas Schwab  <schwab@redhat.com>
88479         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
88480         condition.
88481         * elf/dl-fini.c (_dl_sort_fini): Likewise.
88483 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88485         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
88486         .text section.  Avoid duplicate constants.
88487         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
88488         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88489         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88490         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88491         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88492         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88493         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88494         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88495         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
88496         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
88497         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
88498         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
88499         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
88500         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
88501         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
88502         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
88503         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
88504         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
88505         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
88506         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88507         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
88508         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
88509         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
88510         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
88511         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
88512         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
88513         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
88514         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
88515         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
88516         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
88517         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
88518         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
88519         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
88520         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
88521         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
88522         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
88523         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
88524         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
88525         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
88526         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
88527         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
88528         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
88529         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
88530         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
88531         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
88533 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
88535         * sysdeps/x86_64/dla.h: Move to ...
88536         * sysdeps/x86_64/fpu/dla.h: ...here.
88537         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
88538         situations.  Use __builtin_fma only for gcc 4.6 and up.
88540         * config.make.in: Add have-mfma4 entry.
88541         * configure.in: Substitute libc_cv_cc_fma4.
88542         * math/Makefile (dbl-only-routines): Add sincostab.
88543         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
88544         Use __sincostab not sincos.
88545         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
88546         name is a macro.
88547         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88548         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88549         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88550         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
88551         using __copysign.
88552         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
88553         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
88554         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
88555         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
88556         and __inv.
88557         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
88558         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
88559         __copysign.
88560         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
88561         define aliases when function name is a macro.
88562         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
88563         sysdeps/ieee754/dbl-64/sincos.tbl.
88564         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
88565         fma4-enabled routines.
88566         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
88567         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
88568         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
88569         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
88570         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
88571         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
88572         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
88573         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
88574         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
88575         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
88576         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
88577         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
88578         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
88579         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
88580         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
88581         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
88582         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
88583         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
88584         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
88585         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
88586         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
88587         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
88588         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
88589         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
88590         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
88591         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
88592         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
88593         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
88594         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
88595         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
88597         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
88598         rename.
88599         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88600         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88601         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88604         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88605         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88606         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88608 2011-10-24  Andreas Schwab  <schwab@redhat.com>
88610         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
88612 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
88614         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
88616         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
88617         prediction.
88618         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
88620         * string/strnlen.c: Don't define STRNLEN, reverse logic.
88621         Remove unused variable magic_bits.
88622         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
88624         * string/strnlen.c: Define and use STRNLEN macro.
88625         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
88626         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
88627         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
88628         * wcsmbs/wcslen.c: Define and use WCSLEN.
88629         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
88630         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
88631         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
88632         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
88633         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
88634         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
88635         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88637 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88639         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88640         strnlen-sse2-no-bsf.
88641         Rename strlen-no-bsf to strlen-sse2-no-bsf.
88642         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
88643         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
88644         Add strnlen support.
88645         (USE_AS_STRNLEN): New macro.
88646         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
88647         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
88648         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
88649         * sysdeps/x86_64/wcslen.S: New file.
88651 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
88653         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
88654         XMM-moves are used for copying on small sizes.
88656 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88658         * wcsmbs/Makefile (strop-tests): Add wcschr.
88659         * wcsmbs/test-wcschr.c: New file.
88660         * string/test-strchr.c: Update.
88661         Add wcschr support.
88662         (WIDE): New macro.
88664 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88666         * wcsmbs/Makefile (strop-tests): Add wcslen.
88667         * wcsmbs/test-wcslen.c: New file.
88668         * string/test-strlen.c: Update.
88669         Add wcslen support.
88670         (WIDE): New macro.
88672 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
88674         * po/it.po: Update from translation team.
88676 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88678         * sysdeps/x86_64/wcscmp.S: Update.
88679         Fix wrong comparison semantics.
88680         wcscmp shall use signed comparison not unsigned.
88681         Don't use substraction to avoid overflow bug.
88682         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
88683         * wcsmbc/wcscmp.c: Likewise.
88684         * string/test-strcmp.c: Likewise.
88685         Add new tests to check cases with negative values.
88687 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
88689         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
88690         * sysdeps/x86_64/dla.h: ...here.  New file.
88691         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
88692         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88693         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88694         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88695         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88696         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88697         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88698         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88699         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88701 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
88703         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
88704         __ynl_finite aliases.
88706 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
88708         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
88710         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
88711         define DLA_FMA.
88712         [DLA_FMA] (EMULV): Use DLA_FMA.
88713         [DLA_FMA] (MUL12): Use EMULV.
88714         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
88715         that are not needed.
88716         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88717         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88718         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88719         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88720         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88721         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88722         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88724 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
88726         * math/s_nan.c: Undef __nan.
88727         * math/s_nanf.c: Undef __nanf.
88728         * math/s_nanl.c: Undef __nanl.
88729         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
88730         "math_private.h".
88732 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
88734         * math/s_catan.c: Add branch predictions.
88735         * math/s_catanf.c: Likewise.
88736         * math/s_catanh.c: Likewise.
88737         * math/s_catanhf.c: Likewise.
88738         * math/s_catanhl.c: Likewise.
88739         * math/s_catanl.c: Likewise.
88740         * math/s_cexp.c: Likewise.
88741         * math/s_cexpf.c: Likewise.
88742         * math/s_cexpl.c: Likewise.
88743         * math/s_clog.c: Likewise.
88744         * math/s_clog10.c: Likewise.
88745         * math/s_clog10f.c: Likewise.
88746         * math/s_clog10l.c: Likewise.
88747         * math/s_clogf.c: Likewise.
88748         * math/s_clogl.c: Likewise.
88749         * math/s_csqrt.c: Likewise.
88750         * math/s_csqrtf.c: Likewise.
88751         * math/s_csqrtl.c: Likewise.
88752         * math/s_ctanf.c: Likewise.
88753         * math/s_ctanh.c: Likewise.
88754         * math/s_ctanhf.c: Likewise.
88755         * math/s_ctanhl.c: Likewise.
88756         * math/s_ctanl.c: Likewise.
88758         * math/math_private.h: Define __nan, __nanf, __nanl.
88759         * math/s_cacosh.c: Include <math_private.h>.
88760         * math/s_cacoshl.c: Likewise.
88761         * math/s_casinh.c: Likewise.
88762         * math/s_casinhf.c: Likewise.
88763         * math/s_casinhl.c: Likewise.
88764         * math/s_ccos.c: Rely entire on ccosh.
88765         * math/s_ccosf.c: Rely entire on ccoshf.
88766         * math/s_ccosl.c: Rely entirely on ccoshl.
88767         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
88768         Remove tests for FE_INVALID.
88769         * math/s_ccoshf.c: Likewise.
88770         * math/s_ccoshl.c: Likewise.
88771         * math/s_csin.c: Likewise.
88772         * math/s_csinf.c: Likewise.
88773         * math/s_csinh.c Likewise.
88774         * math/s_csinhf.c: Likewise.
88775         * math/s_csinhl.c: Likewise.
88776         * math/s_csinl.c: Likewise.
88777         * math/s_ctan.c: Likewise.
88778         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
88779         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
88780         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
88782 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
88784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
88785         compilation problems.
88787         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
88788         __builtin_expect.
88790 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
88792         * sysdeps/i386/configure.in: Test for -mfma4 option.
88793         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
88794         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
88795         COMMON_CPUID_INDEX_80000001.
88796         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
88797         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
88798         use it if FMA3 is not supported.
88799         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
88801         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
88802         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88804 2011-10-20  Andreas Schwab  <schwab@redhat.com>
88806         [BZ #12892]
88807         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
88808         it would create a cycle with a link time dependency.
88810 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
88812         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
88813         instruction.
88814         * string/Makefile (strop-tests): Add rawmemchr.
88815         * string/test-rawmemchr.c: New file.
88817         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
88818         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
88819         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
88820         when compiling str{,n}casecmp and when AVX is available.  Hook up
88821         new optimized code in initializers.
88823 2011-10-19  Andreas Schwab  <schwab@redhat.com>
88825         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
88826         __feraiseexcept instead of feraiseexcept.
88828 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
88830         * math/math_private.h: Define defaults for libc_fetestexcept and
88831         libc_feupdateenv.
88832         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
88833         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
88834         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88835         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88836         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
88837         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88838         libc_fetestexcept and libc_feupdateenv.
88840         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
88841         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
88842         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
88843         * sysdeps/x86_64/fpu/math_private.h: Define special version of
88844         libc_feholdexcept_setround.
88846         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
88847         Add s_nearbyint-c and s_nearbyintf-c.
88848         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
88849         nearbyintf inlines.
88850         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
88851         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
88852         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
88853         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
88855         * math/math_private.h: Define defaults for libc_fegetround,
88856         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
88857         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
88858         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
88859         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
88860         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
88861         standard functions.
88862         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88863         Remove comments and hacks for old compiler versions.
88864         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88865         libc_fegetround, libc_fesetround, libc_feholdexcept, and
88866         libc_feholdexceptl.
88868 2011-10-18  Andreas Schwab  <schwab@redhat.com>
88870         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
88871         (__feraiseexcept_renamed): Add __NTH.
88872         (feraiseexcept): Add __NTH.  Rename local variables to fix
88873         namespace violations.
88875 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
88877         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
88879         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
88881         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
88882         recently added interfaces.
88883         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
88885         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
88886         about macro parameter expansion.
88888         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
88889         __NO_MATH_INLINES is defined.  Cleanups.
88891         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
88892         and __floorf is target has SSE4.1.
88893         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
88894         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
88895         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
88896         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
88898         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
88899         name.
88900         (floorf): Likewise.
88902         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
88904 2011-10-17  Andreas Schwab  <schwab@redhat.com>
88906         * misc/sys/cdefs.h: Fix last change.
88908         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
88909         database lookup.
88911 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
88913         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
88915         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
88916         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88917         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
88918         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88919         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88920         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
88921         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88922         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88923         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
88924         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
88925         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
88926         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
88927         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
88928         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
88929         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
88930         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
88931         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
88932         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
88933         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
88934         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
88935         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
88936         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
88938         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
88939         ceil, ceilf, floor, floorf.
88941         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
88942         Perform IRELATIVE relocations last.
88944         * elf/do-rel.h: Add another parameter nrelative, replacing the
88945         local variable with the same name.  Change name of the function
88946         to end in Rel or Rela (uppercase).
88947         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
88948         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
88949         elf_dynamic_do_##reloc function.
88951 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88953         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
88954         is sufficient, at least on modern CPUs.
88956         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
88958         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
88959         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
88961         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
88962         __expl_finite.
88963         * math/bits/math-finite.h: Add entries for exp.
88964         * math/e_expl.c: Add __*_finite alias.
88965         * sysdeps/i386/fpu/e_exp.S: Likewise.
88966         * sysdeps/i386/fpu/e_expf.S: Likewise.
88967         * sysdeps/i386/fpu/e_expl.c: Likewise.
88968         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88969         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88970         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
88971         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
88972         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
88973         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88974         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88976         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
88977         is sufficient, at least on modern CPUs.
88979         * ctype/ctype-info.c (__ctype_init): Define.
88980         * include/ctype.h (__ctype_init): Declare.
88981         (__ctype_b_loc): The variable is always initialized.
88982         (__ctype_toupper_loc): Likewise.
88983         (__ctype_tolower_loc): Likewise.
88984         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
88985         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
88987 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
88989         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
88991         * configure.in: Also look in $cxxmachine/include for C++ system
88992         headers.
88994 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88996         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
88997         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
88998         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
88999         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
89000         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
89001         (USE_AS_WMEMCMP): New macro.
89002         Fixing indents.
89003         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
89004         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
89005         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
89006         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
89007         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89008         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
89009         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
89010         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
89011         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
89012         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
89013         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
89014         (USE_AS_WMEMCMP): New macro.
89015         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
89016         * sysdeps/string/test-memcmp.c: Update.
89017         Fix simple_wmemcmp.
89018         Add new tests.
89019         * wcsmbs/wmemcmp.c: Update.
89020         (WMEMCMP): New macro.
89021         Fix overflow bug.
89023 2011-10-12  Andreas Jaeger  <aj@suse.de>
89025         [BZ #13268]
89026         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
89028 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89030         * libio/iofwide.c (do_length): Avoid warning.
89032         * ctype/ctype.h (__isctype_f): Add missing __THROW.
89034 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
89036         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
89038         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
89039         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
89040         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
89041         * sysdeps/i386/i686/fpu/e_log.S: New file.
89042         * sysdeps/i386/i686/fpu/e_logf.S: New file.
89043         * sysdeps/i386/i686/fpu/e_logl.S: New file.
89045         * ctype/ctype.h: Add support for inlined isXXX functions when
89046         compiling C++ code.
89048 2011-10-14  Andreas Schwab  <schwab@redhat.com>
89050         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89052         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
89054 2011-10-13  Roland McGrath  <roland@hack.frob.com>
89056         [BZ #13291]
89057         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
89059 2011-10-13  Andreas Schwab  <schwab@redhat.com>
89061         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
89062         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
89063         feraiseexcept.
89065         * sysdeps/x86_64/memrchr.S: Check for zero size.
89067         * string/stratcliff.c: Add memrchr tests.
89069 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89071         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89072         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
89073         rawmemchr-sse2 rawmemchr-sse2-bsf.
89074         * sysdeps/i386/i686/multiarch/memchr.S: New file.
89075         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
89076         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
89077         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
89078         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
89079         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
89080         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
89081         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
89082         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
89083         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
89084         * string/memrchr.c (MEMRCHR): New macro.
89086 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
89088         Add integration with gcc's -ffinite-math-only and optimize wrapper
89089         functions in libm.
89090         * Versions.def: Define GLIBC_2.15 version for libm.
89091         * math/Makefile (headers): Add bits/math-finite.h.
89092         * math/bits/math-finite.h: New file.
89093         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
89094         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
89095         * math/e_acoshl.c: Add __*_finite alias.
89096         * math/e_acosl.c: Likewise.
89097         * math/e_asinl.c: Likewise.
89098         * math/e_atan2l.c: Likewise.
89099         * math/e_atanhl.c: Likewise.
89100         * math/e_coshl.c: Likewise.
89101         * math/e_exp10.c: Likewise.
89102         * math/e_exp10f.c: Likewise.
89103         * math/e_exp10l.c: Likewise.
89104         * math/e_exp2l.c: Likewise.
89105         * math/e_fmodl.c: Likewise.
89106         * math/e_gammal_r.c: Likewise.
89107         * math/e_hypotl.c: Likewise.
89108         * math/e_j0l.c: Likewise.
89109         * math/e_j1l.c: Likewise.
89110         * math/e_jnl.c: Likewise.
89111         * math/e_lgammal_r.c: Likewise.
89112         * math/e_log10l.c: Likewise.
89113         * math/e_log2l.c: Likewise.
89114         * math/e_logl.c: Likewise.
89115         * math/e_powl.c: Likewise.
89116         * math/e_sinhl.c: Likewise.
89117         * math/e_sqrtl.c: Likewise.
89118         * math/e_scalb.c: Completely rewritten and optimized.
89119         * math/e_scalbf.c: Likewise.
89120         * math/e_scalbl.c: Likewise.
89121         * math/w_acos.c: Likewise.
89122         * math/w_acosf.c: Likewise.
89123         * math/w_acosl.c: Likewise.
89124         * math/w_acosh.c: Likewise.
89125         * math/w_acoshf.c: Likewise.
89126         * math/w_acoshl.c: Likewise.
89127         * math/w_asin.c: Likewise.
89128         * math/w_asinf.c: Likewise.
89129         * math/w_asinl.c: Likewise.
89130         * math/w_atan2.c: Likewise.
89131         * math/w_atan2f.c: Likewise.
89132         * math/w_atan2l.c: Likewise.
89133         * math/w_atanh.c: Likewise.
89134         * math/w_atanhf.c: Likewise.
89135         * math/w_atanhl.c: Likewise.
89136         * math/w_exp10.c: Likewise.
89137         * math/w_exp10f.c: Likewise.
89138         * math/w_exp10l.c: Likewise.
89139         * math/w_fmod.c: Likewise.
89140         * math/w_fmodf.c: Likewise.
89141         * math/w_fmodl.c: Likewise.
89142         * math/w_j0.c: Likewise.
89143         * math/w_j0f.c: Likewise.
89144         * math/w_j0l.c: Likewise.
89145         * math/w_j1.c: Likewise.
89146         * math/w_j1f.c: Likewise.
89147         * math/w_j1l.c: Likewise.
89148         * math/w_jn.c: Likewise.
89149         * math/w_jnf.c: Likewise.
89150         * math/w_log.c: Likewise.
89151         * math/w_logf.c: Likewise.
89152         * math/w_logl.c: Likewise.
89153         * math/w_log10.c: Likewise.
89154         * math/w_log10f.c: Likewise.
89155         * math/w_log10l.c: Likewise.
89156         * math/w_log2.c: Likewise.
89157         * math/w_log2f.c: Likewise.
89158         * math/w_log2l.c: Likewise.
89159         * math/w_pow.c: Likewise.
89160         * math/w_powf.c: Likewise.
89161         * math/w_powl.c: Likewise.
89162         * math/w_remainder.c: Likewise.
89163         * math/w_remainderf.c: Likewise.
89164         * math/w_remainderl.c: Likewise.
89165         * math/w_scalb.c: Likewise.
89166         * math/w_scalbf.c: Likewise.
89167         * math/w_scalbl.c: Likewise.
89168         * math/w_sqrt.c: Likewise.
89169         * math/w_sqrtf.c: Likewise.
89170         * math/w_sqrtl.c: Likewise.
89171         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
89172         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
89173         used.
89174         * math/math_private.h: Declare __kernel_standard_f.
89175         * math/w_cosh.c: Remove cruft and optimize a bit.
89176         * math/w_coshf.c: Likewise.
89177         * math/w_coshl.c: Likewise.
89178         * math/w_exp2.c: Likewise.
89179         * math/w_exp2f.c: Likewise.
89180         * math/w_exp2l.c: Likewise.
89181         * math/w_hypot.c: Likewise.
89182         * math/w_hypotf.c: Likewise.
89183         * math/w_hypotl.c: Likewise.
89184         * math/w_lgamma.c: Likewise.
89185         * math/w_lgamma_r.c: Likewise.
89186         * math/w_lgammaf.c: Likewise.
89187         * math/w_lgammaf_r.c: Likewise.
89188         * math/w_lgammal.c: Likewise.
89189         * math/w_lgammal_r.c: Likewise.
89190         * math/w_sinh.c: Likewise.
89191         * math/w_sinhf.c: Likewise.
89192         * math/w_sinhl.c: Likewise.
89193         * math/w_tgamma.c: Likewise.
89194         * math/w_tgammaf.c: Likewise.
89195         * math/w_tgammal.c: Likewise.
89196         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
89197         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89198         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
89199         Minor optimizations.  Pretty printing.  Remove cruft.
89200         * sysdeps/i386/fpu/e_acosf.S: Likewise.
89201         * sysdeps/i386/fpu/e_acosh.S: Likewise.
89202         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
89203         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
89204         * sysdeps/i386/fpu/e_acosl.c: Likewise.
89205         * sysdeps/i386/fpu/e_asin.S: Likewise.
89206         * sysdeps/i386/fpu/e_asinf.S: Likewise.
89207         * sysdeps/i386/fpu/e_atan2.S: Likewise.
89208         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
89209         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
89210         * sysdeps/i386/fpu/e_atanh.S: Likewise.
89211         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
89212         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
89213         * sysdeps/i386/fpu/e_exp10.S: Likewise.
89214         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
89215         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
89216         * sysdeps/i386/fpu/e_exp2.S: Likewise.
89217         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
89218         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
89219         * sysdeps/i386/fpu/e_fmod.S: Likewise.
89220         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
89221         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
89222         * sysdeps/i386/fpu/e_hypot.S: Likewise.
89223         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
89224         * sysdeps/i386/fpu/e_log.S: Likewise.
89225         * sysdeps/i386/fpu/e_log10.S: Likewise.
89226         * sysdeps/i386/fpu/e_log10f.S: Likewise.
89227         * sysdeps/i386/fpu/e_log10l.S: Likewise.
89228         * sysdeps/i386/fpu/e_log2.S: Likewise.
89229         * sysdeps/i386/fpu/e_log2f.S: Likewise.
89230         * sysdeps/i386/fpu/e_log2l.S: Likewise.
89231         * sysdeps/i386/fpu/e_logf.S: Likewise.
89232         * sysdeps/i386/fpu/e_logl.S: Likewise.
89233         * sysdeps/i386/fpu/e_pow.S: Likewise.
89234         * sysdeps/i386/fpu/e_powf.S: Likewise.
89235         * sysdeps/i386/fpu/e_powl.S: Likewise.
89236         * sysdeps/i386/fpu/e_remainder.S: Likewise.
89237         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
89238         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
89239         * sysdeps/i386/fpu/e_scalb.S: Likewise.
89240         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
89241         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
89242         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
89243         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
89244         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
89245         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
89246         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89247         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89248         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
89249         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89250         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
89251         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
89252         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
89253         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89254         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
89255         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
89256         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
89257         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89258         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
89259         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
89260         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89261         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
89262         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
89263         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89264         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89265         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
89266         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
89267         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89268         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89269         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
89270         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
89271         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89272         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
89273         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
89274         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
89275         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89276         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
89277         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89278         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
89279         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
89280         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
89281         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
89282         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
89283         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
89284         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
89285         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
89286         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
89287         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
89288         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
89289         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89290         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
89291         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
89292         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
89293         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
89294         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
89295         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
89296         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
89297         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
89298         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89299         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
89300         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
89301         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
89302         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
89303         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
89304         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
89305         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
89306         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
89307         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89308         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89309         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
89310         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
89311         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
89312         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
89313         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
89314         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
89315         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
89316         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
89317         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
89318         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
89319         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
89320         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
89321         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
89322         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
89323         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89324         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
89325         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89326         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
89327         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
89328         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89329         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89330         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
89331         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89332         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
89333         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
89334         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
89335         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89336         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
89337         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
89338         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
89339         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89340         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89341         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89342         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
89343         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
89344         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
89345         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
89346         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
89347         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
89348         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
89349         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
89350         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
89351         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
89352         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
89353         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
89354         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
89355         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
89356         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
89357         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
89358         (__isnanf): Likewise.
89359         (__isinf_ns): Likewise.
89360         (__isinf_nsf): Likewise.
89361         (__finite): Likewise.
89362         (__finitef): Likewise.
89363         (__ieee754_sqrt): Define as macro.
89364         (__ieee754_sqrtf): Define as macro.
89365         (__ieee754_sqrtl): Define as macro.
89366         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
89367         inlined copy.
89368         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
89369         __FINITE_MATH_ONLY__ consistent.
89370         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
89372 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
89374         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
89375         of rawmemchr.
89377         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
89379 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
89381         * po/ja.po: Update from translation team.
89383 2011-10-08  Roland McGrath  <roland@hack.frob.com>
89385         * locale/programs/locarchive.c (prepare_address_space): New function.
89386         (create_archive, enlarge_archive, open_archive): Use it.
89388         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
89389         inside [SHARED], where it is used.
89391         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
89393         * nss/getent.c (netgroup_keys): Remove unused variable.
89394         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
89396 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
89398         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
89399         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
89400         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
89401         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
89402         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
89403         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
89404         * math/Makefile (libm-calls): Add s_isinf_ns.
89405         * math/divtc3.c: Use __isinf_nsl instead of isinf.
89406         * math/multc3.c: Likewise.
89407         * math/s_casin.c: Likewise.
89408         * math/s_casinf.c: Likewise.
89409         * math/s_casinl.c: Likewise.
89410         * math/s_ccos.c: Likewise.
89411         * math/s_ccosf.c: Likewise.
89412         * math/s_ccosl.c: Likewise.
89413         * math/s_ctan.c: Likewise.
89414         * math/s_ctanf.c: Likewise.
89415         * math/s_ctanh.c: Likewise.
89416         * math/s_ctanhf.c: Likewise.
89417         * math/s_ctanhl.c: Likewise.
89418         * math/s_ctanl.c: Likewise.
89419         * math/w_fmod.c: Likewise.
89420         * math/w_fmodf.c: Likewise.
89421         * math/w_fmodl.c: Likewise.
89422         * math/w_remainder.c: Likewise.
89423         * math/w_remainderf.c: Likewise.
89424         * math/w_remainderl.c: Likewise.
89425         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
89426         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
89427         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
89428         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
89429         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
89430         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
89431         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
89432         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
89434         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
89435         of the number.
89436         * stdio-common/printf_fphex.c: Likewise.
89437         * stdio-common/printf_size.c: Likewise.
89439         * math/e_exp10.c: Include math_private.h using <...> not "...".
89440         * math/e_exp10f.c: Likewise.
89441         * math/e_exp10l.c: Likewise.
89442         * math/e_exp2l.c: Likewise.
89443         * math/e_j0l.c: Likewise.
89444         * math/e_j1l.c: Likewise.
89445         * math/e_jnl.c: Likewise.
89446         * math/e_lgammal_r.c: Likewise.
89447         * math/e_rem_pio2l.c: Likewise.
89448         * math/e_scalb.c: Likewise.
89449         * math/e_scalbf.c: Likewise.
89450         * math/e_scalbl.c: Likewise.
89451         * math/k_cosl.c: Likewise.
89452         * math/k_sinl.c: Likewise.
89453         * math/k_tanl.c: Likewise.
89454         * math/s_cacoshf.c: Likewise.
89455         * math/s_catan.c: Likewise.
89456         * math/s_catanf.c: Likewise.
89457         * math/s_catanh.c: Likewise.
89458         * math/s_catanhf.c: Likewise.
89459         * math/s_catanhl.c: Likewise.
89460         * math/s_catanl.c: Likewise.
89461         * math/s_ccosh.c: Likewise.
89462         * math/s_ccoshf.c: Likewise.
89463         * math/s_ccoshl.c: Likewise.
89464         * math/s_cexp.c: Likewise.
89465         * math/s_cexpf.c: Likewise.
89466         * math/s_cexpl.c: Likewise.
89467         * math/s_clog.c: Likewise.
89468         * math/s_clog10.c: Likewise.
89469         * math/s_clog10f.c: Likewise.
89470         * math/s_clog10l.c: Likewise.
89471         * math/s_clogf.c: Likewise.
89472         * math/s_clogl.c: Likewise.
89473         * math/s_csin.c: Likewise.
89474         * math/s_csinf.c: Likewise.
89475         * math/s_csinh.c: Likewise.
89476         * math/s_csinhf.c: Likewise.
89477         * math/s_csinhl.c: Likewise.
89478         * math/s_csinl.c: Likewise.
89479         * math/s_csqrt.c: Likewise.
89480         * math/s_csqrtf.c: Likewise.
89481         * math/s_csqrtl.c: Likewise.
89482         * math/s_ctan.c: Likewise.
89483         * math/s_ctanf.c: Likewise.
89484         * math/s_ctanh.c: Likewise.
89485         * math/s_ctanhf.c: Likewise.
89486         * math/s_ctanhl.c: Likewise.
89487         * math/s_ctanl.c: Likewise.
89488         * math/s_ldexp.c: Likewise.
89489         * math/s_ldexpf.c: Likewise.
89490         * math/s_ldexpl.c: Likewise.
89491         * math/s_significand.c: Likewise.
89492         * math/s_significandf.c: Likewise.
89493         * math/s_significandl.c: Likewise.
89494         * math/w_acos.c: Likewise.
89495         * math/w_acosf.c: Likewise.
89496         * math/w_acosh.c: Likewise.
89497         * math/w_acoshf.c: Likewise.
89498         * math/w_acoshl.c: Likewise.
89499         * math/w_acosl.c: Likewise.
89500         * math/w_asin.c: Likewise.
89501         * math/w_asinf.c: Likewise.
89502         * math/w_asinl.c: Likewise.
89503         * math/w_atan2.c: Likewise.
89504         * math/w_atan2f.c: Likewise.
89505         * math/w_atan2l.c: Likewise.
89506         * math/w_atanh.c: Likewise.
89507         * math/w_atanhf.c: Likewise.
89508         * math/w_atanhl.c: Likewise.
89509         * math/w_cosh.c: Likewise.
89510         * math/w_coshf.c: Likewise.
89511         * math/w_coshl.c: Likewise.
89512         * math/w_dremf.c: Likewise.
89513         * math/w_exp10.c: Likewise.
89514         * math/w_exp10f.c: Likewise.
89515         * math/w_exp10l.c: Likewise.
89516         * math/w_exp2.c: Likewise.
89517         * math/w_exp2f.c: Likewise.
89518         * math/w_fmod.c: Likewise.
89519         * math/w_fmodf.c: Likewise.
89520         * math/w_fmodl.c: Likewise.
89521         * math/w_hypot.c: Likewise.
89522         * math/w_hypotf.c: Likewise.
89523         * math/w_hypotl.c: Likewise.
89524         * math/w_j0.c: Likewise.
89525         * math/w_j0f.c: Likewise.
89526         * math/w_j0l.c: Likewise.
89527         * math/w_j1.c: Likewise.
89528         * math/w_j1f.c: Likewise.
89529         * math/w_j1l.c: Likewise.
89530         * math/w_jn.c: Likewise.
89531         * math/w_jnf.c: Likewise.
89532         * math/w_jnl.c: Likewise.
89533         * math/w_lgamma.c: Likewise.
89534         * math/w_lgamma_r.c: Likewise.
89535         * math/w_lgammaf.c: Likewise.
89536         * math/w_lgammaf_r.c: Likewise.
89537         * math/w_lgammal.c: Likewise.
89538         * math/w_lgammal_r.c: Likewise.
89539         * math/w_log.c: Likewise.
89540         * math/w_log10.c: Likewise.
89541         * math/w_log10f.c: Likewise.
89542         * math/w_log10l.c: Likewise.
89543         * math/w_log2.c: Likewise.
89544         * math/w_log2f.c: Likewise.
89545         * math/w_log2l.c: Likewise.
89546         * math/w_logf.c: Likewise.
89547         * math/w_logl.c: Likewise.
89548         * math/w_pow.c: Likewise.
89549         * math/w_powf.c: Likewise.
89550         * math/w_powl.c: Likewise.
89551         * math/w_remainder.c: Likewise.
89552         * math/w_remainderf.c: Likewise.
89553         * math/w_remainderl.c: Likewise.
89554         * math/w_scalb.c: Likewise.
89555         * math/w_scalbf.c: Likewise.
89556         * math/w_scalbl.c: Likewise.
89557         * math/w_sinh.c: Likewise.
89558         * math/w_sinhf.c: Likewise.
89559         * math/w_sinhl.c: Likewise.
89560         * math/w_sqrt.c: Likewise.
89561         * math/w_sqrtf.c: Likewise.
89562         * math/w_sqrtl.c: Likewise.
89563         * math/w_tgamma.c: Likewise.
89564         * math/w_tgammaf.c: Likewise.
89565         * math/w_tgammal.c: Likewise.
89567         * po/ja.po: Update from translation team.
89569 2011-09-29  Andreas Jaeger  <aj@suse.de>
89571         [BZ #13179]
89572         * sunrpc/netname.c (netname2host): Fix logic.
89574         [BZ #6779]
89575         [BZ #6783]
89576         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
89577         correctly.
89578         * math/w_remainder.c (__remainder): Likewise.
89579         * math/w_remainderf.c (__remainderf): Likewise.
89580         * math/libm-test.inc (remainder_test): Add test cases.
89582 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89584         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
89585         sdiv_qrnnd.
89587 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
89589         * string/test-memcmp.c: Avoid unncessary #defines.
89590         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89592 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89594         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
89595         Use new sse2 version for core i3 - i7 as it's faster
89596         than sse42 version.
89597         (bit_Prefer_PMINUB_for_stringop): New.
89598         * sysdeps/x86_64/rawmemchr.S: Update.
89599         Replace with faster SSE2 version.
89600         * sysdeps/x86_64/memrchr.S: New file.
89601         * sysdeps/x86_64/memchr.S: Update.
89602         Replace with faster SSE2 version.
89604 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
89606         * elf/dl-load.c (lose): Add cast to avoid warning.
89608 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
89610         * po/ca.po: Update from translation team.
89612         * inet/getnetgrent_r.c: Hook up nscd.
89613         * nscd/Makefile (routines): Add nscd_netgroup.
89614         (nscd-modules): Add netgroupcache.
89615         (CFLAGS-netgroupcache.c): Define.
89616         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
89617         (cache_search): Add const to second parameter.
89618         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
89619         INNETGR.
89620         (dbs): Add netgrdb entry.
89621         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
89622         (verify_persistent_db): Handle netgrdb.
89623         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
89624         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
89625         GETFDNETGR.
89626         (netgroup_response_header): Define.
89627         (innetgroup_response_header): Define.
89628         (datahead): Add netgroup_response_header and innetgroup_response_header
89629         elements.
89630         * nscd/nscd.conf: Add entries for netgroup cache.
89631         * nscd/nscd.h (dbtype): Add netgrdb.
89632         (_PATH_NSCD_NETGROUP_DB): Define.
89633         (netgroup_iov_disabled): Declare.
89634         (xmalloc, xcalloc, xrealloc): Move declarations here.
89635         (cache_search): Adjust prototype.
89636         Add netgroup-related prototypes.
89637         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
89638         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
89639         (__nscd_innetgr): Declare.
89640         * nscd/selinux.c (perms): Use access_vector_t as element type and
89641         add netgroup-related initializers.
89642         * nscd/netgroupcache.c: New file.
89643         * nscd/nscd_netgroup.c: New file.
89644         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
89645         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
89646         For four parameters use innetgr.
89647         * nss/nss_files/files-init.c: Add definition and callback for netgr.
89648         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
89649         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
89650         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
89652         * nscd/connections.c (register_traced_file): Don't register file
89653         for disabled databases.
89655 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
89657         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
89659         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
89660         from tree and freeing node.
89662 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
89664         * nss/nsswitch.c (__nss_database_lookup): Handle
89665         nss_parse_service_list out of memory case.
89667 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
89669         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
89670         out of memory case.
89672 2011-10-04  Andreas Schwab  <schwab@redhat.com>
89674         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
89675         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
89676         pass it down.
89677         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
89678         elf_machine_rela, elf_machine_lazy_rel.
89679         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
89680         (ELF_DYNAMIC_DO_REL): Likewise.
89681         (ELF_DYNAMIC_DO_RELA): Likewise.
89682         (ELF_DYNAMIC_RELOCATE): Likewise.
89683         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
89684         to ELF_DYNAMIC_DO_REL.
89685         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
89686         (dl_main): In trace mode always set __RTLD_NOIFUNC.
89687         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
89688         elf_machine_rela.
89689         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
89690         skip_ifunc, don't call ifunc function if non-zero.
89691         (elf_machine_rela): Likewise.
89692         (elf_machine_lazy_rel): Likewise.
89693         (elf_machine_lazy_rela): Likewise.
89694         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
89695         (elf_machine_lazy_rel): Likewise.
89696         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
89697         Likewise.
89698         (elf_machine_lazy_rel): Likewise.
89699         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89700         Likewise.
89701         (elf_machine_lazy_rel): Likewise.
89702         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
89703         (elf_machine_lazy_rel): Likewise.
89704         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
89705         (elf_machine_lazy_rel): Likewise.
89706         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
89707         (elf_machine_lazy_rel): Likewise.
89708         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
89709         (elf_machine_lazy_rel): Likewise.
89710         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
89711         (elf_machine_lazy_rel): Likewise.
89712         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
89713         (elf_machine_lazy_rel): Likewise.
89715 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
89717         * nss/nss_files/files-init.c (_nss_files_init): Use static
89718         initialization for all the *_traced_file variables.
89720 2011-09-28  Andreas Schwab  <schwab@redhat.com>
89722         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89724 2011-09-27  Roland McGrath  <roland@hack.frob.com>
89726         [BZ #13226]
89727         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
89729 2011-09-27  Andreas Schwab  <schwab@redhat.com>
89731         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
89732         Reread the line before reparsing it.
89734 2011-09-26  Andreas Schwab  <schwab@redhat.com>
89736         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
89738 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
89739             Maxim Kuvyrkov  <maxim@codesourcery.com>
89740             Joseph Myers  <joseph@codesourcery.com>
89742         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
89743         if needed for __stack_chk_guard.
89745 2011-09-19  Roland McGrath  <roland@hack.frob.com>
89747         * sysdeps/posix/spawni.c (script_execute): Always define it.
89748         It will be optimized away if unused.
89749         (maybe_script_execute): New function.
89750         (__spawni): Call it.
89752         * Makerules: Don't include tls.make.
89753         (config-tls): Always set to thread.
89754         * tls.make.c: File removed.
89756 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
89758         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
89759         * config.make.in (CPPFLAGS-config): New substituted variable.
89761 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
89763         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
89765         [BZ #13192]
89766         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
89767         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
89769 2011-09-15  Roland McGrath  <roland@hack.frob.com>
89771         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
89772         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
89773         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89774         (CALL_FAIL): Likewise.
89775         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
89776         (CALL_FAIL): Macro removed.
89777         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
89779 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
89781         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
89782         for __FINITE_MATH_ONLY__ == 1.
89784 2011-09-15  Andreas Schwab  <schwab@redhat.com>
89786         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
89787         __ieee754_sqrt instead of sqrt.
89788         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
89789         __ieee754_sqrtf instead of sqrtf.
89790         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
89791         __floorf instead of floorf.
89792         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
89793         __floorf, __truncf instead of floorf, truncf.
89795 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
89797         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
89799         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
89800         __extern_always_inline.
89801         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
89802         32-bit.
89804 2011-09-14  Andreas Schwab  <schwab@redhat.com>
89806         * elf/rtld.c (dl_main): Also relocate in dependency order when
89807         doing symbol dependency testing.
89809 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
89811         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89812         Always define `refsym'.
89814 2011-09-13  Andreas Schwab  <schwab@redhat.com>
89816         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
89817         (__FD_ELT): Renamed from __FDELT.
89818         * misc/bits/select2.h (__FD_ELT): Likewise.
89819         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
89820         __FD_MASK instead of __FDELT, __FDMASK.
89821         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89822         Likewise.
89823         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89824         Likewise.
89826         * elf/Makefile (gen-ldd): Fix pattern.
89828         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
89829         (init_tls): Likewise.
89831 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
89833         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
89835 2011-09-12  Andreas Schwab  <schwab@redhat.com>
89837         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
89838         `struct cmsghdr *' instead of `void *'.
89839         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
89840         Likewise.
89842 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
89844         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
89845         if non-absolute.
89846         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
89847         ldd_rewrite_script.
89849 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
89851         * configure.in: Remove --with-tls option.
89852         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
89853         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
89854         out in case it is missing.
89855         * sysdeps/ia64/elf/configure.in: Likewise.
89856         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
89857         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
89858         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
89859         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
89860         * sysdeps/sh/elf/configure.in: Likewise.
89861         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
89862         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
89863         * sysdeps/x86_64/elf/configure.in: Likewise.
89864         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
89865         * sysdeps/mach/hurd/tls.h: Likewise.
89867         [BZ #13067]
89868         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
89870         [BZ #13090]
89871         * configure.in: Fix use of AC_INIT.
89873         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
89875 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
89877         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
89878         __set_errno.
89879         * malloc/hooks.c: Likewise.
89881         [BZ #11929]
89882         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
89883         variables statically.
89884         (narenas): Initialize.
89885         (list_lock): Initialize.
89886         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
89887         initializtion of main_arena and list_lock.  Small cleanups.
89888         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
89889         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
89890         Add initializers to main_arena and mp_.
89891         (malloc_state): Remove pagesize member.  Change all users to use
89892         GLRO(dl_pagesize).
89894         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
89895         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
89896         is always initialized.
89898         * malloc/malloc.c: Removed unused configurations and dead code.
89899         * malloc/arena.c: Likewise.
89900         * malloc/hooks.c: Likewise.
89901         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
89903         * include/tls.h: Removed.  USE___THREAD must always be defined.
89904         * bits/libc-tsd.h: Don't handle !USE___THREAD.
89905         * elf/dl-libc.c: Likewise.
89906         * elf/dl-tsd.c: Likewise.
89907         * include/errno.h: Likewise.
89908         * include/netdb.h: Likewise.
89909         * include/resolv.h: Likewise.
89910         * inet/herrno-loc.c: Likewise.
89911         * inet/herrno.c: Likewise.
89912         * malloc/arena.c: Likewise.
89913         * malloc/hooks.c: Likewise.
89914         * malloc/malloc.c: Likewise.
89915         * resolv/res-state.c: Likewise.
89916         * resolv/res_libc.c: Likewise.
89917         * sysdeps/i386/dl-machine.h: Likewise.
89918         * sysdeps/ia64/dl-machine.h: Likewise.
89919         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
89920         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
89921         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
89922         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
89923         * sysdeps/sh/dl-machine.h: Likewise.
89924         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
89925         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
89926         * sysdeps/unix/i386/sysdep.S: Likewise.
89927         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
89928         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
89929         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
89930         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
89931         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
89932         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
89933         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
89934         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
89935         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
89936         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
89937         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89938         * sysdeps/x86_64/dl-machine.h: Likewise.
89939         * tls.make.c: Likewise.
89941         * configure.in: Remove --with-__thread option.  Make tests for
89942         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
89943         tls_model attribute fail if no support is available.  Remove
89944         USE_IN_LIBIO.
89945         * Makeconfig: Adjust for dropped configure option.  All features are
89946         now mandatory.
89947         * Makerules: Likewise.
89948         * Versions.def: Likewise.
89949         * argp/argp-fmtstream.c: Likewise.
89950         * argp/argp-fmtstream.h: Likewise.
89951         * argp/argp-help.c: Likewise.
89952         * assert/assert.c: Likewise.
89953         * config.h.in: Likewise.
89954         * config.make.in: Likewise.
89955         * configure: Likewise.
89956         * configure.in: Likewise.
89957         * csu/Versions: Likewise.
89958         * csu/init.c: Likewise.
89959         * elf/tst-audit2.c: Likewise.
89960         * elf/tst-tls10.c: Likewise.
89961         * elf/tst-tls10.h: Likewise.
89962         * elf/tst-tls11.c: Likewise.
89963         * elf/tst-tls12.c: Likewise.
89964         * elf/tst-tls14.c: Likewise.
89965         * elf/tst-tlsmod11.c: Likewise.
89966         * elf/tst-tlsmod12.c: Likewise.
89967         * elf/tst-tlsmod13.c: Likewise.
89968         * elf/tst-tlsmod13a.c: Likewise.
89969         * elf/tst-tlsmod14a.c: Likewise.
89970         * elf/tst-tlsmod15b.c: Likewise.
89971         * elf/tst-tlsmod16a.c: Likewise.
89972         * elf/tst-tlsmod16b.c: Likewise.
89973         * elf/tst-tlsmod7.c: Likewise.
89974         * elf/tst-tlsmod8.c: Likewise.
89975         * elf/tst-tlsmod9.c: Likewise.
89976         * gmon/gmon.c: Likewise.
89977         * grp/fgetgrent_r.c: Likewise.
89978         * grp/putgrent.c: Likewise.
89979         * hurd/fopenport.c: Likewise.
89980         * include/libc-symbols.h: Likewise.
89981         * include/tls.h: Likewise.
89982         * intl/gettextP.h: Likewise.
89983         * intl/loadinfo.h: Likewise.
89984         * locale/global-locale.c: Likewise.
89985         * locale/localeinfo.h: Likewise.
89986         * mach/devstream.c: Likewise.
89987         * malloc/arena.c: Likewise.
89988         * malloc/set-freeres.c: Likewise.
89989         * misc/err.c: Likewise.
89990         * misc/getttyent.c: Likewise.
89991         * misc/mntent_r.c: Likewise.
89992         * posix/getopt.c: Likewise.
89993         * posix/wordexp.c: Likewise.
89994         * pwd/fgetpwent_r.c: Likewise.
89995         * resolv/Versions: Likewise.
89996         * resolv/res_hconf.c: Likewise.
89997         * shadow/fgetspent_r.c: Likewise.
89998         * shadow/putspent.c: Likewise.
89999         * stdio-common/printf_fphex.c: Likewise.
90000         * stdio-common/tmpfile.c: Likewise.
90001         * stdlib/abort.c: Likewise.
90002         * stdlib/fmtmsg.c: Likewise.
90003         * sunrpc/auth_unix.c: Likewise.
90004         * sunrpc/clnt_perr.c: Likewise.
90005         * sunrpc/clnt_tcp.c: Likewise.
90006         * sunrpc/clnt_udp.c: Likewise.
90007         * sunrpc/clnt_unix.c: Likewise.
90008         * sunrpc/openchild.c: Likewise.
90009         * sunrpc/svc_simple.c: Likewise.
90010         * sunrpc/svc_tcp.c: Likewise.
90011         * sunrpc/svc_udp.c: Likewise.
90012         * sunrpc/svc_unix.c: Likewise.
90013         * sunrpc/xdr.c: Likewise.
90014         * sunrpc/xdr_array.c: Likewise.
90015         * sunrpc/xdr_rec.c: Likewise.
90016         * sunrpc/xdr_ref.c: Likewise.
90017         * sunrpc/xdr_stdio.c: Likewise.
90019 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90021         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90023 2011-07-03  Andreas Jaeger  <aj@suse.de>
90025         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
90026         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
90027         regenerate with gen-libm-tests.pl.
90029 2010-05-12  Petr Baudis  <pasky@suse.cz>
90031         [BZ #11589]
90032         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
90033         around j0() zero points by switching to j1().
90034         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90035         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90036         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
90037         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90039 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90041         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
90042         instead of 0.
90043         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
90044         instead of 0.
90045         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90046         Patch in part by Pavel Roskin <proski@gnu.org>.
90048         [BZ #13138]
90049         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
90050         realloc.
90051         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
90052         Free memory block if necessary.
90054         [BZ #12847]
90055         * libio/genops.c (INTDEF): For string streams the _lock pointer can
90056         be NULL.  Don't lock in this case.
90058 2011-09-09  Roland McGrath  <roland@hack.frob.com>
90060         * elf/elf.h (ELFOSABI_GNU): New macro.
90061         (ELFOSABI_LINUX): Define to that.
90063 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
90065         * string/strncat.c (strncat): Undef the symbol in case it has been
90066         defined in bits/string.h.
90068 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90070         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
90072         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
90073         link map.
90075 2011-08-17  Andreas Jaeger  <aj@suse.de>
90077         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
90079 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
90080             Ian Lance Taylor  <iant@google.com>
90082         * math/libm-test.inc (lround_test): New testcase.
90083         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
90085 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
90087         * Makefile: Remove support for automatic cvs check-ins.
90088         * Makerules: Likewise.
90089         * config.make.in: Likewise.
90090         * configure.in: Likewise.
90091         * intl/Makefile: Likewise.
90092         * locale/Makefile: Likewise.
90093         * po/Makefile: Likewise.
90094         * posix/Makefile: Likewise.
90095         * sysdeps/gnu/Makefile: Likewise.
90096         * sysdeps/mach/hurd/Makefile: Likewise.
90097         * sysdeps/sparc/sparc32/Makefile: Likewise.
90099         [BZ #13118]
90100         * posix/Makefile (bug-regex32-ENV): Define.
90101         Patch by John Stanley <jpsinthemix@verizon.net>.
90103         * misc/Makefile (headers): Add bits/select2.h.
90104         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
90105         * misc/bits/select2.h: New file.
90106         * include/bits/select2.h: New file.
90107         * debug/Makefile (routines): Add fdelt_chk.
90108         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
90109         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
90110         FD_ISSET.
90111         * debug/fdelt_chk.c: New file.
90113         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
90114         * wcsmbs/test-wmemcmp.c: Likewise.
90115         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
90116         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
90118 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90120         * string/Makefile (strop-tests): Add memcmp.
90121         * string/test-wmemcmp.c: New file.
90122         * string/test-memcmp.c: Add wmemcmp support.
90124 2011-09-08  Roland McGrath  <roland@hack.frob.com>
90126         [BZ #13153]
90127         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
90128         2011-07-19 change.
90130         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
90131         garbage value in a __mach_port_mod_refs call in the cases of the
90132         task-self and thread-self ports.
90134 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90136         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
90138 2011-09-08  Andreas Schwab  <schwab@redhat.com>
90140         * elf/dl-load.c (lose): Check for non-null L.
90142 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90144         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
90146         * elf/dl-libc.c (dlerror_run): Pass back error code from
90147         dl_catch_error.
90149         [BZ #13123]
90150         * elf/dl-load.c (lose): Free l_origin if it is valid.
90152         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
90153         names.
90154         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
90155         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90156         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90157         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90158         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
90159         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
90161 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90163         * sysdeps/powerpc/fpu/e_hypot.c: New file.
90164         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
90165         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
90166         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
90167         * sysdeps/powerpc/fpu/k_cosf.c: New file.
90168         * sysdeps/powerpc/fpu/k_sinf.c: New file.
90169         * sysdeps/powerpc/fpu/s_cosf.c: New file.
90170         * sysdeps/powerpc/fpu/s_sinf.c: New file.
90171         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
90172         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
90174 2011-08-15  Alan Modra  <amodra@gmail.com>
90176         [BZ #13092]
90177         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
90178         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
90179         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
90180         ppc_mcount to static-only-routines.
90181         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
90182         __mcount_internal.
90183         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
90184         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
90186 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
90188         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
90189         for finite and infinity parameters.
90191 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
90193         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
90194         and add nop instructions for throughput optimization.
90195         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90197 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
90199         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
90200         aligned copy for power7 with vector-scalar instructions.
90201         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
90203 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
90205         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
90206         AVX check.
90208 2011-09-07  Andreas Schwab  <schwab@redhat.com>
90210         [BZ #13144]
90211         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
90212         last change.
90214 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90216         * sysdeps/unix/sysv/linux/x86_64/init-first.c
90217         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
90218         syscall wrapper around clock_gettime in __vdso_clock_gettime.
90219         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
90220         clock_gettime.
90222 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90224         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
90225         Forgot to demangle the pointer.
90227         * sysdeps/i386/sysdep.h: Define atom_text_section.
90228         * sysdeps/x86_64/sysdep.h: Likewise.
90229         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
90230         section with atom_text_section.
90231         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90232         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90233         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
90234         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90235         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
90237         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
90238         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
90239         already be defined.  Change to take two parameters and don't assign
90240         result to variable.  Adjust all users.
90241         Define INTERNAL_GETTIME if not already defined.
90242         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
90243         call.
90244         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
90245         HAVE_CLOCK_GETTIME_VSYSCALL.
90246         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
90248         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
90249         gettimeofday vsyscall, just use time.
90251 2011-09-06  Andreas Schwab  <schwab@redhat.com>
90253         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
90254         <errno.h>.
90256 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90258         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
90259         syscall on x86-64.
90260         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
90261         syscall.
90262         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
90263         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
90264         syscall if possible.
90266 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90268         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
90269         e_ident.  Don't pass to find_mapsXX.
90270         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
90272 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90275         strchr-sse2-no-bsf strrchr-sse2-no-bsf
90276         * sysdeps/x86_64/multiarch/strchr.S: Update.
90277         Check bit_slow_BSF bit.
90278         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
90279         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
90280         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
90282 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90284         [BZ #13134]
90285         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
90286         before glibc 2.15.
90287         (tryshell): Define.
90288         (__spawni): Change last parameter to be flag.  Test
90289         SPAWN_XFLAGS_USE_PATH flag to use path or not.
90290         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
90291         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
90292         * posix/spawni.c: Likewise.
90293         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
90294         * posix/spawnp.c: Likewise.  Change normal version to use
90295         SPAWN_XFLAGS_USE_PATH.
90296         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
90297         SPAWN_XFLAGS_TRY_SHELL.
90299         [BZ #13150]
90300         * posix/glob.h: Remove gcc 1.x support.
90302         [BZ #13068]
90303         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
90305 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90307         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90308         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
90309         strrchr-sse2-bsf
90310         * sysdeps/i386/i686/multiarch/strchr.S: New file.
90311         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
90312         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
90313         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
90314         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
90315         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
90317 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90319         * sysdeps/x86_64/wcscmp.S: New file.
90321         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
90322         wcscmp-c wcscmp-sse2
90323         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
90324         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
90325         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
90326         * wcsmbs/wcscmp.c: Allow renaming.
90328 2011-09-05  David S. Miller  <davem@davemloft.net>
90330         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
90331         stack slot, rather than the struct return pointer slot.
90332         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
90333         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
90334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
90335         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
90337 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90339         * po/ja.po: Update from translation team.
90341         [BZ #13144]
90342         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
90343         kernel in 64-bit binaries.
90345 2011-09-01  David S. Miller  <davem@davemloft.net>
90347         * elf/elf.h (HWCAP_SPARC_*): Move to..
90348         * sysdeps/sparc/sysdep.h: this new file and add new values.
90349         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
90350         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
90351         _DL_HWCAP_COUNT to 24.
90352         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
90353         entries.
90354         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
90355         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
90356         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
90357         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
90358         instead of magic constants.
90359         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
90361 2011-08-31  David S. Miller  <davem@davemloft.net>
90363         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
90364         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
90365         Reimplement to do errno handling inline.
90366         (SYSCALL_ERROR_HANDLER): New macro.
90367         (__SYSCALL_STRING): Do not do errno handling in asm.
90368         (__CLONE_SYSCALL_STRING): Delete.
90369         (__INTERNAL_SYSCALL_STRING): Delete.
90370         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
90371         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
90372         (PSEUDO): Reimplement to do errno handling inline.
90373         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
90374         (SYSCALL_ERROR_HANDLER): New macro.
90375         (__SYSCALL_STRING): Do not do errno handling in asm.
90376         (__CLONE_SYSCALL_STRING): Delete.
90377         (__INTERNAL_SYSCALL_STRING): Delete.
90378         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
90379         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
90380         i386.
90381         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
90382         (inline_syscall*): Add 'err' argument.
90383         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
90384         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
90385         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
90386         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
90388         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
90389         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
90391 2011-08-30  Andreas Schwab  <schwab@redhat.com>
90393         * elf/rtld.c (dl_main): Relocate objects in dependency order.
90395 2011-08-29  Jiri Olsa <jolsa@redhat.com>
90397         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
90398         directive.
90400 2011-08-24  David S. Miller  <davem@davemloft.net>
90402         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
90404 2011-08-24  Andreas Schwab  <schwab@redhat.com>
90406         * elf/Makefile: Add rules to build and run unload8 test.
90407         * elf/unload8.c: New file.
90408         * elf/unload8mod1.c: New file.
90409         * elf/unload8mod1x.c: New file.
90410         * elf/unload8mod2.c: New file.
90411         * elf/unload8mod3.c: New file.
90413         * elf/dl-close.c (_dl_close_worker): Reset private search list if
90414         it wasn't used.
90416 2011-08-23  David S. Miller  <davem@davemloft.net>
90418         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
90419         subtract stack bias.
90420         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
90421         %sp not %fp in calculations.
90422         (_JMPBUF_UNWINDS_ADJ): Likewise.
90424         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
90425         (aio_suspend): Call it to force an exception region around the
90426         AIO_MISC_WAIT() invocation.
90428 2011-08-23  Andreas Schwab  <schwab@redhat.com>
90430         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
90431         backslash.
90433 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
90435         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
90436         protection macro.
90437         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
90438         and <dl-machine.h>.
90439         (Elf64_FuncDesc): Remove.
90441 2011-08-22  David S. Miller  <davem@davemloft.net>
90443         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
90444         sigaltstack check, add missing cfi directives.
90445         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
90446         missing cfi directives, and sigaltstack handling.
90448 2011-08-16  Andreas Schwab  <schwab@redhat.com>
90450         [BZ #11724]
90451         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
90452         object is seen twice.
90453         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90455         * elf/Makefile (distribute): Add tst-initorder2.c.
90456         (tests): Add tst-initorder2.
90457         (modules-names): Add tst-initorder2a tst-initorder2b
90458         tst-initorder2c tst-initorder2d.  Add rules to build them.
90459         ($(objpfx)tst-initorder2.out): New rule.
90460         * elf/tst-initorder2.c: New file.
90461         * elf/tst-initorder2.exp: New file.
90463 2011-08-22  Andreas Schwab  <schwab@redhat.com>
90465         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
90467         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
90468         dependencies back to end of function.
90470         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90471         $(elfobjdir)/ld.so.
90473 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
90475         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
90476         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
90477         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
90478         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
90479         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
90480         of __vdso_gettimeofday.
90481         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
90482         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
90483         attribute_hidden.
90484         (_libc_vdso_platform_setup): Remove initialization of
90485         __vdso_gettimeofday and __vdso_time.
90487 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
90489         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
90490         and fgetc_unlocked.
90491         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
90492         getc_unlocked.
90494         * elf/dl-open.c (add_to_global): Report additions to the global scope
90495         for LD_DEBUG=scopes.
90496         (dl_open_worker): Also print scope of newly loaded dependencies.
90497         (_dl_show_scope): Indicate if there is no scope.
90499         [BZ #13114]
90500         * stdio-common/Makefile (tests): Add bug24.
90501         * stdio-common/bug24.c: New file.
90503 2011-08-19  Andreas Jaeger  <aj@suse.de>
90505         [BZ #13114]
90506         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
90507         non-existant file when using close-on-exec mode.
90509 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
90511         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
90512         the very first instruction.
90514         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
90515         the CFI state in the end.
90516         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
90517         inclusion of dl-trampoline.h.
90518         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
90520 2011-08-19  Andreas Schwab  <schwab@redhat.com>
90522         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
90523         expectations for long double.
90525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
90526         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
90528 2011-08-14  David S. Miller  <davem@davemloft.net>
90530         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
90531         artificual limit depends upon the system page size.
90533 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
90535         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
90536         * resolv/Makefile: Define CFLAGS-libresolv.
90538 2011-08-17  Andreas Schwab  <schwab@redhat.com>
90540         * nss/makedb.c (compute_tables): Make variables used in nested
90541         function static.
90543 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
90545         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
90546         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
90547         if buffer was too small.
90549         * elf/pldd.c (main): Attach to all threads in the process.
90550         Rewrite /proc handling to use *at functions.
90552 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
90554         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
90555         specifies first scope to show.
90556         (dl_open_worker): Update callers.  Move printing scope of new
90557         object to before the relocation.
90558         * elf/rtld.c (dl_main): Update _dl_show_scope call.
90559         * sysdeps/generic/ldsodefs.h: Update declaration.
90561         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
90562         string for the scope number.
90564 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
90566         * nscd/servicescache.c (cache_addserv): Make sure written is always
90567         initialized.
90569 2011-08-14  Roland McGrath  <roland@hack.frob.com>
90571         * sysdeps/i386/i486/bits/atomic.h
90572         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
90573         statement expression, so as to suppress "set but not used" warning.
90574         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
90576         * string/strncat.c (STRNCAT): Use prototype definition.
90578         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
90579         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
90580         -Iprograms here.
90581         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
90582         (localedef-modules): Add localedef.
90583         (locale-modules): Add locale.
90585         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
90586         * elf/rtld.c (dl_main): Invert order of assignment in last change,
90587         to avoid a warning.
90589 2011-08-14  David S. Miller  <davem@davemloft.net>
90591         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
90592         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
90594 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
90596         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
90597         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
90598         * elf/rtld.c (dl_main): Set l_name of vDSO.
90599         Call _dl_show_scope when DL_DEBUG_SCOPES.
90600         (process_dl_debug): Recognize scopes flag and also set it for all.
90601         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
90602         Declare _dl_show_scope.
90604         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
90605         (do_dlopen): Pass caller_dlopen to dl_open.
90606         (__libc_dlopen_mode): Initialize caller_dlopen.
90608         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
90609         of libc.  Make tolower call locale-independent.  Optimize a bit by
90610         using isdigit instead of isalnum.
90611         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
90613 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
90615         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
90616         was a dependency or dynamically loaded.
90618 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
90620         * intl/l10nflist.c: Allow architecture-specific pop function.
90621         * sysdeps/x86_64/l10nflist.c: New file.
90623         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
90624         classification.
90626 2011-08-10  Andreas Schwab  <schwab@redhat.com>
90628         * include/dirent.h: Add libc_hidden_proto for scandirat and
90629         scandirat64.  Don't declare __scandirat64.
90630         * dirent/scandirat.c: Add libc_hidden_def.
90631         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
90632         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
90634 2011-08-10  David S. Miller  <davem@davemloft.net>
90636         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
90637         enum.
90638         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
90639         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
90640         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
90642 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
90644         * Versions.def [libc]: Add GLIBC_2.15.
90645         * dirent/Makefile (routines): Add scandirat and scandirat64.
90646         * dirent/Versions [libc]: Export scandirat and scandirat64 for
90647         GLIBC_2.15.
90648         * dirent/dirent.h: Declare scandirat and scandirat64.
90649         * dirent/scandirat.c: New file.
90650         * dirent/scandirat64.c: New file.
90651         * sysdeps/wordsize-64/scandirat.c: New file.
90652         * sysdeps/wordsize-64/scandirat64.c: New file.
90653         * dirent/opendir.c: Define opendirat.
90654         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
90655         using scandirat.
90656         * dirent/scandir64.c: Adjust for scandir.c change.
90657         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
90658         __scandirat64, and __scandir_cancel_handler.
90659         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
90660         additional parameter and use openat instead of open (outside of ld.so).
90661         Add new __opendir as wrapper around __opendirat.
90662         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
90663         here without requiring old scandirat implementation.
90665 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
90667         * dirent/scandir.c (cancel_handler): Renamed to
90668         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
90669         defined.  Adjust users.
90670         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
90671         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
90673 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
90675         * string/test-string.h (IMPL): Use __STRING to expand name and then
90676         stringify it.
90678         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
90679         of cleanups.
90681 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90683         * string/Makefile: Update.
90684         (strop-tests): Append strncat.
90685         * string/test-wcscmp.c: New file.
90686         New comprehensive test for wcscmp.
90687         * string/test-strcmp.c: Update.
90688         (WIDE): New define.
90690 2011-07-22  Andreas Schwab  <schwab@redhat.com>
90692         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
90693         line.
90695 2011-07-26  Andreas Schwab  <schwab@redhat.com>
90697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
90698         encoding to ACE if AI_IDN.
90700 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
90702         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
90703         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
90705 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90707         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
90708         Fix overflow bug in strncat.
90709         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
90711         * string/test-strncat.c: Update.
90712         Add new tests for checking overflow bugs.
90714 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90716         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90717         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
90718         * sysdeps/i386/i686/multiarch/strcat.S: New file.
90719         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
90720         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
90721         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
90722         * sysdeps/i386/i686/multiarch/strncat.S: New file.
90723         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
90724         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
90726         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
90727         (USE_AS_STRCAT): Define.
90728         Add strcat and strncat support.
90729         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90731 2011-07-25  Andreas Schwab  <schwab@redhat.com>
90733         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
90734         __n bigger than INT_MAX+1.
90735         (__strncmp_g): Likewise.
90737 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
90739         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
90740         * libio/stido.h: Likewise.
90742         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
90743         (AF_NFC): Define.
90744         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
90745         (AF_NFC): Define.
90747         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
90748         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
90749         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
90750         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
90751         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
90753         [BZ #13021]
90754         * scripts/test-installation.pl: Don't expect libnss_test1 to be
90755         installed.
90757         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
90758         typo.
90759         (_dl_x86_64_save_sse): Likewise.
90761 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
90763         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
90764         OSXSAVE.
90765         (_dl_x86_64_save_sse): Likewise.
90767         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
90769         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
90771 2011-07-21  Andreas Schwab  <schwab@redhat.com>
90773         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
90774         change.
90775         (_dl_x86_64_save_sse): Use correct AVX check.
90777 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90779         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
90780         bug in strncpy/strncat.
90781         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
90783 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
90785         * string/tester.c (test_strcat): Add tests for different alignments
90786         of source and destination.
90787         (test_strncat): Likewise.
90789 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
90791         [BZ #12852]
90792         * posix/glob.c (glob): Check passed in values before using them in
90793         expressions to avoid some overflows.
90794         (glob_in_dir): Likewise.
90796         [BZ #13007]
90797         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
90798         check for AVX enablement so that we don't crash with old kernels and
90799         new hardware.
90800         * elf/tst-audit4.c: Add same checks here.
90801         * elf/tst-audit6.c: Likewise.
90803         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
90805 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
90807         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
90809 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
90811         * po/cs.po: Update from translation team.
90812         * po/bg.po: Likewise.
90814 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
90816         * misc/sys/cdefs.h: Add support for const attribute.
90817         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
90818         to gnu_dev_{major,minor,makedev} functions.
90820 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
90822         * intl/dcigettext.c (get_output_charset): Add missing bracket.
90824 2011-07-20  Andreas Schwab  <schwab@redhat.com>
90826         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
90827         strlen results.
90829 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90831         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
90832         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
90833         register in order to avoid conflicts with the soft frame pointer
90834         being held in r11 when necessary.
90835         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
90836         (INTERNAL_VSYSCALL_NCS): Likewise.
90838 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
90840         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
90841         * elf/dl-fini.c (_dl_fini): Adjust caller.
90842         * elf/dl-close.c (_dl_close_worker): Likewise.
90843         * sysdeps/generic/ldsodefs.h: Adjust declaration.
90845 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90847         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
90848         "aux_cache->nlibs < 0".
90850         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
90851         in the reload-count case.
90853 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90856         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
90857         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
90858         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
90859         * sysdeps/x86_64/multiarch/strcat.S: New file.
90860         * sysdeps/x86_64/multiarch/strncat.S: New file.
90861         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
90862         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
90863         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
90864         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
90865         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
90866         (USE_AS_STRCAT): Define.
90867         Add strcat and strncat support.
90868         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90869         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
90870         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
90871         * string/strncat.c: Update.
90872         (USE_AS_STRNCAT): Define.
90873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90874         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
90875         and i7.
90876         * sysdeps/x86_64/multiarch/init-arch.h
90877         (bit_Prefer_PMINUB_for_stringop): New.
90878         (index_Prefer_PMINUB_for_stringop): Likewise.
90879         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
90880         bit_Prefer_PMINUB_for_stringop.
90882 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90884         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
90885         buffer64.
90886         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
90887         of casting of buffer.
90888         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
90889         buffer32 and buffer64.
90890         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
90891         writes instead of casting of buffer.
90892         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
90893         buffer32.
90894         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
90895         casting of buffer.
90897 2011-07-19  Andreas Schwab  <schwab@redhat.com>
90899         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
90901 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90903         * nscd/nscd.c (termination_handler): Don't do anything for a database
90904         if it has not yet been initialized.
90906 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90908         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90910 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90912         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90914 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90916         * po/nl.po: Update from translation team.
90917         * po/sv.po: Likewise.
90919 2011-07-16  Roland McGrath  <roland@hack.frob.com>
90921         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
90922         now disallowed by GCC.
90924         * configure.in (use-default-link): Default to yes if a test -shared
90925         link meets our qualifications.
90926         * configure: Regenerated.
90928         * config.make.in (output-format): New variable.
90929         * configure.in: Check for ld --print-output-format support.
90930         * configure: Regenerated.
90931         * Makerules ($(common-objpfx)format.lds)
90932         [$(output-format) != unknown]: Just use $(output-format),
90933         instead of the linker-script munging.
90935 2011-07-14  Roland McGrath  <roland@hack.frob.com>
90937         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
90938         of $(common-objpfx)shlib.lds.
90939         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
90941         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
90942         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
90944         * configure.in (-z relro check): Adjust test code to add a large
90945         writable data section after it.
90946         * configure: Regenerated.
90948 2011-07-11  Roland McGrath  <roland@hack.frob.com>
90950         * configure.in (-z relro check): Fix test code to make the variable
90951         truly const.
90952         * configure: Regenerated.
90954 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
90956         * nscd/nscd.h (struct traced_file): Define.
90957         (struct database_dyn): Remove inotify_descr, reset_res, and filename
90958         elements.  Add traced_files.
90959         (inotify_fd): Declare.
90960         (register_traced_file): Declare.
90961         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
90962         (inotify_fd): Export.
90963         (resolv_conf_descr): Remove.
90964         (nscd_init): Move inotify descriptor creation to main.
90965         Don't register files for notification here.
90966         (register_traced_file): New function.
90967         (invalidate_cache): Don't use reset_res to determine whether to call
90968         res_init, go through the list of registered files.
90969         (main_loop_poll): The inotify descriptors are now stored in the
90970         structures for the traced files.
90971         (main_loop_epoll): Likewise.
90972         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
90973         to __nss_disable_nscd.
90974         * nscd/cache.c (prune_cache): There is no single inotify descriptor
90975         for a database anymore.  Check the records for all the registered
90976         files instead.
90977         * nss/Makefile (libnss_files-routines): Add files-init.
90978         (libnss_db-routines): Add db-init.
90979         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
90980         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
90981         * nss/nss_db/db-init.c: New file.
90982         * nss/nss_files/files-init.c: New file.
90983         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
90984         __nss_lookup_function.
90985         (__nss_lookup_function): Call nss_load_library.
90986         (nss_load_all_libraries): New function.
90987         (__nss_disable_nscd): Take parameter with callback function for files
90988         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
90989         used for the cached services.
90990         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
90991         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
90992         options for features to all the files in nscd.
90994         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
90996 2011-07-10  Roland McGrath  <roland@hack.frob.com>
90998         * csu/elf-init.c (__libc_csu_init): Comment typo.
91000 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
91002         * po/pl.po: Update from translation team.
91003         * po/ja.po: Likewise.
91004         * po/ru.po: Likewise.
91005         * po/ko.po: Likewise.
91006         * po/fr.po: Likewise.
91008 2011-07-09  Roland McGrath  <roland@hack.frob.com>
91010         * configure.in (.ctors/.dtors header and trailer check):
91011         Use an empirical test on a built program.
91012         * configure: Regenerated.
91014         * configure.in (-z relro check): Use an empirical test on a built DSO.
91015         Detect, but do not require, on ia64.
91016         * configure: Regenerated.
91018         * configure.in (READELF): Find it with AC_CHECK_TOOL.
91019         Update tests that use readelf to use $READELF instead.
91020         * configure: Regenerated.
91022 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
91024         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
91025         if the result is not used.
91027 2011-07-05  Andreas Jaeger  <aj@suse.de>
91029         [BZ #9696]
91030         * stdlib/tst-strtod.c: Add testcase.
91032 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
91034         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
91035         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
91036         The latter has a higher limit.  Take additional parameter to pass to
91037         the new function.
91038         (__pathconf): Pass file to __statfs_link_max.
91039         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
91040         __statfs_link_max.
91041         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
91042         __statfs_link_max.
91044         [BZ #12868]
91045         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
91046         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91047         Handle Lustre.
91048         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
91049         (__statfs_filesize_max): Likewise.
91050         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
91052 2011-07-05  Andreas Jaeger  <aj@suse.de>
91054         * resolv/res_comp.c (dn_skipname): Remove unused variable.
91056 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
91058         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
91059         `status' variable.
91060         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
91061         Likewise.
91063 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
91065         * Makefile (strop-tests): Add strncat.
91066         * string/test-strncat.c: New file.
91068 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
91070         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
91072 2011-06-21  Andreas Jaeger  <aj@suse.de>
91074         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
91075         Copy rule from iconvdata/Makefile.
91077 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91079         [BZ #12922]
91080         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
91081         but no long options are defined, just return 'W'.
91083 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
91085         [BZ #9696]
91086         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
91088 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91090         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
91091         netgroups to read.
91092         (innetgr): Likewise.
91094 2011-07-05  Roland McGrath  <roland@hack.frob.com>
91096         * config.make.in (install_root): Default to $(DESTDIR).
91098 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
91100         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
91102 2011-07-02  Roland McGrath  <roland@hack.frob.com>
91104         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
91106         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
91107         containing directory rather than embedding absolute directory names.
91109         * scripts/check-local-headers.sh: Rewritten using awk.
91110         Match by word, not by line.  Print error messages for matches.
91111         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
91113         * Makerules [shlib-lds-flags empty]:
91114         ($(common-objpfx)libc_pic.opts): New target.
91115         ($(common-objpfx)libc_pic.os.clean): New target.
91116         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
91118         * config.make.in (OBJCOPY): New variable.
91119         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
91120         * configure: Regenerated.
91122         * config.make.in (use-default-link): New variable.
91123         * configure.in (use_default_link): Grok --with-default-link to set it.
91124         * configure: Regenerated.
91125         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
91126         (shlib-lds, shlib-lds-flags): Define to empty.
91128         * Makerules (shlib-lds): New variable.
91129         (shlib-lds-flags): New variable.
91130         (build-shlib, build-moduile, build-module-asneeded): Use it.
91131         ($(common-objpfx)libc.so): Use $(shlib-lds).
91132         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
91133         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
91135         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
91136         DT_FLAGS/DT_FLAGS_1 with zero flags.
91138         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
91139         linker script munging.
91141 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
91143         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
91144         as 128-bit value.
91145         * crypt/sha512.c (sha512_process_block): Perform total addition using
91146         128-bit if possible.
91147         (__sha512_finish_ctx): Likewise.
91148         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
91149         as 64-bit value.
91150         * crypt/sha256.c (SWAP64): Define.
91151         (sha256_process_block): Perform total addition using 64-bit if
91152         possible.
91153         (__sha256_finish_ctx): Likewise.
91155 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
91157         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
91158         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91159         * nscd/hstcache.c (cache_addhst): Likewise.
91160         * nscd/grpcache.c (cache_addgr): Likewise.
91161         * nscd/aicache.c (addhstaiX): Likewise.
91162         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
91164 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
91166         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
91167         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91168         * nscd/hstcache.c (cache_addhst): Likewise.
91169         * nscd/grpcache.c (cache_addgr): Likewise.
91170         * nscd/aicache.c (addhstaiX): Likewise.
91172 2011-07-01  Andreas Schwab  <schwab@redhat.com>
91174         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
91175         domain only when needed.
91177 2011-06-30  Andreas Schwab  <schwab@redhat.com>
91179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
91180         is always restored.
91182 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
91184         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
91185         are re-adding the entry.
91186         * nscd/servicescache.c (cache_addserv): Likewise.
91188 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
91190         * sysdeps/generic/dl-irel.h: fix protection against multiple
91191         inclusions.
91192         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
91194 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
91196         [BZ #12935]
91197         * malloc/memusage.sh: Fix quoting in message.
91198         * debug/xtrace.sh: Likewise.
91200         * configure.in: Remove support for --experimental-malloc option, make
91201         it the default.
91202         * config.make.in: Likewise.
91203         * malloc/Makefile: Likewise.
91205 2011-06-27  Andreas Schwab  <schwab@redhat.com>
91207         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
91208         two-byte characters.
91210 2011-06-27  Roland McGrath  <roland@hack.frob.com>
91212         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
91213         AC_CACHE_CHECK invocation.
91214         * configure: Regenerated.
91216         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
91218 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
91220         [BZ #12350]
91221         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
91222         bit from old_res_options.
91224         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
91226         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
91227         value type for setfct.
91229 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
91231         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91232         __gettimeofday instead of gettimeofday.
91234 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
91236         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
91238 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
91240         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
91242         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
91243         info.
91245 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91248         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91249         strcpy-sse2-unaligned strncpy-sse2-unaligned
91250         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
91251         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
91252         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
91253         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
91254         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
91255         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
91256         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
91257         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
91258         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
91259         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
91260         (STRCPY): Support SSE2 and SSSE3 versions.
91262 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
91264         [BZ #12874]
91265         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
91266         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
91267         kernels which artificially limit size of requests.
91269 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91271         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91272         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91273         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
91274         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
91275         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
91276         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
91277         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
91278         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
91279         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
91280         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
91281         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
91282         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
91283         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
91284         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
91285         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
91286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91287         Enable unaligned load optimization for Intel Core i3, i5 and i7
91288         processors.
91289         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
91290         Define.
91291         (index_Fast_Unaligned_Load): Define.
91292         (HAS_FAST_UNALIGNED_LOAD): Define.
91294 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
91296         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
91298 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91300         [BZ #12907]
91301         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
91302         until it is clear that the information is realy needed.
91303         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
91305 2011-06-22  Andreas Schwab  <schwab@redhat.com>
91307         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
91309 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91311         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91312         /sys/devices/system/cpu/online if it is usable.
91314         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
91315         reading the information from the /proc filesystem to once a second.
91317 2011-06-21  Andreas Jaeger  <aj@suse.de>
91319         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
91320         NULL after inclusion of kernel headers.
91322 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
91324         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
91325         calls to internal_setent.
91327         [BZ #12885]
91328         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
91329         addresses using gethostbyname4_r ignore IPv4 addresses.
91331         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
91332         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
91334         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
91336 2011-06-20  David S. Miller  <davem@davemloft.net>
91338         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
91339         inclusions.
91340         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
91342         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
91343         (elf_irel): Use it.
91344         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
91345         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
91346         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
91347         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
91348         * sysdeps/x86_64/dl-irel.h: Likewise.
91350         * elf/dl-runtime.c: Use elf_ifunc_invoke.
91351         * elf/dl-sym.c: Likewise.
91353 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91355         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
91356         need to dereference resplen2.
91358 2011-06-14  Andreas Schwab  <schwab@redhat.com>
91360         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
91362 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91364         * Makeconfig: Define vardbdir and inst_vardbdir.
91365         * nss/Makefile: Add rules to install db-Makefile.
91367         * nss/nss_db/db-XXX.c: Cleanup.
91369         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
91370         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
91371         GLIBC_PRIVATE.
91372         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
91373         * nss/makedb.c: Implement -g option to specify that value strings
91374         are generated and should not be added to table iterated over for
91375         get*ent calls.
91376         * nss/nss_db/db-initgroups.c: New file.
91378         * nss/getent.c: Add support for initgroups lookups through getgrouplist
91379         interface.
91381         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
91382         (internal_getgrouplist): Adjust to name change.
91383         Update use_initgroups_entry if this is not the first call.
91384         * nss/databases.def: Add initgroups entry.
91386         * nss/makedb.c (compute_tables): Check result of multiple hash table
91387         sizes to minimize maximum chain length.
91389 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
91391         * Versions.def: Add entry for libnss_db.
91392         * shlib-versions: Likewise.
91393         * nss/Makefile: Add rules to build libnss_db.
91394         * nss/Versions: Add libnss_db information.  Organize libnss_files
91395         entries better.
91396         * nss/db-Makefile: Add gshadow support.  Change rules for the new
91397         makedb progra.  Some minor improvements to generate smaller files.
91398         * nss/nss_db/nss_db.h: Move NSS database header data structures to
91399         here from...
91400         * nss/makedb.c: ...here.
91401         Improve database format to be smaller and require less memory at
91402         runtime.
91403         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
91404         db anymore.
91405         * nss/nss_db/db-netgrp.c: Likewise.
91406         * nss/nss_db/db-open.c: Likewise.
91407         * nss/nss_files/flies-XXX.x: Adjust comments.
91408         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
91409         * nss/nss_files/files-grp.c: Likewise.
91410         * nss/nss_files/files-hosts.c: Likewise.
91411         * nss/nss_files/files-network.c: Likewise.
91412         * nss/nss_files/files-proto.c: Likewise.
91413         * nss/nss_files/files-pwd.c: Likewise.
91414         * nss/nss_files/files-rpc.c: Likewise.
91415         * nss/nss_files/files-service.c: Likewise.
91416         * nss/nss_files/files-sgrp.c: Likewise.
91417         * nss/nss_files/files-spwd.c: Likewise.
91418         * nss/nss_db/db-alias.c: Removed.
91419         * nss/nss_db/dummy-db.h: Removed.
91421 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
91423         * nss/makedb.c: Rewritten to not use database library.
91424         * nss/Makefile: Update to build new makedb program.
91426 2011-06-14  Andreas Jaeger  <aj@suse.de>
91428         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
91429         memset declaration.
91431 2011-06-10  Andreas Schwab  <schwab@redhat.com>
91433         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
91434         tmpbuf.
91436 2011-06-10  Roland McGrath  <roland@hack.frob.com>
91438         * Makerules (shlib.lds): Fail if the linker script comes out empty.
91439         * elf/Makefile ($(objpfx)ld.so): Likewise.
91441         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
91442         Don't list ld.so twice in dependencies.
91444         * posix/bug-regex31.c: Include <stdlib.h>.
91446         * nscd/hstcache.c (cache_addhst): Remove unused variable.
91448         * nis/nss_compat/compat-spwd.c
91449         (getspent_next_nss_netgr): Remove unused variable.
91450         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
91452         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
91453         nonmembers" output to use the right array.
91455         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
91457         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
91459         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
91460         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
91461         * catgets/gencat.c (read_input_file): Likewise.
91462         * locale/programs/locarchive.c (enlarge_archive): Likewise.
91464         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
91465         variable definition inside #if's controlling its use.
91467         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
91469         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
91471         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
91473         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
91474         unreachable code.
91476         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
91478         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
91479         * configure: Regenerated.
91481         * Makerules: Revert last change.
91482         * elf/Makefile: Likewise.
91484 2011-06-09  Roland McGrath  <roland@hack.frob.com>
91486         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
91487         * elf/Makefile ($(objpfx)librtld.os): Likewise.
91488         (reloc-link): Likewise.
91490 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
91492         * elf/Makefile: Add rules to build pldd.
91493         * elf/pldd.c: New file.
91494         * elf/pldd-xx.c: New file.
91496 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
91498         * version.h: Update for 2.15 development version.
91500 2011-06-07  David S. Miller  <davem@davemloft.net>
91502         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
91503         ifuncs.
91504         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
91505         elf_machine_lazy_rel): Likewise.
91506         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
91507         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
91508         elf_machine_lazy_rel): Likewise.
91509         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
91510         dl_hwcap via passed in argument.
91511         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
91512         Likewise.
91514 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91516         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
91518 2011-06-06  Roland McGrath  <roland@hack.frob.com>
91520         [BZ #12849]
91521         * manual/fdl-1.1.texi: New file, verbatim from:
91522         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
91523         * manual/lgpl-2.1.texi: New file, verbatim from:
91524         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
91525         * manual/Makefile (licenses): New variable, list those new file names.
91526         (texis): Use it.
91527         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
91529         * manual/fdl.texi: File removed.
91530         * manual/lesser.texi: File removed.
91531         * manual/libc.texinfo (Copying, Documentation License):
91532         Use new @include file names, put @appendix directive before @include.
91534 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
91536         [BZ #12841]
91537         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
91538         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
91539         (mq_open): Add __NTH.
91541 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
91543         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91544         Assume Intel Core i3/i5/i7 processor if AVX is available.
91546 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
91548         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
91549         typo.
91551 2011-05-31  Andreas Schwab  <schwab@redhat.com>
91553         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
91554         memory.  Use alloca_account.  Fix memory leak when retrying.
91556 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
91558         * version.h (RELEASE): Bump for 2.14 release.
91559         * include/features.h (__GLIBC_MINOR__): Bump to 14.
91561         * config.make.in (RANLIB): Remove entry.
91563 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
91565         * po/Makefile (po-sed-cmd): Add ksh to extensions.
91566         (libc.pot): Work around missing support for .ksh extension in xgettext.
91568         [BZ #12684]
91569         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
91570         if both request failed.
91571         (send_dg): In case of server errors clear resplen or *resplen2.
91573         [BZ #12454]
91574         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
91575         when there are multiple maps.
91576         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
91577         (_dl_fini): Remove test here.
91579         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
91581 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
91583         [BZ #12350]
91584         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
91585         bit from old_res_options.
91586         (gaih_inet): Likewise.
91588         [BZ #11099]
91589         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
91590         as signed.
91592         * resolv/res_init.c (res_setoptions): Make the code more compact.
91594         [BZ #11558]
91595         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
91596         set RES_USEVC.
91598         [BZ #11634]
91599         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
91601         * malloc/malloc.h: Mark malloc hook variables as deprecated.
91603         [BZ #11781]
91604         * malloc/malloc.h: Declare malloc hook variables as volatile.
91606         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
91607         in last patch.
91609         [BZ #11799]
91610         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
91611         raise in the comment.
91612         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
91613         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
91614         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
91616 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
91618         [BZ #12811]
91619         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
91620         grow the buffers more if it already has to be sufficient.
91621         (build_wcs_upper_buffer): Likewise.
91622         * posix/regexec.c (check_matching): Likewise.
91623         (clean_state_log_if_needed): Likewise.
91624         (extend_buffers): Don't enlarge buffers beyond size of the input
91625         buffer.
91626         Patches mostly by Emil Wojak <emil@wojak.eu>.
91627         * posix/bug-regex32.c: New file.
91628         * posix/Makefile (tests): Add bug-regex32.
91630         * locale/findlocale.c (_nl_find_locale): Return right away if
91631         _nl_explode_name failed.
91632         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
91634         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
91636         * debug/xtrace.sh: Unify messages.
91637         * malloc/memusage.sh: Likewise.
91639         [BZ #12813]
91640         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
91641         time symbol from vDSO.  Substitute with vsyscall if not available.
91642         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
91643         __vdso_time.
91645         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
91646         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
91647         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
91648         Add sendmmsg and internal_sendmmsg.
91649         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
91650         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
91651         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
91653         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
91654         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
91655         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
91657 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
91659         [BZ #12813]
91660         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
91661         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
91662         available.
91663         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
91664         __vdso_getcpu.
91666         [BZ #12814]
91667         * iconvdata/Makefile (tests): Add bug-iconv9.
91668         * iconvdata/bug-iconv9.c: New file.
91670 2011-05-27  Andreas Schwab  <schwab@redhat.com>
91672         [BZ #12814]
91673         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
91675 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
91677         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
91678         (struct user_regs_struct): Change intcs field back to cs.
91680 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
91682         * po/ja.po: Update from translation team.
91684 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
91686         [BZ #12795]
91687         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
91688         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
91690 2011-05-20  Andreas Schwab  <schwab@redhat.com>
91692         * stdlib/longlong.h: Update from GCC.
91694 2011-05-23  Andreas Schwab  <schwab@redhat.com>
91696         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
91697         parameter name.
91698         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
91699         Add parameter name.
91700         (__sysconf): Pass it down.
91702 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
91704         [BZ #12671]
91705         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
91706         some situations.
91707         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
91708         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
91709         add in in __libc_use_alloca calls.  Adjust callers.
91710         (glob): Use malloc in some situations.
91712         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
91713         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
91714         pltexit.
91716 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
91718         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
91719         and CLOCK_BOOTTIME_ALARM.
91721         [BZ #12782]
91722         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
91723         is returned.
91725         * string/_strerror.c (__strerror_r): Print negative errors as signed
91726         numbers.
91728         [BZ #12777]
91729         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
91730         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
91731         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
91733         * configure.in: Fix typo in redirection and correct removal of test
91734         files in two cases.
91736         [BZ #12788]
91737         * locale/setlocale.c (new_composite_name): Fix test to check for
91738         identical name of all categories.
91740         [BZ #12792]
91741         * libio/filedoalloc.c (local_isatty): New function.
91742         (_IO_file_doallocate): Use local_isatty.
91743         * stdio-common/perror.c (perror): In case a new stream is used
91744         forward the stream error.
91745         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
91746         error flag.
91748 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
91750         [BZ #11884]
91751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
91752         alloca.
91753         * include/alloca.h (extend_alloca_account): Define.
91755         [BZ #11857]
91756         * posix/regex.h: Fix comments with documentation of user-accessible
91757         fields after compilation and describe correct free'ing of pattern
91758         after re_compile_pattern.
91759         Patch by Reuben Thomas <rrt@sc3d.org>.
91761 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
91763         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
91764         and -mno-altivec to prevent the compiler from using Altivec and/or
91765         VSX instructions when the corresponding registers are not available.
91767 2011-05-19  Andreas Schwab  <schwab@redhat.com>
91769         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
91771 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
91773         * libio/freopen.c (freopen): Use __dup2, not dup2.
91774         * libio/freopen64.c (freopen64): Likewise.
91776 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
91778         [BZ #12775]
91779         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
91780         * math/Makefile (tests): Add test-powl.
91781         (CFLAGS-test-powl.c): Define.
91782         * math/test-powl.c: New file.
91784 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
91786         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
91788 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
91790         [BZ #11837]
91791         * iconvdata/gb18030.c: Update to GB18020-2005.
91793 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
91795         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
91796         RE_SYNTAX_POSIX_AWK): Update to match recent development.
91797         Patch by Aharon Robbins <arnold@skeeve.com>.
91799         [BZ #11892]
91800         * stdlib/putenv.c (putenv): Don't always create copy of the variable
91801         on the stack.
91803         [BZ #11895]
91804         * misc/pselect.c (__pselect): Handle timeout value errors hidden
91805         through underflows.
91807         [BZ #12766]
91808         * misc/error.c (error_at_line): Ensure file_name and old_file_name
91809         point to strings before performing equality test for error_one_per_line
91810         mode.
91812         [BZ #11697]
91813         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
91815         [BZ #11820]
91816         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
91817         (struct user_fpregs_struct): Avoid __uint*_t types.
91819         [BZ #6420]
91820         * malloc/mtrace.c (tr_where): Add additional parameter to point to
91821         symbol info.  Use it instead of calling _dl_addr locally.
91822         (lock_and_info): New function.
91823         (tr_freehook): Call lock_and_info and pass symbol info as additional
91824         parameter to tr_where.
91825         (tr_mallochook): Likewise.
91826         (tr_reallochook): Likewise.
91827         (tr_memalignhook): Likewise.
91829         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
91830         used and couldn't be at all thread-safe.
91832 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
91834         * libio/freopen.c (freopen): Don't close old file descriptor
91835         before the new one is opened.  Instead dup the new file descriptor
91836         to the old one after the new stream is created.
91837         * libio/freopen64.c (freopen64): Likewise.
91838         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
91839         * libio/fileops.c (_IO_new_file_close_it): Handle new
91840         _IO_FLAGS2_NOCLOSE flag.
91841         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
91842         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
91843         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
91844         _IO_FLAGS2_NOCLOSE flag.
91845         * include/unistd.h: Add hidden_proto for dup3.
91846         Define __have_dup3.
91847         * io/dup3.c: Define hidden symbol.
91848         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
91850         [BZ #7101]
91851         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
91852         when an incomplete long option is used.
91853         * posix/tst-getopt_long1.c: New file.
91854         * posix/Makefile (tests): Add tst-getopt_long1.
91856         [BZ #10138]
91857         * scripts/config.guess: Update from autoconf-2.68.
91858         * scripts/config.sub: Likewise.
91860         [BZ #10157]
91861         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
91862         tests into ...
91863         (has_cpuclock): ...this.  New function.
91864         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
91865         macro here based on has_cpuclock code.
91867         [BZ #10149]
91868         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91869         First byte (not low byte) is now always NUL.
91870         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
91872         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91873         Use non-cancelable interfaces.
91875         [BZ #9809]
91876         * locale/iso-639.def: Add entry for Sorani.
91878         [BZ #11901]
91879         * include/stdlib.h: Move include protection to the right place.
91880         Define abort_msg_s.  Declare __abort_msg with it.
91881         * stdlib/abort.c (__abort_msg): Adjust type.
91882         * assert/assert.c (__assert_fail_base): New function.  Majority
91883         of code from __assert_fail.  Allocate memory for __abort_msg with
91884         mmap.
91885         (__assert_fail): Now call __assert_fail_base.
91886         * assert/assert-perr.c: Remove bulk of implementation.  Use
91887         __assert_fail_base.
91888         * include/assert.hL Declare __assert_fail_base.
91889         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
91890         mmap.
91891         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
91893 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
91895         [BZ #11952]
91896         [BZ #12453]
91897         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
91898         until all modules are registered in the DTV.
91899         * elf/Makefile: Add rules to build and run tst-tls19.
91900         * elf/tst-tls19.c: New file.
91901         * elf/tst-tls19mod1.c: New file.
91902         * elf/tst-tls19mod2.c: New file.
91903         * elf/tst-tls19mod3.c: New file.
91904         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
91906         [BZ #12083]
91907         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
91908         correctly.
91910         [BZ #12601]
91911         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
91912         two-byte sequence errors.
91913         * iconvdata/Makefile (tests): Add bug-iconv8.
91914         * iconvdata/bug-iconv8.c: New file.
91916         [BZ #12626]
91917         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
91918         buf2 definition.
91920         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
91922         [BZ #12432]
91923         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
91924         (dummy_getcfa): New function.
91925         (init): Get _Unwind_GetCFA address, use dummy if not found.
91926         (backtrace_helper): In recursion check, also check whether CFA changes.
91927         (__backtrace): Completely initialize arg.
91929         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
91930         storing incomplete byte sequence in state object.  Avoid testing for
91931         guaranteed too small input if we know there is enough data available.
91933 2011-05-11  Andreas Schwab  <schwab@redhat.com>
91935         * Makeconfig (+link-pie): Indent.
91936         * Rules (binaries-pie): Define if $(have-fpie) and
91937         $(build-shared).
91938         (binaries-shared): Also filter out $(binaries-pie).
91939         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
91940         * nscd/Makefile (others-pie): Add nscd.
91941         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
91942         ($(objpfx)nscd): Remove command override.
91943         * login/Makefile (others-pie): Add pt_chown.
91944         ($(objpfx)pt_chown): Remove command override.
91945         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
91946         remove command overrides.
91948 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
91950         * libio/tst_putwc.c: Fix error messages.
91952         [BZ #12724]
91953         * libio/fileops.c (_IO_new_file_close_it): Always flush when
91954         currently writing and seek to current position when not.
91955         * libio/Makefile (tests): Add bug-fclose1.
91956         * libio/bug-fclose1.c: New file.
91958 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
91960         [BZ #12511]
91961         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
91962         don't set DF_1_NODELETE here.
91963         (do_lookup_x): When entering new entry test for copy relocation
91964         and if necessary set DF_1_NODELETE flag.
91965         * elf/tst-unique4.cc: New file.
91966         * elf/tst-unique4.h: New file.
91967         * elf/tst-unique4lib.cc: New file.
91968         * elf/Makefile: Add rules to build and run tst-unique4.
91969         Patch by Piotr Bury <pbury@goahead.com>.
91971 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
91973         [BZ #12052]
91974         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
91976         [BZ #12625]
91977         * misc/mntent_r.c (addmntent): Flush the stream after the output
91979         [BZ #12393]
91980         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
91981         (is_trusted_path_normalize): Skip initial colon.  Append slash
91982         to empty buffer.  Duplicate is_trusted_path code but allow
91983         constructed patch to be prefix.
91984         (is_dst): Allow $ORIGIN followed by /.
91985         (_dl_dst_substitute): Correct clearing of check_for_trusted.
91986         Correct testing of result of is_trusted_path_normalize
91987         (decompose_rpath): Fix warning.
91989 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
91991         [BZ #11257]
91992         * grp/initgroups.c (internal_getgrouplist): When we found the service
91993         list through the initgroups entry in nsswitch.conf do not always
91994         continue on a successful lookup.  Don't always use the
91995         __nss_group_database value if it is set.
91996         * nss/nsswitch.conf (initgroups): Change action for successful db
91997         lookup to continue for compatibility.
91999 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
92001         [BZ #11532]
92002         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
92003         and CP774 modules.
92004         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
92005         and CP774 modules.
92006         * iconvdata/tst-tables.sh: Likewise.
92007         * iconvdata/cp770.c: New file.
92008         * iconvdata/cp771.c: New file.
92009         * iconvdata/cp772.c: New file.
92010         * iconvdata/cp773.c: New file.
92011         * iconvdata/cp774.c: New file.
92012         * iconvdata/testdata/CP770: New file.
92013         * iconvdata/testdata/CP770..UTF8: New file.
92014         * iconvdata/testdata/CP771: New file.
92015         * iconvdata/testdata/CP771..UTF8: New file.
92016         * iconvdata/testdata/CP772: New file.
92017         * iconvdata/testdata/CP772..UTF8: New file.
92018         * iconvdata/testdata/CP773: New file.
92019         * iconvdata/testdata/CP773..UTF8: New file.
92020         * iconvdata/testdata/CP774: New file.
92021         * iconvdata/testdata/CP774..UTF8: New file.
92023         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
92024         END CHARMAP line.
92025         * iconvdata/gen-8bit-gap.sh: Likewise.
92026         * iconvdata/gen-8bit.sh: Likewise.
92028         * locale/iso-639.def: Add ary entry.
92030         [BZ #11258]
92031         * locale/C-translit.h.in: Add U20A1 transliteration.
92033         [BZ #12178]
92034         * locale/iso-639.def: Add wae entry.
92035         Patch by Kevin Bortis <bortis@translate-wae.ch>.
92037         [BZ #12545]
92038         * locale/programs/localedef.c (construct_output_path): Use ssize_t
92039         for n.
92041         [BZ #12711]
92042         * locale/C-translit.h.in: Add entry for U20B9.
92043         Patch by pravin.d.s@gmail.com.
92045 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
92047         [BZ #12713]
92048         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
92049         ENAMETOOLONG use generic getcwd.
92050         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
92051         in rtld.  Use *stat64.
92052         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
92053         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
92054         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
92055         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
92056         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
92057         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
92058         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
92059         __fstatat64 macros.
92060         * include/dirent.h: Add libc_hidden_proto for rewinddir.
92061         * dirent/rewinddir.c: Add libc_hidden_def.
92062         * sysdeps/mach/hurd/rewinddir.c: Likewise.
92063         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
92065         * include/dirent.h (__alloc_dir): Add flags parameter.
92066         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
92067         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
92068         __alloc_dir.
92069         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
92070         from fdopendir if O_CLOEXEC is already set.
92072 2011-03-15  Alan Modra  <amodra@gmail.com>
92074         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
92075         l_tls_firstbyte_offset non-zero.  Save padding offset in
92076         l_tls_firstbyte_offset for later use.
92077         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
92078         freeing static tls block.
92080 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
92082         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
92083         where #ifdef was intended.  The intent is to prevent ARG_MAX from
92084         being defined by the kernel headers.
92086 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
92088         [BZ #12734]
92089         * resolv/resolv.h: Define RES_NOTLDQUERY.
92090         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
92091         no-tld-query and set RES_NOTLDQUERY.
92092         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
92093         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
92094         modern BIND to search name as TLD unless forbidden.
92096 2011-05-07  Petr Baudis  <pasky@suse.cz>
92097             Ulrich Drepper  <drepper@gmail.com>
92099         [BZ #12393]
92100         * elf/dl-load.c (fillin_rpath): Move trusted path check...
92101         (is_trusted_path): ...to here.
92102         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
92103         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
92104         using is_trusted_path_normalize() in setuid scripts.
92106 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
92108         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
92109         __BEGIN/__END_DECLS.
92111 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
92113         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
92114         NSS_STATUS_NOTFOUND if no record was found.
92116 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92118         * sunrpc/Makefile (headers): Add rpc/netdb.h.
92119         (headers-not-in-tirpc): Remove rpc/netdb.h
92120         * resolv/netdb.h: Revert last change.
92122 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
92124         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
92125         circular dependency between libgcc.a and libc.a.
92127 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92129         * resolv/netdb.h: Don't include <rpc/netdb.h>.
92130         * nis/Makefile: Don't install rpcsvc/*.
92131         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
92132         instead of <rpc/types.h>.
92133         (MAXHOSTNAMELEN): Define.
92135 2011-05-03  Andreas Schwab  <schwab@redhat.com>
92137         * elf/ldconfig.c (add_dir): Don't crash on empty path.
92139 2011-04-28  Maciej Babinski  <mbabinski@google.com>
92141         [BZ #12714]
92142         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
92143         gethostbyname4_r when IPv6 results are possible.
92145 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
92147         [BZ #12723]
92148         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
92149         _PC_PIPE_BUF handling.
92151 2011-04-30  Bruno Haible  <bruno@clisp.org>
92153         [BZ #12717]
92154         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
92155         * resolv/netdb.h (getnameinfo): Change type of flags parameter
92156         to 'int'.
92157         * inet/getnameinfo.c (getnameinfo): Likewise.
92159 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
92161         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
92162         to groups setting in database lookup.
92163         * nss/nsswitch.conf: Add initgroups entry.
92165 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
92167         [BZ #12685]
92168         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
92169         mode string.
92170         Patch by Eric Blake <eblake@redhat.com>.
92172 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
92174         * sunrpc/Makefile (need-export-routines): Add svc_run.
92175         (routines): Remove svc_run.
92176         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
92177         * sunrpc/clnt_perr.c (clnt_perrno): Export.
92178         * sunrpc/svc_run.c (svc_run): Likewise.
92179         * sunrpc/svc_udp.c (svcudp_create): Likewise.
92181 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
92183         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
92184         problem in reallocation in last patch.
92186 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
92188         * sunrpc/Makefile: Move inclusion of Rules.
92190 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92192         * nss/nss_files/files-initgroups.c: New file.
92193         * nss/Makefile (libnss_files-routines): Add files-initgroups.
92194         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
92195         _nss_files_initgroups_dyn.
92197 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
92199         * elf/elf.h (R_ARM_IRELATIVE): Define.
92201 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92203         * po/ru.po: Update from translation team.
92205 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92207         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
92208         dependencies.
92210 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
92212         [BZ #12653]
92213         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
92214         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
92215         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
92216         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
92217         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
92219 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
92221         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
92222         differing bytes.
92223         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
92224         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
92225         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92227 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92229         [BZ #12420]
92230         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
92231         storing it.
92232         * stdlib/bug-getcontext.c: New file.
92233         * stdlib/Makefile: Add rules to build and run bug-getcontext.
92235 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92237         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
92238         instructions into .machine "z9-109".
92239         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
92240         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
92242 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92244         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
92245         between environment variables and auxiliary vector.
92247 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
92249         * Makefile: Add rules to build linkobj/libc.so.
92250         * include/libc-symbols.h: Define libc_hidden_nolink.
92251         * include/rpc/auth.h: Mark functions which are to be hidden.
92252         * include/rpc/auth_des.h: Likewise.
92253         * include/rpc/auth_unix.h: Likewise.
92254         * include/rpc/clnt.h: Likewise.
92255         * include/rpc/des_crypt.h: Likewise.
92256         * include/rpc/key_prot.h: Likewise.
92257         * include/rpc/pmap_clnt.h: Likewise.
92258         * include/rpc/pmap_prot.h: Likewise.
92259         * include/rpc/pmap_rmt.h: Likewise.
92260         * include/rpc/rpc_msg.h: Likewise.
92261         * include/rpc/svc.h: Likewise.
92262         * include/rpc/svc_auth.h: Likewise.
92263         * include/rpc/xdr.h: Likewise.
92264         * nis/Makefile: Link all DSOs against linkobj/libc.so.
92265         * nss/Makefile: Likewise.
92266         * sunrpc/Makefile: Don't install headers.  Build library with normal
92267         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
92268         * sunrpc/auth_des.c: Hide exported symbols by default, export some
92269         for the compat linking library.  Remove use of INTDEF/INTUSE.
92270         * sunrpc/auth_none.c: Likewise.
92271         * sunrpc/auth_unix.c: Likewise.
92272         * sunrpc/authdes_prot.c: Likewise.
92273         * sunrpc/authuxprot.c: Likewise.
92274         * sunrpc/clnt_gen.c: Likewise.
92275         * sunrpc/clnt_perr.c: Likewise.
92276         * sunrpc/clnt_raw.c: Likewise.
92277         * sunrpc/clnt_simp.c: Likewise.
92278         * sunrpc/clnt_tcp.c: Likewise.
92279         * sunrpc/clnt_udp.c: Likewise.
92280         * sunrpc/clnt_unix.c: Likewise.
92281         * sunrpc/des_crypt.c: Likewise.
92282         * sunrpc/des_soft.c: Likewise.
92283         * sunrpc/get_myaddr.c: Likewise.
92284         * sunrpc/key_call.c: Likewise.
92285         * sunrpc/key_prot.c: Likewise.
92286         * sunrpc/netname.c: Likewise.
92287         * sunrpc/pm_getmaps.c: Likewise.
92288         * sunrpc/pm_getport.c: Likewise.
92289         * sunrpc/pmap_clnt.c: Likewise.
92290         * sunrpc/pmap_prot.c: Likewise.
92291         * sunrpc/pmap_prot2.c: Likewise.
92292         * sunrpc/pmap_rmt.c: Likewise.
92293         * sunrpc/publickey.c: Likewise.
92294         * sunrpc/rpc_cmsg.c: Likewise.
92295         * sunrpc/rpc_common.c: Likewise.
92296         * sunrpc/rpc_dtable.c: Likewise.
92297         * sunrpc/rpc_prot.c: Likewise.
92298         * sunrpc/rpc_thread.c: Likewise.
92299         * sunrpc/rtime.c: Likewise.
92300         * sunrpc/svc.c: Likewise.
92301         * sunrpc/svc_auth.c: Likewise.
92302         * sunrpc/svc_authux.c: Likewise.
92303         * sunrpc/svc_raw.c: Likewise.
92304         * sunrpc/svc_run.c: Likewise.
92305         * sunrpc/svc_simple.c: Likewise.
92306         * sunrpc/svc_tcp.c: Likewise.
92307         * sunrpc/svc_udp.c: Likewise.
92308         * sunrpc/svc_unix.c: Likewise.
92309         * sunrpc/svcauth_des.c: Likewise.
92310         * sunrpc/xcrypt.c: Likewise.
92311         * sunrpc/xdr.c: Likewise.
92312         * sunrpc/xdr_array.c: Likewise.
92313         * sunrpc/xdr_float.c: Likewise.
92314         * sunrpc/xdr_intXX_t.c: Likewise.
92315         * sunrpc/xdr_mem.c: Likewise.
92316         * sunrpc/xdr_rec.c: Likewise.
92317         * sunrpc/xdr_ref.c: Likewise.
92318         * sunrpc/xdr_sizeof.c: Likewise.
92319         * sunrpc/xdr_stdio.c: Likewise.
92321 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
92323         [BZ #12650]
92324         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
92325         * sysdeps/ia64/dl-tls.h: Likewise.
92326         * sysdeps/powerpc/dl-tls.h: Likewise.
92327         * sysdeps/s390/dl-tls.h: Likewise.
92328         * sysdeps/sh/dl-tls.h: Likewise.
92329         * sysdeps/sparc/dl-tls.h: Likewise.
92330         * sysdeps/x86_64/dl-tls.h: Likewise.
92331         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
92333 2011-03-14  Andreas Schwab  <schwab@redhat.com>
92335         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
92336         rpath element also skip the following colon.
92337         (expand_dynamic_string_token): Add is_path parameter and pass
92338         down to DL_DST_REQUIRED and _dl_dst_substitute.
92339         (decompose_rpath): Call expand_dynamic_string_token with
92340         non-zero is_path.  Ignore empty rpaths.
92341         (_dl_map_object_from_fd): Call expand_dynamic_string_token
92342         with zero is_path.
92344 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
92346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
92347         Make cancelable.
92349 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
92351         [BZ #12655]
92352         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
92353         Patch by Filipe David Manana <fdmanana@apache.org>.
92355 2011-04-07  Andreas Schwab  <schwab@redhat.com>
92357         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
92358         Maintain aligned stack.
92359         (CHECK_RSP): Remove unused macro.
92361 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
92363         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
92364         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
92366 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
92368         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
92370         * include/features.h: Mention __USE_XOPEN2K8 in comment.
92372 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
92374         [BZ #12518]
92375         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
92376         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
92377         * sysdeps/x86_64/memmove.c: New file.
92378         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
92379         (memcpy): Renamed to ...
92380         (__new_memcpy): This.
92381         (memcpy): Provide GLIBC_2_14 memcpy.
92382         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
92383         (memcpy): Provide GLIBC_2_2_5 memcpy.
92385 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92387         [BZ #12631]
92388         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
92390 2011-03-30  Andreas Schwab  <schwab@redhat.com>
92392         * misc/syncfs.c: New file.
92393         * misc/Makefile (routines): Add syncfs.
92394         * posix/unistd.h: Declare syncfs.
92395         * sysdeps/unix/syscalls.list: Add syncfs.
92397 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92399         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
92400         open_by_handle_at.
92401         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92402         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92403         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92404         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92405         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92406         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
92407         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92409 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92411         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
92412         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92413         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
92414         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92415         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92416         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92417         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92419         * io/Makefile: Compile fallocate.c, fallocate64.c, and
92420         sync_file_range.c with -fexceptions.
92421         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
92422         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
92423         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
92424         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
92425         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
92426         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
92427         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
92428         sync_file_range as cancellation point
92429         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
92430         now a wrapper around __call_sync_file_range with cancellation handling.
92431         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
92432         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
92433         function name to __call_sync_file_range.
92434         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
92435         Add call_sync_file_range.
92437 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92439         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
92440         bits/timex.h.
92442 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92444         * iconv/iconv.h: Fix typo in comment.
92445         * io/fcntl.h: Likewise.
92446         * libio/stdio.h: Likewise.
92447         * posix/spawn.h: Likewise.
92448         * posix/unistd.h: Likewise.
92449         * stdlib/stdlib.h: Likewise.
92450         * time/time.h: Likewise.
92451         * wcsmbs/wchar.h: Likewise.
92453         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
92454         open_by_handle): Add.
92455         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
92456         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
92457         Augment a few comments.
92458         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92459         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92460         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92461         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92462         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92463         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
92464         open_by_handle.
92466         * io/fcntl.h (AT_EMPTY_PATH): Define.
92468 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
92470         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
92471         * sysdeps/unix/sysv/linux/bits/time.h: New file.
92472         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
92473         to...
92474         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
92475         * Versions.def: Add GLIBC_2.14.
92476         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
92477         Export.
92479 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
92481         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
92482         round counter.
92483         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92485 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
92487         [BZ #12597]
92488         * string/test-strncmp.c (do_page_test): New function.
92489         (check2): Likewise.
92490         (test_main): Call check2.
92491         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
92493 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
92495         [BZ #12587]
92496         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
92497         Handle cache information in CPU leaf 4.
92498         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92500 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
92502         [BZ #12583]
92503         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
92504         character representation.
92505         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
92507 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
92509         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
92510         END(__isnan) to END(__isnanf) to match function entry point/label
92511         EALIGN(__isnanf,...).
92513 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
92515         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
92517 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
92519         [BZ #12510]
92520         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
92521         copy from the symbol referenced in the relocation to initialize the
92522         used variable.
92523         Patch by Piotr Bury <pbury@goahead.com>.
92524         * elf/Makefile: Add rules to build and tst-unique3.
92525         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
92526         * elf/tst-unique3.cc: New file.
92527         * elf/tst-unique3.h: New file.
92528         * elf/tst-unique3lib.cc: New file.
92529         * elf/tst-unique3lib2.cc: New file.
92531         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
92533 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
92535         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
92536         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
92537         to _start.
92539 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
92541         * elf/dl-load.c (_dl_map_object): If we are looking for the first
92542         to-be-loaded object along a path to loader is ld.so.
92544 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
92545             Ulrich Drepper  <drepper@gmail.com>
92547         * sysdeps/x86_64/memset.S: After aligning destination, code
92548         branches to different locations depending on the value of
92549         misalignment, when multiarch is enabled. Fix this.
92551 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
92553         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
92554         Set _x86_64_preferred_memory_instruction for AMD processsors.
92555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92556         Set bit_Prefer_SSE_for_memop for AMD processors.
92558 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
92560         * libio/fmemopen.c (fmemopen): Optimize a bit.
92562 2011-03-03  Andreas Schwab  <schwab@redhat.com>
92564         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
92566 2011-03-03  Roland McGrath  <roland@redhat.com>
92568         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
92570 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
92572         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
92573         __bzero_ultra1 instead of __memset_ultra1.
92575 2011-02-23  Andreas Schwab  <schwab@redhat.com>
92576             Ulrich Drepper  <drepper@gmail.com>
92578         [BZ #12509]
92579         * include/link.h (struct link_map): Add l_orig_initfini.
92580         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
92581         returning unsuccessfully.
92582         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
92583         close of a file loaded at startup, restore the original l_initfini
92584         list.
92585         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
92586         list, store the pointer.
92587         * elf/Makefile ($(objpfx)noload-mem): New rule.
92588         (noload-ENV): Define.
92589         (tests): Add $(objpfx)noload-mem.
92590         * elf/noload.c: Include <memcheck.h>.
92591         (main): Call mtrace.  Close all opened handles.
92593 2011-02-17  Andreas Schwab  <schwab@redhat.com>
92595         [BZ #12454]
92596         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
92597         dependencies are missing.
92599 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92601         Fix __if_freereq crash: Unlike the generic version which uses free,
92602         Hurd needs munmap.
92603         * sysdeps/mach/hurd/ifreq.h: New file.
92605 2011-01-27  Petr Baudis  <pasky@suse.cz>
92606             Ulrich Drepper  <drepper@gmail.com>
92608         [BZ 12445]#
92609         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
92610         to extend_alloca().
92611         * stdio-common/bug23.c: New file.
92612         * stdio-common/Makefile (tests): Add bug23.
92614 2010-09-28  Andreas Schwab  <schwab@redhat.com>
92615             Ulrich Drepper  <drepper@gmail.com>
92617         [BZ #12489]
92618         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
92619         before performing relro protection.  At old place add assertion
92620         to make sure nothing changed.
92622 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
92623             Glauber de Oliveira Costa  <glommer@gmail.com>
92625         * elf/elf.h: Add new ARM TLS relocs.
92627 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
92629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
92630         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
92631         cast from r3.
92632         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
92633         'tests' variable.
92634         * sysdeps/wordsize-64/tst-writev.c: New file.
92636 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
92638         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
92639         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
92640         insns in _dl_start to prevent a TOC reference before relocs are
92641         resolved.
92643 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
92645         [BZ #12469]
92646         * Makeconfig: Remove RANLIB definition.
92647         * Makerules: Don't use RANLIB.
92648         * aclocal.m4: Remove ranlib test.
92649         * configure.in: No need to check for ranlib.
92650         * elf/rtld-Rules: Don't use RANLIB.
92652 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92654         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
92655         protection macro.
92656         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
92657         inclusion protection macro.
92659         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
92660         SIGRTMIN and SIGRTMAX and print information in that case only when
92661         SIGRTMIN is defined.
92663 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
92665         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
92666         arginfo fn returning -1.
92668         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
92669         and thousands string is zero terminated.
92671 2011-02-03  Andreas Schwab  <schwab@redhat.com>
92673         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
92674         sysdeps/unix/sysv/linux/bits/socket.h.
92676 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92678         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
92679         (__CPU_COUNT): Remove old macros.
92680         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
92681         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
92682         (__CPU_ALLOC, __CPU_FREE): Add macros.
92683         (__sched_cpualloc, __sched_cpufree): Add declarations.
92685 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
92687         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
92688         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
92689         * nscd/aicache.c (addhstaiX): Return timeout of added value.
92690         (readdhstai): Return value of addhstaiX call.
92691         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
92692         (addgrbyX): Return value returned by cache_addgr.
92693         (readdgrbyname): Return value returned by addgrbyX.
92694         (readdgrbygid): Likewise.
92695         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
92696         (addpwbyX): Return value returned by cache_addpw.
92697         (readdpwbyname): Return value returned by addhstbyX.
92698         (readdpwbyuid): Likewise.
92699         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
92700         (addservbyX): Return value returned by cache_addserv.
92701         (readdservbyname): Return value returned by addservbyX:
92702         (readdservbyport): Likewise.
92703         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
92704         (addhstbyX): Return value returned by cache_addhst.
92705         (readdhstbyname): Return value returned by addhstbyX.
92706         (readdhstbyaddr): Likewise.
92707         (readdhstbynamev6): Likewise.
92708         (readdhstbyaddrv6): Likewise.
92709         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
92710         (readdinitgroups): Return value returned by addinitgroupsX.
92711         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
92712         (prune_cache): Keep track of timeout value of re-added entries.
92713         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
92714         * nscd/nscd.h: Adjust prototypes of readd* functions.
92716 2011-02-04  Roland McGrath  <roland@redhat.com>
92718         * nis/nis_server.c (nis_servstate): Use the right name for 0.
92719         (nis_stats): Likewise.
92720         * nis/nis_modify.c (nis_modify): Likewise.
92721         * nis/nis_remove.c (nis_remove): Likewise.
92722         * nis/nis_add.c (nis_add): Likewise.
92724         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
92726         * posix/fnmatch_loop.c: Add some consts.
92728         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
92730 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
92732         [BZ #12460]
92733         * config.make.in (config-cflags-novzeroupper): Define.
92734         * configure.in: Substitute libc_cv_cc_novzeroupper.
92735         * elf/Makefile (AVX-CFLAGS): Define.
92736         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
92737         (CFLAGS-tst-auditmod4a.c): Likewise.
92738         (CFLAGS-tst-auditmod4b.c): Likewise.
92739         (CFLAGS-tst-auditmod6b.c): Likewise.
92740         (CFLAGS-tst-auditmod6c.c): Likewise.
92741         (CFLAGS-tst-auditmod7b.c): Likewise.
92742         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
92744 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
92746         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
92747         function to the callback.
92748         Patch partly by Jiri Olsa <jolsa@redhat.com>.
92750 2011-02-02  Andreas Schwab  <schwab@redhat.com>
92752         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
92753         of errno.
92755 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
92757         [BZ #11724]
92758         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
92759         of constructors.
92760         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
92761         of destructors.
92762         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
92764         [BZ #11724]
92765         * elf/Makefile: Add rules to build and run new test.
92766         * elf/tst-initorder.c: New file.
92767         * elf/tst-initorder.exp: New file.
92768         * elf/tst-initordera1.c: New file.
92769         * elf/tst-initordera2.c: New file.
92770         * elf/tst-initordera3.c: New file.
92771         * elf/tst-initordera4.c: New file.
92772         * elf/tst-initorderb1.c: New file.
92773         * elf/tst-initorderb2.c: New file.
92774         * elf/tst-order-a1.c: New file.
92775         * elf/tst-order-a2.c: New file.
92776         * elf/tst-order-a3.c: New file.
92777         * elf/tst-order-a4.c: New file.
92778         * elf/tst-order-b1.c: New file.
92779         * elf/tst-order-b2.c: New file.
92780         * elf/tst-order-main.c: New file.
92781         New test case by George Gensure <werkt0@gmail.com>.
92783 2010-10-01  Andreas Schwab  <schwab@redhat.com>
92785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92786         decoding ACE if AI_CANONIDN.
92788 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
92790         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
92792 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
92794         * version.h (RELEASE): Bump for 2.13 release.
92795         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
92797         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
92799         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
92800         MADV_NOHUGEPAGE.
92801         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
92802         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
92803         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
92804         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
92805         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
92806         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92808         * posix/getconf.c: Update copyright year.
92809         * catgets/gencat.c: Likewise.
92810         * csu/version.c: Likewise.
92811         * debug/catchsegv.sh: Likewise.
92812         * debug/xtrace.sh: Likewise.
92813         * elf/ldconfig.c: Likewise.
92814         * elf/ldd.bash.in: Likewise.
92815         * elf/sprof.c (print_version): Likewise.
92816         * iconv/iconv_prog.c: Likewise.
92817         * iconv/iconvconfig.c: Likewise.
92818         * locale/programs/locale.c: Likewise.
92819         * locale/programs/localedef.c: Likewise.
92820         * malloc/memusage.sh: Likewise.
92821         * malloc/mtrace.pl: Likewise.
92822         * nscd/nscd.c (print_version): Likewise.
92823         * nss/getent.c: Likewise.
92825         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
92826         PF_CAIF, and PF_ALG.
92827         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92829 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
92831         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
92832         (modules-names): Use them.
92833         (ifunc-test-modules, ifunc-pie-tests): Define.
92834         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
92835         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
92836         (test-extras): Likewise.
92837         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
92838         $(compile-command.c).
92839         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
92840         (all-built-dso): Define.
92841         (check-textrel.out, check-execstack.out): Depend on it.
92843         * configure.in: Don't override --enable-multi-arch.
92845 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
92847         [BZ #6812]
92848         * nscd/hstcache.c (tryagain): Define.
92849         (cache_addhst): Return tryagain not notfound for temporary errors.
92850         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
92851         failed.
92853 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
92855         [BZ #10563]
92856         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
92857         to make the syscall.
92858         * sysdeps/unix/sysv/linux/setgroups.c: New file.
92860         [BZ #12378]
92861         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
92862         and fall back to matching as normal character if the string ends before
92863         the matching ']' is found.  This is what POSIX requires.
92864         * posix/testfnm.c: Adjust test result.
92865         * posix/globtest.sh: Adjust test result.  Add new test.
92866         * posix/tst-fnmatch.input: Likewise.
92867         * posix/tst-fnmatch2.c: Add new test.
92869 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
92871         * elf/Makefile (check-execstack): Revert last change.  Depend on
92872         check-execstack.h.
92873         (check-execstack.h): New target.
92874         (generated): Add check-execstack.h.
92875         * elf/check-execstack.c: Include "check-execstack.h".
92876         (main): Revert last change.
92877         (handle_file): Return zero if GNU_STACK is absent and
92878         DEFAULT_STACK_PERMS doesn't include PF_X.
92880 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
92882         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
92883         in child fails because the descriptor is already closed.
92884         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
92885         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
92886         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
92888         [BZ #12397]
92889         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
92890         syscall.
92892         [BZ #10484]
92893         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
92894         temporary buffer used to handle multi lookups locally.
92895         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
92897 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92899         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
92900         loader is ld.so.
92902 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
92904         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
92905         alignment for SSE2.
92907 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92909         [BZ #12394]
92910         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
92911         characters.  When rounding increased number of integer digits recompute
92912         number of groups.
92913         * stdio-common/tst-grouping.c: New file.
92914         * stdio-common/Makefile: Add rules to build and run tst-grouping.
92916 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
92918         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
92919         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
92921         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
92922         void.
92923         * bits/select.h: Likewise.
92925 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
92927         * po/ja.po: Update from translation team.
92929 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
92931         [BZ #11155]
92932         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
92933         implementation just like for lxstat, fxstatat, et al.
92935 2010-12-27  Jim Meyering  <meyering@redhat.com>
92937         [BZ #12348]
92938         * posix/regexec.c (build_trtable): Return failure indication upon
92939         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
92941 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
92943         [BZ #12201]
92944         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
92945         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
92946         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
92947         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
92949         [BZ #12207]
92950         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
92952         [BZ #12204]
92953         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
92954         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
92956 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
92958         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
92959         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
92960         script has SORT_BY_INIT_PRIORITY.
92961         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
92962         NO_CTORS_DTORS_SECTIONS is defined.
92963         * elf/soinit.c: Likewise.
92964         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
92965         NO_CTORS_DTORS_SECTIONS is defined.
92966         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
92967         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
92968         * sysdeps/sh/init-first.c: Likewise.
92969         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
92971 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
92973         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
92974         always use the slow path.
92976 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
92978         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
92979         similar rule which adds the sysdep directories to the header search in
92980         order to pick up the correct platform stackinfo.h.
92981         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
92982         perform test if it is, otherwise return successfully without testing.
92983         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
92984         DEFAULT_STACK_PERMS define in stackinfo.h.
92985         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
92986         defined in stackinfo.h.
92987         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
92988         DEFAULT_STACK_PERMS defined in stackinfo.h.
92989         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
92990         * sysdeps/ia64/stackinfo.h: Likewise.
92991         * sysdeps/s390/stackinfo.h: Likewise.
92992         * sysdeps/sh/stackinfo.h: Likewise.
92993         * sysdeps/sparc/stackinfo.h: Likewise.
92994         * sysdeps/x86_64/stackinfo.h: Likewise.
92995         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
92996         PF_X for powerpc64.  Retain PF_X for powerpc32.
92998 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
93000         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
93001         accurately.
93002         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
93003         GETDENTS_64BIT_ALIGNED.
93005 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
93007         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
93009 2010-12-10  Andreas Schwab  <schwab@redhat.com>
93011         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
93012         _GNU_SOURCE.
93014         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
93015         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
93016         Remove __restrict.
93017         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
93018         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
93020 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
93022         [BZ #11655]
93023         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
93024         are initialized.
93026 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
93028         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
93030 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
93032         * po/it.po: Update from translation team.
93034 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
93036         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
93037         unused codes.
93039 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
93041         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
93043 2010-11-24  Andreas Schwab  <schwab@redhat.com>
93045         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
93046         specially.
93047         (gaih_getanswer_slice): Likewise.
93049 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
93051         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
93053 2010-05-31  Petr Baudis  <pasky@suse.cz>
93055         [BZ #11149]
93056         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
93057         silently even in the chroot mode.
93059 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
93061         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
93062         last patch a bit.  Pretty printing
93064 2010-05-31  Petr Baudis <pasky@suse.cz>
93066         [BZ #10085]
93067         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
93068         initialization of skip_initgroups_dyn.
93070 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
93072         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
93073         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93075 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
93077         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
93079 2010-11-11  Andreas Schwab  <schwab@redhat.com>
93081         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
93082         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
93083         (tst-fnmatch-ENV): Set MALLOC_TRACE.
93084         ($(objpfx)tst-fnmatch-mem): New rule.
93085         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
93086         * posix/tst-fnmatch.c (main): Call mtrace.
93088 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
93090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93091         Support Intel processor model 6 and model 0x2c.
93093 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
93095         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
93096           signed comparison.
93098 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
93100         [BZ #12205]
93101         * string/test-strncasecmp.c (check_result): New function.
93102         (do_one_test): Use it.
93103         (check1): New function.
93104         (test_main): Use it.
93105         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
93106         Support strcasecmp and strncasecmp.
93108 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
93110         [BZ #12194]
93111         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
93112         * sysdeps/x86_64/bits/byteswap.h: Likewise.
93114 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
93116         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
93117         IFUNC support.
93118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93119         memset-x86-64.
93120         * sysdeps/x86_64/multiarch/bzero.S: New file.
93121         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
93122         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
93123         * sysdeps/x86_64/multiarch/memset.S: New file.
93124         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
93125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93126         Set bit_Prefer_SSE_for_memop for Intel processors.
93127         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
93128         Define.
93129         (index_Prefer_SSE_for_memop): Define.
93130         (HAS_PREFER_SSE_FOR_MEMOP): Define.
93132 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
93134         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
93135         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
93137 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
93139         [BZ #12191]
93140         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93141         (__x86_64_raw_data_cache_size_half): Likewise.
93142         (__x86_64_raw_shared_cache_size): Likewise.
93143         (__x86_64_raw_shared_cache_size_half): Likewise.
93145         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93146         (__x86_64_raw_data_cache_size_half): Likewise.
93147         (__x86_64_raw_shared_cache_size): Likewise.
93148         (__x86_64_raw_shared_cache_size_half): Likewise.
93149         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
93150         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
93151         and __x86_64_raw_shared_cache_size_half.  Round
93152         __x86_64_data_cache_size_half, __x86_64_data_cache_size
93153         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
93154         to multiple of 256 bytes.
93156 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
93158         [BZ #12167]
93159         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
93160         of inacessible symlinks.  Verify result of symlink before returning it.
93161         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
93162         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
93164 2010-10-28  Erich Ritz  <erichritz@gmail.com>
93166         * math/math.h (isinf): Fix typo in comment.
93168 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
93170         * po/da.po: Update from translation team.
93172 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
93174         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
93175         is added to the list.
93177 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93178             Ulrich Drepper  <drepper@gmail.com>
93180         * elf/dl-object.c (_dl_new_object): Don't append the new object to
93181         the global list here.  Move code to...
93182         (_dl_add_to_namespace_list): ...here.  New function.
93183         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
93184         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
93185         * elf/dl-load.c (lose): Don't remove the element from the list.
93186         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
93187         (_dl_map_object): Likewise.
93189 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
93191         [BZ #12159]
93192         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
93193         into all bytes of SSE register.
93194         Patch by Richard Li <richardpku@gmail.com>.
93196 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
93198         [BZ #12140]
93199         * malloc/malloc.c (_int_free): Fill correct number of bytes when
93200         perturbing.
93202 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
93204         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
93205         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
93206         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
93207         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
93208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
93209         submachine.
93210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
93212 2010-10-22  Andreas Schwab  <schwab@redhat.com>
93214         * include/dlfcn.h (__RTLD_SECURE): Define.
93215         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
93216         mode & __RTLD_SECURE instead.
93217         (open_path): Rename preloaded parameter to secure.
93218         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
93219         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
93220         * elf/dl-deps.c (openaux): Likewise.
93221         * elf/rtld.c (struct map_args): Remove is_preloaded.
93222         (map_doit): Don't use it.
93223         (dl_main): Likewise.
93224         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
93225         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
93227 2010-09-09  Andreas Schwab  <schwab@redhat.com>
93229         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
93230         (sysd-rules-targets): Remove duplicates.
93231         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
93232         rtld-%.$o dependency.
93234 2010-10-18  Andreas Schwab  <schwab@redhat.com>
93236         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
93237         _dl_map_object do it.
93239 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
93241         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
93242         fast fma builtins, define the macros in the C99 standard.
93243         (FP_FAST_FMAF): Likewise.
93244         (FP_FAST_FMAL): Likewise.
93245         * sysdeps/x86_64/bits/mathdef.h: Likewise.
93247         * bits/mathdef.h: Update copyright year.
93248         * sysdeps/powerpc/bits/mathdef.h: Likewise.
93250 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
93252         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
93253         builtins, define the macros in the C99 standard.
93254         (FP_FAST_FMAF): Likewise.
93255         (FP_FAST_FMAL): Likewise.
93256         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
93257         multiply/add.
93258         (FP_FAST_FMAF): Likewise.
93260 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
93262         [BZ #3268]
93263         * math/libm-test.inc (fma_test): Some new testcases.
93264         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
93265         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
93266         y and infinite z.  Do multiplication by C already in long double.
93267         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
93268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
93269         y and infinite z.  Do bitwise or of inexact bit into u.d.
93270         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
93271         * sysdeps/i386/fpu/s_fmaf.S: Removed.
93272         * sysdeps/i386/fpu/s_fma.S: Removed.
93273         * sysdeps/i386/fpu/s_fmal.S: Removed.
93275 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
93277         [BZ #3268]
93278         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
93279         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
93280         computation is not scheduled after fetestexcept.  Fix value
93281         of minimum denormal long double.
93283 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
93285         [BZ #3268]
93286         * math/libm-test.inc (fma_test): Add some more tests.
93287         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
93288         correctly.
93290 2010-10-15  Andreas Schwab  <schwab@redhat.com>
93292         * scripts/data/localplt-s390-linux-gnu.data: New file.
93293         * scripts/data/localplt-s390x-linux-gnu.data: New file.
93295 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
93297         [BZ #3268]
93298         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
93299         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
93300         instead of dbl-64.
93301         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
93302         inlines.
93303         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
93304         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
93305         if one of x and y is very large and the other is subnormal.
93306         * sysdeps/s390/fpu/s_fmaf.c: New file.
93307         * sysdeps/s390/fpu/s_fma.c: New file.
93308         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
93309         * sysdeps/powerpc/fpu/s_fma.S: New file.
93310         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
93311         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
93312         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
93314 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
93316         [BZ #3268]
93317         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
93318         fma tests.
93319         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
93320         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
93321         * sysdeps/i386/i686/multiarch/s_fma.c: Include
93322         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
93323         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
93324         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
93325         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
93327 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
93329         [BZ #12078]
93330         * posix/regcomp.c (parse_branch): One more memory leak plugged.
93331         * posix/bug-regex31.input: Add test case.
93333 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93335         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
93336         * posix/bug-regex31.input: New file.
93338         [BZ #12078]
93339         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
93340         (parse_sub_exp): Fix last change, use postorder.
93342         * posix/bug-regex31.c: New file.
93343         * posix/Makefile: Add rules to build and run bug-regex31.
93345         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
93347         [BZ #12078]
93348         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
93350         [BZ #12108]
93351         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
93352         to have entries in sys_siglist.
93354         [BZ #12093]
93355         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
93356         be NULL.
93358 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
93360         [BZ #3268]
93361         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
93362         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
93363         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
93364         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
93365         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
93366         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
93367         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
93368         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
93369         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
93370         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
93371         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
93372         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
93373         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
93374         * math/ftestexcept.c (fetestexcept): Likewise.
93375         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
93376         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
93377         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
93378         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
93379         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
93380         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
93381         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
93383 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93385         [BZ #12107]
93386         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
93387         newline.
93389 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
93391         * string/bug-strstr1.c: New file.
93392         * string/Makefile: Add rules to build and run bug-strstr1.
93394 2010-10-05  Eric Blake  <eblake@redhat.com>
93396         [BZ #12092]
93397         * string/str-two-way.h (two_way_long_needle): Always clear memory
93398         when skipping input due to the shift table.
93400 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
93402         [BZ #12005]
93403         * malloc/mcheck.c: Handle large requests.
93405         [BZ #12077]
93406         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
93407         for strncmp and strncasecmp.
93408         * string/stratcliff.c: Add tests for strcmp and strncmp.
93409         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
93411 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
93413         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
93414         __set_fpscr.
93416 2010-09-30  Andreas Jaeger  <aj@suse.de>
93418         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
93419         (CGROUP_SUPER_MAGIC): Define.
93420         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93421         Handle btrfs and cgroup file systems.
93422         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
93423         Likewise.
93425 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
93427         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
93428         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
93430 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93432         [BZ #12067]
93433         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
93434         trying to locate the ELF header.
93436 2010-09-27  Andreas Schwab  <schwab@redhat.com>
93438         [BZ #11611]
93439         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
93440         Mask out sign-bit copies when constructing f_fsid.
93442 2010-09-24  Petr Baudis <pasky@suse.cz>
93444         * debug/stack_chk_fail_local.c: Add missing licence exception.
93445         * debug/warning-nop.c: Likewise.
93447 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
93449         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
93450         implementing getdents64 using getdents syscall, set d_type if
93451         __ASSUME_GETDENTS32_D_TYPE.
93453 2010-09-16  Andreas Schwab  <schwab@redhat.com>
93455         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
93456         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
93458 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
93460         [BZ #12037]
93461         * posix/unistd.h: Undo change of feature selection for ftruncate from
93462         2010-01-11.
93464 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
93466         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
93467         detection.
93469 2010-09-20  Andreas Schwab  <schwab@redhat.com>
93471         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
93472         fanotify_mark.
93473         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93475 2010-09-14  Andreas Schwab  <schwab@redhat.com>
93477         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
93478         variables after CHECK_SP call.
93479         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
93481 2010-09-13  Andreas Schwab  <schwab@redhat.com>
93482             Ulrich Drepper  <drepper@redhat.com>
93484         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
93485         re-relocationg ld.so.
93486         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
93487         _dl_init_paths call.
93488         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
93489         here anymore.
93491 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
93493         * resolv/res_init.c (__res_vinit): Count the default server we added.
93495 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
93496             Ulrich Drepper  <drepper@redhat.com>
93498         [BZ #11968]
93499         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
93500         (____longjmp_chk): Use %ebx for saving value across system call.
93501         Add unwind info.
93503 2010-09-06  Andreas Schwab  <schwab@redhat.com>
93505         * manual/Makefile: Don't mix pattern rules with normal rules.
93507 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
93509         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
93510         operation.
93511         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
93512         * libio/iofopncook.c (_IO_cookie_init): Likewise.
93513         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
93514         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
93515         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
93516         Likewise.
93518 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
93520         [BZ #11979]
93521         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
93522         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
93524 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
93526         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
93527         * sysdeps/x86_64/addmul_1.S: Likewise.
93528         * sysdeps/x86_64/lshift.S: Likewise.
93529         * sysdeps/x86_64/mul_1.S: Likewise.
93530         * sysdeps/x86_64/rshift.S: Likewise.
93531         * sysdeps/x86_64/sub_n.S: Likewise.
93532         * sysdeps/x86_64/submul_1.S: Likewise.
93534 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93536         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
93537         Define __sched_param instead of SCHED_* and sched_param when
93538         <bits/sched.h> is included with __need_schedparam defined.
93539         * bits/sched.h [__need_schedparam]
93540         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
93541         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
93542         (__defined_schedparam): Define to 1.
93543         (__sched_param): New structure, identical to sched_param.
93544         (__need_schedparam): Undefine.
93546 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
93548         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
93549         (epoll_create1): Declare.
93551         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
93553 2010-08-31  Andreas Schwab  <schwab@redhat.com>
93555         [BZ #7066]
93556         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
93557         shifting retval into place.
93559 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
93561         * nis/rpcsvc/nis.h: Update copyright notice.
93562         * nis/rpcsvc/nis.x: Likewise.
93563         * nis/rpcsvc/nis_callback.h: Likewise.
93564         * nis/rpcsvc/nis_callback.x: Likewise.
93565         * nis/rpcsvc/nis_object.x: Likewise.
93566         * nis/rpcsvc/nis_tags.h: Likewise.
93567         * nis/rpcsvc/yp.h: Likewise.
93568         * nis/rpcsvc/yp.x: Likewise.
93569         * nis/rpcsvc/ypupd.h: Likewise.
93570         * nis/yp_xdr.c: Likewise.
93571         * nis/ypupdate_xdr.c: Likewise.
93573         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
93574         mainly the body of pmap_getport.  Add parameters to specify timeouts.
93575         (pmap_getport): Use __libc_rpc_getport.
93576         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
93577         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
93578         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
93580 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
93582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
93583         fanotify_mark.
93585 2010-08-27  Roland McGrath  <roland@redhat.com>
93587         * sysdeps/i386/i686/multiarch/Makefile
93588         (CFLAGS-varshift.c): New variable.
93590 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
93592         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
93593         * sysdeps/i386/i686/multiarch/varshift.c: New file.
93595         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
93597         * sysdeps/x86_64/strlen.S: Minimal code improvement.
93599 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
93601         * sysdeps/x86_64/strlen.S: Unroll the loop.
93602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93603         strlen-sse2 strlen-sse2-bsf.
93604         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
93605         __strlen_no_bsf if bit_Slow_BSF is set.
93606         (__strlen_sse42): Removed.
93607         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
93608         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
93610 2010-08-25  Roland McGrath  <roland@redhat.com>
93612         * sysdeps/x86_64/multiarch/varshift.S: File removed.
93613         * sysdeps/x86_64/multiarch/varshift.c: New file.
93614         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
93615         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
93616         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
93617         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
93619 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
93621         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93622         strlen-sse2 strlen-sse2-bsf.
93623         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
93624         __strlen_sse2_bsf if bit_Slow_BSF is unset.
93625         (__strlen_sse2): Removed.
93626         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
93627         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
93628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
93629         bit_Slow_BSF for Atom.
93630         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
93631         (index_Slow_BSF): Define.
93632         (HAS_SLOW_BSF): Define.
93634 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
93636         [BZ #10851]
93637         * resolv/res_init.c (__res_vinit): When no server address at all
93638         is given default to loopback.
93640 2010-08-24  Roland McGrath  <roland@redhat.com>
93642         * configure.in: Remove config-name.h generation.
93643         * configure: Regenerated.
93644         * config-name.in: File removed.
93645         * scripts/config-uname.sh: New file.
93646         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
93647         ($(objdir)config-name.h): New target.
93649         * sunrpc/rpc_parse.h: Avoid nested comment.
93651 2010-08-24  Richard Henderson  <rth@redhat.com>
93652             Ulrich Drepper  <drepper@redhat.com>
93653             H.J. Lu  <hongjiu.lu@intel.com>
93655         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
93656         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
93657         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
93658         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
93659         _mm_alignr_epi8 with _mm_loadu_si128.
93660         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
93661         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
93662         (__m128i_shift_right): Removed.
93663         * sysdeps/i386/i686/multiarch/varshift.h: New file.
93664         * sysdeps/i386/i686/multiarch/varshift.S: New file.
93665         * sysdeps/x86_64/multiarch/varshift.h: New file.
93666         * sysdeps/x86_64/multiarch/varshift.S: New file.
93668 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
93670         * configure.in: Move assembler checks to before sysdep dir checking.
93672 2010-08-20  Petr Baudis  <pasky@suse.cz>
93674         * LICENSES: Sync the sunrpc license.
93676 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
93678         * sunrpc/auth_des.c: Update copyright notice once again.
93679         * sunrpc/auth_none.c: Likewise.
93680         * sunrpc/auth_unix.c: Likewise.
93681         * sunrpc/authdes_prot.c: Likewise.
93682         * sunrpc/authuxprot.c: Likewise.
93683         * sunrpc/bindrsvprt.c: Likewise.
93684         * sunrpc/clnt_gen.c: Likewise.
93685         * sunrpc/clnt_perr.c: Likewise.
93686         * sunrpc/clnt_raw.c: Likewise.
93687         * sunrpc/clnt_simp.c: Likewise.
93688         * sunrpc/clnt_tcp.c: Likewise.
93689         * sunrpc/clnt_udp.c: Likewise.
93690         * sunrpc/clnt_unix.c: Likewise.
93691         * sunrpc/des_crypt.c: Likewise.
93692         * sunrpc/des_soft.c: Likewise.
93693         * sunrpc/get_myaddr.c: Likewise.
93694         * sunrpc/getrpcport.c: Likewise.
93695         * sunrpc/key_call.c: Likewise.
93696         * sunrpc/key_prot.c: Likewise.
93697         * sunrpc/openchild.c: Likewise.
93698         * sunrpc/pm_getmaps.c: Likewise.
93699         * sunrpc/pm_getport.c: Likewise.
93700         * sunrpc/pmap_clnt.c: Likewise.
93701         * sunrpc/pmap_prot.c: Likewise.
93702         * sunrpc/pmap_prot2.c: Likewise.
93703         * sunrpc/pmap_rmt.c: Likewise.
93704         * sunrpc/rpc/auth.h: Likewise.
93705         * sunrpc/rpc/auth_unix.h: Likewise.
93706         * sunrpc/rpc/clnt.h: Likewise.
93707         * sunrpc/rpc/des_crypt.h: Likewise.
93708         * sunrpc/rpc/key_prot.h: Likewise.
93709         * sunrpc/rpc/netdb.h: Likewise.
93710         * sunrpc/rpc/pmap_clnt.h: Likewise.
93711         * sunrpc/rpc/pmap_prot.h: Likewise.
93712         * sunrpc/rpc/pmap_rmt.h: Likewise.
93713         * sunrpc/rpc/rpc.h: Likewise.
93714         * sunrpc/rpc/rpc_des.h: Likewise.
93715         * sunrpc/rpc/rpc_msg.h: Likewise.
93716         * sunrpc/rpc/svc.h: Likewise.
93717         * sunrpc/rpc/svc_auth.h: Likewise.
93718         * sunrpc/rpc/types.h: Likewise.
93719         * sunrpc/rpc/xdr.h: Likewise.
93720         * sunrpc/rpc_clntout.c: Likewise.
93721         * sunrpc/rpc_cmsg.c: Likewise.
93722         * sunrpc/rpc_common.c: Likewise.
93723         * sunrpc/rpc_cout.c: Likewise.
93724         * sunrpc/rpc_dtable.c: Likewise.
93725         * sunrpc/rpc_hout.c: Likewise.
93726         * sunrpc/rpc_main.c: Likewise.
93727         * sunrpc/rpc_parse.c: Likewise.
93728         * sunrpc/rpc_parse.h: Likewise.
93729         * sunrpc/rpc_prot.c: Likewise.
93730         * sunrpc/rpc_sample.c: Likewise.
93731         * sunrpc/rpc_scan.c: Likewise.
93732         * sunrpc/rpc_scan.h: Likewise.
93733         * sunrpc/rpc_svcout.c: Likewise.
93734         * sunrpc/rpc_tblout.c: Likewise.
93735         * sunrpc/rpc_util.c: Likewise.
93736         * sunrpc/rpc_util.h: Likewise.
93737         * sunrpc/rpcinfo.c: Likewise.
93738         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
93739         * sunrpc/rpcsvc/key_prot.x: Likewise.
93740         * sunrpc/rpcsvc/klm_prot.x: Likewise.
93741         * sunrpc/rpcsvc/mount.x: Likewise.
93742         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
93743         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
93744         * sunrpc/rpcsvc/rex.x: Likewise.
93745         * sunrpc/rpcsvc/rstat.x: Likewise.
93746         * sunrpc/rpcsvc/rusers.x: Likewise.
93747         * sunrpc/rpcsvc/sm_inter.x: Likewise.
93748         * sunrpc/rpcsvc/spray.x: Likewise.
93749         * sunrpc/rpcsvc/yppasswd.x: Likewise.
93750         * sunrpc/rtime.c: Likewise.
93751         * sunrpc/svc.c: Likewise.
93752         * sunrpc/svc_auth.c: Likewise.
93753         * sunrpc/svc_authux.c: Likewise.
93754         * sunrpc/svc_raw.c: Likewise.
93755         * sunrpc/svc_run.c: Likewise.
93756         * sunrpc/svc_simple.c: Likewise.
93757         * sunrpc/svc_tcp.c: Likewise.
93758         * sunrpc/svc_udp.c: Likewise.
93759         * sunrpc/svc_unix.c: Likewise.
93760         * sunrpc/svcauth_des.c: Likewise.
93761         * sunrpc/xcrypt.c: Likewise.
93762         * sunrpc/xdr.c: Likewise.
93763         * sunrpc/xdr_array.c: Likewise.
93764         * sunrpc/xdr_float.c: Likewise.
93765         * sunrpc/xdr_mem.c: Likewise.
93766         * sunrpc/xdr_rec.c: Likewise.
93767         * sunrpc/xdr_ref.c: Likewise.
93768         * sunrpc/xdr_sizeof.c: Likewise.
93769         * sunrpc/xdr_stdio.c: Likewise.
93771         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
93772         handling.
93774 2010-08-19  Andreas Schwab  <schwab@redhat.com>
93776         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
93778 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
93780         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
93781         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
93782         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
93783         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
93784         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
93785         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
93786         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
93787         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
93788         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
93789         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
93790         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
93791         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
93792         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
93793         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
93795 2010-07-26  Anton Blanchard  <anton@samba.org>
93797         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
93798         * malloc/arena.c (heap_trim): Likewise.
93800 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
93802         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
93803         here.  Not...
93804         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
93805         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
93807 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
93809         * sysdeps/i386/elf/Makefile: New file.
93811 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
93813         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
93814         from fanotify_init.
93815         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
93816         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93818 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
93820         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
93821         of strncasecmp_l.
93822         * sysdeps/multiarch/strcmp.S: Likewise.
93824 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
93826         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93827         strncase_l-nonascii.
93828         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93829         Add strncase_l-ssse3.
93830         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
93831         * sysdeps/x86_64/strcmp.S: Likewise.
93832         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
93833         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
93834         * sysdeps/x86_64/strncase.S: New file.
93835         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
93836         * sysdeps/x86_64/strncase_l.S: New file.
93837         * string/Makefile (strop-tests): Add strncasecmp.
93838         * string/test-strncasecmp.c: New file.
93840         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
93841         warning.
93843         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
93844         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
93846 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
93848         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
93850 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
93852         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
93853         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
93854         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
93856 2010-05-01  Alan Modra  <amodra@gmail.com>
93858         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
93859         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
93860         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
93861         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
93862         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
93863         tidying.  Don't tail-call __sigjmp_save for static lib.
93864         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
93865         save location.
93866         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
93867         (CALL_MCOUNT): Add eh info, and nop after bl.
93868         (TAIL_CALL_SYSCALL_ERROR): New macro.
93869         (PSEUDO_RET): Use it.
93870         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
93871         Correct save location of integer regs and cr.
93872         (_dl_profile_resolve): Correct cr save location.  Delete nops
93873         after bl when SHARED.  Reduce cfi size a little by better
93874         placement of cfi directives.
93875         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
93876         make a stack frame.  Instead use parm save area as a temp.
93877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
93878         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
93879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
93880         Don't make a stack frame for parent, use parm save area.
93881         Increase child stack frame to 112 bytes.  Don't save unused reg,
93882         and adjust reg usage.  Set up cfi on error recovery and
93883         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
93884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
93885         (__makecontext): Add dummy nop after jump to exit.
93886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
93887         Use correct parm save area and cr save, reduce stack frame.
93888         Correct cfi for possible PSEUDO_RET frame setup.
93889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
93890         Branch to local label emitted by PSEUDO_RET rather than
93891         __syscall_error.
93893 2010-08-12  Andreas Schwab  <schwab@redhat.com>
93895         [BZ #11904]
93896         * locale/programs/locale.c (print_assignment): New function.
93897         (show_locale_vars): Use it.
93899 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
93901         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
93902         field.
93903         (struct statfs64): Likewise.
93904         (_STATFS_F_FLAGS): Define.
93905         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
93906         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93907         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
93908         (ST_VALID): Define locally.
93909         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
93910         __statvfs_getflags, use the provided value.
93911         * sysdeps/unix/sysv/linux/kernel-features.h: Define
93912         __ASSUME_STATFS_F_FLAGS.
93914         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
93916         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
93917         Add sys/fanotify.h.
93918         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
93919         fanotify_mask for GLIBC_2.13.
93920         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
93921         fanotify_init and fanotify_mark.
93922         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93923         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
93925         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
93926         Add prlimit.
93927         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
93928         prlimit64 for GLIBC_2.13.
93929         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
93930         prlimit64.
93931         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
93932         syscall.
93933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
93934         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93935         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
93936         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
93937         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
93938         add prlimit alias.
93939         * sysdeps/unix/sysv/linux/prlimit.c: New file.
93941         [BZ #11903]
93942         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
93943         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
93945         * nss/Makefile: Add rules to build and run tst-nss-test1.
93946         * shlib-versions: Add entry for libnss_test1.
93947         * nss/nss_test1.c: New file.
93948         * nss/tst-nss-test1.c: New file.
93950         * nss/nsswitch.c (__nss_database_custom): Define new variable.
93951         (__nss_configure_lookup): Set appropriate entry in
93952         __nss_configure_lookup to true.
93953         * nss/nsswitch.h: Define enum with indeces of databases in
93954         databases and __nss_database_custom arrays.  Declare
93955         __nss_database_custom.
93956         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
93957         to avoid using nscd when custom rules are installed.
93958         * nss/getXXbyYY_r.c: Likewise.
93959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
93961         * nss/nss_files/files-parse.c: Whitespace fixes.
93963 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
93965         [BZ #11883]
93966         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
93967         * posix/fnmatch_loop.c: Likewise.
93969 2010-07-17  Andi Kleen  <ak@linux.intel.com>
93971         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
93972         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
93973         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
93974         * Versions.def [GLIBC_2.13]: Add.
93976 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
93978         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93979         Also fail if tpwd after pwuid call is NULL.
93981 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93983         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
93984         when converting to ms.
93986 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93988         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
93989         EOPNOTSUPP errors with ENOTTY.
93990         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
93991         EOPNOTSUPP errors with ENOTTY.
93993 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
93995         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93996         Add strcasecmp_l-ssse3.
93997         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
93998         strcasecmp.
93999         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
94000         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
94001         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
94003 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
94005         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
94007         * string/Makefile (strop-tests): Add strcasecmp.
94008         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94009         strcasecmp_l-nonascii.
94010         (gen-as-const-headers): Add locale-defines.sym.
94011         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
94012         * sysdeps/x86_64/strcasecmp.S: New file.
94013         * sysdeps/x86_64/strcasecmp_l.S: New file.
94014         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
94015         * sysdeps/x86_64/locale-defines.sym: New file.
94016         * string/test-strcasecmp.c: New file.
94018         * string/test-strcasestr.c: Test both ends of the range of characters.
94019         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
94021 2010-07-29  Roland McGrath  <roland@redhat.com>
94023         [BZ #11856]
94024         * manual/locale.texi (Yes-or-No Questions): Fix example code.
94026 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
94028         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
94029         for ld.so.
94031 2010-07-27  Andreas Schwab  <schwab@redhat.com>
94033         * manual/memory.texi (Malloc Tunable Parameters): Document
94034         M_PERTURB.
94036 2010-07-26  Roland McGrath  <roland@redhat.com>
94038         [BZ #11840]
94039         * configure.in (-fgnu89-inline check): Set and substitute
94040         gnu89_inline, not libc_cv_gnu89_inline.
94041         * configure: Regenerated.
94042         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
94044 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
94046         * string/test-strnlen.c: New file.
94047         * string/Makefile (strop-tests): Add strnlen.
94048         * string/tester.c (test_strnlen): Add a few more test cases.
94049         * string/tst-strlen.c: Better error reporting.
94051         * sysdeps/x86_64/strnlen.S: New file.
94053 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
94055         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
94056         lower-latency instructions.
94058 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
94060         * string/test-strcasestr.c: New file.
94061         * string/test-strstr.c: New file.
94062         * string/Makefile (strop-tests): Add strstr and strcasestr.
94063         * string/str-two-way.h: Don't undefine MAX.
94064         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
94066 2010-07-21  Andreas Schwab  <schwab@redhat.com>
94068         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94069         strcasestr-nonascii.
94070         (CFLAGS-strcasestr-nonascii.c): Define.
94071         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
94072         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
94073         Remove unused attribute.
94075 2010-07-20  Roland McGrath  <roland@redhat.com>
94077         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
94078         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
94079         ld.so.cache was broken.  With it, there is no way to disable dsocaps
94080         like LD_HWCAP_MASK can disable hwcaps.
94082 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94084         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
94086 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
94088         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
94089         call in strcasestr.
94090         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
94091         __strcasestr_sse42_nonascii.
94092         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
94093         strcasestr-nonascii.c.
94094         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
94096 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
94098         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
94099         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
94100         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
94101         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
94103 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
94105         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
94106         fcntl.
94108 2010-07-06  Andreas Schwab  <schwab@redhat.com>
94110         [BZ #11577]
94111         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
94112         dl_signal_cerror.
94114 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
94116         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
94117         _PC_PIPE_BUF using F_GETPIPE_SZ.
94119 2010-07-05  Roland McGrath  <roland@redhat.com>
94121         * manual/arith.texi (Rounding Functions): Fix rint description
94122         implicit in round description.
94124 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
94126         * elf/Makefile: Fix linking for a few tests to make recent linker
94127         happy.
94129 2010-06-30  Andreas Schwab  <schwab@redhat.com>
94131         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
94132         $(common-objpfx)libc_nonshared.a.
94134 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
94136         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
94137         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
94138         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94139         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94140         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
94141         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
94142         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94143         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
94145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
94146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
94147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
94149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
94151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
94152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
94153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
94154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
94156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
94158         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
94159         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
94160         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
94161         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
94162         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
94163         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
94164         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
94165         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
94166         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
94167         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
94168         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
94169         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
94170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
94171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
94172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
94173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
94174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
94175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
94176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
94177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
94178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
94179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
94180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
94181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
94182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
94183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
94185 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
94187         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
94188         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
94189         * string/memmove.c (memmove): Renamed to ...
94190         (MEMMOVE): ...this.  Default to memmove.
94191         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
94192         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
94193         (END_CHK): Define.
94194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94195         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
94196         mempcpy-ssse3-back memmove-ssse3-back.
94197         * sysdeps/x86_64/multiarch/bcopy.S: New file .
94198         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
94199         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
94200         * sysdeps/x86_64/multiarch/memcpy.S: New file.
94201         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
94202         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
94203         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
94204         * sysdeps/x86_64/multiarch/memmove.c: New file.
94205         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
94206         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
94207         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
94208         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
94209         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
94210         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
94211         Define.
94212         (index_Fast_Copy_Backward): Define.
94213         (HAS_ARCH_FEATURE): Define.
94214         (HAS_FAST_REP_STRING): Define.
94215         (HAS_FAST_COPY_BACKWARD): Define.
94217 2010-06-21  Andreas Schwab  <schwab@redhat.com>
94219         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94220         Restore proper fallback handling.
94222 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
94224         [BZ #11701]
94225         * posix/group_member.c (__group_member): Correct checking loop.
94227         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
94228         OOM in getpwuid_r correctly.  Return error number when the caller
94229         should return, otherwise -1.
94230         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
94231         call returning > 0 value.
94232         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
94234 2010-06-07  Andreas Schwab  <schwab@redhat.com>
94236         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
94237         libc_nonshared.a from targets in modules-names.
94239 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
94241         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
94242         requires it.
94244 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
94246         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
94247         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
94248         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
94249         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
94251 2010-06-02  Andreas Schwab  <schwab@redhat.com>
94253         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
94255 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
94257         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
94258         and F_GETPIPE_SZ.
94259         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94260         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94261         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94262         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94263         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94264         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94266 2010-06-14  Roland McGrath  <roland@redhat.com>
94268         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
94270 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
94272         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
94273         __REDIRECT followed by __THROW.
94274         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
94275         * posix/getopt.h (getopt): Likewise.
94277 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94279         * hurd/lookup-at.c (__file_name_lookup_at): Accept
94280         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
94281         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
94282         in AT_FLAGS.
94283         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
94284         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
94286 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
94288         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
94290 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
94292         [BZ #11640]
94293         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94294         Properly check family and model.
94296 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
94298         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
94300 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
94302         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
94304 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
94306         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
94307         symbol reference.
94309 2010-05-19  Andreas Schwab  <schwab@redhat.com>
94311         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
94312         symbol reference.
94314 2010-05-21  Andreas Schwab  <schwab@redhat.com>
94316         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
94317         and internal_recvmmsg.
94318         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
94319         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
94320         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
94321         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
94323         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
94324         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
94325         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
94327 2010-05-20  Andreas Schwab  <schwab@redhat.com>
94329         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
94331 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
94333         POWER7 optimizations.
94334         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
94335         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
94337 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
94339         * version.h: Update for 2.13 development version.
94341 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
94343         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
94344         exceptions.  Return 0.
94346 2010-05-07  Roland McGrath  <roland@redhat.com>
94348         * elf/ldconfig.c (main): Add a const.
94350 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
94352         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
94353         (args_options): Add no-idn option.
94354         (ahosts_keys_int): Add idn_flags to ai_flags.
94355         (parse_option): Handle 'i' option to clear idn_flags.
94357         * malloc/malloc.c (_int_free): Possible race in the most recently
94358         added check.  Only act on the data if no current modification
94359         happened.
94361 See ChangeLog.17 for earlier changes.